Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 573 for isInvalid (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

      }
    
      @Test
      fun unparseableTopPrivateDomain() {
        assertInvalid("http://a../", "Invalid URL host: \"a..\"")
        assertInvalid("http://..a/", "Invalid URL host: \"..a\"")
        assertInvalid("http://a..b/", "Invalid URL host: \"a..b\"")
        assertInvalid("http://.a/", "Invalid URL host: \".a\"")
        assertInvalid("http://../", "Invalid URL host: \"..\"")
      }
    
      @Test
      fun hostnameTelephone() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrException.java

         * Error message for null reference pointers.
         */
        public static final String NO_NULL_REF = "ref pointer cannot be null";
    
        /**
         * Error message for invalid array conformance.
         */
        public static final String INVALID_CONFORMANCE = "invalid array conformance";
    
        /**
         * Constructs an NdrException with the specified error message.
         *
         * @param msg the error message
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

            assertTrue(queryFieldConfig.isSortField("modified"));
            assertTrue(queryFieldConfig.isSortField("title"));
    
            // Test invalid sort fields
            assertFalse(queryFieldConfig.isSortField("invalid"));
            assertFalse(queryFieldConfig.isSortField(""));
            assertFalse(queryFieldConfig.isSortField(null));
        }
    
        public void test_isFacetField() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
        // These have a combination of invalid length, unrecognized characters and wrong padding.
        assertFailsToDecode(base64(), "AB=C", "Unrecognized character: =");
        assertFailsToDecode(base64(), "A=BCD", "Invalid input length 5");
        assertFailsToDecode(base64(), "?", "Invalid input length 1");
      }
    
      public void testBase64CannotUpperCase() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

                        throw new PACDecodingException("Invalid kerberos version");
                    }
                    break;
                case 1:
                    ASN1Integer msgType = ASN1Util.as(ASN1Integer.class, tagged);
                    if (!msgType.getValue().equals(new BigInteger(KerberosConstants.KERBEROS_AP_REQ))) {
                        throw new PACDecodingException("Invalid kerberos request");
                    }
                    break;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmContext.java

            return switch (this.state) {
            case 1 -> makeNegotiate(token);
            case 2 -> makeAuthenticate(token);
            default -> throw new SmbException("Invalid state");
            };
        }
    
        /**
         * Creates a Type 3 (authentication) message in response to a Type 2 (challenge) message.
         * @param token the Type 2 message bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            @Test
            @DisplayName("Should throw DcerpcException for invalid URL format")
            void testConstructor_InvalidUrl() {
                String invalidUrl = "invalid:server";
                assertThrows(DcerpcException.class, () -> new DcerpcPipeHandle(invalidUrl, mockContext, false),
                        "Should throw DcerpcException for invalid protocol");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/AssertionUtil.java

        /**
         * Asserts that the argument is valid.
         *
         * @param argName
         *            The name of the argument that must not be invalid.
         * @param expression
         *            The precondition.
         * @param description
         *            The description of why the argument is invalid.
         * @throws ClIllegalArgumentException
         *             If {@code expression} is false.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessRpcMessage.java

            case ERROR_INVALID_PARAMETER:
                return "Invalid parameter";
            case ERROR_INSUFFICIENT_BUFFER:
                return "Insufficient buffer";
            case ERROR_NOT_SUPPORTED:
                return "Operation not supported";
            case ERROR_ACCESS_DENIED:
                return "Access denied";
            case ERROR_INVALID_STATE:
                return "Invalid state";
            default:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            boolean result = transport.hasCapability(cap);
    
            assertEquals(cap >= 0, result);
            verify(transport, times(1)).hasCapability(cap);
        }
    
        // Invalid input: simulate underlying SmbException when capability check fails
        @Test
        @DisplayName("hasCapability throws SmbException when underlying error occurs")
        void hasCapability_throws() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top