- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 244 for testGet (0.15 sec)
-
android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
} public void testChecksForNull() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods( new HashingOutputStream(Hashing.md5(), new ByteArrayOutputStream())); tester.testAllPublicStaticMethods(HashingOutputStream.class); tester.testAllPublicConstructors(HashingOutputStream.class); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
// This benchmark has no concept of "noWorkToDo". String upperString = testString.toUpperCase(); CharSequence testSeq = new StringBuilder(testString); CharSequence upperSeq = new StringBuilder(upperString); CharSequence[] lhs = new CharSequence[] {testString, testSeq, testString, testSeq}; CharSequence[] rhs = new CharSequence[] {upperString, upperString, upperSeq, upperSeq}; boolean dummy = false;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java
/** * @see org.junit.rules.ExpectedException */ @Rule public ExpectedException exception = ExpectedException.none(); /** * */ @Test public void testNext() { final ArrayIterator<String> itr = new ArrayIterator<String>("a", "b", "c"); assertThat(itr.next(), equalTo("a")); assertThat(itr.next(), equalTo("b")); assertThat(itr.next(), equalTo("c"));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
assertEquals("b", iterator.next()); assertEquals("b", iterator.previous()); assertThrows(UnsupportedOperationException.class, () -> iterator.add("c")); } @SuppressWarnings("DoNotCall") public void testSet() { ListIterator<String> iterator = create(); assertTrue(iterator.hasNext()); assertEquals("a", iterator.next()); assertEquals("b", iterator.next()); assertEquals("b", iterator.previous());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.ArrayList; import java.util.List; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tester for equals() and hashCode() methods of a class. * * <p>The simplest use case is: * * <pre> * new EqualsTester().addEqualityGroup(foo).testEquals(); * </pre> *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
for (@SuppressWarnings("unused") Object obj : iterable) {} } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointerExceptions() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicStaticMethods(Iterables.class); } // More exhaustive tests are in IteratorsTest. public void testElementsEqual() throws Exception { Iterable<?> a; Iterable<?> b;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
} public void test_ProtwordsUpdater_write_normalItem() { protwordsFile.reload(null); // Create updater with a new item ProtwordsItem newItem = new ProtwordsItem(0, "testNew"); ProtwordsFile.ProtwordsUpdater updater = protwordsFile.new ProtwordsUpdater(newItem); // Write an existing item (should pass through) ProtwordsItem existingItem = new ProtwordsItem(10, "existing");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
} public void testChecksForNull() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(new HashingInputStream(Hashing.md5(), buffer)); tester.testAllPublicStaticMethods(HashingInputStream.class); tester.testAllPublicConstructors(HashingInputStream.class); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
} public void testChecksForNull() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(new HashingInputStream(Hashing.md5(), buffer)); tester.testAllPublicStaticMethods(HashingInputStream.class); tester.testAllPublicConstructors(HashingInputStream.class); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5K bytes - Viewed (0) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 938 bytes - Viewed (0)