Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 892 for isInvalid (0.06 sec)

  1. src/main/java/jcifs/util/ServerResponseValidator.java

                log.warn("Invalid SMB protocol ID: 0x{}", Integer.toHexString(protocolId));
                throw new SmbException("Invalid SMB protocol identifier");
            }
    
            // Validate command is in valid range
            if (command < 0 || command > 255) {
                failedValidations.incrementAndGet();
                throw new SmbException("Invalid command code: " + command);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. utils/tests/utils.go

    )
    
    func AssertObjEqual(t *testing.T, r, e interface{}, names ...string) {
    	for _, name := range names {
    		rv := reflect.Indirect(reflect.ValueOf(r))
    		ev := reflect.Indirect(reflect.ValueOf(e))
    		if rv.IsValid() != ev.IsValid() {
    			t.Errorf("%v: expect: %+v, got %+v", utils.FileWithLineNum(), r, e)
    			return
    		}
    		got := rv.FieldByName(name).Interface()
    		expect := ev.FieldByName(name).Interface()
    		t.Run(name, func(t *testing.T) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Mar 10 09:21:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    		},
    		{bucketName: "a", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: a")},
    		// Test case - 5.
    		// Case with invalid object names.
    		{bucketName: bucket, PartID: 1, expectedError: fmt.Errorf("%s", "Object name invalid: minio-bucket/")},
    		// Test case - 6.
    		// Valid object and bucket names but non-existent bucket.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            Properties props = new Properties();
    
            // Invalid boolean should default to true
            props.setProperty("jcifs.smb.client.useMultiChannel", "invalid");
            PropertyConfiguration config = new PropertyConfiguration(props);
            assertTrue(config.isUseMultiChannel());
    
            // Invalid integer should use default
            props.clear();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

            validator.initialize(annotation);
    
            // Test that the method can be called (even if context handling is complex)
            try {
                final boolean result = validator.isValid("test", null);
                assertNotNull("isValid should return a boolean result", Boolean.valueOf(result));
            } catch (final NullPointerException e) {
                // This is expected if the implementation requires a non-null context
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. errors.go

    	// ErrInvalidField invalid field
    	ErrInvalidField = errors.New("invalid field")
    	// ErrEmptySlice empty slice found
    	ErrEmptySlice = errors.New("empty slice found")
    	// ErrDryRunModeUnsupported dry run mode unsupported
    	ErrDryRunModeUnsupported = errors.New("dry run mode unsupported")
    	// ErrInvalidDB invalid db
    	ErrInvalidDB = errors.New("invalid db")
    	// ErrInvalidValue invalid value
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 26 02:53:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            } catch (FessSystemException e) {
                assertEquals("Invalid format: 12", e.getMessage());
            }
    
            try {
                IntervalControlHelper.parseTime("12:30:45");
                fail("Should throw FessSystemException");
            } catch (FessSystemException e) {
                assertEquals("Invalid format: 12:30:45", e.getMessage());
            }
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top