- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for testSerializable (0.95 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* * <p>In all cases, if {@code C} needs custom logic for testing serialization, you can add an * explicit {@code testSerializable()} test in the corresponding {@code CTest} class, and {@code * C} will be excluded from automated serialization test performed by this method. */ @Test public void testSerializable() throws Exception { // TODO: when we use @BeforeClass, we can pay the cost of class path scanning only once.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* * <p>In all cases, if {@code C} needs custom logic for testing serialization, you can add an * explicit {@code testSerializable()} test in the corresponding {@code CTest} class, and {@code * C} will be excluded from automated serialization test performed by this method. */ @Test public void testSerializable() throws Exception { // TODO: when we use @BeforeClass, we can pay the cost of class path scanning only once.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
public void testSerializableOnReturnValues_good() throws Exception { tester.forAllPublicStaticMethods(GoodSerializableFactory.class).testSerializable(); } public static final class GoodSerializableFactory { public static Object good(Runnable r) { return r; } public static Object good(AnInterface i) { return i;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 36.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java
ms.add(Color.YELLOW, 1); ms.add(Color.RED, 2); assertThat(ms.toString()).isEqualTo("[BLUE x 3, RED x 2, YELLOW]"); } @GwtIncompatible // SerializableTester public void testSerializable() { Multiset<Color> ms = EnumMultiset.create(asList(Color.RED, Color.YELLOW, Color.RED)); assertEquals(ms, SerializableTester.reserialize(ms)); } public void testEntrySet() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
Set<Object> uniqueEntries = Sets.newIdentityHashSet(); uniqueEntries.addAll(bimap.entrySet()); assertEquals(3, uniqueEntries.size()); } @GwtIncompatible @J2ktIncompatible public void testSerializable() { SerializableTester.reserializeAndAssert(EnumHashBiMap.create(Currency.class)); } @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java
Set<Object> uniqueEntries = Sets.newIdentityHashSet(); uniqueEntries.addAll(bimap.entrySet()); assertEquals(3, uniqueEntries.size()); } @GwtIncompatible @J2ktIncompatible public void testSerializable() { SerializableTester.reserializeAndAssert( EnumBiMap.create(ImmutableMap.of(Currency.DOLLAR, Country.CANADA))); } @J2ktIncompatible @GwtIncompatible // reflection
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.9K bytes - Click Count (0) -
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) -
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) -
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) -
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)