org.eclipse.emf.test.tools.merger
Class JMergerCompareTestSuite
java.lang.Object
junit.framework.TestSuite
org.eclipse.emf.test.tools.merger.JMergerTestSuite
org.eclipse.emf.test.tools.merger.JMergerCompareTestSuite
- All Implemented Interfaces:
- junit.framework.Test
public class JMergerCompareTestSuite
- extends JMergerTestSuite
Tests and finds differences between
output of JMerger when JDOM or AST Facade is used.
This test should NOT be included in the build.
Since there are differences in most cases, this test is expected to fail.
This test uses same input files and tests as JMergerTestSuite
.
When both JDOM and AST can not be ran for the given input (i.e. Java 5),
empty test suites are created for such directories.
Method Summary |
protected void |
addTestCases(junit.framework.TestSuite ts,
java.io.File dataDirectory)
Adds tests that can be ran for the given data directory to the test suite. |
static junit.framework.TestSuite |
suite()
|
Methods inherited from class junit.framework.TestSuite |
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JMergerCompareTestSuite
public JMergerCompareTestSuite(java.lang.String name)
suite
public static junit.framework.TestSuite suite()
addTestCases
protected void addTestCases(junit.framework.TestSuite ts,
java.io.File dataDirectory)
- Description copied from class:
JMergerTestSuite
- Adds tests that can be ran for the given data directory to the test suite.
- Overrides:
addTestCases
in class JMergerTestSuite
- Parameters:
ts
- test suite to add tests to