Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 893 for isValid (0.05 sec)

  1. src/main/java/jcifs/pac/PacCredentialType.java

         * @param data the raw credential type data
         * @throws PACDecodingException if the credential type data is invalid
         */
        public PacCredentialType(final byte[] data) throws PACDecodingException {
            this.credentialType = data;
            if (!isCredentialTypeCorrect()) {
                throw new PACDecodingException("Invalid PAC credential type");
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/CurlRequestTest.java

            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
            request.encoding("INVALID-ENCODING");
    
            try {
                request.param("key", "value");
                fail("Expected CurlException for invalid encoding");
            } catch (CurlException e) {
                assertTrue(e.getMessage().contains("Invalid encoding"));
            }
        }
    
        @Test
        public void testFluentChaining() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatInvalidStructureSize() {
                // Given
                byte[] buffer = new byte[10];
                int bufferIndex = 0;
                SMBUtil.writeInt2(5, buffer, bufferIndex); // Invalid structure size
    
                // When & Then
                SMBProtocolDecodingException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

        }
    
        public void test_valueOf_invalidName() {
            // Test valueOf with invalid name throws exception
            try {
                SsoResponseType.valueOf("INVALID");
                fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("INVALID"));
            }
        }
    
        public void test_valueOf_null() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

        }
    
        /**
         * Test valueOf method with invalid values
         */
        public void test_valueOf_invalid() {
            try {
                CrawlerStatus.valueOf("INVALID");
                fail("Should throw IllegalArgumentException for invalid value");
            } catch (IllegalArgumentException e) {
                // Expected
                assertTrue(e.getMessage().contains("INVALID"));
            }
    
            try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg go/token, method (*FileSet) Read(func(interface{}) error) error
    pkg go/token, method (*FileSet) Write(func(interface{}) error) error
    pkg go/token, method (*Position) IsValid() bool
    pkg go/token, method (Pos) IsValid() bool
    pkg go/token, method (Position) String() string
    pkg go/token, method (Token) IsKeyword() bool
    pkg go/token, method (Token) IsLiteral() bool
    pkg go/token, method (Token) IsOperator() bool
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            // Since we can't easily mock the IOException, we'll test with invalid data
            writeTestFile("invalid => "); // Invalid format
    
            try {
                charMappingFile.reload(null);
                // If no exception, the file might have been parsed with warnings
                assertTrue(true);
            } catch (Exception e) {
                // Expected for invalid format
                assertTrue(true);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/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.7K bytes
    - Viewed (1)
  9. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

        public void test_constructorWithMessageAndCause() {
            // Test constructor with message and cause
            String message = "Query parsing failed";
            Exception cause = new IllegalArgumentException("Invalid query syntax");
    
            SearchQueryException exception = new SearchQueryException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

            });
            assertTrue(e.getMessage().contains("PAC"));
        }
    
        // Test exception for invalid version
        @Test
        void testConstructorInvalidVersion() throws IOException {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            DataOutputStream dos = new DataOutputStream(baos);
    
            // Write header with invalid version
            dos.writeInt(Integer.reverseBytes(1)); // 1 buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top