类org.junit.jupiter.api.AfterAll源码实例Demo

下面列出了怎么用org.junit.jupiter.api.AfterAll的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: incubator-tuweni   文件: ServerRecordTest.java
@AfterAll
static void cleanupClients() {
  caClient.close();
  fooClient.close();
  barClient.close();
  foobarClient.close();
}
 
源代码2 项目: incubator-tuweni   文件: ClientTofuTest.java
@AfterAll
static void stopServers() {
  caValidServer.close();
  fooServer.close();
  foobarServer.close();
  System.clearProperty("javax.net.ssl.trustStore");
  System.clearProperty("javax.net.ssl.trustStorePassword");
}
 
源代码3 项目: incubator-tuweni   文件: ClientCaOrTofuTest.java
@AfterAll
static void stopServers() {
  caValidServer.close();
  fooServer.close();
  foobarServer.close();
  System.clearProperty("javax.net.ssl.trustStore");
  System.clearProperty("javax.net.ssl.trustStorePassword");
}
 
源代码4 项目: incubator-tuweni   文件: ClientWhitelistTest.java
@AfterAll
static void stopServers() {
  caValidServer.close();
  fooServer.close();
  barServer.close();
  System.clearProperty("javax.net.ssl.trustStore");
  System.clearProperty("javax.net.ssl.trustStorePassword");
}
 
@AfterAll
static void stopServers() {
  caValidServer.close();
  fooServer.close();
  barServer.close();
  System.clearProperty("javax.net.ssl.trustStore");
  System.clearProperty("javax.net.ssl.trustStorePassword");
}
 
源代码6 项目: incubator-tuweni   文件: ServerCaOrRecordTest.java
@AfterAll
static void cleanupClients() {
  caClient.close();
  fooClient.close();
  barClient.close();
  foobarClient.close();
}
 
源代码7 项目: incubator-tuweni   文件: ClientCaOrRecordTest.java
@AfterAll
static void stopServers() {
  caValidServer.close();
  fooServer.close();
  barServer.close();
  foobarServer.close();
  System.clearProperty("javax.net.ssl.trustStore");
  System.clearProperty("javax.net.ssl.trustStorePassword");
}
 
源代码8 项目: ethsigner   文件: IntegrationTestBase.java
@AfterAll
public static void teardown() {
  clientAndServer.stop();
  vertx.close();
  clientAndServer = null;
  runner = null;
}
 
源代码9 项目: ethsigner   文件: AcceptanceTestBase.java
@AfterAll
public static synchronized void tearDownBase() {
  if (ethNode != null) {
    ethNode.shutdown();
    ethNode = null;
  }

  if (ethSigner != null) {
    ethSigner.shutdown();
    ethSigner = null;
  }
}
 
源代码10 项目: ethsigner   文件: MultiKeySigningAcceptanceTest.java
@AfterAll
static void tearDown() {
  if (hashicorpNode != null) {
    hashicorpNode.shutdown();
    hashicorpNode = null;
  }
}
 
@AfterAll
public static synchronized void tearDownBase() {
  if (ethNode != null) {
    ethNode.shutdown();
    ethNode = null;
  }

  if (ethSigner != null) {
    ethSigner.shutdown();
    ethSigner = null;
  }
}
 
@AfterAll
static void tearDown() {
  if (hashicorpNode != null) {
    hashicorpNode.shutdown();
    hashicorpNode = null;
  }
}
 
@AfterAll
public static synchronized void tearDownBase() {
  if (ethNode != null) {
    ethNode.shutdown();
    ethNode = null;
  }

  if (ethSigner != null) {
    ethSigner.shutdown();
    ethSigner = null;
  }
}
 
@AfterAll
static synchronized void tearDownBase() {
  try {
    if (ethNode != null) {
      ethNode.shutdown();
      ethNode = null;
    }
  } finally {
    if (ethSigner != null) {
      ethSigner.shutdown();
      ethSigner = null;
    }
  }
}
 
源代码15 项目: ethsigner   文件: UpCheckAcceptanceTest.java
@AfterAll
static synchronized void tearDownBase() {
  if (ethSigner != null) {
    ethSigner.shutdown();
    ethSigner = null;
  }
}
 
