- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 351 for testOf (0.07 sec)
-
guava/src/com/google/common/collect/CollectPreconditions.java
} static void checkPositive(int value, String name) { if (value <= 0) { throw new IllegalArgumentException(name + " must be positive but was: " + value); } } /** * Precondition tester for {@code Iterator.remove()} that throws an exception with a consistent * error message. */ static void checkRemove(boolean canRemove) { checkState(canRemove, "no calls to next() since the last call to remove()");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 30 10:33:07 UTC 2021 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java
import java.util.Map.Entry; import java.util.SortedMap; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates sorted maps, containing sample elements, to be tested. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface TestSortedMapGenerator<K extends @Nullable Object, V extends @Nullable Object> extends TestMapGenerator<K, V> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
FreshValueGenerator generator = new FreshValueGenerator(); EqualsTester tester = new EqualsTester(); for (int i = 0; i < instances; i++) { tester.addEqualityGroup(generator.generateFresh(type)); } tester.testEquals(); } private static <T> void assertEqualInstance(Class<T> type, T value) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 17.2K bytes - Viewed (0) -
fess-crawler/src/test/resources/extractor/gz/test.tar.gz
test.tar data/folder/file.html テスト data/file.txt テキスト...
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 351 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java
import com.google.common.collect.testing.features.MapFeature; import java.util.Iterator; import org.junit.Ignore; /** * Tester for {@code BiMap.remove}. * * @author Louis Wasserman */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class BiMapRemoveTester<K, V> extends AbstractBiMapTester<K, V> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsEntryTester.java
import com.google.common.collect.testing.features.MapFeature; import org.junit.Ignore; /** * Tester for {@link Multimap#containsEntry}. * * @author Louis Wasserman */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultimapContainsEntryTester<K, V>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
// Maps.filterValues() are not tested with removeIf() since Maps are not // Iterable. Those returned by Iterators.filter() and Iterables.filter() // are not tested because they are unmodifiable. public void testConsumingIterable() { // Test data List<String> list = Lists.newArrayList(asList("a", "b")); // Test & Verify
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:12:33 UTC 2024 - 45K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
import com.google.common.collect.ForwardingObject; import com.google.common.collect.Iterables; import com.google.common.testing.ForwardingWrapperTester; import java.lang.reflect.Method; import java.util.Arrays; /** * Tester for typical subclass of {@link ForwardingObject} by using Mockito. * * @author Ben Yu */ final class ForwardingObjectTester { private static final Method DELEGATE_METHOD; static { try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 05 19:41:03 UTC 2023 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/PackageSanityTests.java
* * @author Ben Yu */ public class PackageSanityTests extends AbstractPackageSanityTests { public PackageSanityTests() { publicApiOnly(); // Many package-private classes are tested through the public API. setDefault(DiscreteDomain.class, DiscreteDomain.integers()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Apr 21 02:27:51 UTC 2017 - 1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestIteratorGenerator.java
* limitations under the License. */ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; import java.util.Iterator; /** * Creates iterators to be tested. * * @param <E> the element type of the iterator. * @author George van den Driessche */ @GwtCompatible public interface TestIteratorGenerator<E> { Iterator<E> get();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 938 bytes - Viewed (0)