public class gUnitTestSuite extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
isLexicalRule |
protected String |
lexicalRule |
protected String |
rule |
protected Map<gUnitTestInput,AbstractTest> |
testSuites
A map which stores input/output pairs (individual testsuites).
|
protected String |
treeRule |
Constructor and Description |
---|
gUnitTestSuite() |
gUnitTestSuite(String rule) |
gUnitTestSuite(String treeRule,
String rule) |
Modifier and Type | Method and Description |
---|---|
void |
addTestCase(gUnitTestInput input,
AbstractTest expect) |
String |
getLexicalRuleName() |
String |
getRuleName() |
String |
getTreeRuleName() |
boolean |
isLexicalRule() |
void |
setLexicalRuleName(String lexicalRule) |
void |
setRuleName(String ruleName) |
void |
setTreeRuleName(String treeRuleName) |
protected String rule
protected String lexicalRule
protected String treeRule
protected boolean isLexicalRule
protected Map<gUnitTestInput,AbstractTest> testSuites
public gUnitTestSuite()
public gUnitTestSuite(String rule)
public void setRuleName(String ruleName)
public void setLexicalRuleName(String lexicalRule)
public void setTreeRuleName(String treeRuleName)
public String getRuleName()
public String getLexicalRuleName()
public String getTreeRuleName()
public boolean isLexicalRule()
public void addTestCase(gUnitTestInput input, AbstractTest expect)
Copyright © 2013. All rights reserved.