- Sort Score
- Result 10 results
- Languages All
Results 41 - 46 of 46 for testSerialization (0.05 sec)
-
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) -
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) -
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) -
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) -
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) -
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)