- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,830 for must (0.02 sec)
-
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
assertThat(expected).hasMessageThat().isEqualTo("index (-1) must not be negative"); } public void testCheckElementIndex_tooHigh() { IndexOutOfBoundsException expected = assertThrows(IndexOutOfBoundsException.class, () -> checkElementIndex(1, 1)); assertThat(expected).hasMessageThat().isEqualTo("index (1) must be less than size (1)"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
assertThat(expected).hasMessageThat().isEqualTo("index (-1) must not be negative"); } public void testCheckElementIndex_tooHigh() { IndexOutOfBoundsException expected = assertThrows(IndexOutOfBoundsException.class, () -> checkElementIndex(1, 1)); assertThat(expected).hasMessageThat().isEqualTo("index (1) must be less than size (1)"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java
* does not actually resolve the artifact files. * * @param session the {@link Session}, must not be {@code null} * @param root the Maven Dependency, must not be {@code null} * @param scope the {link PathScope} to collect dependencies, must not be {@code null} * @return the collection result, never {@code null}
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Oct 16 14:15:37 UTC 2024 - 9.4K bytes - Viewed (0) -
android/guava/src/com/google/common/math/MathPreconditions.java
if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue static long checkPositive(String role, long x) { if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt
assertThat(expected.message).isEqualTo( "Payload size must be less than or equal to 125", ) } } @Test fun pongTooLongThrows() { assertFailsWith<IllegalArgumentException> { serverWriter.writePong((binaryData(1000))) }.also { expected -> assertThat(expected.message).isEqualTo( "Payload size must be less than or equal to 125", ) } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosErrorTest.java
// Assert assertNotNull(table, "DOS_ERROR_CODES must not be null"); assertTrue(table.length > 0, "DOS_ERROR_CODES must not be empty"); for (int i = 0; i < table.length; i++) { int[] pair = table[i]; assertNotNull(pair, "row " + i + " must not be null"); assertEquals(2, pair.length, "row " + i + " must be [dos, ntstatus]"); } } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
// https://daniel.haxx.se/blog/2016/08/18/http2-connection-coalescing/ // 1. This connection must be HTTP/2. if (http2Connection == null) return false // 2. The routes must share an IP address. if (routes == null || !routeMatchesAny(routes)) return false // 3. This connection's server certificates must cover the new host. if (address.hostnameVerifier !== OkHostnameVerifier) return false
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceBundleUtil.java
} } /** * Returns the bundle. Returns <code>null</code> if not found. * * @param name the resource bundle name (must not be {@literal null} or empty) * @param locale the locale * @param classLoader the class loader (must not be {@literal null} or empty) * @return {@link ResourceBundle} * @see ResourceBundle#getBundle(String, Locale, ClassLoader) */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/Logger.java
* @param throwable * Exception. Must not be {@literal null}. */ public void log(final Throwable throwable) { assertArgumentNotNull("throwable", throwable); error(throwable.getMessage(), throwable); } /** * Outputs a log entry. * * @param messageCode * Message code. Must not be {@literal null} or empty string. * @param args
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 12.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractStreamingHasher.java
* must be at least 4 */ protected AbstractStreamingHasher(int chunkSize) { this(chunkSize, chunkSize); } /** * Constructor for use by subclasses. This hasher instance will process chunks of the specified * size, using an internal buffer of {@code bufferSize} size, which must be a multiple of {@code * chunkSize}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0)