Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMalformedPac (0.88 sec)

  1. src/test/java/jcifs/pac/PacTest.java

            // Any PACDecodingException is acceptable for this test
            assertNotNull(e.getMessage());
        }
    
        @Test
        void testMalformedPac() {
            // Too small to be a valid PAC
            byte[] malformedData = new byte[] { 1, 0, 0, 0 };
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(malformedData, keys));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top