Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 961 for invalide (0.07 sec)

  1. 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)
  2. src/test/java/jcifs/smb/RequestParamTest.java

        }
    
        // Edge/Invalid: empty string is invalid for valueOf
        @ParameterizedTest
        @EmptySource
        @DisplayName("valueOf(\"\") throws IllegalArgumentException for empty input")
        void valueOfRejectsEmpty(String empty) {
            assertThrows(IllegalArgumentException.class, () -> RequestParam.valueOf(empty));
        }
    
        // Invalid: null is not allowed for valueOf
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacTest.java

            // Create minimal PAC structure with wrong version
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            writeLittleEndianInt(baos, 0); // buffer count = 0
            writeLittleEndianInt(baos, 99); // invalid version
            baos.write(new byte[1]); // Make it > 8 bytes
            byte[] pacData = baos.toByteArray();
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(pacData, keys));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. cmd/object-api-getobjectinfo_test.go

    		objectName string
    
    		// Expected output of GetObjectInfo.
    		result ObjectInfo
    		err    error
    		// Flag indicating whether the test is expected to pass or not.
    		shouldPass bool
    	}{
    		// Test cases with invalid bucket names ( Test number 1-4 ).
    		{".test", "", ObjectInfo{}, BucketNameInvalid{Bucket: ".test"}, false},
    		{"---", "", ObjectInfo{}, BucketNameInvalid{Bucket: "---"}, false},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/LmhostsTest.java

            // Create a temporary lmhosts file with invalid IP formats
            File lmhostsFile = tempDir.resolve("lmhosts_invalid").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("192.168 HOST1\n"); // Invalid IP - missing 2 octets (should be skipped)
                writer.write("192.168.1.100 VALIDHOST\n");
                writer.write("not.an.ip HOST2\n"); // Invalid IP format
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

        }
    
        /**
         * Test adding invalid regex include pattern
         */
        public void test_addInclude_invalidRegex() {
            String sessionId = "test-session-004";
            urlFilter.init(sessionId);
    
            // Invalid regex pattern should be handled gracefully
            urlFilter.addInclude(".*[invalid");
            urlFilter.addInclude("https://valid.com/.*");
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.decode(buffer, 0, 23),
                    "Should throw exception when length < 24");
    
            assertEquals("Invalid resume key", exception.getMessage(), "Exception message should match");
        }
    
        @Test
        @DisplayName("Test decode throws exception with zero length")
        void testDecodeThrowsExceptionWithZeroLength() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/UUIDTest.java

            }
    
            @Test
            @DisplayName("Constructor with UUID string containing invalid character should throw IllegalArgumentException")
            void testConstructorWithStringInvalidCharacter() {
                // Arrange
                String invalidUuid = "00112233-4455-6677-8899-AABBCCDDEXX"; // 'X' is invalid
    
                // Act & Assert
                assertThrows(IllegalArgumentException.class, () -> new UUID(invalidUuid),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. cmd/dummy-data-generator_test.go

    	switch whence {
    	case io.SeekStart:
    		if offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx = offset
    	case io.SeekCurrent:
    		if d.idx+offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx += offset
    	case io.SeekEnd:
    		if d.length+offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx = d.length + offset
    	}
    	return d.idx, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. configure.py

        # Check if the path is valid
        if os.path.isfile(python_bin_path) and os.access(python_bin_path, os.X_OK):
          break
        elif not os.path.exists(python_bin_path):
          print('Invalid python path: {} cannot be found.'.format(python_bin_path))
        else:
          print('{} is not executable.  Is it the python binary?'.format(
              python_bin_path))
        environ_cp['PYTHON_BIN_PATH'] = ''
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Apr 30 15:18:54 UTC 2025
    - 48.3K bytes
    - Viewed (0)
Back to top