源代码16 项目: apicurio-registry   文件: BaseIT.java
@AfterAll
static void afterAll(TestInfo info) throws Exception {
    if (!TestUtils.isExternalRegistry()) {
        registry.stop();
        Thread.sleep(3000);
        //noinspection OptionalGetWithoutIsPresent
        storeRegistryLog(info.getTestClass().get().getCanonicalName());
    }
}
 
源代码17 项目: vividus   文件: SystemStreamTests.java
@AfterClass
@AfterAll
public static void afterBase() throws IOException
{
    System.setOut(DEFAULT_OUT_STREAM);
    out.close();
    System.setErr(DEFAULT_ERR_STREAM);
    err.close();
}
 
源代码18 项目: sdn-rx   文件: ExceptionTranslationIT.java
@AfterAll
static void dropConstraints(@Autowired Driver driver) {

	try (Session session = driver.session()) {
		session.run("DROP CONSTRAINT ON (person:SimplePerson) ASSERT person.name IS UNIQUE").consume();
	}
}
 
@AfterAll
static void dropTestDatabase() {

	try (Session session = neo4jConnectionSupport.driverInstance.session(SessionConfig.forDatabase("system"))) {

		session.run("DROP DATABASE " + TEST_DATABASE_NAME).consume();
	}
}
 
源代码20 项目: sdn-rx   文件: ReactiveExceptionTranslationIT.java
@AfterAll
static void dropConstraints(@Autowired Driver driver) {

	Flux.using(driver::rxSession,
		session -> session.run("DROP CONSTRAINT ON (person:SimplePerson) ASSERT person.name IS UNIQUE").consume(),
		RxSession::close
	).then().as(StepVerifier::create).verifyComplete();
}
 
源代码21 项目: camel-quarkus   文件: CamelDevModeTest.java
@AfterAll
public static void cleanUp() throws IOException {
    Files.walk(BASE)
            .sorted(Comparator.reverseOrder())
            .map(Path::toFile)
            .forEach(File::delete);
}
 
源代码22 项目: MergeProcessor   文件: RenamingServiceTest.java
@AfterAll
public static void closeAfterAll() {
	try {
		connection.close();
	} catch (SQLException e) {
		LogUtil.throwing(e);
	}
}
 
源代码23 项目: jbang   文件: TestAlias.java
@AfterAll
static void cleanup() throws IOException {
	if (jbangTempDir != null) {
		Files	.walk(jbangTempDir)
				.sorted(Comparator.reverseOrder())
				.map(Path::toFile)
				.forEach(File::delete);
	}
}
 
源代码24 项目: synopsys-detect   文件: DetectorFinderTest.java
@AfterAll
public static void cleanup() {
    try {
        FileUtils.deleteDirectory(initialDirectoryPath.toFile());
    } catch (final IOException e) {
        // ignore
    }
}
 
@AfterAll
public static void restorePropertyValues() {
    if (droolsDialectJavaCompilerOrig != null) {
        System.setProperty(JavaDialectConfiguration.JAVA_COMPILER_PROPERTY, droolsDialectJavaCompilerOrig);
    }
    if (droolsDialectDefaultOrig != null) {
        System.setProperty(DefaultDialectOption.PROPERTY_NAME, droolsDialectDefaultOrig);
    }
}
 
源代码26 项目: clouditor   文件: EngineAPIResourcesTest.java
@AfterAll
static void cleanUpOnce() {
  engine.shutdown();
}
 
源代码27 项目: smithy   文件: NodeValidationVisitorTest.java
@AfterAll
public static void after() {
    MODEL = null;
}
 
源代码28 项目: smithy   文件: UnreferencedShapesTest.java
@AfterAll
public static void after() {
    model = null;
}
 
源代码29 项目: smithy   文件: RecursiveNeighborSelectorTest.java
@AfterAll
public static void after() {
    model = null;
}
 
源代码30 项目: smithy   文件: ForwardNeighborSelectorTest.java
@AfterAll
public static void after() {
    model = null;
}
 
 类所在包
 同包方法