- Sort Score
- Num 10 results
- Language All
Results 3131 - 3140 of 3,670 for throwIf (0.07 seconds)
-
guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java
resetContainer(getSubjectGenerator().create(array)); } /** * Equivalent to {@link #expectMissing(Object[]) expectMissing}{@code (null)} except that the call * to {@code contains(null)} is permitted to throw a {@code NullPointerException}. * * @param message message to use upon assertion failure */ protected void expectNullMissingWhenNullUnsupported(String message) { try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 2.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java
public class AccessTokenHelperTest extends UnitFessTestCase { protected static final int NUM = 20; private AccessTokenHelper accessTokenHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); accessTokenHelper = new AccessTokenHelper(); } @Test public void test_generateAccessToken() { List<String> tokens = new ArrayList<String>();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 6.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java
import org.junit.jupiter.api.TestInfo; public class UserAgentHelperTest extends UnitFessTestCase { public UserAgentHelper userAgentHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); userAgentHelper = new UserAgentHelper(); } @Test public void test_getUserAgentType_IE9() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 7.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java
* @return a new, empty {@code ObjectCountLinkedHashMap} with enough capacity to hold {@code * expectedSize} elements without resizing * @throws IllegalArgumentException if {@code expectedSize} is negative */ static <K extends @Nullable Object> ObjectCountLinkedHashMap<K> createWithExpectedSize( int expectedSize) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java
AbstractImmutableMapMapInterfaceTest() { super(false, false, false, false, false); } @Override protected Map<K, V> makeEmptyMap() { throw new UnsupportedOperationException(); } private static final Joiner JOINER = Joiner.on(", "); @Override protected final void assertMoreInvariants(Map<K, V> map) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java
static PublicSuffixType fromCode(char code) { for (PublicSuffixType value : values()) { if (value.getInnerNodeCode() == code || value.getLeafNodeCode() == code) { return value; } } throw new IllegalArgumentException("No enum corresponding to given code: " + code); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Dec 16 19:54:45 GMT 2020 - 2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolver.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.2K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java
case WARNING: if (!warnings.contains(req.getMessage())) { warnings.add(req.getMessage()); } break; default: throw new IllegalArgumentException("Unknown severity: " + req.getSeverity()); } }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue May 27 09:07:14 GMT 2025 - 3K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/VerifyTest.java
} private static final Object IGNORE_ME = new Object() { @Override public String toString() { throw new AssertionFailedError(); } }; private static final String FORMAT = "I ate %s pies."; private static void checkMessage(Exception e) { assertThat(e).hasMessageThat().isEqualTo("I ate 5 pies.");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 3.3K bytes - Click Count (0)