Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for testIn_serialization (0.1 seconds)

  1. android/guava-tests/test/com/google/common/base/PredicatesTest.java

                Predicates.in(differentOrder))
            .addEqualityGroup(Predicates.in(differentNums))
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testIn_serialization() {
        checkSerialization(Predicates.in(Arrays.asList(1, 2, 3, null)));
      }
    
      public void testIn_handlesNullPointerException() {
        class CollectionThatThrowsNullPointerException<T> extends ArrayList<T> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 32.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

                assertTrue(e instanceof DictionaryExpiredException);
            } catch (Exception e) {
                fail("Should have caught as RuntimeException");
            }
        }
    
        @Test
        public void test_serialization() throws Exception {
            // Test that the exception is serializable
            DictionaryExpiredException original = new DictionaryExpiredException();
    
            // Serialize
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            } catch (Exception e) {
                fail("Should have caught ServletRuntimeException");
            }
        }
    
        @Test
        public void test_serialization() {
            // Test that the serialVersionUID is properly defined
            // This test verifies that the class can be instantiated and has the serial version UID
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            assertEquals("test_stackTrace", firstElement.getMethodName());
            assertEquals(this.getClass().getName(), firstElement.getClassName());
        }
    
        @Test
        public void test_serialization() {
            // Test that the exception is serializable
            String message = "Serialization test";
            LdapConfigurationException exception = new LdapConfigurationException(message);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        @Test
        public void test_serialization() {
            // Test that the exception has serialVersionUID
            // This test verifies the exception is serializable
            String message = "Serialization test";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_serialization() {
            // Test serialVersionUID exists
            ResultOffsetExceededException exception = new ResultOffsetExceededException("Test serialization");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            assertFalse(emptyBean.hasRole("admin"));
            assertFalse(emptyBean.hasGroup("developers"));
            assertFalse(emptyBean.hasGroups(new String[] { "developers" }));
        }
    
        @Test
        public void test_serialization() {
            // Test that FessUserBean is serializable
            assertTrue(fessUserBean instanceof java.io.Serializable);
    
            // Test empty user bean is also serializable
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            assertTrue(cause3 instanceof RuntimeException);
            assertEquals("Level 3 error", cause3.getMessage());
    
            assertNull(cause3.getCause());
        }
    
        @Test
        public void test_serialization() throws Exception {
            // Test serialization and deserialization
            String message = "Serializable SSO exception";
            Exception cause = new RuntimeException("Serializable cause");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        SortedSet<String> set = of("e", "f", "b", "d", "c");
        assertThat(set.last()).isEqualTo("f");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testOf_serialization() {
        SortedSet<String> set = of("e", "f", "b", "d", "c");
        SortedSet<String> copy = SerializableTester.reserializeAndAssert(set);
        assertTrue(elementsEqual(set, copy));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 46.3K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        SortedSet<String> set = of("e", "f", "b", "d", "c");
        assertThat(set.last()).isEqualTo("f");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testOf_serialization() {
        SortedSet<String> set = of("e", "f", "b", "d", "c");
        SortedSet<String> copy = SerializableTester.reserializeAndAssert(set);
        assertTrue(elementsEqual(set, copy));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.2K bytes
    - Click Count (0)
Back to Top