- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 37 for testSize1 (0.06 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
} } @Nested @DisplayName("Size Method Tests") class SizeTests { @Test @DisplayName("Should return correct size of 24 bytes") void testSize() { // Given SrvCopychunk chunk = new SrvCopychunk(0, 0, 0); // When int size = chunk.size(); // Then assertEquals(EXPECTED_SIZE, size);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
assertEquals(FileInformation.FILE_ENDOFFILE_INFO, info.getFileInformationLevel()); } @Test @DisplayName("Test size method returns 8") void testSize() { assertEquals(8, fileInfo.size()); // Test with different instance FileEndOfFileInformation info = new FileEndOfFileInformation(999L); assertEquals(8, info.size()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
assertFalse(context.isNotificationEnabled()); context.setNotificationFilter(0xFF); assertEquals(0xFF, context.getNotificationFilter()); } @Test public void testSize() { Smb2LeaseKey key = new Smb2LeaseKey(); DirectoryLeaseContext context = new DirectoryLeaseContext(key, 0, DirectoryCacheScope.IMMEDIATE_CHILDREN); // Context header: 16 bytes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
assertEquals(mockConfig, responseConfig); } @Test @DisplayName("size should return correct message size") void testSize() { int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 24; // size8 method rounds up to 8-byte boundary int expectedAlignedSize = (expectedSize + 7) & ~7;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
/** * @throws Exception */ @After public void tearDown() throws Exception { map = null; } /** * @throws Exception */ @Test public void testSize() throws Exception { assertThat(map.size(), equalTo(3)); map.put("3", "test3"); assertThat(map.size(), equalTo(4)); } /** * @throws Exception */ @Test
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
} } @Nested @DisplayName("Size Tests") class SizeTests { @Test @DisplayName("Should return constant size of 24 bytes") void testSize() { lock = new Smb2Lock(100L, 200L, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK); assertEquals(24, lock.size()); } @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
assertNotNull(response); verify(mockContext, times(1)).getConfig(); } @Test @DisplayName("Test size method") void testSize() { request = new Smb2SetInfoRequest(mockConfig); Encodable mockInfo = mock(Encodable.class); when(mockInfo.size()).thenReturn(100); request.setInfo(mockInfo);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
void testInitialIndexNumber() { assertEquals(0L, fileInternalInfo.getIndexNumber()); } @Test @DisplayName("Test size method returns 8") void testSize() { assertEquals(8, fileInternalInfo.size()); } @Test @DisplayName("Test decode with valid data") void testDecodeWithValidData() throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
assertTrue(response instanceof Smb2TreeDisconnectResponse); verify(mockContext, times(1)).getConfig(); } @Test @DisplayName("Should calculate correct message size") void testSize() { // Given Configuration mockConfig = mock(Configuration.class); Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0)