com.dfamaj.textproc.xwm
Class DefPrimitiveWithTokensTest

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

public class DefPrimitiveWithTokensTest
extends junit.framework.TestCase

tests sur les définitions de macros qui utilisent "\tokens".

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

Constructor Summary
DefPrimitiveWithTokensTest()
           
 
Method Summary
 void setUp()
          positionner le debug.
 void testDefTokens12PercentSimple()
          test sur la définition de tokens LINEBR qui se télescopent.
 void testDefTokens1Dollar2DollarReduceNoSpacesAtAllNoBr()
          test sur la définition de tokens LINEBR qui se télescopent.
 void testDefTokens1Dollar2DollarReduceSimple()
          test sur la définition de tokens LINEBR qui se télescopent.
 void testDefTokens1Percent2PercentReduceSimple()
          test sur la définition de tokens LINEBR qui se télescopent.
 void testDefTokens2Dashes3DashesNoSpaces()
          test sur la définition de tokens qui se télescopent.
 void testDefTokens2Dashes3DashesWithSpaces()
          test sur la définition de tokens qui se télescopent.
 void testDefTokens2DashesNoSpaces()
          test sur la définition de tokens qui ne se télescopent pas.
 void testDefTokens2Dollar3DollarReduceNoSpacesAtAllNoBr()
          test sur la définition de tokens LINEBR qui se télescopent.
 void testDefTokens2Linebreak3LinebreakEndpar()
          test sur la définition de tokens LINEBR qui se télescopent.
 void testDefTokens2Linebreak3LinebreakReduce()
          test sur la définition de tokens LINEBR qui se télescopent.
 void testDefTokens2Linebreak3LinebreakReduceNoBr()
          test sur la définition de tokens LINEBR qui se télescopent.
 void testDefTokens2Linebreak3LinebreakReduceNoSpaces()
          test sur la définition de tokens LINEBR qui se télescopent.
 void testDefTokens2Linebreak3LinebreakReduceNoSpacesAtAllNoBr()
          test sur la définition de tokens LINEBR qui se télescopent.
 void testDefTokens2Linebreak3LinebreakReduceNoSpacesNoBr()
          test sur la définition de tokens LINEBR qui se télescopent.
 void testDefTokens2Percent1PercentReduceSimple()
          test sur la définition de tokens LINEBR qui se télescopent.
 void testDefTokens3Dashes2DashesNoSpaces()
          test sur la définition de tokens qui se télescopent.
 void testDefTokens3Dashes2DashesWithSpaces()
          test sur la définition de tokens qui se télescopent.
 void testShereDefWithTokens()
          test sur la définition d'une macro simple.
 void testShereDefWithTokensWithCloseBrace()
          test sur la définition de tokens avec une accolade fermante.
 void testShereDefWithTokensWithOpenBrace()
          test sur la définition de tokens avec une accolade ouvrante.
 void testShereDefWithTokensWithSpace()
          test sur la définition d'une macro simple.
 void testUnfinishedTokensInDef()
          test sur une définition qui ne termine pas.
 void testUnfinishedTokensInDefWithSpace()
          test sur une définition qui ne termine 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

DefPrimitiveWithTokensTest

public DefPrimitiveWithTokensTest()
Method Detail

setUp

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

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

testDefTokens12PercentSimple

public void testDefTokens12PercentSimple()
                                  throws java.lang.Exception
test sur la définition de tokens LINEBR qui se télescopent.

Throws:
java.lang.Exception

testDefTokens1Dollar2DollarReduceNoSpacesAtAllNoBr

public void testDefTokens1Dollar2DollarReduceNoSpacesAtAllNoBr()
                                                        throws java.lang.Exception
test sur la définition de tokens LINEBR qui se télescopent.

Throws:
java.lang.Exception

testDefTokens1Dollar2DollarReduceSimple

public void testDefTokens1Dollar2DollarReduceSimple()
                                             throws java.lang.Exception
test sur la définition de tokens LINEBR qui se télescopent.

Throws:
java.lang.Exception

testDefTokens1Percent2PercentReduceSimple

public void testDefTokens1Percent2PercentReduceSimple()
                                               throws java.lang.Exception
test sur la définition de tokens LINEBR qui se télescopent.

Throws:
java.lang.Exception

testDefTokens2Dashes3DashesNoSpaces

public void testDefTokens2Dashes3DashesNoSpaces()
                                         throws java.lang.Exception
test sur la définition de tokens qui se télescopent.

