Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 817 for Invalid (0.05 sec)

  1. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            assertTrue(validator.isValid(null, context));
        }
    
        public void test_isValid_blankValue() {
            final ConstraintValidatorContext context = null;
            assertTrue(validator.isValid(" ", context));
            assertTrue(validator.isValid("   ", context));
            assertTrue(validator.isValid("\t", context));
            assertTrue(validator.isValid("\n", context));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java

            props.setProperty("jcifs.smb.client.useRDMA", "invalid");
            props.setProperty("jcifs.smb.client.rdmaReadWriteThreshold", "invalid");
            props.setProperty("jcifs.smb.client.rdmaMaxSendSize", "invalid");
            props.setProperty("jcifs.smb.client.rdmaMaxReceiveSize", "invalid");
            props.setProperty("jcifs.smb.client.rdmaCredits", "invalid");
    
            PropertyConfiguration config = new PropertyConfiguration(props);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

         */
        @Test
        public void testReleaseBufferValidation() {
            // Given - Various invalid buffers
            byte[] nullBuffer = null;
            byte[] wrongSizeBuffer = new byte[100]; // Wrong size
            byte[] correctBuffer = new byte[SmbComTransaction.TRANSACTION_BUF_SIZE];
    
            // When/Then - Should handle invalid buffers gracefully
            assertDoesNotThrow(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            // Test blank string (should be valid)
            bean.setCronExpression("   ");
            violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
        }
    
        // Test validation with invalid cron expressions
        public void test_invalidCronExpressions() {
            TestBean bean = new TestBean();
    
            // Test invalid cron expression
            bean.setCronExpression("invalid");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/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
    - 14.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SIDTest.java

            assertEquals(21, sid.sub_authority[0]);
            assertEquals(1, sid.sub_authority[1]);
        }
    
        /**
         * Test constructor with an invalid SID string.
         */
        @Test
        void testStringConstructorInvalidFormat() {
            assertThrows(SmbException.class, () -> new SID("invalid-sid"));
            assertThrows(SmbException.class, () -> new SID("S-1"));
        }
    
        /**
         * Test constructor with a byte array.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

        }
    
        // Ensures watch() fails fast if the underlying handle is invalid
        @Test
        @DisplayName("watch() throws when handle invalid")
        void watch_invalidHandle_throwsSmbException() throws Exception {
            when(handle.isValid()).thenReturn(false);
            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0, false);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/PropertyConfiguration.java

                } catch (NumberFormatException e) {
                    // Invalid value ignored
                }
            }
    
            value = props.getProperty("jcifs.smb.client.soTimeout");
            if (value != null) {
                try {
                    this.smbSocketTimeout = Integer.parseInt(value);
                } catch (NumberFormatException e) {
                    // Invalid value ignored
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  9. 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)
  10. android/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)
Back to top