- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 795 for Calls (0.24 seconds)
-
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
Reflection.newProxy(Map.class, new CheckSetUpInvocationHandler(map, setUpRan)); return proxy; } } /** * Intercepts calls to a {@code Map} to check that {@code setUpRan} is true when they happen. Then * forwards the calls to the underlying {@code Map}. */ private static class CheckSetUpInvocationHandler implements InvocationHandler, Serializable { private final Map<String, String> map;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 11.6K bytes - Click Count (0) -
src/test/java/jcifs/EmptyIteratorTest.java
}, "remove() should not throw any exception"); } @Test @DisplayName("EmptyIterator should behave consistently across multiple calls") void testConsistentBehavior() { // When & Then - test multiple sequential calls for (int i = 0; i < 10; i++) { assertFalse(emptyIterator.hasNext(), "hasNext should consistently return false");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
} /** * Helper method to create a DcerpcPipeHandle with injected mocks * Uses mock to avoid constructor issues while allowing real method calls */ private DcerpcPipeHandle createMockedDcerpcPipeHandle() throws Exception { // Create a mock without calling the constructor DcerpcPipeHandle handle = mock(DcerpcPipeHandle.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
assertTrue(result.contains("Illegal state in search log processing")); assertTrue(result.endsWith("\n")); } @Test public void test_execute_multipleErrors() { // Test with multiple calls to execute() with errors SearchLogHelper mockSearchLogHelper = new SearchLogHelper() { private int callCount = 0; @Override public void storeSearchLog() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 12.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
* when responses are of an unexpected type or cannot be decoded. * * Other exception types cancel the current call: * * * For synchronous calls made with [Call.execute], the exception is propagated to the caller. * * * For asynchronous calls made with [Call.enqueue], an [IOException] is propagated to the caller * indicating that the call was canceled. The interceptor's exception is delivered to the current
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
// When mockRequest.setFileId(testFileId); // Then verify(mockRequest, times(1)).setFileId(testFileId); } @Test @DisplayName("Should handle multiple setFileId calls") void testMultipleSetFileIdCalls() { // Given RequestWithFileId request = new Smb2CloseRequest(mockConfig, emptyFileId); byte[] firstFileId = new byte[16];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
assertNull(session.transport, "transport not created yet"); SmbTransport tr = session.transport(); assertNotNull(tr, "transport should now exist"); // subsequent calls return the same instance assertSame(tr, session.transport()); } @Test void sendResetsResponseAndForwards() throws Exception { SmbSession session = new SmbSession(addr, 445, inet, 0, auth);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableMap.java
import java.util.NavigableSet; import java.util.NoSuchElementException; import java.util.SortedMap; import org.jspecify.annotations.Nullable; /** * A navigable map which forwards all its method calls to another navigable map. Subclasses should * override one or more methods to modify the behavior of the backing map as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 14.1K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheLoader.java
* * <p>This method should be overridden when bulk retrieval is significantly more efficient than * many individual lookups. Note that {@link LoadingCache#getAll} will defer to individual calls * to {@link LoadingCache#get} if this method is not overridden. * * @param keys the unique, non-null keys whose values should be loadedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/SmbSessionTest.java
doNothing().when(mockSession).close(); assertDoesNotThrow(() -> { mockSession.close(); mockSession.close(); }, "Multiple close() calls should not throw exceptions"); verify(mockSession, times(2)).close(); } @Test @DisplayName("Should handle close with exception gracefully")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0)