- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 4,594 for expect (0.36 sec)
-
android/guava/src/com/google/common/reflect/TypeParameter.java
/* * A nullable bound would let users create a TypeParameter instance for a parameter with a nullable * bound. However, it would also let them create `new TypeParameter<@Nullable T>() {}`, which * wouldn't behave as users might expect. Additionally, it's not clear how the TypeToken API could * support even a "normal" `TypeParameter<T>` when `<T>` has a nullable bound. (See the discussion
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 05 17:43:40 GMT 2022 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactory.java
* * @param <S> the source or sink type * @param <T> the data type (byte[] or String) * @author Colin Decker */ public interface SourceSinkFactory<S, T> { /** * Returns the data to expect the source or sink to contain given the data that was used to create * the source or written to the sink. Typically, this will just return the input directly, but in
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanMapTest.java
assertThat(map.get("aaa"), is((Object) 1)); } /** * @throws Exception */ @Test public void testGet_NotContains() throws Exception { exception.expect(IllegalKeyOfBeanMapException.class); exception.expectMessage(is("[ECL0016]key[xxx] is not included in this BeanMap : {aaa=1, bbb=2}.")); final BeanMap map = new BeanMap(); map.put("aaa", 1);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java
} private void assertQueryBuilder(final String expect, final String text) throws Exception { QueryContext queryContext = assertQueryBuilder(null, null, text); List<SortBuilder<?>> sortBuilders = queryContext.sortBuilders(); assertEquals(1, sortBuilders.size()); logger.info("{} => {}", text, sortBuilders.get(0).toString()); assertEquals(expect, sortBuilders.get(0).toString().replaceAll("[\s\n]", ""));
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/FessLastaDocTest.java
if (className.contains(appWebPkg) && className.endsWith(actionSuffix)) { // ## Assert ## markHere("exists"); getComponent(clazz); // expect no exception } }); assertMarked("exists"); } */ // ===================================================================================
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
* remove) are supported. Null keys and values are supported. * * <p>{@code containsKey(k)}, {@code put(k, v)} and {@code remove(k)} are all (expected and * amortized) constant time operations. Expected in the hashtable sense (depends on the hash * function doing a good job of distributing the elements to the buckets to a distribution not far
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactory.java
* * @param <S> the source or sink type * @param <T> the data type (byte[] or String) * @author Colin Decker */ public interface SourceSinkFactory<S, T> { /** * Returns the data to expect the source or sink to contain given the data that was used to create * the source or written to the sink. Typically, this will just return the input directly, but in
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashSet.java
* elements, including {@code null}, are permitted. * * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized) * constant time operations. Expected in the hashtable sense (depends on the hash function doing a * good job of distributing the elements to the buckets to a distribution not far from uniform), and
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Feb 05 21:38:59 GMT 2024 - 9.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
public void testTimeoutOnGetWorksCorrectly() throws InterruptedException, ExecutionException { // The task thread waits for the latch, so we expect a timeout here. try { future.get(20, MILLISECONDS); fail("Should have timed out trying to get the value."); } catch (TimeoutException expected) { } finally { latch.countDown(); } } /**
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 18:30:30 GMT 2023 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
Callable<Object> callable = Callables.returning(value); assertSame(value, callable.call()); // Expect the same value on subsequent calls assertSame(value, callable.call()); } @J2ktIncompatible @GwtIncompatible public void testAsAsyncCallable() throws Exception { final String expected = "MyCallableString"; Callable<String> callable = new Callable<String>() { @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 5.4K bytes - Viewed (0)