|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.digitalis.dif.sanitycheck.manager.TestMethodDefinition
public class TestMethodDefinition
Defines a Sanity Check Test Method form a ISanityCheckTestSuite
Constructor Summary | |
---|---|
TestMethodDefinition(ISanityCheckTestSuite testSuiteInstance,
Method theMethod)
|
Method Summary | |
---|---|
String |
getName()
Inspector for the 'name' attribute. |
boolean |
isOnlyAdministrators()
Inspector for the 'onlyAdministrators' attribute. |
TestResult |
run(IDIFContext context)
Runs the test |
void |
setName(String name)
Modifier for the 'name' attribute. |
void |
setOnlyAdministrators(boolean onlyAdministrators)
Modifier for the 'onlyAdministrators' attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestMethodDefinition(ISanityCheckTestSuite testSuiteInstance, Method theMethod) throws WrongTestMethodSignature
testSuiteInstance
- theMethod
-
WrongTestMethodSignature
- the methods can only have a single IDIFContext
parameter, or none at allMethod Detail |
---|
public String getName()
public boolean isOnlyAdministrators()
public TestResult run(IDIFContext context)
context
- the current DIF context
public void setName(String name)
name
- the new name value to setpublic void setOnlyAdministrators(boolean onlyAdministrators)
onlyAdministrators
- the new onlyAdministrators value to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |