tigase.test.parser
Class TestScript

java.lang.Object
  extended by tigase.test.parser.TestScript
All Implemented Interfaces:
TestScriptConstants

public class TestScript
extends java.lang.Object
implements TestScriptConstants


Field Summary
 Token jj_nt
           
 boolean lookingAhead
           
 Token token
           
 TestScriptTokenManager token_source
           
static java.lang.String VERSION
           
 
Fields inherited from interface tigase.test.parser.TestScriptConstants
ASSIGN, AT, COLON, COMMENT, DECIMAL, DEFAULT, DIGIT, EOF, IN_LONG_DESCR, LBRACE, LETTER, LONGDESCR, MINUS, ONERROR, PARAMNAME, PLUS, RBRACE, SEMICOLON, SIMPLESTR, SLASH, STAR, STRING, tokenImage, VARNAME
 
Constructor Summary
TestScript(java.io.InputStream stream)
           
TestScript(java.io.Reader stream)
           
TestScript(TestScriptTokenManager tm)
           
 
Method Summary
 TestNode BasicTest()
           
 void disable_tracing()
           
 void enable_tracing()
           
 java.lang.String Expression()
           
 ParseException generateParseException()
           
 java.util.Map getGlobalPars()
           
 java.util.Map getGlobalVars()
           
 Token getNextToken()
           
 java.util.List getTests()
           
 Token getToken(int index)
           
 void Input()
           
 void LBrace()
           
 java.lang.String LongDescr()
           
static void main(java.lang.String[] args)
           
 TestNode OnError()
           
 void RBrace()
           
 void ReInit(java.io.InputStream stream)
           
 void ReInit(java.io.Reader stream)
           
 void ReInit(TestScriptTokenManager tm)
           
 java.lang.String ShortDescr()
           
 TestNode Test()
           
 java.lang.String TestID()
           
 java.lang.String TestName()
           
 java.util.Map TestParams()
           
 java.util.Map TestVars()
           
 Token Value()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

public static final java.lang.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(java.io.InputStream stream)

TestScript

public TestScript(java.io.Reader stream)

TestScript

public TestScript(TestScriptTokenManager tm)
Method Detail

getTests

public java.util.List getTests()

getGlobalPars

public java.util.Map getGlobalPars()

getGlobalVars

public java.util.Map getGlobalVars()

main

public static void main(java.lang.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 java.lang.String TestName()
                                throws ParseException
Throws:
ParseException

TestID

public final java.lang.String TestID()
                              throws ParseException
Throws:
ParseException

ShortDescr

public final java.lang.String ShortDescr()
                                  throws ParseException
Throws:
ParseException

Expression

public final java.lang.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 java.lang.String LongDescr()
                                 throws ParseException
Throws:
ParseException

TestVars

public final java.util.Map TestVars()
                             throws ParseException
Throws:
ParseException

TestParams

public final java.util.Map TestParams()
                               throws ParseException
Throws:
ParseException

Value

public final Token Value()
                  throws ParseException
Throws:
ParseException

ReInit

public void ReInit(java.io.InputStream stream)

ReInit

public void ReInit(java.io.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()


Copyright © 2005-2007 Tigase. All Rights Reserved.