|
||||||||||
| 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.BNFOneOrMoreOptionalTest
public class BNFOneOrMoreOptionalTest
A test in which all of the sub-tests must occur zero 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 | |
|---|---|
BNFOneOrMoreOptionalTest(BNFTestImplementor[] tests)
Creates a new BNFOneOrMoreOptionalTest object. |
|
| Method Summary | |
|---|---|
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, reset, setCollecting, setFormatting |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BNFOneOrMoreOptionalTest(BNFTestImplementor[] tests)
throws BNFTestException
tests - The list of sub-tests that comprise this test
BNFTestException - If the sub-tests list is null, zero length
or contains a null sub-test| Method Detail |
|---|
public BNFTestResult test(BNFTestableObject obj)
test in interface BNFTestImplementortest in class BNFAbstractTestobj - 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 | |||||||||