|
TPTP 4.4.0 Testing Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.tptp.test.manual.runner.core.internal.model.util.ScriptParser
org.eclipse.tptp.test.auto.gui.internal.runner.ExtendedScriptParser
Extends the script parser that the manual runner provides to include data that is specific to the automatic test suite.
| Nested Class Summary | |
|---|---|
class |
ExtendedScriptParser.ExtendedTestCase
Extends the test case class that the manual runner uses to serialize a test suite into XML. |
class |
ExtendedScriptParser.ExtendedTestInvocation
Extends the test invocation to be able to provide APIs for retrieving properties of test invocations |
class |
ExtendedScriptParser.ExtendedTestSuite
Extends the test suite class to allow for dependencies to be set |
class |
ExtendedScriptParser.GeneralPropertyRetriever
|
static interface |
ExtendedScriptParser.IProeprtyHolder
|
| Constructor Summary | |
|---|---|
ExtendedScriptParser()
|
|
| Method Summary | |
|---|---|
TestSuite |
parse(byte[] xmlBytes)
Overwrite so that an extended test suite is returned (as opposed to a standard test suite that the manual parser uses) |
protected void |
parse(TestSuite testSuite,
org.w3c.dom.Element element)
|
protected void |
parseProperties(org.w3c.dom.Element element,
ExtendedScriptParser.IProeprtyHolder propertyHolder)
|
protected void |
parseTestCase(TestSuite testSuite,
org.w3c.dom.NodeList testCases)
This method needs to be over-written so that properties are associated with each test case |
protected void |
parseTestInvocation(IActionOwner actionOwner,
org.w3c.dom.Element actionElement)
|
| Methods inherited from class org.eclipse.tptp.test.manual.runner.core.internal.model.util.ScriptParser |
|---|
adjust, dispose, getTestInvocations, getVerdictReasons, getVerdicts, parse, parse, parse, parse, parse, parse, parse, parseVerdictReasons, parseVerdicts |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExtendedScriptParser()
| Method Detail |
public TestSuite parse(byte[] xmlBytes)
throws java.lang.Exception
parse in class ScriptParserjava.lang.Exception
protected void parseTestCase(TestSuite testSuite,
org.w3c.dom.NodeList testCases)
parseTestCase in class ScriptParser
protected void parseTestInvocation(IActionOwner actionOwner,
org.w3c.dom.Element actionElement)
parseTestInvocation in class ScriptParser
protected void parseProperties(org.w3c.dom.Element element,
ExtendedScriptParser.IProeprtyHolder propertyHolder)
protected void parse(TestSuite testSuite,
org.w3c.dom.Element element)
parse in class ScriptParser
|
TPTP 4.4.0 Testing Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||