- Sort Score
- Result 10 results
- Languages All
Results 551 - 560 of 6,075 for expect (0.05 sec)
-
cmd/server_test.go
} for k := range expectedMap { if v, ok := res.Header[k]; !ok { c.Errorf("Expected key %s missing from %v", k, res.Header) } else { expectedSet := set.CreateStringSet(expectedMap[k]...) gotSet := set.CreateStringSet(strings.Split(v[0], ", ")...) if !expectedSet.Equals(gotSet) { c.Errorf("Expected value %v, got %v", strings.Join(expectedMap[k], ", "), v) } } } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
RangeSet<Integer> expected = ImmutableRangeSet.<Integer>builder() .add(Range.closed(2, 3)) .add(Range.open(6, 7)) .add(Range.singleton(8)) .build(); assertThat(RANGE_SET_ONE.intersection(RANGE_SET_TWO)).isEqualTo(expected); } public void testDifference() { RangeSet<Integer> expected = ImmutableRangeSet.<Integer>builder()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 21.7K bytes - Viewed (0) -
cmd/api-resources_test.go
t.Errorf("Test %d: Expected error code:%d, got %d", i+1, testCase.errCode, errCode) } if prefix != testCase.prefix { t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.prefix, prefix) } if token != testCase.token { t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.token, token) } if startAfter != testCase.startAfter {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
* http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck/AbstractExecutorServiceTest.java?revision=1.30 * which contained the following notice: * * Written by Doug Lea with assistance from members of JCP JSR-166 * Expert Group and released to the public domain, as explained at * http://creativecommons.org/publicdomain/zero/1.0/ * Other contributors include Andrew Wright, Jeffrey Hayes, * Pat Fisher, Mike Judd. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 28K bytes - Viewed (0) -
cmd/signature-v4_test.go
}, "Policy": []string{"policy"}, }, expected: ErrNone, }, } // Run each test case individually. for i, testCase := range testCases { _, code := doesPolicySignatureMatch(testCase.form) if code != testCase.expected { t.Errorf("(%d) expected to get %s, instead got %s", i, niceError(testCase.expected), niceError(code)) } } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 10.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
* @param oldValue the expected data currently associated with the key, may be {@code null} * @param newValue the data to associate with the key, may be {@code null} to remove the mapping * @return {@code true} if the key mapping was successfully updated from the old value to the new value, * {@code false} if the current key mapping didn't match the expected value and was not updated. */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/failureurl/AdminFailureurlAction.java
// ============ /** * Verifies that the provided CRUD mode matches the expected mode. * * @param crudMode the actual CRUD mode provided * @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 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.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 - 10.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
try { MemoryUtil.byteCountToDisplaySize(-1L); // If no exception, verify it handles negative as expected } catch (Exception e) { // Expected for negative values } // Test boundary values assertEquals("1bytes", MemoryUtil.byteCountToDisplaySize(1L));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.9K bytes - Viewed (0)