|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ohrasys.cad.bnf.BNFAbstractTest
com.ohrasys.cad.bnf.BNFNoFallthruTest
public class BNFNoFallthruTest
Represents a terminal test
| Field Summary | |
|---|---|
protected int |
requirement
The requirement that must be matched in order for the test to pass |
| Fields inherited from class com.ohrasys.cad.bnf.BNFAbstractTest |
|---|
collectedData, collecting, committed, formatting, i18n, nextTest, playable, result, tests |
| Constructor Summary | |
|---|---|
BNFNoFallthruTest(int requirement)
Creates a new BNFNoFallthruTest object. |
|
| Method Summary | |
|---|---|
protected void |
checkTests()
A method to ensure that the sub-test list is null. |
BNFTestResult |
test(BNFTestableObject obj)
A method to evaluate this test. |
java.lang.String |
toString()
Returns a text representation of this test |
| Methods inherited from class com.ohrasys.cad.bnf.BNFAbstractTest |
|---|
collect, isFirstTest, isLastTest, isNotLastTest, reset, setCollecting, setFormatting |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int requirement
| Constructor Detail |
|---|
public BNFNoFallthruTest(int requirement)
throws BNFTestException
requirement - The requirement for the test.
BNFTestException - If an error in test creation occurs| Method Detail |
|---|
public BNFTestResult test(BNFTestableObject obj)
test in interface BNFTestImplementortest in class BNFAbstractTestobj - The testable object from which to extract the token used
to evaluate the test.
public java.lang.String toString()
toString in class BNFAbstractTest
protected void checkTests()
throws BNFTestException
checkTests in class BNFAbstractTestBNFTestException - If the sub-test list of this test is not
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||