Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 893 for isValid (0.04 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java

        }
    
        /**
         * Test parsing of {@link KerberosConstants#AUTH_DATA_PAC} with an invalid token.
         * Expects a {@link PACDecodingException} to be thrown.
         */
        @Test
        void testParseAuthDataPacWithInvalidToken() {
            // GIVEN an invalid token for AUTH_DATA_PAC
            byte[] invalidToken = "invalid-pac-token".getBytes();
    
            // WHEN parsing the auth data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. cmd/postpolicyform.go

    			if op == policyCondStartsWith && !startsWithSupported {
    				return fmt.Errorf("Invalid according to Policy: Policy Condition failed")
    			}
    			// Check if current policy condition is satisfied
    			if !checkPolicyCond(op, formValues.Get(formCanonicalName), policy.Value) {
    				return fmt.Errorf("Invalid according to Policy: Policy Condition failed")
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/config/PropertyConfigurationTest.java

        @Test
        @DisplayName("Should handle invalid property values gracefully")
        void testInvalidPropertyValues() throws CIFSException {
            // Given
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.connTimeout", "invalid");
            props.setProperty("jcifs.smb.client.useUnicode", "maybe");
    
            // When creating configuration with invalid number
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            assertEquals(exception.getMessage(), exception2.getMessage());
        }
    
        public void test_toString() {
            // Test the toString method
            String message = "LDAP configuration is invalid";
            LdapConfigurationException exception = new LdapConfigurationException(message);
    
            String toStringResult = exception.toString();
            assertNotNull(toStringResult);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacUnicodeStringTest.java

                pacString.check(testString);
            }, "A PACDecodingException should be thrown for a string with an invalid length.");
    
            // Verify the exception message
            String expectedMessage = "Invalid string length, expected 5, have 8";
            assertEquals(expectedMessage, exception.getMessage(), "The exception message is not correct.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ConfigTest.java

            testProperties.setProperty("test.invalid.int", "abc");
        }
    
        @Test
        @DisplayName("Should get integer property with default value")
        void testGetIntWithDefault() {
            assertEquals(123, Config.getInt(testProperties, "test.int", 0));
            assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456));
            assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_exceptionChaining() {
            // Test exception chaining
            Throwable rootCause = new IllegalArgumentException("Invalid argument");
            Throwable intermediateCause = new RuntimeException("Processing failed", rootCause);
            String message = "Plugin operation failed";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtStatus.java

        int NT_STATUS_NOT_IMPLEMENTED = 0xC0000002;
        /** The specified information class is invalid */
        int NT_STATUS_INVALID_INFO_CLASS = 0xC0000003;
        /** Invalid access to memory location */
        int NT_STATUS_ACCESS_VIOLATION = 0xC0000005;
        /** The handle is invalid */
        int NT_STATUS_INVALID_HANDLE = 0xC0000008;
        /** The parameter is incorrect */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java

         * @throws ProjectBuilderException if the project cannot be created
         * @throws IllegalArgumentException if an argument is {@code null} or invalid
         */
        @Nonnull
        ProjectBuilderResult build(ProjectBuilderRequest request) throws ProjectBuilderException;
    
        /**
         * Creates a {@link org.apache.maven.api.Project} from a POM file.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Nov 16 20:36:20 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/PathValidator.java

         * @throws SmbException if URL is invalid
         */
        public String validateSmbUrl(String smbUrl) throws SmbException {
            if (smbUrl == null || smbUrl.isEmpty()) {
                throw new SmbException("SMB URL cannot be null or empty");
            }
    
            // Check URL format
            if (!smbUrl.toLowerCase().startsWith("smb://")) {
                throw new SmbException("Invalid SMB URL format");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top