- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for test_serialization (0.07 sec)
-
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) -
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) -
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/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/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/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) -
src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java
assertEquals("[Test]", defaultMap.get(FessEnv.MAIL_SUBJECT_TEST_PREFIX)); assertEquals("root@localhost", defaultMap.get(FessEnv.MAIL_RETURN_PATH)); } // Test serialization public void xtest_serialization() { // Verify that serialVersionUID is defined assertTrue(fessEnv instanceof java.io.Serializable); // Test that the SimpleImpl class can be instantiated
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
// Garbage in, garbage out. assertEquals("[::]]:107", HostAndPort.fromParts("::]", 107).toString()); assertEquals("[[:]]:108", HostAndPort.fromString("[[:]]:108").toString()); } public void testSerialization() { SerializableTester.reserializeAndAssert(HostAndPort.fromParts("host", 80)); SerializableTester.reserializeAndAssert(HostAndPort.fromString("host"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
// Adding null context should be safe exception.withContext(null); assertTrue(exception.getContext().isEmpty()); } @Test @DisplayName("Should be serializable") void testSerialization() throws Exception { // Given Map<String, Object> context = new HashMap<>(); context.put("key1", "value1"); context.put("key2", 123);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
assertEquals(error, exception.getCause()); }); } @Test @DisplayName("Should maintain serialization compatibility") void testSerialization() { // Verify the class has serialVersionUID defined // This is important for version compatibility RuntimeCIFSException exception = new RuntimeCIFSException("Test");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0)