Throws:
java.lang.Exception

testDefTokens2Dashes3DashesWithSpaces

public void testDefTokens2Dashes3DashesWithSpaces()
                                           throws java.lang.Exception
test sur la définition de tokens qui se télescopent.

Throws:
java.lang.Exception

testDefTokens2DashesNoSpaces

public void testDefTokens2DashesNoSpaces()
                                  throws java.lang.Exception
test sur la définition de tokens qui ne se télescopent pas.

Throws:
java.lang.Exception

testDefTokens2Dollar3DollarReduceNoSpacesAtAllNoBr

public void testDefTokens2Dollar3DollarReduceNoSpacesAtAllNoBr()
                                                        throws java.lang.Exception
test sur la définition de tokens LINEBR qui se télescopent.

Throws:
java.lang.Exception

testDefTokens2Linebreak3LinebreakEndpar

public void testDefTokens2Linebreak3LinebreakEndpar()
                                             throws java.lang.Exception
test sur la définition de tokens LINEBR qui se télescopent.

Throws:
java.lang.Exception

testDefTokens2Linebreak3LinebreakReduce

public void testDefTokens2Linebreak3LinebreakReduce()
                                             throws java.lang.Exception
test sur la définition de tokens LINEBR qui se télescopent.

Throws:
java.lang.Exception

testDefTokens2Linebreak3LinebreakReduceNoBr

public void testDefTokens2Linebreak3LinebreakReduceNoBr()
                                                 throws java.lang.Exception
test sur la définition de tokens LINEBR qui se télescopent.

Throws:
java.lang.Exception

testDefTokens2Linebreak3LinebreakReduceNoSpaces

public void testDefTokens2Linebreak3LinebreakReduceNoSpaces()
                                                     throws java.lang.Exception
test sur la définition de tokens LINEBR qui se télescopent.

Throws:
java.lang.Exception

testDefTokens2Linebreak3LinebreakReduceNoSpacesAtAllNoBr

public void testDefTokens2Linebreak3LinebreakReduceNoSpacesAtAllNoBr()
                                                              throws java.lang.Exception
test sur la définition de tokens LINEBR qui se télescopent.

Throws:
java.lang.Exception

testDefTokens2Linebreak3LinebreakReduceNoSpacesNoBr

public void testDefTokens2Linebreak3LinebreakReduceNoSpacesNoBr()
                                                         throws java.lang.Exception
test sur la définition de tokens LINEBR qui se télescopent.

Throws:
java.lang.Exception

testDefTokens2Percent1PercentReduceSimple

public void testDefTokens2Percent1PercentReduceSimple()
                                               throws java.lang.Exception
test sur la définition de tokens LINEBR qui se télescopent.

Throws:
java.lang.Exception

testDefTokens3Dashes2DashesNoSpaces

public void testDefTokens3Dashes2DashesNoSpaces()
                                         throws java.lang.Exception
test sur la définition de tokens qui se télescopent.

Throws:
java.lang.Exception

testDefTokens3Dashes2DashesWithSpaces

public void testDefTokens3Dashes2DashesWithSpaces()
                                           throws java.lang.Exception
test sur la définition de tokens qui se télescopent.

Throws:
java.lang.Exception

testShereDefWithTokens

public void testShereDefWithTokens()
                            throws java.lang.Exception
test sur la définition d'une macro simple.

Throws:
java.lang.Exception

testShereDefWithTokensWithCloseBrace

public void testShereDefWithTokensWithCloseBrace()
                                          throws java.lang.Exception
test sur la définition de tokens avec une accolade fermante.

Throws:
java.lang.Exception

testShereDefWithTokensWithOpenBrace

public void testShereDefWithTokensWithOpenBrace()
                                         throws java.lang.Exception
test sur la définition de tokens avec une accolade ouvrante.

Throws:
java.lang.Exception

testShereDefWithTokensWithSpace

public void testShereDefWithTokensWithSpace()
                                     throws java.lang.Exception
test sur la définition d'une macro simple.

Throws:
java.lang.Exception

testUnfinishedTokensInDef

public void testUnfinishedTokensInDef()
                               throws java.lang.Exception
test sur une définition qui ne termine pas.

Throws:
java.lang.Exception

testUnfinishedTokensInDefWithSpace

public void testUnfinishedTokensInDefWithSpace()
                                        throws java.lang.Exception
test sur une définition qui ne termine pas.

Throws:
java.lang.Exception