- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,194 for fail (0.02 sec)
-
guava-testlib/src/com/google/common/testing/TearDown.java
* * <p>A failing {@link TearDown} may or may not fail a tl4j test, depending on the version of * JUnit test case you are running under. To avoid failing in the face of an exception regardless * of JUnit version, implement a {@link SloppyTearDown} instead. * * <p>tl4j details: For backwards compatibility, {@code junit3.TearDownTestCase} currently does
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 19:22:18 UTC 2023 - 1.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Connection.kt
* avoiding these options entirely, this class allows a connection to be attempted with modern * options and then retried without them should the attempt fail. * * ## Connection Reuse * * Each connection can carry a varying number of streams, depending on the underlying protocol being
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/UrlEscaperTesting.java
import static com.google.common.escape.testing.EscaperAsserts.assertUnicodeEscaping; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.fail; import com.google.common.annotations.GwtCompatible; import com.google.common.escape.UnicodeEscaper; /** * Testing utilities for {@link UrlEscapers} and {@link LegacyUrlEscapersTest}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 17:53:22 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
import static com.google.common.base.Preconditions.checkNotNull; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.NANOSECONDS; import static junit.framework.Assert.fail; import com.google.common.testing.TearDown; import com.google.common.testing.TearDownAccepter; import java.util.concurrent.TimeUnit; import java.util.logging.Logger; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.4K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py
pytest.fail( "did not raise WebSocketDisconnect on __enter__" ) # pragma: no cover @needs_py310 def test_websocket_invalid_data(app: FastAPI): client = TestClient(app) with pytest.raises(WebSocketDisconnect): with client.websocket_connect("/items/foo/ws?q=bar&token=some-token"): pytest.fail(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
try { unmod.add(4); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } try { unmod.remove(4); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } try { unmod.addAll(singleton(4)); fail("UnsupportedOperationException expected");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 48.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
assertDone(future); assertThat(future.isCancelled()).isFalse(); try { getDone(future); fail(); } catch (ExecutionException e) { assertThat(e.getCause()).isSameInstanceAs(expectedException); } try { getDoneFromTimeoutOverload(future); fail(); } catch (ExecutionException e) { assertThat(e).hasCauseThat().isSameInstanceAs(expectedException); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 15.5K bytes - Viewed (0) -
cmd/object-api-getobjectinfo_test.go
} if err == nil && !testCase.shouldPass { t.Errorf("Test %d: %s: Expected to fail with <ERROR> \"%s\", but passed instead", i+1, instanceType, testCase.err.Error()) } // Failed as expected, but does it fail for the expected reason. if err != nil && !testCase.shouldPass { if testCase.err.Error() != err.Error() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 23 15:46:00 UTC 2022 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
try { UnsignedInts.parseUnsignedInt("0", Character.MIN_RADIX - 1); fail(); } catch (NumberFormatException expected) { } catch (IllegalArgumentException expected) { // Kotlin native, see above } try { UnsignedInts.parseUnsignedInt("0", Character.MAX_RADIX + 1); fail(); } catch (NumberFormatException expected) { } catch (IllegalArgumentException expected) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 12.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java
client.setRequestListener(testListener); final String url = "http://test.com/"; try { client.execute(RequestDataBuilder.newRequestData().get().url(url).build()); fail(); } catch (final MultipleCrawlingAccessException e) { // ok final Throwable[] causes = e.getCauses(); assertEquals(5, causes.length); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 15.1K bytes - Viewed (0)