public class TokenizerTest
extends java.lang.Object
| Constructor and Description |
|---|
TokenizerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
alphabeticOpsTest()
Tests operators with alphabet characters, such as the "OR" operator
|
void |
check(java.util.List<Token> tokens,
java.util.List<Token> expected) |
void |
check(java.util.List<Token> tokens,
java.lang.Object[] expected) |
void |
check(java.lang.String str,
java.lang.String[] expected) |
void |
checkComment(Token expected,
Token actual) |
void |
checkIdentifier(Token expected,
Token actual) |
void |
checkNumber(Token expected,
Token actual) |
void |
checkOperator(Token expected,
Token actual) |
void |
checkString(Token expected,
Token actual) |
void |
checkWhiteSpace(Token expected,
Token actual) |
void |
printTokenList(java.util.List<Token> tokens) |
void |
setUp() |
void |
testAltSymbols() |
void |
testEmptyEquations() |
void |
testExtended() |
void |
testIt() |
void |
testItN() |
void |
testLineNumbers() |
void |
testMultiLineComments() |
void |
testMultiLineWhiteSpace() |
void |
testScan() |
void |
testSemiColon() |
void |
testSemiColon2() |
void |
testTokens()
Tests individual tokens
|
void |
testTwoString() |
public void check(java.util.List<Token> tokens, java.lang.Object[] expected) throws ParseException
ParseExceptionpublic void check(java.lang.String str,
java.lang.String[] expected)
throws ParseException
ParseExceptionpublic void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic final void testTokens()
throws ParseException
ParseExceptionpublic final void testScan()
throws ParseException
ParseExceptionpublic final void testIt()
public final void testItN()
public void testMultiLineComments()
throws java.lang.Exception
java.lang.Exceptionpublic void testMultiLineWhiteSpace()
throws java.lang.Exception
java.lang.Exceptionpublic void testSemiColon()
throws java.lang.Exception
java.lang.Exceptionpublic void testSemiColon2()
throws java.lang.Exception
java.lang.Exceptionpublic void testExtended()
throws java.lang.Exception
java.lang.Exceptionpublic void alphabeticOpsTest()
throws java.lang.Exception
java.lang.Exceptionpublic void printTokenList(java.util.List<Token> tokens)
public void testTwoString()
throws java.lang.Exception
java.lang.Exceptionpublic void testEmptyEquations()
throws java.lang.Exception
java.lang.Exceptionpublic void testLineNumbers()
throws java.lang.Exception
java.lang.Exceptionpublic void testAltSymbols()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep