- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 467 for netted (0.03 sec)
-
docs/en/docs/tutorial/body-nested-models.md
And it will be annotated / documented accordingly too. ## Nested Models { #nested-models } Each attribute of a Pydantic model has a type. But that type can itself be another Pydantic model. So, you can declare deeply nested JSON "objects" with specific attribute names, types and validations. All that, arbitrarily nested. ### Define a submodel { #define-a-submodel }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
@Test @DisplayName("Should initialize remaining to zero") void testInitialRemainingValue() { assertEquals(0, response.getRemaining()); } } @Nested @DisplayName("Getter Tests") class GetterTests { @Test @DisplayName("Should get count value") void testGetCount() { // Initial value should be 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
} } // Helper method to create a mock SmbFile for more advanced tests if needed private SmbFile createMockSmbFile(String url, NtlmPasswordAuthentication auth) throws MalformedURLException { // This is complex due to the class structure. A better approach would be // to refactor SmbFile to be more testable (e.g., dependency injection).
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
} @Test @DisplayName("Test TID property") void testTidProperty() { assertEquals(0xFFFF, testBlock.getTid()); testBlock.setTid(0x1234); assertEquals(0x1234, testBlock.getTid()); } @Test @DisplayName("Test PID property") void testPidProperty() { testBlock.setPid(0x5678);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
@DisplayName("Should initialize totalBytesWritten to zero") void testInitialTotalBytesWrittenValue() { assertEquals(0, response.getTotalBytesWritten()); } } @Nested @DisplayName("Getter Tests") class GetterTests { @Test @DisplayName("Should get chunksWritten value") void testGetChunksWritten() { // Initial value should be 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.mockito.Mockito; import jcifs.smb.SmbPipeHandleInternal; /** * Unit tests for a class that implements the {@link SmbPipeHandle} interface. * This test class uses a mock implementation to ensure any class adhering to the * SmbPipeHandle contract is tested for correctness. */ public class SmbPipeHandleTest {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
} @ParameterizedTest(name = "Int getter {2} returns {1}") @MethodSource("intGetterProvider") void intGetters_edgeCases(IntGetter getter, int value, String label) { // Arrange FileEntry e = new TestFileEntry("n", value, value, 0L, 0L, 0L, 0L, value); // Act int actual = getter.apply(e); // Assert assertEquals(value, actual, label); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
assertTrue(bytesRead > 0); assertEquals(numReferrals, response.getDfsResponse().getNumReferrals()); } } @Nested @DisplayName("DfsResponse Getter Tests") class DfsResponseGetterTests { @Test @DisplayName("Should return same DfsResponse instance") void testGetDfsResponseReturnsSameInstance() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
void testGetTid() { // Given when(mockResponse.getTid()).thenReturn(12345); // When int tid = mockResponse.getTid(); // Then assertEquals(12345, tid, "Should return the configured tree ID"); verify(mockResponse).getTid(); } @Test @DisplayName("Should return service type")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
"Should throw DcerpcException for missing endpoint"); } } @Nested @DisplayName("Getter Method Tests") class GetterTests { @Test @DisplayName("Should return correct transport context") void testGetTransportContext() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0)