Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for badDate (0.04 sec)

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

        void valueOfRejectsUnknownOrCaseMismatch(String badName) {
            IllegalArgumentException ex = assertThrows(IllegalArgumentException.class, () -> RequestParam.valueOf(badName));
            assertTrue(ex.getMessage().contains(badName), "Exception message should mention the bad name");
        }
    
        // Edge/Invalid: empty string is invalid for valueOf
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

        @DisplayName("Invalid names are skipped; next valid is returned")
        void skipsMalformedNames_thenReturnsValid(String badName) throws Exception {
            // Arrange: first entry is invalid (null or empty), second is valid
            setupParentForUrlCreation();
            StubFileEntry bad = new StubFileEntry(badName, SmbConstants.TYPE_SERVER);
            StubFileEntry good = new StubFileEntry("OKSERVER", SmbConstants.TYPE_SERVER);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            // We need to create a proper ASN1TaggedObject with APPLICATION tag class
            // Create a custom base object that throws IOException
            ASN1Encodable badBase = new ASN1Encodable() {
                @Override
                public ASN1Primitive toASN1Primitive() {
                    // Return a primitive that will throw IOException when getEncoded is called
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top