- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 1,356 for afterFn (0.05 seconds)
-
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// Read the three data bytes assertEquals(1, sis.read()); assertEquals(2, sis.read()); assertEquals(3, sis.read()); // After consuming all data, trying to read again will attempt to read // another packet header, but since there's no more data, it will throw IOException assertThrows(IOException.class, () -> sis.read()); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
assertThrows(NullPointerException.class, () -> getMap().putIfAbsent(null, v3())); expectUnchanged(); expectNullKeyMissingWhenNullKeysUnsupported( "Should not contain null key after unsupported putIfAbsent(null, value)"); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) public void testPutIfAbsent_nullValueUnsupportedAndKeyAbsent() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 02:04:51 GMT 2025 - 5.4K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt
import org.apache.hc.core5.http.HttpVersion import org.junit.After import org.junit.Assert.assertEquals import org.junit.Test import org.junit.runner.RunWith /** * Apache HttpClient 5.x. * * https://hc.apache.org/httpcomponents-client-5.0.x/index.html */ @RunWith(AndroidJUnit4::class) class ApacheHttpClientTest { private var httpClient = HttpClients.createDefault() @After fun tearDown() { httpClient.close() }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
assertThrows(NullPointerException.class, () -> getMap().putIfAbsent(null, v3())); expectUnchanged(); expectNullKeyMissingWhenNullKeysUnsupported( "Should not contain null key after unsupported putIfAbsent(null, value)"); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) public void testPutIfAbsent_nullValueUnsupportedAndKeyAbsent() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 02:04:51 GMT 2025 - 5.3K bytes - Click Count (0) -
docs/site-replication/run-multi-site-minio-idp.sh
exit_1 fi sleep 10 ./mc admin user svcacct info minio2 testsvc if [ $? -eq 0 ]; then echo "svc account found after delete, exiting.." exit_1 fi ./mc admin user svcacct info minio3 testsvc if [ $? -eq 0 ]; then echo "svc account found after delete, exiting.." exit_1 fi ./mc mb minio1/newbucket # copy large upload to newbucket on minio1 truncate -s 17M lrgfile
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Sep 24 08:03:58 GMT 2024 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java
import java.util.Locale; import org.codelibs.core.misc.LocaleUtil; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * @author wyukawa * */ public class NullArgumentExceptionTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null);Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
assertThrows(NullPointerException.class, () -> getMap().putIfAbsent(null, v3())); expectUnchanged(); expectNullKeyMissingWhenNullKeysUnsupported( "Should not contain null key after unsupported putIfAbsent(null, value)"); } @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES) public void testPutIfAbsent_nullValueUnsupported() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
assertEquals(auth1, auth2); assertEquals(auth1.hashCode(), auth2.hashCode()); // Test inequality with different password assertNotEquals(auth1, auth3); // Test after password wipe auth1.secureWipePassword(); assertNotEquals(auth1, auth2); } /** * Test concurrent password access and wiping */ @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.3K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
assertEquals("Success", result); assertEquals(6, attemptCount.get()); // Initial attempt + 5 retries } /** * Test: Retry logic fails after exceeding maxRetryCount * Verifies that the operation fails after maxRetryCount attempts */ @Test public void testRetryLogicExceedsMaxRetryCount() { fesenClient.setMaxRetryCount(3); fesenClient.setRetryInterval(10L);Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 20 08:44:44 GMT 2025 - 17K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
digest.secureWipeKey(); // Verify digest fails after wiping byte[] newData = new byte[128]; Arrays.fill(newData, (byte) 0x66); assertThrows(IllegalStateException.class, () -> { digest.sign(newData, 0, newData.length, request, response); }, "Should throw exception after key is wiped"); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 43.7K bytes - Click Count (0)