- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,389 for Unexpected (0.23 sec)
-
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
if (actualException instanceof InterruptedException) { return Outcome.INTERRUPT; } else { throw new AssertionError("unexpected exception", targetException); } } catch (IllegalAccessException e) { throw new AssertionError("unexpected exception", e); } } private void enterSatisfyGuardAndLeaveInCurrentThread() { monitor.enter(); try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 27.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
+ "expected = " + expected + ", actual = " + actual); } } public static void assertContentsInOrder(Iterable<?> actual, Object... expected) { assertEqualInOrder(asList(expected), actual); } public static void assertEqualIgnoringOrder(Iterable<?> expected, Iterable<?> actual) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
lockB.lock(); PotentialDeadlockException expected = assertThrows(PotentialDeadlockException.class, () -> lockA.lock()); checkMessage(expected, "LockB -> LockA", "LockA -> LockB"); firstException = expected; // Second time should also fail, with a cached causal chain. expected = assertThrows(PotentialDeadlockException.class, () -> lockA.lock()); checkMessage(expected, "LockB -> LockA", "LockA -> LockB");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
lockB.lock(); PotentialDeadlockException expected = assertThrows(PotentialDeadlockException.class, () -> lockA.lock()); checkMessage(expected, "LockB -> LockA", "LockA -> LockB"); firstException = expected; // Second time should also fail, with a cached causal chain. expected = assertThrows(PotentialDeadlockException.class, () -> lockA.lock()); checkMessage(expected, "LockB -> LockA", "LockA -> LockB");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
*/ fun newClient(): OkHttpClient { var client = testClient if (client == null) { client = initialClientBuilder() .dns(SINGLE_INET_ADDRESS_DNS) // Prevent unexpected fallback addresses. .eventListenerFactory { ClientRuleEventListener(logger = ::addEvent) } .build() connectionListener.forbidLock(RealConnectionPool.get(client.connectionPool))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
istioctl/pkg/version/version.go
node := cc.Node pi = append(pi, istioVersion.ProxyInfo{ ID: node.Id, IstioVersion: getIstioVersionFromXdsMetadata(node.Metadata), }) default: return nil, fmt.Errorf("unexpected resource type %q", resource.TypeUrl) } } return &pi, nil } } func getIstioVersionFromXdsMetadata(metadata *structpb.Struct) string { meta, err := model.ParseMetadata(metadata)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 21:11:35 UTC 2024 - 8.3K bytes - Viewed (0) -
tests/prepared_stmt_test.go
break } }(user.ID) wg.Add(1) go func() { defer wg.Done() <-writerFinish pdb.Reset() }() wg.Wait() if unexpectedError { t.Fatalf("should is a unexpected error") } } // TestPreparedStmtConcurrentClose test calling close and executing SQL concurrently // for example: one goroutine found error and just close the database, and others are executing SQL
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:02:05 UTC 2024 - 8.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
futures.add(executor.submit(new Registrator(bus, catchers))); } for (int i = 0; i < numberOfCatchers; i++) { futures.get(i).get(); } assertEquals("Unexpected number of catchers in the list", numberOfCatchers, catchers.size()); bus.post(EVENT); List<String> expectedEvents = ImmutableList.of(EVENT); for (StringCatcher catcher : catchers) { assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 11.2K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
try { decode(certificatePem) fail<Any>() } catch (expected: IllegalArgumentException) { assertThat(expected.message).isEqualTo("string does not include a private key") } try { decode(pkcs8Pem) fail<Any>() } catch (expected: IllegalArgumentException) { assertThat(expected.message).isEqualTo("string does not include a certificate") } try {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 22.5K bytes - Viewed (0)