- Sort Score
- Result 10 results
- Languages All
Results 721 - 730 of 1,132 for Expected (0.14 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt
} @Test fun cancelAllWhenEmptyDoesNotStartWorkerThread() { redQueue.execute("red task", 100.µs) { error("expected to be canceled") } assertThat(taskFaker.executeCallCount).isEqualTo(1) blueQueue.execute("task", 100.µs) { error("expected to be canceled") } assertThat(taskFaker.executeCallCount).isEqualTo(1) redQueue.cancelAll()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 23K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
SmbResource r = itr.next(); // Assert: the invalid name was skipped, valid one returned assertNotNull(r); assertTrue(r.getName().startsWith("OKSERVER"), "Expected valid entry to be adapted"); assertFalse(itr.hasNext()); } @Test @DisplayName("Filter rejects first, accepts second; interactions verified")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
cmd/metacache.go
if objAPI == nil { internalLogIf(ctx, errors.New("metacache.delete: no object layer")) return } ez, ok := objAPI.(deleteAllStorager) if !ok { bugLogIf(ctx, errors.New("metacache.delete: expected objAPI to be 'deleteAllStorager'")) return } ez.deleteAll(ctx, minioMetaBucket, metacachePrefixForID(m.bucket, m.id))
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 6K bytes - Viewed (0) -
cmd/common-main.go
Skip: true, }, nil } envTokens := strings.SplitN(strings.TrimSpace(strings.TrimPrefix(envEntry, "export")), config.EnvSeparator, 2) if len(envTokens) != 2 { return envKV{}, fmt.Errorf("envEntry malformed; %s, expected to be of form 'KEY=value'", envEntry) } key := envTokens[0] val := envTokens[1] // Remove quotes from the value if found if len(val) >= 2 { quote := val[0]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.5K bytes - Viewed (3) -
src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java
protocolHelper.init(); try { protocolHelper.isValidWebProtocol(null); fail("Should throw exception for null URL"); } catch (Exception e) { // Expected assertNotNull(e); } } public void test_isValidFileProtocol_nullUrl() { ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 21.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
executor.execute(runnable); } }; future.setFuture(badFuture); ExecutionException expected = getExpectingExecutionException(future); assertThat(expected).hasCauseThat().isInstanceOf(IllegalArgumentException.class); assertThat(expected).hasCauseThat().hasMessageThat().contains(badFuture.toString()); } public void testSetFuture_misbehavingFutureDoesNotThrow() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt
for (expectedClass in allowedExceptionTypes) { if (expectedClass.isInstance(failure)) { found = true break } } assertThat( found, "Expected exception type among ${allowedExceptionTypes.contentToString()}, got $failure", ).isTrue() } fun assertFailure(vararg messages: String) = apply {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
*/ @CanIgnoreReturnValue public ValueGraphBuilder<N, V> allowsSelfLoops(boolean allowsSelfLoops) { this.allowsSelfLoops = allowsSelfLoops; return this; } /** * Specifies the expected number of nodes in the graph. * * @throws IllegalArgumentException if {@code expectedNodeCount} is negative */ @CanIgnoreReturnValue public ValueGraphBuilder<N, V> expectedNodeCount(int expectedNodeCount) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
} else if (exception instanceof NullPointerException) { // Empty input causes null ASN1 object, which is expected behavior assertTrue(exception.getMessage() == null || exception.getMessage().contains("Cannot invoke \"Object.getClass()\""), "NullPointerException should be from null ASN1 object."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
*/ @Test public void testBufferSizeValidation() { // When - Get a buffer byte[] buffer = BufferCache.getBuffer(); // Then - Buffer should have expected size assertNotNull(buffer, "Buffer should not be null"); assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer.length, "Buffer should have TRANSACTION_BUF_SIZE");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0)