- Sort Score
- Result 10 results
- Languages All
Results 791 - 800 of 929 for Mail (0.03 sec)
-
guava-tests/test/com/google/common/primitives/DoublesTest.java
// it's shared to avoid using too much memory in tests double[] sharedArray = new double[arraysDim2]; Arrays.fill(arrays, sharedArray); try { Doubles.concat(arrays); fail(); } catch (IllegalArgumentException expected) { } } public void testEnsureCapacity() { assertThat(Doubles.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
assertThat(Shorts.saturatedCast(Long.MIN_VALUE)).isEqualTo(LEAST); } private static void assertCastFails(long value) { try { Shorts.checkedCast(value); fail("Cast to short should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage(value + " not found in exception text: " + ex.getMessage())
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java
tikaExtractor.maxCompressionRatio = 1; tikaExtractor.maxUncompressionSize = 10000; try { tikaExtractor.getText(in, null); fail(); } catch (final ExtractException e) { logger.info(e.getMessage()); } } public void test_getTika_tar() {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 30.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
server.processNextFrame() // Ping. client.processNextFrame() // Pong. // After 1000ms the client will attempt a ping 2, but we don't process it. That'll cause the // client to fail at 1500ms when it's time to send ping 3 because pong 2 hasn't been received. taskFaker.advanceUntil(ns(1000L)) taskFaker.advanceUntil(ns(1500L)) client.listener.assertFailure(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
when(ctx2.getCredentials()).thenReturn(creds2); when(ctx2.getNameServiceClient()).thenReturn(nsc2); when(nsc2.getAllByName(anyString(), anyBoolean())).thenThrow(new UnknownHostException("fail")); SmbResourceLocatorImpl l3 = new SmbResourceLocatorImpl(ctx2, smbUrl("smb://host/share/file")); SmbResourceLocatorImpl l4 = new SmbResourceLocatorImpl(ctx2, smbUrl("smb://HOST/share/file"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
} else if (method.getParameterTypes()[i] == long.class) { params1[i] = random.nextLong(); params2[i] = random.nextLong(); } else { fail("Unable to create a random parameter for " + method.getParameterTypes()[i]); } } HashFunction hashFunction1a = (HashFunction) method.invoke(clazz, params1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (2) -
guava/src/com/google/common/util/concurrent/AbstractService.java
/** If true, the user requested a shutdown while the service was still starting up. */ final boolean shutdownWhenStartupFinishes; /** * The exception that caused this service to fail. This will be {@code null} unless the service * has failed. */ final @Nullable Throwable failure; StateSnapshot(State internalState) { this(internalState, false, null); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.7K bytes - Viewed (0) -
cmd/encryption-v1_test.go
if err != nil && !test.ShouldFail { t.Fatalf("Test %d: should succeed but failed: %v", i, err) } if err == nil && test.ShouldFail { t.Fatalf("Test %d: should fail but succeeded", i) } if err == nil { if etag != test.ETag { t.Fatalf("Test %d: ETag mismatch: got %s - want %s", i, etag, test.ETag) } } } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 19.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
MatchAllDocsQuery query = new MatchAllDocsQuery(); float boost = -1.0f; try { matchAllQueryCommand.execute(context, query, boost); fail("Should throw IllegalArgumentException for negative boost"); } catch (IllegalArgumentException e) { // Expected exception assertTrue(e.getMessage().contains("negative [boost] are not allowed"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
SmbTreeConnection c = spy(newConn()); // Prepare a minimal locator SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(ctx, smbUrl("smb://srv/share/path")); // Setup a tree that will fail with transport error first, then succeed SmbTreeImpl tree = mock(SmbTreeImpl.class); when(tree.acquire(false)).thenReturn(tree);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0)