Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 68 for reserializeAndAssert (0.1 sec)

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

        Collection<String> copy = SerializableTester.reserializeAndAssert(c);
        assertThat(copy).containsExactly("a", "a", "b").inOrder();
      }
    
      public void testSerialization_elementSet() {
        Multiset<String> c = ImmutableSortedMultiset.of("a", "b", "a");
        Collection<String> copy = SerializableTester.reserializeAndAssert(c.elementSet());
        assertThat(copy).containsExactly("a", "b").inOrder();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      public void testReserializeWholeSubList() {
        SerializableTester.reserializeAndAssert(getList().subList(0, getNumElements()));
      }
    
      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
      public void testReserializeEmptySubList() {
        SerializableTester.reserializeAndAssert(getList().subList(0, 0));
      }
    
      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      public void testReserializeWholeSubList() {
        SerializableTester.reserializeAndAssert(getList().subList(0, getNumElements()));
      }
    
      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
      public void testReserializeEmptySubList() {
        SerializableTester.reserializeAndAssert(getList().subList(0, 0));
      }
    
      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TablesTest.java

      @GwtIncompatible // SerializableTester
      public void testImmutableEntrySerialization() {
        Cell<String, Integer, Character> entry = immutableCell("foo", 1, 'a');
        SerializableTester.reserializeAndAssert(entry);
      }
    
      public void testImmutableEntryToString() {
        Cell<String, Integer, Character> entry = immutableCell("foo", 1, 'a');
        assertEquals("(foo,1)=a", entry.toString());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        int unused = create().hashCode();
      }
    
      public void testToString() {
        String unused = create().toString();
      }
    
      public void testSerialization() {
        SerializableTester.reserializeAndAssert(create());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization_multiple() {
        Collection<String> c = ImmutableMultiset.of("a", "b", "a");
        Collection<String> copy = SerializableTester.reserializeAndAssert(c);
        assertThat(copy).containsExactly("a", "a", "b").inOrder();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization_elementSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/CaseFormatTest.java

      }
    
      public void testConverter_serialization() {
        for (CaseFormat outer : CaseFormat.values()) {
          for (CaseFormat inner : CaseFormat.values()) {
            SerializableTester.reserializeAndAssert(outer.converterTo(inner));
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/EnumsTest.java

            Enums.stringConverter(TestEnum.class).toString());
      }
    
      @GwtIncompatible // stringConverter
      public void testStringConverter_serialization() {
        SerializableTester.reserializeAndAssert(Enums.stringConverter(TestEnum.class));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      public void testSerialization() {
        Multimap<String, Integer> multimap = createMultimap();
        SerializableTester.reserializeAndAssert(multimap);
        assertEquals(multimap.size(), SerializableTester.reserialize(multimap).size());
        SerializableTester.reserializeAndAssert(multimap.get("foo"));
        LenientSerializableTester.reserializeAndAssertLenient(multimap.keySet());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // serialization
      public void testSerialization() {
        for (long a : TEST_LONGS) {
          SerializableTester.reserializeAndAssert(UnsignedLong.fromLongBits(a));
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top