- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 152 for testNew (0.24 sec)
-
android/guava-tests/test/com/google/common/collect/CountTest.java
import org.jspecify.annotations.NullMarked; /** * Tests for {@code Count}. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public class CountTest extends TestCase { public void testGet() { assertEquals(20, new Count(20).get()); } public void testGetAndAdd() { Count holder = new Count(20); assertEquals(20, holder.get()); holder.add(1); assertEquals(21, holder.get());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CountTest.java
import org.jspecify.annotations.NullMarked; /** * Tests for {@code Count}. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public class CountTest extends TestCase { public void testGet() { assertEquals(20, new Count(20).get()); } public void testGetAndAdd() { Count holder = new Count(20); assertEquals(20, holder.get()); holder.add(1); assertEquals(21, holder.get());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java
assertEquals(ImmutableSet.of(1), testTable.columnKeySet()); } public void testColumnMap() { assertEquals(ImmutableMap.of(1, ImmutableMap.of('a', "blah")), testTable.columnMap()); } public void testRow() { assertEquals(ImmutableMap.of(), testTable.row('A')); assertEquals(ImmutableMap.of(1, "blah"), testTable.row('a')); } public void testRowKeySet() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
/** */ public static final int INT_DATA = 987654321; /** */ public static final String STRING_DATA = "Hello World!"; /** * @throws Exception */ @Test public void testGet() throws Exception { final Field field = getClass().getField("objectField"); final Integer testData = Integer.valueOf(123); FieldUtil.set(field, this, testData);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java
immutableCell('b', 2, "blah"), immutableCell('c', 3, "blah"))) instanceof SparseImmutableTable<?, ?, ?>); } public void testGet() { for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { assertEquals("foo", testInstance.get('a', 1)); assertEquals("bar", testInstance.get('b', 1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
assertTrue(table.containsValue('b')); assertTrue(table.containsValue('c')); assertFalse(table.containsValue('x')); assertFalse(table.containsValue(null)); } public void testGet() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertEquals((Character) 'a', table.get("foo", 1)); assertEquals((Character) 'b', table.get("bar", 1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with * the same parameters forwarded and return value forwarded back or exception propagated as is. * * <p>For example: * * {@snippet :
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0)