- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 134 for Calling (0.36 sec)
-
src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java
} @Test @DisplayName("auth type is always NTLM") void testAuthTypeConstant(@Mock HttpServletRequest mockRequest, @Mock Principal mockPrincipal) { // No need to stub getName() since we're not calling getRemoteUser() NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, mockPrincipal); assertEquals("NTLM", request.getAuthType()); // Verify it returns the same value on multiple calls
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
import jcifs.SmbResource; /** * Tests for {@link DirFileEntryAdapterIterator}. * * This test class verifies the basic functionality of DirFileEntryAdapterIterator. * Due to the iterator's constructor calling advance() immediately, which requires * the adapt() method to be functional, we test the behavior using simple mock * scenarios that don't require complex filter setups. */ @ExtendWith(MockitoExtension.class)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
docs/en/docs/advanced/testing-dependencies.md
An example could be that you have an external authentication provider that you need to call. You send it a token and it returns an authenticated user. This provider might be charging you per request, and calling it might take some extra time than if you had a fixed mock user for tests. You probably want to test the external provider once, but not necessarily call it for every test that runs.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.4K bytes - Viewed (0) -
cmd/object_api_suite_test.go
data []byte } func (r *testOneByteReadNoEOF) Read(p []byte) (n int, err error) { if r.eof { return 0, io.EOF } n = copy(p, r.data) r.eof = true return n, nil } // Wrapper for calling testMakeBucket for both Erasure and FS. func TestMakeBucket(t *testing.T) { ExecObjectLayerTest(t, testMakeBucket) } // Tests validate bucket creation.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtException.java
public static final int CONNECTION_REFUSED = -1; /** Not listening on the called name */ public static final int NOT_LISTENING_CALLED = 0x80; /** Not listening for the calling name */ public static final int NOT_LISTENING_CALLING = 0x81; /** Called name not present */ public static final int CALLED_NOT_PRESENT = 0x82; /** Insufficient resources to establish session */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
// and a file that is READONLY, HIDDEN, and SYSTEM when(mockFile.getAttributes()).thenReturn(SmbFile.ATTR_READONLY | SmbFile.ATTR_HIDDEN | SmbFile.ATTR_SYSTEM); // When calling accept // Then it should be accepted because the READONLY attribute is present assertTrue(dosFileFilter.accept(mockFile)); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java
// Configure the mock to throw DcerpcException when wrap is called doThrow(new DcerpcException("Test wrap exception")).when(dcerpcSecurityProvider).wrap(mockNdrBuffer); // Assert that calling wrap throws DcerpcException assertThrows(DcerpcException.class, () -> dcerpcSecurityProvider.wrap(mockNdrBuffer)); // Verify that the wrap method was called exactly once
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
import jcifs.smb1.util.LogStream; /** Do not use this class. Writing to the OutputStream of this type of socket requires leaving a 4 byte prefix for the NBT header. IOW you must call write( buf, 4, len ). Calling write( buf, 0, len ) will generate an error. */ public class NbtSocket extends Socket { private static final int SSN_SRVC_PORT = 139; private static final int BUFFER_SIZE = 512;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
/// tip You'll see what other "things", apart from functions, can be used as dependencies in the next chapter. /// Whenever a new request arrives, **FastAPI** will take care of: * Calling your dependency ("dependable") function with the correct parameters. * Get the result from your function. * Assign that result to the parameter in your *path operation function*. ```mermaid graph TB
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.6K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LinearTransformation.java
* original transformation and its inverse to a value gives you the original value give-or-take * numerical errors. Calling this method multiple times on the same instance will always return * the same instance. Calling this method on the result of calling this method on an instance will * always return that original instance. */ public abstract LinearTransformation inverse();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.7K bytes - Viewed (0)