Class JUnitTestRunner.TestWrapper

  • All Implemented Interfaces:
    junit.framework.Test
    Enclosing class:
    JUnitTestRunner

    public static class JUnitTestRunner.TestWrapper
    extends Object
    implements junit.framework.Test
    Test wrapper.
    • Method Detail

      • getName

        public String getName()
        Get test name.
        Returns:
        test name
      • countTestCases

        public int countTestCases()
        Get test cases count.
        Specified by:
        countTestCases in interface junit.framework.Test
        Returns:
        test cases count
      • run

        public void run​(junit.framework.TestResult result)
        Run test.
        Specified by:
        run in interface junit.framework.Test
        Parameters:
        result - test result
        See Also:
        Test.run(junit.framework.TestResult)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object