Esempio n. 1
0
 /**
  * Exits the current JUnit test context.
  *
  * @throws ClassCastException if the current context is not a JUnit context.
  */
 public static void exit() {
   Context.exit(JUnitContext.class);
 }
Esempio n. 2
0
 /**
  * Enters a JUnit test context. This context raises a <code>junit.framework.AssertionFailedError
  * </code> if an assert fails.
  */
 public static void enter() {
   Context.enter(JUnitContext.class);
 }