- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for assertState (0.2 sec)
-
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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3K bytes - Viewed (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);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 25.5K bytes - Viewed (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;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.3K bytes - Viewed (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;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 20.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/AssertionUtil.java
* 事前条件 * @param description * 不正な状態であることの説明 * @throws ClIllegalStateException * {@code expression}がfalseの場合。 */ public static void assertState(final boolean expression, final String description) { if (!expression) { throw new ClIllegalStateException(description); } } /** * indexが不正でないことを表明します。 *
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12.5K bytes - Viewed (0)