- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 130 for validi (0.03 seconds)
-
src/test/java/org/codelibs/fess/crawler/helper/FessMimeTypeHelperTest.java
return ".sql=text/x-sql\ninvalid_entry\n.pls=text/x-plsql"; } }); mimeTypeHelper.init(); // Valid entries should still be loaded try (InputStream is = new ByteArrayInputStream(SQL_REM_CONTENT.getBytes(StandardCharsets.UTF_8))) { assertEquals("text/x-sql", mimeTypeHelper.getContentType(is, "test.sql"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 24 09:06:33 GMT 2026 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
assertFalse(thumbnailGenerator.isAvailable()); } @Test public void test_createTask_withValidParams() { // Test task creation with valid parameters String path = "/path/to/document.pdf"; Map<String, Object> docMap = new HashMap<>(); docMap.put("mimetype", "application/pdf"); docMap.put("title", "Test Document");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 11.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
assertEquals(2, names.length); assertEquals(2, loadCount[0]); // Should increment } // Test loadDataStoreNameList with valid XML @Test public void test_loadDataStoreNameList_validXml() throws Exception { // Create test JAR with valid XML final File jarFile = new File(tempDir, "test-datastore.jar"); createTestJarWithXml(jarFile,
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java
// Test setting different max group depths authenticator.setMaxGroupDepth(5); authenticator.setMaxGroupDepth(20); authenticator.setMaxGroupDepth(1); // Verify method accepts valid values without exception assertTrue(true); } @Test public void test_setGroupCacheExpiry() { EntraIdAuthenticator authenticator = new EntraIdAuthenticator();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 19.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
} @Test public void test_intervalRule_isTarget_invalidDays() { IntervalRule rule = new IntervalRule("10:00", "18:00", "1,invalid,3", 1000); // Should still work with valid days assertTrue(rule.isTarget(12, 30, 1)); // 12:30 on Sunday assertTrue(rule.isTarget(12, 30, 3)); // 12:30 on Tuesday assertFalse(rule.isTarget(12, 30, 2)); // 12:30 on Monday }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java
} catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } /** * Automatically accept changes that are valid property upgrades of a getter or setter. * * Here we automatically accept the following cases: * - A setter `setX` of an upgraded property is removed * - A boolean `isX` of an upgraded property is removed
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
return crawlingConfig.getConfigParameterMap(config); } /** * Validates if the given URL string is a valid URL. * * @param urlStr the URL string to validate * @return true if the URL is valid, false otherwise */ protected boolean isValidUrl(final String urlStr) { if (StringUtil.isBlank(urlStr)) { return false; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 55.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java
assertEquals(0, exception.getSuppressed().length); } catch (Exception e) { // If an exception is thrown when trying to add suppressed, that's also valid // since suppression is disabled } // Stack trace should be empty since writableStackTrace is false StackTraceElement[] stackTrace = exception.getStackTrace();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
writeTestFile(""); OptionalEntity<CharMappingItem> result = charMappingFile.get(1L); assertFalse(result.isPresent()); } // Test get method with valid data @Test public void test_get_validData() throws Exception { writeTestFile("a,b => c\nd,e => f\n"); OptionalEntity<CharMappingItem> result1 = charMappingFile.get(1L);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
assertNull(exception.getCause()); } @Test public void test_constructorWithNullMessageAndValidCause() { // Test constructor with null message and valid cause Exception cause = new RuntimeException("Runtime error"); SearchQueryException exception = new SearchQueryException(null, cause);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10K bytes - Click Count (0)