Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 46 for testSerialization (0.2 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        assertSame(bimap, SerializableTester.reserializeAndAssert(bimap));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization() {
        ImmutableBiMap<String, Integer> bimap =
            ImmutableBiMap.copyOf(ImmutableMap.of("one", 1, "two", 2));
        ImmutableBiMap<String, Integer> copy = SerializableTester.reserializeAndAssert(bimap);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertActuallyTrims(underSized);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization() {
        assertThat(reserialize(ImmutableDoubleArray.of())).isSameInstanceAs(ImmutableDoubleArray.of());
        assertThat(reserialize(ImmutableDoubleArray.of(0, 1).subArray(1, 1)))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

          assertEquals(alternatingKeysAndValues[i++], entry.getValue());
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization() {
        Multimap<String, Integer> multimap = createMultimap();
        SerializableTester.reserializeAndAssert(multimap);
        assertEquals(multimap.size(), SerializableTester.reserialize(multimap).size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertActuallyTrims(underSized);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization() {
        assertThat(reserialize(ImmutableDoubleArray.of())).isSameInstanceAs(ImmutableDoubleArray.of());
        assertThat(reserialize(ImmutableDoubleArray.of(0, 1).subArray(1, 1)))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

          assertEquals(alternatingKeysAndValues[i++], entry.getValue());
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization() {
        Multimap<String, Integer> multimap = createMultimap();
        SerializableTester.reserializeAndAssert(multimap);
        assertEquals(multimap.size(), SerializableTester.reserialize(multimap).size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

                assertTrue(e instanceof DictionaryExpiredException);
            } catch (Exception e) {
                fail("Should have caught as RuntimeException");
            }
        }
    
        public void test_serialization() throws Exception {
            // Test that the exception is serializable
            DictionaryExpiredException original = new DictionaryExpiredException();
    
            // Serialize
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_serialization() {
            // Test that the exception has serialVersionUID defined
            String message = "Serialization test";
            SearchEngineClientException exception = new SearchEngineClientException(message);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            // Stack trace should be empty since writableStackTrace is false
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertEquals(0, stackTrace.length);
        }
    
        public void test_serialization() {
            // Test that the exception has correct serialVersionUID
            String parentUrl = "http://example.com/parent";
            String url = "http://example.com/child";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_serialization() {
            // Test that the exception has the correct serialVersionUID field
            ScriptEngineException exception = new ScriptEngineException("Serialization test");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            assertEquals("test_stackTrace", firstElement.getMethodName());
            assertEquals(this.getClass().getName(), firstElement.getClassName());
        }
    
        public void test_serialization() {
            // Test that the exception is serializable
            String message = "Serialization test";
            LdapConfigurationException exception = new LdapConfigurationException(message);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top