Package | Description |
---|---|
org.apache.batik.test | |
org.apache.batik.test.xml |
Modifier and Type | Interface and Description |
---|---|
interface |
TestSuite
A
TestSuite is a composite test, that is, a test
made of multiple children Test cases. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTest
Base class containing convenience methods for writing tests.
|
class |
AbstractTestSuite
This class provides an implementation for the
addTest
method and a protected member to store the children Test
instances. |
class |
DefaultTestSuite
Default implementation of the
TestSuite interface. |
class |
OnePerformanceTest |
class |
ParametrizedTest
This test validates that test properties are inherited from the class that
defines the "class" attribute down to each test instance that uses the
same class.
|
class |
PerformanceTest
This abstract
Test implementation instruments performance
testing. |
class |
PerformanceTestValidator
Validates the operation of the
PerformanceTest class. |
class |
TestReportValidator
This
Test implementation can be used to validate the
operation of a specific test. |
Modifier and Type | Field and Description |
---|---|
protected Test |
DefaultTestReport.test |
Modifier and Type | Method and Description |
---|---|
Test |
TestFilter.filter(Test t)
The filter will return null or the input
Test . |
Test[] |
TestSuite.getChildrenTests()
Returns this suite's
Test . |
Test[] |
DefaultTestSuite.getChildrenTests() |
Test |
TestReport.getTest()
Returns the
Test object that generated this
TestReport |
Test |
DefaultTestSuiteReport.getTest() |
Test |
DefaultTestReport.getTest() |
Modifier and Type | Method and Description |
---|---|
void |
TestSuite.addTest(Test test)
Adds a
Test to the suite |
void |
DefaultTestSuite.addTest(Test test)
Adds a
Test to the suite |
void |
AbstractTestSuite.addTest(Test test)
Adds a
Test to the suite |
Test |
TestFilter.filter(Test t)
The filter will return null or the input
Test . |
TestReport |
TestErrorConditionException.getTestReport(Test test)
Requests a report which describes the exception.
|
TestReport |
AssertException.getTestReport(Test test)
TestErrorConditionException implementation. |
void |
TestSuite.removeTest(Test test)
Removes a
Test from the suite |
void |
DefaultTestSuite.removeTest(Test test)
Removes a
Test from the suite. |
protected void |
TestReportValidator.setConfig(Test test,
boolean expectedStatus,
String expectedErrorCode)
Lets derived classes set the configuration parameters
for this test.
|
Constructor and Description |
---|
DefaultTestReport(Test test) |
TestReportValidator(Test test,
boolean expectedStatus,
String expectedErrorCode)
Constructor
|
Modifier and Type | Class and Description |
---|---|
class |
DummyValidTest
Dummy Test which always passes.
|
class |
DummyValidTestSuite
Dummy TestSuite which always passes.
|
class |
XMLTestSuiteRunnerValidator
Validates the operation of the
XMLTestSuireRunner by checking
that it runs the tests specified by the command line parameter and
only these tests. |
Modifier and Type | Method and Description |
---|---|
protected static Test |
XMLTestSuiteLoader.buildTest(Element element) |
Test |
XMLTestSuiteRunner.AcceptAllTestsFilter.filter(Test t) |
Test |
XMLTestSuiteRunner.IdBasedTestFilter.filter(Test t)
Accept a test if one of the ids is found (i.e., an
exact match or a substring) in the
Test 's
qualified id. |
Modifier and Type | Method and Description |
---|---|
Test |
XMLTestSuiteRunner.AcceptAllTestsFilter.filter(Test t) |
Test |
XMLTestSuiteRunner.IdBasedTestFilter.filter(Test t)
Accept a test if one of the ids is found (i.e., an
exact match or a substring) in the
Test 's
qualified id. |
protected TestReport |
XMLTestSuiteRunner.runTest(Test test) |
Copyright © 2000–2019 Apache Software Foundation. All rights reserved.