|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.sasl.language.placeholder.syntax.PlaceholderScriptScannerTest
public class PlaceholderScriptScannerTest
Test cases for the
PlaceholderScanner
class.
Constructor Summary | |
---|---|
PlaceholderScriptScannerTest()
|
Method Summary | |
---|---|
void |
doRunSimpleScanTest(String input,
int[] expectedTokens)
Creates a new scanner for the given input and checks if the token type output of the scanner equals the expected scanner token type output. |
void |
testScannerWithoutLocationInformations()
Test cases if the tokens gets detected correctly by the scanner. |
void |
testScanWithLocationInformations()
Test cases for the left and right location informations of a symbol. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlaceholderScriptScannerTest()
Method Detail |
---|
public void testScannerWithoutLocationInformations() throws Exception
Exception
public void testScanWithLocationInformations() throws Exception
Exception
public void doRunSimpleScanTest(String input, int[] expectedTokens) throws Exception
input
- non null input sequence.expectedTokens
- expected token output.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |