- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 258 for test_b (0.18 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) -
cmd/test-utils_test.go
// This makes it easy to run the TestServer from any of the tests. // Using this interface, functionalities to be used in tests can be // made generalized, and can be integrated in benchmarks/unit tests/go check suite tests. type TestErrHandler interface { testing.TB } const ( // ErasureSDStr is the string which is used as notation for Single node ObjectLayer in the unit tests. ErasureSDStr string = "ErasureSD"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K 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-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) -
android/guava-testlib/src/com/google/common/collect/testing/TestSetGenerator.java
import com.google.common.annotations.GwtCompatible; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; /** * Creates sets, containing sample elements, to be tested. * * @author Kevin Bourrillion */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface TestSetGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.1K bytes - Viewed (0)