Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testSerialization (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            responseData4.setHttpStatusCode(404);
            assertFalse(rule.match(responseData4));
        }
    
        /**
         * Test Rule serialization
         */
        public void test_serialization() throws Exception {
            TestResponseProcessor processor = new TestResponseProcessor("serializeProcessor");
            TestRule originalRule = new TestRule("serializeRule", processor, true);
    
            // Serialize
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top