- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 440 for test_case (0.15 sec)
-
guava-tests/test/com/google/common/collect/CountTest.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; 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() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/UnmodifiableIteratorTest.java
import java.util.Iterator; import java.util.NoSuchElementException; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** * Tests for {@link UnmodifiableIterator}. * * @author Jared Levy */ @GwtCompatible @NullMarked public class UnmodifiableIteratorTest extends TestCase { @SuppressWarnings("DoNotCall") public void testRemove() { String[] array = {"a", "b", "c"};
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
import java.util.Collections; import java.util.Iterator; import java.util.NoSuchElementException; import junit.framework.TestCase; /** * Unit test for {@link MinimalIterable}. * * @author Kevin Bourrillion */ @GwtCompatible public class MinimalIterableTest extends TestCase { public void testOf_empty() { Iterable<String> iterable = MinimalIterable.<String>of();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StopwatchTest.java
import com.google.common.testing.FakeTicker; import java.time.Duration; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Stopwatch}. * * @author Kevin Bourrillion */ @GwtCompatible @NullUnmarked public class StopwatchTest extends TestCase { private final FakeTicker ticker = new FakeTicker();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link UnicodeEscaper}. * * @author David Beaumont */ @GwtCompatible @NullUnmarked public class UnicodeEscaperTest extends TestCase { private static final String SMALLEST_SURROGATE =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
import com.google.common.collect.ImmutableSet; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link SipHashFunction}. * * @author Kurt Alfred Kluever */ @NullUnmarked public class SipHashFunctionTest extends TestCase { // From https://131002.net/siphash/siphash24.c // k = 00 01 02 ...
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link UnicodeEscaper}. * * @author David Beaumont */ @GwtCompatible @NullUnmarked public class UnicodeEscaperTest extends TestCase { private static final String SMALLEST_SURROGATE =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
import java.util.concurrent.Executor; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Test for {@link FutureCallback}. * * @author Anthony Zana */ @GwtCompatible @NullUnmarked public class FutureCallbackTest extends TestCase { public void testSameThreadSuccess() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
import java.util.concurrent.atomic.AtomicInteger; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** Test case for {@link TrustedListenableFutureTask}. */ @NullMarked @GwtCompatible public class TrustedListenableFutureTaskTest extends TestCase { public void testSuccessful() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
import java.util.ListIterator; import java.util.NoSuchElementException; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** * Tests for UnmodifiableListIterator. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public class UnmodifiableListIteratorTest extends TestCase { @SuppressWarnings("DoNotCall") public void testRemove() { Iterator<String> iterator = create();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 2.8K bytes - Viewed (0)