- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 903 for expects (0.45 sec)
-
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
fail(); } catch (IllegalArgumentException expected) { } } public void testCreateEmptyWithClass() { Multiset<Color> ms = EnumMultiset.create(ImmutableList.<Color>of(), Color.class); ms.add(Color.RED); } public void testCreateEmptyWithoutClassFails() { try { EnumMultiset.create(ImmutableList.<Color>of()); fail("Expected IllegalArgumentException");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 5.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java
* iterator generator may delegate the work of creating the underlying collection to an inner * collection generator. * * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide * a one-arg constructor accepting its inner generator as an argument. This requirement enables it
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 1.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java
import java.util.Set; import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code * SortedMultiset} implementation. * * <p><b>Warning:</b> expects that {@code E} is a String. * * @author Louis Wasserman */ @GwtIncompatible public class SortedMultisetTestSuiteBuilder<E> extends MultisetTestSuiteBuilder<E> {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 11.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java
import java.util.Set; import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code * SortedMultiset} implementation. * * <p><b>Warning:</b> expects that {@code E} is a String. * * @author Louis Wasserman */ @GwtIncompatible public class SortedMultisetTestSuiteBuilder<E> extends MultisetTestSuiteBuilder<E> {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java
fail(); } catch (IllegalArgumentException expected) { } } public void testCreateEmptyWithClass() { Multiset<Color> ms = EnumMultiset.create(ImmutableList.<Color>of(), Color.class); ms.add(Color.RED); } public void testCreateEmptyWithoutClassFails() { try { EnumMultiset.create(ImmutableList.<Color>of()); fail("Expected IllegalArgumentException");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java
* iterator generator may delegate the work of creating the underlying collection to an inner * collection generator. * * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide * a one-arg constructor accepting its inner generator as an argument. This requirement enables it
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
assertThrows(RejectedExecutionException.class, () -> executor.execute(Runnables.doNothing())); latch.countDown(); ExecutionException expected = assertThrows(ExecutionException.class, () -> first.get(10, TimeUnit.SECONDS)); assertThat(expected).hasCauseThat().isInstanceOf(RejectedExecutionException.class); } public void testToString() { final Runnable[] currentTask = new Runnable[1];
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
/* The names of the expected method that tests null checks. */ private static final ImmutableList<String> NULL_TEST_METHOD_NAMES = ImmutableList.of( "testNulls", "testNull", "testNullPointers", "testNullPointer", "testNullPointerExceptions", "testNullPointerException"); /* The names of the expected method that tests serializable. */
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri May 12 19:22:18 GMT 2023 - 17.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
assertThrows(RejectedExecutionException.class, () -> executor.execute(Runnables.doNothing())); latch.countDown(); ExecutionException expected = assertThrows(ExecutionException.class, () -> first.get(10, TimeUnit.SECONDS)); assertThat(expected).hasCauseThat().isInstanceOf(RejectedExecutionException.class); } public void testToString() { final Runnable[] currentTask = new Runnable[1];
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TableCollectorsTest.java
fail("Expected NullPointerException"); } catch (NullPointerException expected) { } collector = TableCollectors.toImmutableTable(Cell::getRowKey, Cell::getColumnKey, Cell::getValue); try { Stream.of(immutableCell("one", "uno", 1), immutableCell("one", "uno", (Integer) null)) .collect(collector); fail("Expected NullPointerException");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Mar 05 16:03:18 GMT 2024 - 11.7K bytes - Viewed (0)