Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 864 for Property (0.05 sec)

  1. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            // Test the cloning behavior with both null and non-null cached subjects
            if (first != null) {
                // If we got a valid subject, test that it's properly cached and cloned
                Subject cachedOrig = orig.getSubject();
                assertNotNull(cachedOrig);
    
                // Cached subject is copied and visible via getSubject()
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            byte[] buffer = new byte[512];
            int written = trans2QueryPathInfo.writeParametersWireFormat(buffer, 0);
    
            // Should handle special characters properly
            assertTrue(written > specialPath.length());
    
            // Check information level
            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
            assertEquals(0x0101, actualInfoLevel);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            Key key = new KerberosKey(null, new byte[16], KerberosConstants.RC4_ENC_TYPE, 0);
            byte[] data = new byte[32]; // Dummy data
            // The test will likely fail with "Checksum failed" as the data is not properly encrypted
            // but it proves the decryption path is taken.
            assertThrows(GeneralSecurityException.class, () -> KerberosEncData.decrypt(data, key, KerberosConstants.RC4_ENC_TYPE));
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.put("\\\\server\\\\share".getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
            bb.position(60); // Properly spaced
            bb.put("\\\\alt\\\\path".getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
            bb.position(90); // Properly spaced
            bb.put("NODE01".getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            }
    
            @Test
            public void testGetTypeForShare() throws Exception {
                SmbFile share = new SmbFile("smb1://server/share/");
                // To test this properly, we would need to mock connect0() and the tree object.
                // This is a limitation of unit testing such a coupled class.
                // We expect an SmbException because it will try to connect.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

          <match value="CD001" type="string" offset="36865"/>
        </magic>
        <glob pattern="*.iso"/>
      </mime-type>
    
      <mime-type type="application/x-itunes-bplist">
        <_comment>Apple iTunes Binary Property List</_comment>
        <sub-class-of type="application/x-bplist"/>
      </mime-type>
    
      <mime-type type="application/x-itunes-ipa">
        <sub-class-of type="application/zip"/>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Oct 16 07:46:32 UTC 2025
    - 320.2K bytes
    - Viewed (5)
  7. CLAUDE.md

    ```
    
    ---
    
    ## Best Practices for AI Assistants
    
    ### When Adding Features
    
    1. Read existing code first (use symbol overview tools)
    2. Follow existing patterns
    3. Add tests
    4. Handle resources properly (try-with-resources)
    5. Consider thread safety
    6. Update JavaDoc
    
    ### When Fixing Bugs
    
    1. Write failing test first
    2. Understand root cause
    3. Minimal changes
    4. Verify no regressions
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            testOutputBuffer = new byte[1024];
        }
    
        @Test
        @DisplayName("Should implement RequestWithFileId interface correctly")
        void testInterfaceImplementation() {
            // Test that common implementations properly implement the interface
            RequestWithFileId closeRequest = new Smb2CloseRequest(mockConfig, testFileId);
            RequestWithFileId queryInfoRequest = new Smb2QueryInfoRequest(mockConfig, testFileId);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            v.add(new DERTaggedObject(true, 2, new DERBitString(new byte[] { ap })));
    
            // APPLICATION tag 3 with empty sequence - will fail during KerberosTicket parsing
            // but shows that APPLICATION tag is properly recognized
            DERSequence emptyBase = new DERSequence(new ASN1EncodableVector());
            DERTaggedObject appTag = new DERTaggedObject(false, BERTags.APPLICATION, 3, emptyBase);
            v.add(appTag);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            // Then
            assertEquals(0, result);
        }
    
        /**
         * Test toString method
         */
        @Test
        @DisplayName("Test toString returns properly formatted string")
        public void testToString() {
            // Given
            String oldFileName = "oldFile.txt";
            String newFileName = "newFile.txt";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top