Package tigase.test.parser
Class TestScript
- java.lang.Object
-
- tigase.test.parser.TestScript
-
- All Implemented Interfaces:
TestScriptConstants
public class TestScript extends Object implements TestScriptConstants
-
-
Field Summary
Fields Modifier and Type Field Description Tokenjj_ntbooleanlookingAheadTokentokenTestScriptTokenManagertoken_sourcestatic StringVERSION
-
Constructor Summary
Constructors Constructor Description TestScript(InputStream stream)TestScript(Reader stream)TestScript(TestScriptTokenManager tm)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TestNodeBasicTest()voiddisable_tracing()voidenable_tracing()StringExpression()ParseExceptiongenerateParseException()MapgetGlobalPars()MapgetGlobalVars()TokengetNextToken()ListgetTests()TokengetToken(int index)voidInput()voidLBrace()StringLongDescr()static voidmain(String[] args)TestNodeOnError()voidRBrace()voidReInit(InputStream stream)voidReInit(Reader stream)voidReInit(TestScriptTokenManager tm)StringShortDescr()TestNodeTest()StringTestID()StringTestName()MapTestParams()MapTestVars()TokenValue()
-
-
-
Field Detail
-
VERSION
public static final String VERSION
- See Also:
- Constant Field Values
-
token_source
public TestScriptTokenManager token_source
-
token
public Token token
-
jj_nt
public Token jj_nt
-
lookingAhead
public boolean lookingAhead
-
-
Constructor Detail
-
TestScript
public TestScript(InputStream stream)
-
TestScript
public TestScript(Reader stream)
-
TestScript
public TestScript(TestScriptTokenManager tm)
-
-
Method Detail
-
getTests
public List getTests()
-
getGlobalPars
public Map getGlobalPars()
-
getGlobalVars
public Map getGlobalVars()
-
main
public static void main(String[] args) throws ParseException
- Throws:
ParseException
-
Input
public final void Input() throws ParseException- Throws:
ParseException
-
Test
public final TestNode Test() throws ParseException
- Throws:
ParseException
-
BasicTest
public final TestNode BasicTest() throws ParseException
- Throws:
ParseException
-
TestName
public final String TestName() throws ParseException
- Throws:
ParseException
-
TestID
public final String TestID() throws ParseException
- Throws:
ParseException
-
ShortDescr
public final String ShortDescr() throws ParseException
- Throws:
ParseException
-
Expression
public final String Expression() throws ParseException
- Throws:
ParseException
-
LBrace
public final void LBrace() throws ParseException- Throws:
ParseException
-
RBrace
public final void RBrace() throws ParseException- Throws:
ParseException
-
OnError
public final TestNode OnError() throws ParseException
- Throws:
ParseException
-
LongDescr
public final String LongDescr() throws ParseException
- Throws:
ParseException
-
TestVars
public final Map TestVars() throws ParseException
- Throws:
ParseException
-
TestParams
public final Map TestParams() throws ParseException
- Throws:
ParseException
-
Value
public final Token Value() throws ParseException
- Throws:
ParseException
-
ReInit
public void ReInit(InputStream stream)
-
ReInit
public void ReInit(Reader stream)
-
ReInit
public void ReInit(TestScriptTokenManager tm)
-
getNextToken
public final Token getNextToken()
-
getToken
public final Token getToken(int index)
-
generateParseException
public ParseException generateParseException()
-
enable_tracing
public final void enable_tracing()
-
disable_tracing
public final void disable_tracing()
-
-