- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 244 for testGet (0.43 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* have, of returning a new, independent iterator * </ul> * * <p>Because of this situation, any public method accepting an iterable should invoke the {@code * iterator} method only once, and should be tested using this class. Exceptions to this rule should * be clearly documented. * * <p>Note that although your APIs should be liberal in what they accept, your methods which
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java
import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.features.MapFeature; import java.util.Map; import org.junit.Ignore; /** * Tester for {@link Map#remove(Object, Object)}. Can't be invoked directly; please see {@link * com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java
public class AbstractSetTester<E> extends AbstractCollectionTester<E> { /* * Previously we had a field named set that was initialized to the value of * collection in setUp(), but that caused problems when a tester changed the * value of set or collection but not both. */ protected final Set<E> getSet() { return (Set<E>) collection; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
final EnumerationIterator<String> itr = new EnumerationIterator<String>(vector.elements()); itr.remove(); } /** * @throws Exception */ @Test public void testNext() throws Exception { final EnumerationIterator<String> itr = new EnumerationIterator<String>(new Vector<String>().elements()); assertThat(itr.hasNext(), is(not(true))); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(ImmutableMap.class); tester.testAllPublicInstanceMethods(new ImmutableMap.Builder<Object, Object>()); tester.testAllPublicInstanceMethods(ImmutableMap.of()); tester.testAllPublicInstanceMethods(ImmutableMap.of("one", 1)); tester.testAllPublicInstanceMethods(ImmutableMap.of("one", 1, "two", 2, "three", 3));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/CaseFormatTest.java
} } } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullArguments() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(CaseFormat.class); for (CaseFormat format : CaseFormat.values()) { tester.testAllPublicInstanceMethods(format); } } public void testLowerHyphenToLowerHyphen() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java
import java.util.Collection; import java.util.List; import org.jspecify.annotations.NullMarked; /** * Creates collections containing unhashable sample elements, to be tested. * * @author Regina O'Dell */ @GwtCompatible @NullMarked public abstract class TestUnhashableCollectionGenerator<T extends Collection<UnhashableObject>> implements TestCollectionGenerator<UnhashableObject> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StringsTest.java
throw new UnsupportedOperationException(); } } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(Strings.class); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 10.5K 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.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Creates sorted maps, containing sample elements, to be tested. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public interface TestSortedMapGenerator<K extends @Nullable Object, V extends @Nullable Object> extends TestMapGenerator<K, V> { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.9K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.1K bytes - Viewed (0)