Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testConstructorWithVariousValues (0.35 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                    "-1, -1, -1", // Negative values (should still create instance)
                    "0, 9223372036854775807, 0" // Edge cases
            })
            void testConstructorWithVariousValues(long sourceOffset, long targetOffset, int length) {
                // When
                SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        }
    
        @ParameterizedTest
        @ValueSource(longs = { 0L, 1L, 100L, 1024L, Long.MAX_VALUE, -1L, Long.MIN_VALUE })
        @DisplayName("Test constructor with various end of file values")
        void testConstructorWithVariousValues(long endOfFile) {
            FileEndOfFileInformation info = new FileEndOfFileInformation(endOfFile);
    
            assertNotNull(info);
            assertTrue(info.toString().contains("endOfFile=" + endOfFile));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top