|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
interface TestImplementation
Tests that may be run by the Checker must implement the
TestImplementation
interface.
A test is thus defined as code that runs on the intermediary moki
representation of the Web resource to test (an instance of the
PreprocessorResults
class) and returns the outcome of test
in a TestResult
object. The name of the test must be returned
by the getTestType()
method.
Method Summary | |
---|---|
java.lang.String |
getTestType()
Returns the name of the test implemented by the class. |
TestResult |
runTest(PreprocessorResults results)
Runs the test on the intermediate moki representation of the resource. |
Method Detail |
---|
java.lang.String getTestType()
TestResult runTest(PreprocessorResults results) throws TestException
moki
representation of the resource.
results
- the intermediate moki
representation of the resource to check.
TestException
- an unexpected error occurred while running the test.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |