- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 572 for Be (0.03 seconds)
-
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
ComponentUtil.setFessConfig(fessConfig); // Execute and expect exception to be handled try { String result = pingSearchEngineJob.execute(); // Job should handle exception gracefully assertNotNull(result); } catch (Exception e) { // Exception is expected to be caught within the job assertTrue(e.getMessage().contains("Connection failed"));
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/app/web/admin/wizard/AdminWizardActionTest.java
assertEquals("file:///home/user", wizardAction.convertCrawlingPath("file:///home/user")); } @Test public void test_convertCrawlingPath_s3_not_converted() { // S3 paths should be returned as-is, not converted String s3Path = "s3://my-bucket/path/to/object"; assertEquals(s3Path, wizardAction.convertCrawlingPath(s3Path)); // Verify it's not being converted to file: protocol
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java
System.setProperty("fess.webapp.path", webappDir.toString()); System.setProperty("fess.conf.path", confDir.toString()); // Path under webapp (second property) should be valid final File testFile = new File(webappDir.toFile(), "test.html"); testFile.createNewFile(); action.validateFilePath(testFile.getAbsolutePath()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 22.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/badword/EditForm.java
* This form extends CreateForm to include fields necessary for updating existing bad word entries, * including tracking information for optimistic locking and audit trails. * Bad words are terms that should be filtered or blocked in search results. * */ public class EditForm extends CreateForm { /** * Creates a new EditForm instance. */ public EditForm() { super(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailGenerator.java
* Generates a thumbnail for the given thumbnail ID and saves it to the output file. * * @param thumbnailId the unique identifier for the thumbnail * @param outputFile the file where the generated thumbnail will be saved * @return true if the thumbnail was successfully generated, false otherwise */ boolean generate(String thumbnailId, File outputFile); /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
InvalidAccessTokenException exception2 = new InvalidAccessTokenException("Type", "Message"); // Both instances should be of the same class assertEquals(exception1.getClass(), exception2.getClass()); } @Test public void test_stackTracePopulated() { // Test that stack trace is properly populated
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/fileconfig/CreateForm.java
public String name; /** The description of the file configuration (maximum 1000 characters). */ @Size(max = 1000) public String description; /** The file paths to crawl (required, must be valid file URIs). */ @Required @UriType(protocolType = ProtocolType.FILE) @CustomSize(maxKey = "form.admin.max.input.size") public String paths;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java
assertTrue(result instanceof List); @SuppressWarnings("unchecked") List<Object> resultList = (List<Object>) result; assertEquals(3, resultList.size()); // First element should be converted to Map since it's an Entity assertTrue(resultList.get(0) instanceof Map); // All elements are converted by BeanUtil.copyBeanToNewMap when first element is Entity
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java
*/ public long getExpiry() { return expiry; } /** * Sets the expiration time for thumbnails. * * @param expiry the expiration time in milliseconds (must be positive) * @return this PurgeThumbnailJob instance for method chaining */ public PurgeThumbnailJob expiry(final long expiry) { if (expiry > 0) { this.expiry = expiry; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java
// expired() will drain buffer then fail on OpenSearch (not available) but should not throw logNotificationTarget.expired(); // Buffer should be empty after expired() drained it List<LogNotificationEvent> remaining = ComponentUtil.getLogNotificationHelper().drainAll(); assertEquals(0, remaining.size()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.7K bytes - Click Count (0)