diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2011-11-07 18:18:29 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2011-11-07 18:18:29 +0000 |
commit | 02303acdd92bbdd79dfe9b8866617209b183ae26 (patch) | |
tree | 6e728bdafd520fd1ee911a76a42ad46aad181df4 /test/java/org/apache/fop/layoutengine | |
parent | fd263a114c84c3756ead9c16b8b088531c5cab2c (diff) | |
download | xmlgraphics-fop-02303acdd92bbdd79dfe9b8866617209b183ae26.tar.gz xmlgraphics-fop-02303acdd92bbdd79dfe9b8866617209b183ae26.zip |
Bugzilla 52136: Added to build file JUnit target that uses a regex to run all of the test cases.
Patch by Mehdi Houshmand, applied with minor modifications
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1198853 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/java/org/apache/fop/layoutengine')
-rw-r--r-- | test/java/org/apache/fop/layoutengine/LayoutEngineTestCase.java (renamed from test/java/org/apache/fop/layoutengine/LayoutEngineTester.java) | 4 | ||||
-rw-r--r-- | test/java/org/apache/fop/layoutengine/LayoutEngineTestSuite.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/java/org/apache/fop/layoutengine/LayoutEngineTester.java b/test/java/org/apache/fop/layoutengine/LayoutEngineTestCase.java index 33f621f84..46908a448 100644 --- a/test/java/org/apache/fop/layoutengine/LayoutEngineTester.java +++ b/test/java/org/apache/fop/layoutengine/LayoutEngineTestCase.java @@ -70,7 +70,7 @@ import org.apache.fop.util.DelegatingContentHandler; * files. */ @RunWith(Parameterized.class) -public class LayoutEngineTester { +public class LayoutEngineTestCase { private static File areaTreeBackupDir; @BeforeClass @@ -108,7 +108,7 @@ public class LayoutEngineTester { * * @param testFile the test file */ - public LayoutEngineTester(File testFile) { + public LayoutEngineTestCase(File testFile) { this.ifTester = new IFTester(tfactory, areaTreeBackupDir); this.testFile = testFile; } diff --git a/test/java/org/apache/fop/layoutengine/LayoutEngineTestSuite.java b/test/java/org/apache/fop/layoutengine/LayoutEngineTestSuite.java index 00a660999..2a70f255d 100644 --- a/test/java/org/apache/fop/layoutengine/LayoutEngineTestSuite.java +++ b/test/java/org/apache/fop/layoutengine/LayoutEngineTestSuite.java @@ -27,6 +27,6 @@ import org.junit.runners.Suite.SuiteClasses; * JUnit test suit for running layout engine test under JUnit control. */ @RunWith(Suite.class) -@SuiteClasses({ LayoutEngineTester.class }) +@SuiteClasses({ LayoutEngineTestCase.class }) public class LayoutEngineTestSuite { } |