Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 103 for science (0.04 seconds)

  1. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

        public void test_constant_WEB_API_EXCEPTION() {
            // Test that the constant WEB_API_EXCEPTION is used correctly
            // This is verified by checking the behavior matches expected constant usage
    
            // Since the constant is private, we can't access it directly
            // But we can verify the behavior is consistent
            try {
                WebApiUtil.setError(400, "Test error");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

         */
        @Size(max = 1000)
        public String createdBy;
    
        /**
         * The timestamp when this access token was created.
         * Stored as a long value representing milliseconds since epoch.
         */
        @ValidateTypeFailure
        public Long createdTime;
    
        /**
         * Initializes the form with default values for creation.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                @Override
                public void destroy() {
                    // Override to avoid null pointer issues with thread
                    generating = false;
                    // Don't need to interrupt thread since we never start it in tests
                }
            };
            manager.init();
            assertTrue(manager.baseDir.exists());
            manager.destroy();
        }
    
        // Test initialization failure
        @Test
    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)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            Map<String, Object> docMap = new HashMap<>();
            docMap.put("id", "doc123");
    
            emptyGenerator.setName("empty");
            String path = "/path/to/thumbnail.jpg";
    
            // Since createTask requires FessConfig, it may not work properly
            // We test that the method can be called without throwing exceptions
            try {
                emptyGenerator.createTask(path, docMap);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java

            // expired() should skip when disabled
            logNotificationTarget.expired();
    
            // Buffer should still contain the event since disabled check should return early
            List<LogNotificationEvent> remaining = ComponentUtil.getLogNotificationHelper().drainAll();
            assertEquals(1, remaining.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

            } catch (NullPointerException e) {
                // Also acceptable if null is not handled explicitly
            }
        }
    
        @Test
        public void test_findOnMainSchema_alwaysReturnsNull() {
            // Since the implementation always returns null (no DBFlute classification used),
            // test that it consistently returns null for any input
            assertNull(invokeMethod(provider, "findOnMainSchema", "TestClassification"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

        public void test_serialVersionUID() {
            // Test that the exception is serializable
            PluginException exception = new PluginException("Serialization test");
    
            // The exception should be serializable since it extends RuntimeException
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        @Test
        public void test_longMessage() {
            // Test with a very long message
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

                ComponentUtil.register(originalConfig, "fessConfig");
            }
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_getStatus_returnsCorrectValue() {
            // Since we cannot easily create a real ClusterHealthResponse without a running cluster,
            // we'll test the class behavior through unit tests that verify the logic
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

         *
         * Instead, we'll encode the path to the file in the description data field, as a link.  This is
         * useful regardless of this renderer's needs, since now there will be a link embedded in the report
         * to quickly open the changes file.  By then we can also regex that path out of the description
         * in order to create a changes {@link File} for further use in this class.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:18:18 GMT 2026
    - 7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            try {
                languageHelper.updateDocument(doc);
                fail("Should throw NullPointerException without detector");
            } catch (NullPointerException e) {
                // Expected since we don't have a detector
            }
        }
    
        @Test
        public void test_updateDocument_emptyDoc() {
            Map<String, Object> doc = new HashMap<>();
    
            languageHelper.updateDocument(doc);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13K bytes
    - Click Count (0)
Back to Top