com.dfamaj.textproc.xwm
Class XwmEngineImplTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.dfamaj.textproc.xwm.XwmEngineImplTest
All Implemented Interfaces:
junit.framework.Test

public class XwmEngineImplTest
extends junit.framework.TestCase

tests sur les moteurs.

Since:
2.0
Version:
2.0 -- 2007-02-01 -- $Revision$
Author:
David Andriana

Constructor Summary
XwmEngineImplTest()
           
 
Method Summary
 void setUp()
          positionner le debug.
 void testSimple()
          test simple.
 void testTextEntryIllegalCloseBrace()
          test sur une accolade qui finit, sans accolade qui débute.
 void testTextEntryMacroParam()
          test sur un paramètre de macro.
 void testTextEntrySecondMacro()
          test sur des accolades non escapées.
 void testTextEntryShereBraces()
          test sur des accolades non escapées.
 void testTextEntryUnfinishedBrace()
          test sur une accolade qui ne finit pas.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XwmEngineImplTest

public XwmEngineImplTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
positionner le debug.

Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testSimple

public void testSimple()
                throws java.lang.Exception
test simple.

Throws:
java.lang.Exception

testTextEntryIllegalCloseBrace

public void testTextEntryIllegalCloseBrace()
                                    throws java.lang.Exception
test sur une accolade qui finit, sans accolade qui débute.

Throws:
java.lang.Exception

testTextEntryMacroParam

public void testTextEntryMacroParam()
                             throws java.lang.Exception
test sur un paramètre de macro.

Throws:
java.lang.Exception

testTextEntrySecondMacro

public void testTextEntrySecondMacro()
                              throws java.lang.Exception
test sur des accolades non escapées.

Throws:
java.lang.Exception

testTextEntryShereBraces

public void testTextEntryShereBraces()
                              throws java.lang.Exception
test sur des accolades non escapées.

Throws:
java.lang.Exception

testTextEntryUnfinishedBrace

public void testTextEntryUnfinishedBrace()
                                  throws java.lang.Exception
test sur une accolade qui ne finit pas.

Throws:
java.lang.Exception