com.dfamaj.textproc.xwm
Class TokenizerTest

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

public class TokenizerTest
extends junit.framework.TestCase

tests sur les tokenizers.

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

Constructor Summary
TokenizerTest()
           
 
Method Summary
 void testSimple()
          test simple.
 void testTextEntry()
          test sur une entrée de texte.
 void testTextEntryBeginningComment()
          test sur une entrée de texte.
 void testTextEntryEndingComment()
          test sur une entrée de texte.
 void testTextEntryEscapedAccolades()
          test sur des accolades escapées.
 void testTextEntryInlineComment()
          test sur une entrée de texte.
 void testTextEntryShereAccolades()
          test sur des accolades non escapées.
 void testTextEntryUnfinishedComment()
          test sur une entrée de texte.
 void testTextMacronameXxxDashYyy()
          test sur un nom de macro sous la forme "\xxx-yyy"
 void testTextMacronameXxxDotYyy()
          test sur un nom de macro sous la forme "\xxx.yyy"
 void testTextMacronameXxxUnderscoreYyy()
          test sur un nom de macro sous la forme "\xxx_yyy"
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

TokenizerTest

public TokenizerTest()
Method Detail

testSimple

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

Throws:
java.lang.Exception

testTextEntry

public void testTextEntry()
                   throws java.lang.Exception
test sur une entrée de texte.

Throws:
java.lang.Exception

testTextEntryBeginningComment

public void testTextEntryBeginningComment()
                                   throws java.lang.Exception
test sur une entrée de texte.

Throws:
java.lang.Exception

testTextEntryEndingComment

public void testTextEntryEndingComment()
                                throws java.lang.Exception
test sur une entrée de texte.

Throws:
java.lang.Exception

testTextEntryEscapedAccolades

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

Throws:
java.lang.Exception

testTextEntryInlineComment

public void testTextEntryInlineComment()
                                throws java.lang.Exception
test sur une entrée de texte.

Throws:
java.lang.Exception

testTextEntryShereAccolades

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

Throws:
java.lang.Exception

testTextEntryUnfinishedComment

public void testTextEntryUnfinishedComment()
                                    throws java.lang.Exception
test sur une entrée de texte.

Throws:
java.lang.Exception

testTextMacronameXxxDashYyy

public void testTextMacronameXxxDashYyy()
                                 throws java.lang.Exception
test sur un nom de macro sous la forme "\xxx-yyy"

Throws:
java.lang.Exception

testTextMacronameXxxDotYyy

public void testTextMacronameXxxDotYyy()
                                throws java.lang.Exception
test sur un nom de macro sous la forme "\xxx.yyy"

Throws:
java.lang.Exception

testTextMacronameXxxUnderscoreYyy

public void testTextMacronameXxxUnderscoreYyy()
                                       throws java.lang.Exception
test sur un nom de macro sous la forme "\xxx_yyy"

Throws:
java.lang.Exception