Package org.apache.batik.test
Class ParametrizedTest
java.lang.Object
org.apache.batik.test.AbstractTest
org.apache.batik.test.ParametrizedTest
- All Implemented Interfaces:
Test
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.
- Version:
- $Id: ParametrizedTest.java 1733416 2016-03-03 07:07:13Z gadams $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
Fields inherited from class org.apache.batik.test.AbstractTest
id, name, parent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetA()
getB()
runImpl()
Subclasses should implement this method with the content of the test case.void
void
void
setExpectedA
(String expectedA) void
setExpectedB
(String expectedB) Methods inherited from class org.apache.batik.test.AbstractTest
assertEquals, assertEquals, assertNull, assertTrue, error, getId, getName, getParent, getQualifiedId, reportError, reportException, reportSuccess, run, runImplBasic, setId, setName, setParent
-
Field Details
-
A
-
B
-
expectedA
-
expectedB
-
-
Constructor Details
-
ParametrizedTest
public ParametrizedTest()
-
-
Method Details
-
setA
-
setB
-
setExpectedA
-
setExpectedB
-
getA
-
getB
-
getExpectedA
-
getExpectedB
-
runImpl
Description copied from class:AbstractTest
Subclasses should implement this method with the content of the test case. Typically, implementations will choose to catch and process all exceptions and error conditions they are looking for in the code they exercise but will let exceptions due to their own processing propagate.- Overrides:
runImpl
in classAbstractTest
- Throws:
Exception
-