- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 492 for Real (0.02 seconds)
-
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";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (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; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * JUnit 5 tests for {@link TestLocking}. * Tests command line argument parsing and basic field initialization. * Does not require a real SMB server - focuses on application logic. */ @ExtendWith(MockitoExtension.class) class TestLockingTest { private PrintStream originalOut; private PrintStream originalErr;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
docs/en/docs/tutorial/testing.md
/// ## Separating tests { #separating-tests } In a real application, you probably would have your tests in a different file. And your **FastAPI** application might also be composed of several files/modules, etc. ### **FastAPI** app file { #fastapi-app-file }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
import org.junit.jupiter.api.Test; import jcifs.dcerpc.rpc; import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; /** * Integration tests for lsarpc classes using real NdrBuffer implementations */ class lsarpcIntegrationTest { @Test void testLsarDomainInfoEncodeDecodeRoundTrip() throws NdrException { // Create a domain info with test dataCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
docs/en/docs/advanced/stream-data.md
It wouldn't be that important in this specific example because it's a fake in-memory file (with `io.BytesIO`), but with a real file, it would be important to make sure the file is closed after the work with it is done. ### Files and Async { #files-and-async } In most cases, file-like objects are not compatible with async and await by default.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.4K bytes - Click Count (0) -
okhttp-tls/README.md
a fake `HostnameVerifier` or `X509TrustManager`. Certificate Authorities ----------------------- The above example uses a self-signed certificate. This is convenient for testing but not representative of real-world HTTPS deployment. To get closer to that we can use `HeldCertificate` to generate a trusted root certificate, an intermediate certificate, and a server certificate.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 9.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
} @Test @DisplayName("renew: invokes getSubject and returns self") void testRenewInvokesGetSubjectAndReturnsSelf() { JAASAuthenticator auth = spy(new JAASAuthenticator()); // Avoid real JAAS by stubbing getSubject doReturn(new Subject()).when(auth).getSubject(); // Act CredentialsInternal result = auth.renew(); // Assert interaction and return valueCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
cmd/object-api-datatypes.go
Bucket string // Name of the object. Name string // Date and time when the object was last modified. ModTime time.Time // Total object size. Size int64 // Actual size is the real size of the object uploaded by client. ActualSize *int64 // IsDir indicates if the object is prefix. IsDir bool // Hex encoded unique entity tag of the object. ETag string
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
*/ @Test @DisplayName("Test FileInformation implementation with spy") void testFileInformationWithSpy() throws SMBProtocolDecodingException { // Create spy on real object FileEndOfFileInformation realObject = new FileEndOfFileInformation(4096L); FileEndOfFileInformation spy = Mockito.spy(realObject); // Call methodsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0)