- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 1,199 for expectGet (0.09 sec)
-
android/guava-tests/test/com/google/common/net/HostSpecifierTest.java
fail("Should have thrown IllegalArgumentException: " + spec); } catch (IllegalArgumentException expected) { } try { HostSpecifier.from(spec); fail("Should have thrown ParseException: " + spec); } catch (ParseException expected) { assertThat(expected).hasCauseThat().isInstanceOf(IllegalArgumentException.class); } assertFalse(HostSpecifier.isValid(spec)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Feb 18 15:33:20 UTC 2022 - 3.7K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts
fun Task.isKotlinJsIrLink() = this.javaClass.simpleName.startsWith("KotlinJsIrLink") fun isMonitoredAsciidoctorTask() = false // No asciidoctor tasks are cacheable for now fun Project.isExpectedAsciidoctorCacheMiss() = // Expected cache-miss for asciidoctor task: // 1. CompileAll is the seed build for docs:distDocs // 2. BuildDistributions is the seed build for other asciidoctor tasks // 3. buildScanPerformance test, which doesn't depend on compileAll
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Mar 07 05:49:29 UTC 2024 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/PercentEscaperTest.java
String msg = "Alphanumeric characters are always 'safe' " + "and should not be explicitly specified"; IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> new PercentEscaper("-+#abc.!", false)); assertThat(expected).hasMessageThat().isEqualTo(msg); } public void testBadArguments_plusforspace() { // space can be a safe char if plusForSpace is false
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
/** Checks that the current state is equal to the expected state. */ @GuardedBy("monitor") private void checkCurrentState(State expected) { State actual = state(); if (actual != expected) { if (actual == FAILED) { // Handle this specially so that we can include the failureCause, if there is one. throw new IllegalStateException(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 20.4K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.7K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 13K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig_test.go
}) out := bytes.Buffer{} cmd.SetOut(&out) assert.NoError(t, cmd.Execute()) expected := util.ReadFile(t, "testdata/config_dump_summary.txt") if err := assert.Compare(out.String(), string(expected)); err != nil { t.Fatalf("Unexpected output for 'istioctl proxy-config all'\n got: %q\nwant: %q", out.String(), expected) } } func init() { cli.MakeKubeFactory = func(k kube.CLIClient) cmdutil.Factory {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Apr 10 21:51:29 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java
} public void testFailed() { Exception failureCause = new Exception(); ExecutionException expected = assertThrows(ExecutionException.class, () -> getDone(immediateFailedFuture(failureCause))); assertThat(expected).hasCauseThat().isEqualTo(failureCause); } public void testCancelled() throws ExecutionException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 2.3K bytes - Viewed (0) -
tests/sql_builder_test.go
expected = updatedAtRe.ReplaceAllString(expected, `"updated_at"=?`) // ignore RETURNING "id" (only in PostgreSQL) returningRe := regexp.MustCompile(`(?i)RETURNING "id"`) actually = returningRe.ReplaceAllString(actually, ``) expected = returningRe.ReplaceAllString(expected, ``) actually = strings.TrimSpace(actually) expected = strings.TrimSpace(expected)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 16.7K bytes - Viewed (0)