Class IpsTestSuiteJUnitAdapter

  • All Implemented Interfaces:
    junit.framework.Test

    public class IpsTestSuiteJUnitAdapter
    extends junit.framework.TestSuite
    Ips test suite adapter. Adapter between JUnit test suites and ips test suites.
    Author:
    Joerg Ortmann
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static junit.framework.Test createJUnitTest​(IpsTest2 ipsTest)
      Creates an adapter test for the given ips test.
      void testDummy()
      Dummy test method to avoid a warning when running all JUnit tests in this project.
      • 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

      • IpsTestSuiteJUnitAdapter

        public IpsTestSuiteJUnitAdapter()
      • IpsTestSuiteJUnitAdapter

        public IpsTestSuiteJUnitAdapter​(java.lang.String name)
      • IpsTestSuiteJUnitAdapter

        public IpsTestSuiteJUnitAdapter​(IpsTestSuite suite)
    • Method Detail

      • testDummy

        public void testDummy()
        Dummy test method to avoid a warning when running all JUnit tests in this project. Without this method, Eclpise's JUnit support would create a warning that his suite hasn't got any tests.
      • createJUnitTest

        public static junit.framework.Test createJUnitTest​(IpsTest2 ipsTest)
        Creates an adapter test for the given ips test.