- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 837 for iofail (0.05 sec)
-
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
} 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; ForwardingRunnable(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) -
tests/associations_test.go
} region := &Region{Name: "Region1"} if err := DB.Create(region).Error; err != nil { t.Fatalf("fail to create region %v", err) } var orgs []Organization if err := DB.Model(&Region{}).Association("Organizations").Find(&orgs); err != nil { t.Fatalf("fail to find region organizations %v", err) } else { AssertEqual(t, len(orgs), 0) } } type AssociationEmptyUser struct {Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Feb 08 08:29:09 UTC 2023 - 10.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
assertThat(iia.subArray(1, 5).contains(1)).isTrue(); } public void testForEach() { ImmutableIntArray.of().forEach(i -> fail()); ImmutableIntArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail()); AtomicInteger count = new AtomicInteger(0); ImmutableIntArray.of(0, 1, 2, 3).forEach(i -> assertThat(i).isEqualTo(count.getAndIncrement()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java
} @MapFeature.Require(absent = SUPPORTS_PUT) @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 Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
assertNotNull(ResourceUtil.getResource("java/lang/String.class", "class")); assertNotNull(ResourceUtil.getResource("org/codelibs")); try { ResourceUtil.getResource("hoge", "xml"); fail("2"); } catch (final ResourceNotFoundRuntimeException e) { System.out.println(e); assertEquals("3", "hoge.xml", e.getPath()); } System.out.println(ResourceUtil.getResource("."));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
// Verify that the listener executed in a reasonable amount of time. Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { future.get(); Assert.fail("This call was supposed to throw an ExecutionException"); } catch (ExecutionException expected) { Assert.assertSame(expectedCause, expected.getCause()); } } public void assertTimeout() throws Exception {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java
/** * Flag indicating an unlock operation to release a previously held lock. */ public static final int SMB2_LOCKFLAG_UNLOCK = 0x4; /** * Flag indicating the lock should fail immediately if it cannot be granted. */ public static final int SMB2_LOCKFLAG_FAIL_IMMEDIATELY = 0x10; private final long offset; private final long length; private final int flags; /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
docs/iam/opa.md
export MC_HOST_foo=http://foo:foobar123@localhost:9000 mc ls foo/test mc cat foo/test/issue # 3. Attempt to upload an object as user `foo` - this will fail with a permissions error. mc cp /etc/issue myminio/test/issue2
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Jul 17 15:43:14 UTC 2022 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
* once, {@link #buildOrThrow} will fail, while {@link #buildKeepingLast} will keep the last * value put for that key. */ @CanIgnoreReturnValue public Builder<K, V> put(K key, V value) { ensureCapacity(size + 1); Entry<K, V> entry = entryOf(key, value); // don't inline this: we want to fail atomically if key or value is null entries[size++] = entry;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 44.3K bytes - Viewed (0)