org.antlr.gunit.swingui.model
Class TestSuite

java.lang.Object
  extended by org.antlr.gunit.swingui.model.TestSuite

public class TestSuite
extends Object


Field Summary
protected  String grammarName
           
protected  List<Rule> rules
           
protected  File testSuiteFile
           
protected  org.antlr.runtime.CommonTokenStream tokens
           
 
Constructor Summary
protected TestSuite(String gname, File testFile)
           
 
Method Summary
 void addRule(Rule currentRule)
           
 String getGrammarName()
           
 Rule getRule(int index)
           
 Rule getRule(String name)
           
 int getRuleCount()
           
 List getRulesForStringTemplate()
           
 File getTestSuiteFile()
           
 org.antlr.runtime.CommonTokenStream getTokens()
           
 boolean hasRule(Rule rule)
           
 void setGrammarName(String name)
           
 void setRules(List<Rule> newRules)
           
 void setTokens(org.antlr.runtime.CommonTokenStream ts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rules

protected List<Rule> rules

grammarName

protected String grammarName

tokens

protected org.antlr.runtime.CommonTokenStream tokens

testSuiteFile

protected File testSuiteFile
Constructor Detail

TestSuite

protected TestSuite(String gname,
                    File testFile)
Method Detail

getTestSuiteFile

public File getTestSuiteFile()

addRule

public void addRule(Rule currentRule)

hasRule

public boolean hasRule(Rule rule)

getRuleCount

public int getRuleCount()

setRules

public void setRules(List<Rule> newRules)

setGrammarName

public void setGrammarName(String name)

getGrammarName

public String getGrammarName()

getRule

public Rule getRule(int index)

getTokens

public org.antlr.runtime.CommonTokenStream getTokens()

setTokens

public void setTokens(org.antlr.runtime.CommonTokenStream ts)

getRule

public Rule getRule(String name)

getRulesForStringTemplate

public List getRulesForStringTemplate()


Copyright © 2011. All Rights Reserved.