Class JMergerCompareTestSuite

  extended by junit.framework.TestSuite
      extended by
          extended by
All Implemented Interfaces:

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
Field Summary
Fields inherited from class
Constructor Summary
JMergerCompareTestSuite(java.lang.String name)
Method Summary
protected  void addTestCases(junit.framework.TestSuite ts, 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
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


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


public static junit.framework.TestSuite suite()


protected void addTestCases(junit.framework.TestSuite ts,
Description copied from class: JMergerTestSuite
Adds tests that can be ran for the given data directory to the test suite.

addTestCases in class JMergerTestSuite
ts - test suite to add tests to

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