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
ParseException
public void check(java.lang.String str, java.lang.String[] expected) throws ParseException
ParseException
public void setUp() throws java.lang.Exception
java.lang.Exception
public final void testTokens() throws ParseException
ParseException
public final void testScan() throws ParseException
ParseException
public final void testIt()
public final void testItN()
public void testMultiLineComments() throws java.lang.Exception
java.lang.Exception
public void testMultiLineWhiteSpace() throws java.lang.Exception
java.lang.Exception
public void testSemiColon() throws java.lang.Exception
java.lang.Exception
public void testSemiColon2() throws java.lang.Exception
java.lang.Exception
public void testExtended() throws java.lang.Exception
java.lang.Exception
public void alphabeticOpsTest() throws java.lang.Exception
java.lang.Exception
public void printTokenList(java.util.List<Token> tokens)
public void testTwoString() throws java.lang.Exception
java.lang.Exception
public void testEmptyEquations() throws java.lang.Exception
java.lang.Exception
public void testLineNumbers() throws java.lang.Exception
java.lang.Exception
public void testAltSymbols() throws java.lang.Exception
java.lang.Exception
Copyright © 2018 Singular Systems http://www.singularsys.com/jep