예제 #1
0
  /** Example test method. */
  public void testMethod4() {
    X.println("Output from TestB.testMethod4().");

    throw new RuntimeException("Failed exception from TestB.testMethod4().");
  }
예제 #2
0
  /** Example test method. */
  public void testMethod3() {
    X.println("Output from TestB.testMethod3().");

    assertTrue("Failed assertion from TestB.testMethod3().", false);
  }
예제 #3
0
 /** {@inheritDoc} */
 @Override
 protected void tearDown() throws Exception {
   X.println("Tearing down test execution: " + getName());
 }
예제 #4
0
 /** Example test method. */
 public void testMethod2() {
   X.println("Output from TestB.testMethod2().");
 }
예제 #5
0
 /** {@inheritDoc} */
 @Override
 protected void setUp() throws Exception {
   X.println("Preparing for test execution: " + getName());
 }