- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 844 for INVALID (0.04 sec)
-
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
} @Test @DisplayName("Test invalid configuration") void testInvalidConfiguration() { assertThrows(IllegalArgumentException.class, () -> new SimpleCircuitBreaker("invalid", 0, 2, 100)); assertThrows(IllegalArgumentException.class, () -> new SimpleCircuitBreaker("invalid", 3, 0, 100)); assertThrows(IllegalArgumentException.class, () -> new SimpleCircuitBreaker("invalid", 3, 2, -1)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
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) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
* should either throw an appropriate runtime exception or return a suitable replacement * character. It must never silently discard invalid input as this may constitute a security risk. * * @param cp the Unicode code point to escape if necessary * @return the replacement characters, or {@code null} if no escaping was needed */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 13.2K bytes - Viewed (0) -
guava/src/com/google/common/escape/UnicodeEscaper.java
* should either throw an appropriate runtime exception or return a suitable replacement * character. It must never silently discard invalid input as this may constitute a security risk. * * @param cp the Unicode code point to escape if necessary * @return the replacement characters, or {@code null} if no escaping was needed */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 13.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
} }); } assertTrue(latch.await(10, TimeUnit.SECONDS)); executor.shutdown(); } @Test @DisplayName("Test invalid session ID handling") public void testInvalidSessionIdHandling() { assertThrows(CIFSException.class, () -> { preauthService.initializeSession(null, new byte[32], PreauthIntegrityService.HASH_ALGO_SHA512);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
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)