- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,248 for Invalid (0.05 sec)
-
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) -
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/.*"); // Valid pattern should still work
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
cmd/typed-errors.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "errors" ) // errInvalidArgument means that input argument is invalid. var errInvalidArgument = errors.New("Invalid arguments specified") // errMethodNotAllowed means that method is not allowed. var errMethodNotAllowed = errors.New("Method not allowed") // errSignatureMismatch means signature did not match.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
zos.putNextEntry(shortEntry); zos.write("content".getBytes()); zos.closeEntry(); // Add valid entry ZipEntry validEntry = new ZipEntry("view/valid.ftl"); zos.putNextEntry(validEntry); zos.write("<html>valid</html>".getBytes()); zos.closeEntry(); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.5K bytes - Viewed (0) -
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) -
tests/sql_builder_test.go
t.Fatalf("invalid sql generated, got %v", sql) } sql = dryRunDB.Where("a = ? or b = ?", "a", "b").Or("c = ? and d = ?", "c", "d").Find(&User{}).Statement.SQL.String() if !regexp.MustCompile(`WHERE \(\(a = .+ or b = .+\) OR \(c = .+ and d = .+\)\) AND .users.\..deleted_at. IS NULL`).MatchString(sql) { t.Fatalf("invalid sql generated, got %v", sql) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 16.7K bytes - Viewed (0) -
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) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
try { CrawlerStatus.valueOf("INVALID"); fail("Should throw IllegalArgumentException for invalid value"); } catch (IllegalArgumentException e) { // Expected assertTrue(e.getMessage().contains("INVALID")); } try { CrawlerStatus.valueOf("initializing"); // lowercase fail("Should throw IllegalArgumentException for lowercase value");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcMessage.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
boolean result = transport.hasCapability(cap); assertEquals(cap >= 0, result); verify(transport, times(1)).hasCapability(cap); } // Invalid input: simulate underlying SmbException when capability check fails @Test @DisplayName("hasCapability throws SmbException when underlying error occurs") void hasCapability_throws() throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0)