- Sort Score
- Result 10 results
- Languages All
Results 771 - 780 of 1,333 for unexpected (0.41 sec)
-
android/guava-tests/test/com/google/common/collect/ListsTest.java
} catch (UnsupportedOperationException expected) { } list.remove(0); assertEquals(asList("2", "3", "4"), list); list.remove("3"); assertEquals(asList("2", "4"), list); try { list.set(0, "5"); fail("transformed list is setable"); } catch (UnsupportedOperationException expected) { } list.clear(); assertEquals(emptyList(), list); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java
// ============ /** * Verifies that the CRUD mode matches the expected mode. * * @param crudMode the actual CRUD mode * @param expectedMode the expected CRUD mode */ protected void verifyCrudMode(final int crudMode, final int expectedMode) { if (crudMode != expectedMode) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
fail("Should throw ResourceNotFoundRuntimeException for non-existent file"); } catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) { // Expected behavior - method throws exception for non-existent files assertTrue(e.getMessage().contains("nonexistent.conf")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex)); assertEquals("Expected structureSize = 4", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 255, 65535 })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
List<E> iteratorElements = new ArrayList<>(); for (E element : collection) { // uses iterator() iteratorElements.add(element); } List<E> expected = copyToList(getOrderedElements()); assertEquals("Different ordered iteration", expected, iteratorElements); } @CollectionFeature.Require(ALLOWS_NULL_VALUES) @CollectionSize.Require(absent = ZERO) public void testIterator_nullElement() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkTester.java
protected final F factory; protected final T data; protected final T expected; private final String suiteName; private final String caseDesc; SourceSinkTester(F factory, T data, String suiteName, String caseDesc, Method method) { super(method.getName()); this.factory = checkNotNull(factory); this.data = checkNotNull(data); this.expected = checkNotNull(factory.getExpected(data));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
cmd/typed-errors.go
var errDataTooLarge = errors.New("Object size larger than allowed limit") // When upload object size is less than what was expected. var errDataTooSmall = errors.New("Object size smaller than expected") // errServerNotInitialized - server not initialized. var errServerNotInitialized = errors.New("Server not initialized, please try again")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 5.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
try { tester.testForwarding(interfaceType, wrapperFunction); } catch (AssertionFailedError expected) { for (String message : expectedMessages) { assertThat(expected).hasMessageThat().contains(message); } return; } fail("expected failure not reported"); } private class ForwardingRunnable implements Runnable { private final Runnable runnable;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/01-pkgsite.yml
validations: required: true - type: textarea id: actual-behavior attributes: label: "What did you see happen?" validations: required: true - type: textarea id: expected-behavior attributes: label: "What did you expect to see?" validations:
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jan 04 23:31:17 UTC 2024 - 1.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java
@CollectionSize.Require(absent = ZERO) public void testReplace_unsupportedPresent() { try { getMap().replace(k0(), v3()); fail("Expected UnsupportedOperationException"); } catch (UnsupportedOperationException expected) { } catch (ClassCastException tolerated) { // for ClassToInstanceMap } expectUnchanged(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4K bytes - Viewed (0)