|
||||||||||
| 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.BNFOneOfManyRequiredTest
public class BNFOneOfManyRequiredTest
A test in which one of the sub-tests must pass.
| Field Summary |
|---|
| Fields inherited from class com.ohrasys.cad.bnf.BNFAbstractTest |
|---|
collectedData, collecting, committed, formatting, i18n, nextTest, playable, result, tests |
| Constructor Summary | |
|---|---|
BNFOneOfManyRequiredTest(BNFTestImplementor[] tests)
Creates a new BNFOneOfManyRequiredTest 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 BNFOneOfManyRequiredTest(BNFTestImplementor[] tests)
throws BNFTestException
tests - The list of sub-tests that comprise this test
BNFTestException - If the list of sub-tests is null or 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 test the object
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 | |||||||||