Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 23 for testdoc (0.12 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        }
    
        // Test getThumbnailFile with existing file
        @Test
        public void test_getThumbnailFile_exists() throws IOException {
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("_id", "testdoc");
    
            String filename = thumbnailManager.getImageFilename(docMap);
            File thumbnailFile = new File(tempDir, filename);
            thumbnailFile.getParentFile().mkdirs();
            thumbnailFile.createNewFile();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  2. test_docs.sh

    James Wald <******@****.***> 1773565302 -0400
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 753 bytes
    - Click Count (1)
  3. src/test/java/org/codelibs/fess/app/job/AllJobSchedulerTest.java

        }
    
        public void test_setJobClass() {
            final AllJobScheduler scheduler = new AllJobScheduler();
            scheduler.setJobClass(TestJob.class);
            // No exception means success
        }
    
        // Test job class for testing setJobClass
        public static class TestJob implements LaJob {
            @Override
            public void run(final org.lastaflute.job.LaJobRuntime runtime) {
                // Empty implementation for testing
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

    public class DictionaryManagerTest extends UnitFessTestCase {
        private File testDir;
    
        private File file1;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            testDir = File.createTempFile("synonymtest", "_dir");
            testDir.delete();
            testDir.mkdirs();
            file1 = new File(testDir, "synonym.txt");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  5. .github/workflows/docs.yml

        types: [opened, labeled, unlabeled, synchronize]
    
    permissions:
      contents: read
    
    env:
      GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
    
    jobs:
      test_docs:
        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'documentation')
    
        steps:
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 26 22:11:04 GMT 2026
    - 990 bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

                @Override
                protected String getIndexName() {
                    return "fess_config.coordinator";
                }
            };
    
            helper.completeOperation("test_op");
            helper.completeOperation("test_op");
            assertEquals(2, callCount.get());
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            execJob.testDeleteTempDir(null);
    
            // Test with existing directory
            File testDir = new File(tempDir, "test_delete_dir");
            assertTrue(testDir.mkdir());
            assertTrue(testDir.exists());
    
            execJob.testDeleteTempDir(testDir);
            assertFalse(testDir.exists());
    
            // Test with non-existent directory
            File nonExistentDir = new File(tempDir, "non_existent");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/admin/StorageTests.java

            // Create a directory
            Response response = given().contentType("application/json")
                    .header("Authorization", getTestToken())
                    .body("{\"name\":\"" + NAME_PREFIX + "testdir\"}")
                    .when()
                    .post(getApiPath() + "/createDir/");
    
            int statusCode = response.getStatusCode();
            // Storage may not be enabled
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse createnew(final CreateForm form) {
            saveToken();
            form.initialize();
            form.crudMode = CrudMode.CREATE;
            getDoc(form).ifPresent(entity -> {
                form.doc = fessConfig.convertToEditableDoc(entity);
            });
            currentForm = form;
            return asEditHtml();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 25.5K bytes
    - Click Count (1)
  10. guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

      }
    
      public void testContainsRow() {
        assertFalse(INSTANCE.containsRow('a'));
      }
    
      public void testContainsValue() {
        assertFalse(INSTANCE.containsValue("blah"));
      }
    
      public void testRow() {
        assertEquals(ImmutableMap.of(), INSTANCE.row('a'));
      }
    
      public void testRowKeySet() {
        assertEquals(ImmutableSet.of(), INSTANCE.rowKeySet());
      }
    
      public void testRowMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.3K bytes
    - Click Count (0)
Back to Top