- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 1,311 for Unexpected (0.07 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt
sink.flush() sleep(100) } fail("Expected connection to be closed") } }, ), ) cancelLater(call, 500) assertFailsWith<IOException> { call.execute() }.also { expected -> assertEquals(cancelMode == INTERRUPT, Thread.interrupted()) } } @ParameterizedTest
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
jcifs.SID[] expected = new jcifs.SID[] { member }; when(mockResolver.getGroupMemberSids(eq(mockCtx), eq("srv"), any(jcifs.SID.class), eq(512), eq(123))).thenReturn(expected); // Act jcifs.SID[] res = group.getGroupMemberSids("srv", mockCtx, 123); // Assert assertArrayEquals(expected, res);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java
throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else { throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
/** * Tests for the DfsReferral class. * This class tests the functionality of the DfsReferral class, * ensuring that objects are constructed correctly, appended properly, * and that the toString method returns the expected format. */ class DfsReferralTest { /** * Tests the default constructor of the DfsReferral class. * It verifies that a new DfsReferral object is initialized with its 'next'Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java
String type = "jar"; String classifier = "aClassifier"; String downloadUrl = "http://somewhere.com/download"; List<String> path = Arrays.asList("dependency1", "dependency2"); String expected = "Missing artifact" + LS + LS + " Try downloading the file manually from: " + LS + " http://somewhere.com/download" + LS + LS + " Then, install it using the command: " + LS
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
executor.shutdown(); awaitTerminationUninterruptibly(executor); assertTrue(executor.isTerminated()); assertInterrupted(); } /** * Wrapper around {@link Stopwatch} which also contains an "expected completion time." Creating a * {@code Completion} starts the underlying stopwatch. */ private static final class Completion { final Stopwatch stopwatch; final long expectedCompletionWaitMillis;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 31.7K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosAddressTest.java
String smbServer = NbtAddress.SMBSERVER_NAME; assertNotNull(anyHosts); assertNotNull(masterBrowser); assertNotNull(smbServer); // Test that they have expected lengths assertEquals(16, anyHosts.length()); assertEquals(15, masterBrowser.length()); assertEquals(15, smbServer.length()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java
Subscriber subscriber = Subscriber.create(bus, this, method); InvocationTargetException expected = assertThrows( InvocationTargetException.class, () -> subscriber.invokeSubscriberMethod(FIXTURE_ARGUMENT)); assertThat(expected).hasCauseThat().isInstanceOf(IntentionalException.class); } public void testInvokeSubscriberMethod_errorPassthrough() throws Throwable {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
String expected = "start=0,index=10,length=20"; assertEquals(expected, ndrBuffer.toString()); NdrBuffer offsetBuffer = new NdrBuffer(buffer, 5); offsetBuffer.setIndex(15); offsetBuffer.setLength(10); expected = "start=5,index=15,length=10"; assertEquals(expected, offsetBuffer.toString()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
for (int i = 0; i < sample.size(); i++) { Collection<String> misleading = misleadingSizeCollection(delta); List<String> expected = sample.subList(0, i); misleading.addAll(expected); assertEquals(expected, ImmutableList.copyOf(misleading)); assertEquals(expected, ImmutableList.copyOf((Iterable<String>) misleading)); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 23.6K bytes - Viewed (0)