Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for xtest_serialization (0.23 sec)

  1. 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)
  2. 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)
  3. android/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.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

      }
    
      public void testHashCode() {
        int unused = create().hashCode();
      }
    
      public void testToString() {
        String unused = create().toString();
      }
    
      public void testSerialization() {
        SerializableTester.reserializeAndAssert(create());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 19:11:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. 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)
  8. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

                assertEquals(expected, rangeMap.subRangeMap(subRange));
              }
            }
          }
        }
      }
    
      public void testSerialization() {
        ImmutableRangeMap<Integer, Integer> emptyRangeMap = ImmutableRangeMap.of();
        SerializableTester.reserializeAndAssert(emptyRangeMap);
    
        ImmutableRangeMap<Integer, Integer> nonEmptyRangeMap =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        assertEquals(14, (int) supplierFunction.apply(supplier));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializationTester
      @SuppressWarnings("DoNotCall")
      public void testSerialization() {
        assertEquals(Integer.valueOf(5), reserialize(Suppliers.ofInstance(5)).get());
        assertEquals(
            Integer.valueOf(5),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  10. 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)
Back to top