Class JUnitCore

  • Direct Known Subclasses:
    JUnitCoreWrapper.JUnitCore

    class JUnitCore
    extends java.lang.Object
    JUnitCore solves bugs in original junit class JUnitCore.

    The notifier method RunNotifier.fireTestRunFinished(org.junit.runner.Result) is called anyway in finally block.

    Since:
    2.19
    See Also:
    JUnit issue 1186
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Notifier notifier  
    • Constructor Summary

      Constructors 
      Constructor Description
      JUnitCore​(Notifier notifier)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void afterException​(java.lang.Throwable e)  
      protected void afterFinished()  
      (package private) org.junit.runner.Result run​(org.junit.runner.Runner runner)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait