- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 434 for expect (0.57 sec)
-
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
this.spliteratorSuppliers = checkNotNull(spliteratorSuppliers); } @SafeVarargs @CanIgnoreReturnValue public final Ordered expect(Object... elements) { return expect(Arrays.asList(elements)); } @CanIgnoreReturnValue public final Ordered expect(Iterable<?> elements) { List<List<E>> resultsForAllStrategies = new ArrayList<>();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 22 18:19:31 UTC 2024 - 11.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
} catch (AssertionError expected) { return; } fail(); } private static final class ThrowingIterator<E> implements Iterator<E> { private final RuntimeException ex; private ThrowingIterator(RuntimeException ex) { this.ex = ex; } @Override public boolean hasNext() { // IteratorTester doesn't expect exceptions for hasNext().
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* Reference iterator returned a value, so we should expect the * same value from the target */ assertEquals(referenceReturnValue, targetReturnValue); return; } if (targetException == null) { fail("Target failed to throw " + referenceException); } /* * Reference iterator threw an exception, so we should expect an acceptable * exception from the target.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 20.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/LongMathTest.java
fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { } } } public void testFloorPowerOfTwoNegative() { for (long x : NEGATIVE_LONG_CANDIDATES) { try { LongMath.floorPowerOfTwo(x); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { } } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 04 20:15:57 UTC 2024 - 32.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
out.write(bytes, 4, 2); byte[] expected = {bytes[4], bytes[5]}; assertThat(out.toByteArray()).isEqualTo(expected); } public void testNewDataOutput_writeBoolean() { ByteArrayDataOutput out = ByteStreams.newDataOutput(); out.writeBoolean(true); out.writeBoolean(false); byte[] expected = {(byte) 1, (byte) 0}; assertThat(out.toByteArray()).isEqualTo(expected); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 21.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 21.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
public static MultimapBuilderWithKeys<@Nullable Object> hashKeys() { return hashKeys(DEFAULT_EXPECTED_KEYS); } /** * Uses a hash table to map keys to value collections, initialized to expect the specified number * of keys. * * @throws IllegalArgumentException if {@code expectedKeys < 0} */ public static MultimapBuilderWithKeys<@Nullable Object> hashKeys(int expectedKeys) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 17.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/MultimapBuilder.java
public static MultimapBuilderWithKeys<@Nullable Object> hashKeys() { return hashKeys(DEFAULT_EXPECTED_KEYS); } /** * Uses a hash table to map keys to value collections, initialized to expect the specified number * of keys. * * @throws IllegalArgumentException if {@code expectedKeys < 0} */ public static MultimapBuilderWithKeys<@Nullable Object> hashKeys(int expectedKeys) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 17.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java
BigIntegerMath.divide(p, ZERO, mode); fail("Expected ArithmeticException"); } catch (ArithmeticException expected) { } } } } public void testFactorial() { BigInteger expected = BigInteger.ONE; for (int i = 1; i <= 200; i++) { expected = expected.multiply(BigInteger.valueOf(i)); assertEquals(expected, BigIntegerMath.factorial(i)); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 17:58:33 UTC 2024 - 27.8K bytes - Viewed (0) -
guava/src/com/google/common/net/HttpHeaders.java
* name. * * @since 27.0 */ public static final String EARLY_DATA = "Early-Data"; /** The HTTP {@code Expect} header field name. */ public static final String EXPECT = "Expect"; /** The HTTP {@code From} header field name. */ public static final String FROM = "From"; /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 01 18:44:57 UTC 2024 - 34.3K bytes - Viewed (0)