com.singularsys.jeptests
Class TokenizerTest
java.lang.Object
com.singularsys.jeptests.TokenizerTest
public class TokenizerTest
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TokenizerTest
public TokenizerTest()
checkIdentifier
public void checkIdentifier(Token expected,
Token actual)
checkNumber
public void checkNumber(Token expected,
Token actual)
checkString
public void checkString(Token expected,
Token actual)
checkComment
public void checkComment(Token expected,
Token actual)
checkWhiteSpace
public void checkWhiteSpace(Token expected,
Token actual)
checkOperator
public void checkOperator(Token expected,
Token actual)
check
public void check(java.util.List<Token> tokens,
java.util.List<Token> expected)
check
public void check(java.util.List<Token> tokens,
java.lang.Object[] expected)
throws ParseException
- Throws:
ParseException
check
public void check(java.lang.String str,
java.lang.String[] expected)
throws ParseException
- Throws:
ParseException
setUpBeforeClass
public static void setUpBeforeClass()
throws java.lang.Exception
- Throws:
java.lang.Exception
tearDownAfterClass
public static void tearDownAfterClass()
throws java.lang.Exception
- Throws:
java.lang.Exception
setUp
public void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
tearDown
public void tearDown()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTokens
public final void testTokens()
throws ParseException
- Tests individual tokens
- Throws:
ParseException
testScan
public final void testScan()
throws ParseException
- Throws:
ParseException
testRemoveWhitespace
public final void testRemoveWhitespace()
throws ParseException
- Throws:
ParseException
testScanOps
public final void testScanOps()
throws ParseException
- Throws:
ParseException
testIt
public final void testIt()
testMultiLineComments
public void testMultiLineComments()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMultiLineWhiteSpace
public void testMultiLineWhiteSpace()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSemiColon
public void testSemiColon()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSemiColon2
public void testSemiColon2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testExtended
public void testExtended()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2007 Singular Systems http://www.singularsys.com/jep