aboutsummaryrefslogtreecommitdiffstats
path: root/test/java/org/apache/fop/fotreetest
diff options
context:
space:
mode:
Diffstat (limited to 'test/java/org/apache/fop/fotreetest')
-rw-r--r--test/java/org/apache/fop/fotreetest/FOTreeTestCase.java (renamed from test/java/org/apache/fop/fotreetest/FOTreeTester.java)4
-rw-r--r--test/java/org/apache/fop/fotreetest/FOTreeTestSuite.java15
2 files changed, 12 insertions, 7 deletions
diff --git a/test/java/org/apache/fop/fotreetest/FOTreeTester.java b/test/java/org/apache/fop/fotreetest/FOTreeTestCase.java
index 3eb7a490d..aa0cbe841 100644
--- a/test/java/org/apache/fop/fotreetest/FOTreeTester.java
+++ b/test/java/org/apache/fop/fotreetest/FOTreeTestCase.java
@@ -49,7 +49,7 @@ import org.apache.fop.util.ConsoleEventListenerForTests;
* Test driver class for FO tree tests.
*/
@RunWith(Parameterized.class)
-public class FOTreeTester {
+public class FOTreeTestCase {
@BeforeClass
public static void registerElementListObservers() {
@@ -84,7 +84,7 @@ public class FOTreeTester {
*
* @param testFile the FO file to test
*/
- public FOTreeTester(File testFile) {
+ public FOTreeTestCase(File testFile) {
fopFactory.addElementMapping(new TestElementMapping());
this.testFile = testFile;
}
diff --git a/test/java/org/apache/fop/fotreetest/FOTreeTestSuite.java b/test/java/org/apache/fop/fotreetest/FOTreeTestSuite.java
index 6e6f62b92..f128055ac 100644
--- a/test/java/org/apache/fop/fotreetest/FOTreeTestSuite.java
+++ b/test/java/org/apache/fop/fotreetest/FOTreeTestSuite.java
@@ -19,20 +19,25 @@
package org.apache.fop.fotreetest;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
import org.apache.fop.fo.flow.table.CollapsedConditionalBorderTestCase;
import org.apache.fop.fo.flow.table.IllegalRowSpanTestCase;
import org.apache.fop.fo.flow.table.RowGroupBuilderTestCase;
import org.apache.fop.fo.flow.table.TableColumnColumnNumberTestCase;
import org.apache.fop.fo.flow.table.TooManyColumnsTestCase;
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
/**
* JUnit test suit for running layout engine test under JUnit control.
*/
@RunWith(Suite.class)
-@Suite.SuiteClasses({ TooManyColumnsTestCase.class, IllegalRowSpanTestCase.class,
- RowGroupBuilderTestCase.class, TableColumnColumnNumberTestCase.class,
- CollapsedConditionalBorderTestCase.class, FOTreeTester.class })
+@Suite.SuiteClasses({
+ TooManyColumnsTestCase.class,
+ IllegalRowSpanTestCase.class,
+ RowGroupBuilderTestCase.class,
+ TableColumnColumnNumberTestCase.class,
+ CollapsedConditionalBorderTestCase.class,
+ FOTreeTestCase.class })
public final class FOTreeTestSuite {
}