Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testAs_Enumeration_Success (0.15 sec)

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

                ASN1Util.as(String.class, obj);
            }, "Should throw PACDecodingException for incompatible types");
        }
    
        // --- as(Class, Enumeration) ---
    
        @Test
        void testAs_Enumeration_Success() throws PACDecodingException {
            // Test successful casting from enumeration
            Vector<ASN1Integer> vector = new Vector<>();
            ASN1Integer expected = new ASN1Integer(123);
            vector.add(expected);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top