- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for assertState (0.07 seconds)
-
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 forCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3K bytes - Click Count (0) -
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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 25.6K bytes - Click Count (0) -
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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 25.6K bytes - Click Count (0) -
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;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 24 01:52:43 GMT 2025 - 15.1K bytes - Click Count (0) -
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); } } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 12.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
* governing permissions and limitations under the License. */ package org.codelibs.core.collection; import static org.codelibs.core.misc.AssertionUtil.assertIndex; import static org.codelibs.core.misc.AssertionUtil.assertState; import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.lang.reflect.Array; import java.util.AbstractMap; import java.util.AbstractSet;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 20.1K bytes - Click Count (0)