Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for test_serialization (0.05 sec)

  1. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

                assertTrue(caught.getMessage().contains("ServletException"));
            } catch (Exception e) {
                fail("Should have caught ServletRuntimeException");
            }
        }
    
        public void test_serialization() {
            // Test that the serialVersionUID is properly defined
            // This test verifies that the class can be instantiated and has the serial version UID
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            assertEquals(innerCause, exception.getCause().getCause());
            assertEquals("Invalid image format", exception.getCause().getCause().getMessage());
        }
    
        public void test_serialization() {
            // Test that the exception has serialVersionUID
            ThumbnailGenerationException exception = new ThumbnailGenerationException("Test serialization");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            assertFalse(emptyBean.hasRole("admin"));
            assertFalse(emptyBean.hasGroup("developers"));
            assertFalse(emptyBean.hasGroups(new String[] { "developers" }));
        }
    
        public void test_serialization() {
            // Test that FessUserBean is serializable
            assertTrue(fessUserBean instanceof java.io.Serializable);
    
            // Test empty user bean is also serializable
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

            assertEquals("test_stackTrace", topElement.getMethodName());
            assertEquals(this.getClass().getName(), topElement.getClassName());
        }
    
        public void test_serialization() {
            // Test that serialVersionUID is properly defined
            final JobProcessingException exception = new JobProcessingException("Serialization test");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            user = new TestRefreshableFessUser("testuser", false);
            assertFalse(user.refresh());
            assertEquals(1, user.getRefreshCount());
        }
    
        public void test_serialization() {
            // Test that implementations can be serialized
            FessUser user = new TestFessUser("testuser", new String[] { "role1", "role2" }, new String[] { "group1", "group2" },
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_serialization() {
            // Test serialVersionUID is properly defined
            GsaConfigException exception = new GsaConfigException("Serialization test");
    
            // Verify the exception is serializable (has serialVersionUID)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            assertTrue(stackTrace.length > 0);
            // The first element should be from this test method
            assertEquals("test_stackTrace", stackTrace[0].getMethodName());
        }
    
        public void test_serialization() {
            // Test that the exception has proper serialVersionUID
            DataStoreException exception = new DataStoreException("Serialization test");
    
            // Check that it's a RuntimeException and can be thrown
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            assertEquals(CrawlerStatus.class, CrawlerStatus.DONE.getDeclaringClass());
        }
    
        /**
         * Test serialization and deserialization
         */
        public void test_serialization() throws Exception {
            // Test each enum value
            CrawlerStatus[] statuses = CrawlerStatus.values();
    
            for (CrawlerStatus original : statuses) {
                // Serialize
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            // Test null ResponseData
            assertFalse(conditionalRule.match(null));
        }
    
        /**
         * Test serialization of AbstractRule
         */
        public void test_serialization() throws Exception {
            TestResponseProcessor processor = new TestResponseProcessor();
            testRule.setRuleId("serializeRule");
            testRule.setResponseProcessor(processor);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertEquals("Level 2", level2.getMessage());
            assertEquals("Level 3 - Root cause", level3.getMessage());
        }
    
        /**
         * Test serialization
         */
        public void test_serialization() throws Exception {
            String message = "Serialization test";
            Exception cause = new IOException("IO cause");
            CrawlerSystemException original = new CrawlerSystemException(message, cause);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
Back to top