All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.carrotsearch.examples.randomizedrunner.reports.Test002SuiteFailure Maven / Gradle / Ivy

Go to download

Simple use-case examples meant to be included in some end-user documentation if it's ever going to be written...

There is a newer version: 2.1.17
Show newest version
package com.carrotsearch.examples.randomizedrunner.reports;

import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;

/**
 * Suite-level failures.
 */
public class Test002SuiteFailure {
  @BeforeClass
  public static void beforeClass() {
    throw new RuntimeException("beforeClass");
  }

  @Test
  public void testCase() {}

  @AfterClass
  public static void afterClass() {
    throw new RuntimeException("afterClass");
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy