- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 630 for EXPECTED (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/base/JoinerTest.java
Joiner joiner, Iterable<? extends @Nullable Integer> parts, String expected) { assertThat(joiner.join(parts)).isEqualTo(expected); assertThat(joiner.join(parts.iterator())).isEqualTo(expected); StringBuilder sb1FromIterable = new StringBuilder().append('x'); joiner.appendTo(sb1FromIterable, parts); assertThat(sb1FromIterable.toString()).isEqualTo("x" + expected);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 13.2K bytes - Click Count (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(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 20.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
ldapManager.init(); // Complex injection attempt should be fully escaped String injectionAttempt = "admin)(|(password=*"; String expected = "admin\\29\\28|\\28password=\\2a"; assertEquals(expected, ldapManager.escapeLDAPSearchFilter(injectionAttempt)); } @Test public void test_escapeLDAPSearchFilter_withAllSpecialCharacters() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java
} private static void assertHash(int seed, long expected1, long expected2, String stringInput) { HashCode expected = toHashCode(expected1, expected2); byte[] input = HashTestUtils.ascii(stringInput); assertEquals(expected, murmur3_128(seed).hashBytes(input)); assertEquals(expected, murmur3_128(seed).newHasher().putBytes(input).hash()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.3K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
.build(), ) val connection = server.url("/").toUrl().openConnection() try { connection.getInputStream().read() fail<Unit>() } catch (expected: IOException) { // Expected. } } @Test fun responseTimeout() { server.enqueue( MockResponse .Builder() .body("ABC") .clearHeaders()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Aug 03 22:38:00 GMT 2025 - 28K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
Map<Object, Object> expected = new LinkedHashMap<>(); for (int i = 0; i < alternatingKeysAndValues.length; i += 2) { expected.put(alternatingKeysAndValues[i], alternatingKeysAndValues[i + 1]); } assertThat(map).containsExactlyEntriesIn(expected).inOrder(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 21.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else { throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
} /** Awaits the latch and asserts that operation completed in the expected timeframe. */ final void awaitSuccessfully() { awaitLatchUninterruptibly(); completed.assertCompletionExpected(); assertEquals(0, getCount()); } /** * Awaits the latch with a timeout and asserts that operation completed in the expected * timeframe. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else { throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/20_contributor_feature_request.yml
Provide a brief summary of the issue in the title above - type: textarea id: expected-behavior attributes: label: Expected Behavior description: Tell us how it should work validations: required: true - type: textarea id: current-behavior attributes:Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Nov 27 15:48:22 GMT 2025 - 1.5K bytes - Click Count (0)