Package org.apache.batik.test
Class ParametrizedTest
- java.lang.Object
-
- org.apache.batik.test.AbstractTest
-
- org.apache.batik.test.ParametrizedTest
-
- All Implemented Interfaces:
Test
public class ParametrizedTest extends AbstractTest
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 $
-
-
Constructor Summary
Constructors Constructor Description ParametrizedTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getA()
java.lang.String
getB()
java.lang.String
getExpectedA()
java.lang.String
getExpectedB()
TestReport
runImpl()
Subclasses should implement this method with the content of the test case.void
setA(java.lang.String A)
void
setB(java.lang.String B)
void
setExpectedA(java.lang.String expectedA)
void
setExpectedB(java.lang.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
-
-
-
-
Method Detail
-
setA
public void setA(java.lang.String A)
-
setB
public void setB(java.lang.String B)
-
setExpectedA
public void setExpectedA(java.lang.String expectedA)
-
setExpectedB
public void setExpectedB(java.lang.String expectedB)
-
getA
public java.lang.String getA()
-
getB
public java.lang.String getB()
-
getExpectedA
public java.lang.String getExpectedA()
-
getExpectedB
public java.lang.String getExpectedB()
-
runImpl
public TestReport runImpl() throws java.lang.Exception
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:
java.lang.Exception
-
-