- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,919 for real (0.02 sec)
-
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
log.warn("Error creating SmbFile from cache for {}: {}", fileInfo.getName(), e.getMessage()); // For testing purposes, continue processing other files // In a real scenario, you might want to handle this differently } } return files; } /** * Update directory cache with new listing *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-params-str-validations.md
Tenha em mente que, ao usar `Query` dentro de `Annotated`, você não pode usar o parâmetro `default` de `Query`. Em vez disso, use o valor padrão real do parâmetro da função. Caso contrário, haveria inconsistência. Por exemplo, isto não é permitido: ```Python q: Annotated[str, Query(default="rick")] = "morty" ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 18.2K bytes - Viewed (0) -
mockwebserver/README.md
then verify that requests were made as expected. Because it exercises your full HTTP stack, you can be confident that you're testing everything. You can even copy & paste HTTP responses from your real web server to create representative test cases. Or test that your code survives in awkward-to-reproduce situations like 500 errors or slow-loading responses. ### Example
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 8.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/testing.md
/// ## Separando testes { #separating-tests } Em uma aplicação real, você provavelmente teria seus testes em um arquivo diferente. E sua aplicação **FastAPI** também pode ser composta de vários arquivos/módulos, etc. ### Arquivo da aplicação **FastAPI** { #fastapi-app-file }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
fail("Failed to access servername field: " + e.getMessage()); } } @Test void testGetEntriesWithMultipleShares() throws Exception { // Create real ShareInfo1 objects instead of mocks srvsvc.ShareInfo1 shareInfo1 = new srvsvc.ShareInfo1(); shareInfo1.netname = "Share1"; shareInfo1.type = 0; shareInfo1.remark = "Remark for Share1";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
import jcifs.smb.SmbSessionInternal; import jcifs.smb.SmbTransportInternal; /** * Unit tests for SMB3 Multi-Channel functionality * * These tests verify the multi-channel implementation without requiring a real SMB server. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class MultiChannelIntegrationTest { @Mock private SmbTransportInternal mockTransport; @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
// ISO 8859-1 only has 0-255 (ubyte) representation so throws away UTF-8 characters // greater than 127 (ie with their top bit set). // Don't attempt to do this in real code. assertEquals( fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1))); } public void testPutNonChars() { Hasher hasher = HASH_FN.newHasher();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
int originalValue = 150; NdrShort ndrShort1 = new NdrShort(originalValue); // Create separate mocks for encoding and decoding to simulate real buffer NdrBuffer encodeBuffer = mock(NdrBuffer.class); NdrBuffer decodeBuffer = mock(NdrBuffer.class); when(decodeBuffer.dec_ndr_short()).thenReturn(originalValue);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
@Test void testSend() throws SmbException { SmbTree tree = new SmbTree(session, "testShare", "A:"); tree.connectionState = 2; // Connected state tree.tid = 123; // Create real request and response objects since they're not interfaces ServerMessageBlock request = new SmbComOpenAndX("testfile.txt", 0x01, 0, null); ServerMessageBlock response = new SmbComOpenAndXResponse();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
) ``` /// warning The supporting additional functions `fake_password_hasher` and `fake_save_user` are just to demo a possible flow of the data, but they of course are not providing any real security. /// ## Reduce duplication { #reduce-duplication } Reducing code duplication is one of the core ideas in **FastAPI**.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 6.9K bytes - Viewed (0)