Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testDecodeWithMaxValues (0.38 sec)

  1. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            assertTrue(result.contains("deletePending=true"));
            assertTrue(result.contains("directory=true"));
        }
    
        @Test
        @DisplayName("Test decode with maximum values")
        void testDecodeWithMaxValues() throws SMBProtocolDecodingException {
            // Prepare test data with maximum values
            byte[] buffer = new byte[22];
            long maxLong = Long.MAX_VALUE;
            int maxInt = Integer.MAX_VALUE;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            // The decode method returns only the header size (16 bytes)
            assertEquals(16, bytesDecoded);
        }
    
        @Test
        @DisplayName("Test decode with maximum values")
        void testDecodeWithMaxValues() throws SMBProtocolDecodingException {
            // Prepare test data with max values
            byte[] buffer = new byte[20]; // 16 header + 4 data
            int bufferIndex = 0;
    
            // Set up max values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            assertEquals(0, response.getDialect(), "Dialect should be zero");
        }
    
        @Test
        @DisplayName("Test decode with maximum values")
        void testDecodeWithMaxValues() throws SMBProtocolDecodingException {
            // Prepare test data with maximum values
            byte[] buffer = new byte[50];
            int bufferIndex = 0;
    
            // Set maximum values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top