|
||||||||||
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.BNFOneOrMoreRequiredTest
public class BNFOneOrMoreRequiredTest
A test in which all of the sub-tests must occur one or more times.
Field Summary |
---|
Fields inherited from class com.ohrasys.cad.bnf.BNFAbstractTest |
---|
collectedData, collecting, committed, formatting, i18n, nextTest, playable, result, tests |
Constructor Summary | |
---|---|
BNFOneOrMoreRequiredTest(BNFTestImplementor[] tests)
Creates a new BNFOneOrMoreRequiredTest object. |
Method Summary | |
---|---|
void |
reset()
Resets the state of the test |
BNFTestResult |
test(BNFTestableObject obj)
A method to evaluate this test using the supplied testable object |
java.lang.String |
toString()
Returns a text representation of this test |
Methods inherited from class com.ohrasys.cad.bnf.BNFAbstractTest |
---|
checkTests, collect, isFirstTest, isLastTest, isNotLastTest, setCollecting, setFormatting |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BNFOneOrMoreRequiredTest(BNFTestImplementor[] tests) throws BNFTestException
tests
- The list of sub-tests that comprise this test
BNFTestException
- If the sub-test list is null, zero length
or contains a null sub-testMethod Detail |
---|
public void reset()
reset
in interface BNFTestImplementor
reset
in class BNFAbstractTest
public BNFTestResult test(BNFTestableObject obj)
test
in interface BNFTestImplementor
test
in class BNFAbstractTest
obj
- The BNFTestableObject from which to extract the token
used to evaluate this test
public java.lang.String toString()
toString
in class BNFAbstractTest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |