- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 85 for testpipe (0.16 sec)
-
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
// Then assertNotNull(response); assertTrue(response instanceof Smb2ChangeNotifyResponse); } @Test @DisplayName("Should calculate correct size") void testSize() { // When int size = request.size(); // Then // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32 int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
list.addLast("1"); list.addLast("2"); assertThat(list.getLast(), is("2")); } /** * @throws Exception */ @Test public void testSize() throws Exception { assertThat(list.size(), is(0)); list.addLast("1"); assertThat(list.size(), is(1)); list.removeFirst(); assertThat(list.size(), is(0)); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
assertEquals(0L, info.getSize()); } @Test @DisplayName("Test size method returns correct buffer size") void testSize() { assertEquals(40, fileBasicInfo.size()); } @Test @DisplayName("Test encode method") void testEncode() throws SMBProtocolDecodingException { // Create instance with test values
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/jcifs/internal/smb2/Smb2CancelRequestTest.java
// Then assertTrue(isCancel, "Should identify itself as a cancel request"); } @Test @DisplayName("Test size calculation") void testSize() { // Given Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L); // When int size = request.size(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
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/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/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
@Mock private Configuration mockConfig; private static final int TEST_SID = 0x1234; private static final int TEST_RESUME_KEY = 0xABCD; private static final String TEST_FILENAME = "testfile.txt"; private static final int TEST_BATCH_COUNT = 100; private static final int TEST_BATCH_SIZE = 8192; @BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K 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/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/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)