Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for assertState (0.11 sec)

  1. src/test/java/org/codelibs/core/misc/AssertionUtilTest.java

        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.misc.AssertionUtil#assertState(boolean, String)} .
         */
        @Test
        public void testAssertState() {
            exception.expect(ClIllegalStateException.class);
            exception.expectMessage(is("hogeだからです。"));
            assertState(false, "hogeだからです。");
        }
    
        /**
         * Test method for
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        manager.addListener(listener, directExecutor());
        assertState(manager, Service.State.NEW, a, b, c, d, e);
        assertThrows(IllegalStateException.class, () -> manager.startAsync().awaitHealthy());
        assertFalse(listener.healthyCalled);
        assertState(manager, Service.State.RUNNING, a, c, e);
        assertEquals(ImmutableSet.of(b, d), listener.failedServices);
        assertState(manager, Service.State.FAILED, b, d);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    import static org.codelibs.core.misc.AssertionUtil.assertState;
    
    import java.lang.reflect.Constructor;
    import java.lang.reflect.Field;
    import java.lang.reflect.Method;
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import java.sql.Time;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         * @param description
         *            The description of why the state is invalid.
         * @throws ClIllegalStateException
         *             If {@code expression} is false.
         */
        public static void assertState(final boolean expression, final String description) {
            if (!expression) {
                throw new ClIllegalStateException(description);
            }
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top