Class JUnit4TestCaseFacade

java.lang.Object
junit.framework.JUnit4TestCaseFacade
All Implemented Interfaces:
Test, Describable

public class JUnit4TestCaseFacade extends Object implements Test, Describable
  • Field Details

    • fDescription

      private final Description fDescription
  • Constructor Details

    • JUnit4TestCaseFacade

      JUnit4TestCaseFacade(Description description)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • countTestCases

      public int countTestCases()
      Description copied from interface: Test
      Counts the number of test cases that will be run by this test.
      Specified by:
      countTestCases in interface Test
    • run

      public void run(TestResult result)
      Description copied from interface: Test
      Runs a test and collects its result in a TestResult instance.
      Specified by:
      run in interface Test
    • getDescription

      public Description getDescription()
      Specified by:
      getDescription in interface Describable
      Returns:
      a Description showing the tests to be run by the receiver