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$
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class 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.voidvoidvoidsetExpectedA(String expectedA) voidsetExpectedB(String expectedB) Methods inherited from class 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:AbstractTestSubclasses 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:
runImplin classAbstractTest- Throws:
Exception
-