org.eclipse.emf.test.tools.merger
Class JMergerCompareTestSuite

java.lang.Object
  extended by junit.framework.TestSuite
      extended by org.eclipse.emf.test.tools.merger.JMergerTestSuite
          extended by 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.


Nested Class Summary
protected static class JMergerCompareTestSuite.JMergerCompareTest
          Test that runs merge on 2 tests and compares the output.
 
Nested classes/interfaces inherited from class org.eclipse.emf.test.tools.merger.JMergerTestSuite
JMergerTestSuite.JMergerDataDirectoryFilter
 
Field Summary
 
Fields inherited from class org.eclipse.emf.test.tools.merger.JMergerTestSuite
DEFAULT_ROOT_DIRECTORY
 
Constructor Summary
JMergerCompareTestSuite(java.lang.String name)
           
 
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 org.eclipse.emf.test.tools.merger.JMergerTestSuite
createSingleInputTestSuite, createTestSuiteRecursively, determineRootDataDirectory, populateSuite
 
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
 

Constructor Detail

JMergerCompareTestSuite

public JMergerCompareTestSuite(java.lang.String name)
Method Detail

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

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.