com.dfamaj.textproc.xwm
Class NoexpandPrimitiveTest

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

public class NoexpandPrimitiveTest
extends junit.framework.TestCase

tests sur le fait de laisser les tokens comme ils sont.

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

Constructor Summary
NoexpandPrimitiveTest()
           
 
Method Summary
 void setUp()
          
positionner le debug.
 void testAmpGivesAmp()
          
test réel, sur "&".
 void testDefinedMacroName()
          
avec backslashs et/ou accolades.
 void testEscapedBackslash()
          
avec backslashs et/ou accolades.
 void testEscapedCloseBrace()
          
avec backslashs et/ou accolades.
 void testEscapedNumberSign()
          
avec dièse.
 void testEscapedOpenBrace()
          
avec backslashs et/ou accolades.
 void testSimpleBackslash()
          
avec backslashs et/ou accolades.
 void testSimpleCloseBrace()
          
avec backslashs et/ou accolades.
 void testSimpleNoexpand()
          
test sur texte simple.
 void testSimpleNumberSign()
          
avec dièse.
 void testSimpleOpenBrace()
          
avec backslashs et/ou accolades.
 void testTildeGivesAmp()
          
test réel, sur "&".
 void testTildeGivesAmpWithoutNoexpand()
          
test réel, sur "&".
 void testUndefinedMacroName()
          
avec backslashs et/ou accolades.
 
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

NoexpandPrimitiveTest

public NoexpandPrimitiveTest()
Method Detail

setUp

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

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

testAmpGivesAmp

public void testAmpGivesAmp()
                     throws java.lang.Exception
test réel, sur "&".

Throws:
java.lang.Exception

testDefinedMacroName

public void testDefinedMacroName()
                          throws java.lang.Exception
avec backslashs et/ou accolades.

Throws:
java.lang.Exception

testEscapedBackslash

public void testEscapedBackslash()
                          throws java.lang.Exception
avec backslashs et/ou accolades.

Throws:
java.lang.Exception

testEscapedCloseBrace

public void testEscapedCloseBrace()
                           throws java.lang.Exception
avec backslashs et/ou accolades.

Throws:
java.lang.Exception

testEscapedNumberSign

public void testEscapedNumberSign()
                           throws java.lang.Exception
avec dièse.

Throws:
java.lang.Exception

testEscapedOpenBrace

public void testEscapedOpenBrace()
                          throws java.lang.Exception
avec backslashs et/ou accolades.

Throws:
java.lang.Exception

testSimpleBackslash

public void testSimpleBackslash()
                         throws java.lang.Exception
avec backslashs et/ou accolades.

Throws:
java.lang.Exception

testSimpleCloseBrace

public void testSimpleCloseBrace()
                          throws java.lang.Exception
avec backslashs et/ou accolades.

Throws:
java.lang.Exception

testSimpleNoexpand

public void testSimpleNoexpand()
                        throws java.lang.Exception
test sur texte simple.

Throws:
java.lang.Exception

testSimpleNumberSign

public void testSimpleNumberSign()
                          throws java.lang.Exception
avec dièse.

Throws:
java.lang.Exception

testSimpleOpenBrace

public void testSimpleOpenBrace()
                         throws java.lang.Exception
avec backslashs et/ou accolades.

Throws:
java.lang.Exception

testTildeGivesAmp

public void testTildeGivesAmp()
                       throws java.lang.Exception
test réel, sur "&".

Throws:
java.lang.Exception

testTildeGivesAmpWithoutNoexpand

public void testTildeGivesAmpWithoutNoexpand()
                                      throws java.lang.Exception
test réel, sur "&".

Throws:
java.lang.Exception

testUndefinedMacroName

public void testUndefinedMacroName()
                            throws java.lang.Exception
avec backslashs et/ou accolades.

Throws:
java.lang.Exception