- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,064 for EXPECTED (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
taskRunner.newQueue().execute("connect") { assertFailsWith<IOException> { finder.find() }.also { expected -> assertThat(expected).hasMessage("boom 0!") assertThat(expected.suppressed.single()).hasMessage("boom 1!") } } taskFaker.runTasks() assertEvents( "take plan 0", "plan 0 TCP connecting...",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 20.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
assertSame(expected, future.get()); } @J2ktIncompatible @GwtIncompatible public void testAsAsyncCallable_exception() throws Exception { Exception expected = new IllegalArgumentException(); Callable<String> callable = new Callable<String>() { @Override public String call() throws Exception { throw expected; } };
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
void testGetRemoteUser() { // Arrange: Define the expected user name from the principal String expectedUserName = "testUser"; when(mockPrincipal.getName()).thenReturn(expectedUserName); // Act: Call the method under test String actualUserName = ntlmRequest.getRemoteUser(); // Assert: Verify that the returned user name is the expected one
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/WinErrorTest.java
@Test void knownErrorCodes() { assertEquals(71, WinError.ERROR_REQ_NOT_ACCEP, "ERROR_REQ_NOT_ACCEP expected 71"); assertEquals(230, WinError.ERROR_BAD_PIPE, "ERROR_BAD_PIPE expected 230"); assertEquals(6118, WinError.ERROR_NO_BROWSER_SERVERS_FOUND, "ERROR_NO_BROWSER_SERVERS_FOUND expected 6118"); } } @Nested @DisplayName("Array content checks") class ArrayChecks {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
} assertEqualsUsingStartedWith(perm, expected, elements); } } /** Regression test for b/4124577 */ public void testRegression_dataCorruption() { int size = 8; List<Integer> expected = createOrderedList(size); MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create(expected); List<Integer> contents = new ArrayList<>(expected);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
Set<Set<Integer>> expected = new HashSet<>(); expected.add(ImmutableSet.<Integer>of()); expected.add(ImmutableSet.of(1)); expected.add(ImmutableSet.of(2)); expected.add(ImmutableSet.of(3)); expected.add(ImmutableSet.of(1, 2)); expected.add(ImmutableSet.of(1, 3)); expected.add(ImmutableSet.of(2, 3)); expected.add(ImmutableSet.of(1, 2, 3));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java
} /** * Converts paths from Unix style to platform-dependent style. * * @param expected the option value expected by the test * @return the expected value with separators of the host */ private static String toPlatformSpecific(String expected) { return expected.replace("/", File.separator).replace(":", File.pathSeparator); } /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
throw new RuntimeException("Test failure " + index); }); fail("Should have thrown exception"); } catch (CIFSException e) { // Expected } } assertEquals(State.OPEN, circuitBreaker.getState(), "Circuit should be OPEN after threshold");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java
// Only compare the sign of the result of compare(). int expected = Byte.compare(x, y); int actual = SignedBytes.compare(x, y); if (expected == 0) { assertWithMessage(x + ", " + y).that(actual).isEqualTo(expected); } else if (expected < 0) { assertWithMessage(x + ", " + y + " (expected: " + expected + ", actual" + actual + ")") .that(actual < 0) .isTrue();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
docs/distributed/decom-encrypted-sse-s3.sh
fi ./mc version info myminio/versioned | grep -q "versioning is enabled" ret=$? if [ $ret -ne 0 ]; then echo "expected versioning enabled after expansion" exit 1 fi ./mc encrypt info myminio/versioned | grep -q "Auto encryption 'sse-s3' is enabled" ret=$? if [ $ret -ne 0 ]; then echo "expected encryption enabled after expansion" exit 1 fi ./mc mirror cmd myminio/versioned/ --quiet >/dev/null
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon May 27 19:17:46 UTC 2024 - 4.5K bytes - Viewed (0)