- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 308 for teardown (0.07 seconds)
-
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
@BeforeEach void setUp() { // Mock the static parse method of KerberosAuthData mockedStaticAuthData = mockStatic(KerberosAuthData.class); } @AfterEach void tearDown() { // Close the static mock mockedStaticAuthData.close(); } /** * Test constructor with a valid ASN.1 token. * * @throws IOException if ASN.1 encoding fails.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
lenient().when(mockConfig.getWitnessReconnectDelay()).thenReturn(1000L); lenient().when(mockConfig.isWitnessServiceDiscovery()).thenReturn(true); } @AfterEach void tearDown() { if (mockService != null) { mockService.close(); } } @Test void testMockServiceLifecycle() throws Exception { assertNotNull(mockService.getAddress());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
secureRandom = new SecureRandom(); preauthService = new PreauthIntegrityService(secureRandom, PreauthIntegrityService.HASH_ALGO_SHA512, true); } @AfterEach public void tearDown() { if (preauthService != null) { preauthService.cleanup(); } } @Test @DisplayName("Test preauth salt generation") public void testPreauthSaltGeneration() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
socket.setReceiveBufferSize(SOCKET_BUFFER_SIZE) return socket } }, ).build() } @AfterEach fun tearDown() { Thread.interrupted() // Clear interrupted state. } @Test fun interruptWritingRequestBody() { server.enqueue(MockResponse()) server.start() val call = client.newCall(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 6.4K bytes - Click Count (0) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
private DefaultSettingsValidator validator; @BeforeEach void setUp() throws Exception { validator = new DefaultSettingsValidator(); } @AfterEach void tearDown() throws Exception { validator = null; } private void assertContains(String msg, String substring) { assertTrue(msg.contains(substring), "\"" + substring + "\" was not found in: " + msg); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/PluginTests.java
} @Override protected Map<String, Object> getUpdateMap() { final Map<String, Object> updateMap = new HashMap<>(); return updateMap; } @AfterEach protected void tearDown() { // do nothing } protected String getInstalledEndpointSuffix() { return INSTALLED_ENDPOINT_SUFFIX; } protected String getAvailableEndpointSuffix() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java
@Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); } @Override protected void tearDown(TestInfo testInfo) throws Exception { ComponentUtil.setFessConfig(null); super.tearDown(testInfo); } // ===================================================================================Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 15.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java
sleeper = new SleepingRunnable(1000); delayedFuture = executor.submit(sleeper, true); tearDownStack.addTearDown(() -> Thread.interrupted()); } @Override protected void tearDown() { tearDownStack.runTearDown(); } /** * This first test doesn't test anything in Uninterruptibles, just demonstrates some normal * behavior of futures so that you can contrast the next test with it.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
// Create a latch and a future that waits on the latch. latch = new CountDownLatch(1); future = createListenableFuture(Boolean.TRUE, null, latch); } @Override protected void tearDown() throws Exception { // Make sure we have no waiting threads. latch.countDown(); } /** Constructs a listenable future with a value available after the latch has counted down. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 6.1K bytes - Click Count (0)