Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UNRESOLVED (0.04 sec)

  1. src/test/java/jcifs/SIDTest.java

            assertEquals("Administrators", builtinSid.toDisplayString());
        }
    
        /**
         * Test the toDisplayString method for an unresolved SID.
         *
         * @throws SmbException if the SID string is invalid
         */
        @Test
        void testToDisplayStringUnresolved() throws SmbException {
            SID sid = new SID(adminSidString);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SIDCacheImplTest.java

            assertEquals("user2", ((SID) resolvedFirst[1]).acctName);
    
            // Second call with overlap should use cache for s2 and s3, requiring only s3 if not cached
            // Mark s3 unresolved to force resolve of one element
            doAnswer(inv -> {
                SID[] toResolve = inv.getArgument(2);
                for (SID s : toResolve) {
                    s.type = jcifs.SID.SID_TYPE_USER;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
Back to top