Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 16 of 16 for testSerializable (0.07 seconds)

  1. guava-tests/test/com/google/common/math/PairedStatsTest.java

            .addEqualityGroup(
                new PairedStats(MANY_VALUES_STATS_ITERABLE, MANY_VALUES_STATS_ITERABLE, 1.234))
            .testEquals();
      }
    
      public void testSerializable() {
        SerializableTester.reserializeAndAssert(MANY_VALUES_PAIRED_STATS);
      }
    
      public void testToString() {
        assertThat(EMPTY_PAIRED_STATS.toString())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

     *
     * <pre>
     * new ClassSanityTester()
     *     .forAllPublicStaticMethods(Books.class)
     *     .thatReturn(Book.class)
     *     .testEquals(); // or testNulls(), testSerializable() etc.
     * </pre>
     *
     * @author Ben Yu
     * @since 14.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @NullUnmarked
    @SuppressWarnings("nullness")
    public final class ClassSanityTester {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/math/StatsTest.java

            .addEqualityGroup(new Stats(5, -5.5, 55.5, -5.56, 5.55))
            .addEqualityGroup(new Stats(5, -5.5, 55.5, -5.55, 5.56))
            .testEquals();
      }
    
      public void testSerializable() {
        SerializableTester.reserializeAndAssert(MANY_VALUES_STATS_ITERABLE);
      }
    
      public void testToString() {
        assertThat(EMPTY_STATS_VARARGS.toString()).isEqualTo("Stats{count=0}");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 33.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(
            new TypeToken<Map<String, Integer>>() {},
            new IKnowMyType<Map<String, Integer>>() {}.type());
      }
    
      public <A extends Iterable<? extends String>, B extends A> void testSerializable() {
        reserialize(TypeToken.of(String.class));
        reserialize(TypeToken.of(String.class).getTypes());
        reserialize(TypeToken.of(String.class).getTypes().classes());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(
            new TypeToken<Map<String, Integer>>() {},
            new IKnowMyType<Map<String, Integer>>() {}.type());
      }
    
      public <A extends Iterable<? extends String>, B extends A> void testSerializable() {
        reserialize(TypeToken.of(String.class));
        reserialize(TypeToken.of(String.class).getTypes());
        reserialize(TypeToken.of(String.class).getTypes().classes());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_serializable() {
            // Test that the exception has serialVersionUID
            WebApiException exception = new WebApiException(404, "Not Found");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.5K bytes
    - Click Count (0)
Back to Top