- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 1,443 for expected (0.05 sec)
-
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
try { MemoryUtil.byteCountToDisplaySize(-1L); // If no exception, verify it handles negative as expected } catch (Exception e) { // Expected for negative values } // Test boundary values assertEquals("1bytes", MemoryUtil.byteCountToDisplaySize(1L));Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt
.build() }.also { expected -> assertThat(expected.message) .isEqualTo("At least one TLS version is required") } } @Test fun noCipherSuites() { assertFailsWith<IllegalArgumentException> { ConnectionSpec .Builder(ConnectionSpec.MODERN_TLS) .cipherSuites(*arrayOf<CipherSuite>()) .build() }.also { expected -> assertThat(expected.message)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
} catch (UnsupportedOperationException expected) { } } private void assertSetCountDecreasingFailure(E element, int count) { try { setCountNoCheckReturnValue(element, count); fail("a call to multiset.setCount() to decrease an element's count should throw"); } catch (UnsupportedOperationException expected) { } } // Unconditional setCount no-ops.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAtIndexTester.java
Platform.format("remove(%d) should return the element at index %d", index, index), getList().get(index), getList().remove(index)); List<E> expected = copyToList(createSamplesArray()); expected.remove(index); expectContents(expected); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java
private FileEntry[] results; /** * Constructs a SMB2 query directory response with the specified configuration and expected information class * * @param config * the configuration to use for this response * @param expectInfoClass * the expected file information class in the response */ public Smb2QueryDirectoryResponse(final Configuration config, final byte expectInfoClass) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
fail("setError should throw NullPointerException when passed null exception"); } catch (NullPointerException e) { // Expected - WebApiException constructor cannot handle null exception assertTrue("Should get expected NPE message", e.getMessage().contains("Cannot invoke \"java.lang.Exception.getMessage()\" because \"e\" is null")); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 17.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManager.java
@Deprecated String ROLE = ToolchainManager.class.getName(); /** * Retrieve toolchain of specified type from build context. It is expected that * <code>maven-toolchains-plugin</code> contains the configuration to select the appropriate * toolchain and is executed at the beginning of the build. * * @param type the type, must not be {@code null} * @param context the Maven session, must not be {@code null}Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Feb 12 13:13:28 UTC 2025 - 2.4K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/bug-report.yaml
If this matter is security related, please disclose it privately via https://kubernetes.io/security validations: required: true - type: textarea id: expected attributes: label: What did you expect to happen? validations: required: true - type: textarea id: repro attributes: label: How can we reproduce it (as minimally and precisely as possible)?Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Mon Feb 28 09:34:43 UTC 2022 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
List<String> actual = newArrayList(result); List<String> expected = asList("1", "2", "null", "3"); assertEquals(expected, actual); } // Far less exhaustive than the tests in IteratorsTest public void testCycle() { Iterable<String> cycle = Iterables.cycle("a", "b"); int howManyChecked = 0; for (String string : cycle) { String expected = (howManyChecked % 2 == 0) ? "a" : "b";
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
try { encoding.decode(cannotDecode); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { if (expectedMessage != null) { assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo(expectedMessage); } } } }, DECODE_CHECKED {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0)