- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 656 for testCases (0.1 sec)
-
guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
import java.util.NavigableSet; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@link ForwardingSortedMultiset}. * * @author Louis Wasserman */ public class ForwardingSortedMultisetTest extends TestCase { static class StandardImplForwardingSortedMultiset<E> extends ForwardingSortedMultiset<E> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashingTest.java
import static com.google.common.collect.Hashing.smear; import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; /** Tests for {@code Hashing}. */ @GwtCompatible @ElementTypesAreNonnullByDefault public class HashingTest extends TestCase { public void testSmear() { assertEquals(1459320713, smear(754102528)); assertEquals(-160560296, smear(1234567890));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AbstractIteratorTest.java
import java.lang.ref.WeakReference; import java.util.Iterator; import java.util.NoSuchElementException; import junit.framework.TestCase; /** * Unit test for {@code AbstractIterator}. * * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) public class AbstractIteratorTest extends TestCase { public void testDefaultBehaviorOfNextAndHasNext() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StopwatchTest.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.testing.FakeTicker; import junit.framework.TestCase; /** * Unit test for {@link Stopwatch}. * * @author Kevin Bourrillion */ @GwtCompatible public class StopwatchTest extends TestCase { private final FakeTicker ticker = new FakeTicker(); private final Stopwatch stopwatch = new Stopwatch(ticker);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheManualTest.java
import static java.util.Arrays.asList; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import junit.framework.TestCase; /** @author Charles Fry */ public class CacheManualTest extends TestCase { public void testGetIfPresent() { Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(); CacheStats stats = cache.stats();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 5.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
import com.google.common.testing.NullPointerTester; import java.io.ByteArrayInputStream; import java.util.Arrays; import junit.framework.TestCase; /** * Tests for {@link HashingInputStream}. * * @author Qian Huang */ public class HashingInputStreamTest extends TestCase { private Hasher hasher; private HashFunction hashFunction; private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 02 16:24:50 UTC 2020 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterators; import java.util.Iterator; import junit.framework.TestCase; /** * Tests for {@link SubscriberRegistry}. * * @author Colin Decker */ public class SubscriberRegistryTest extends TestCase { private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus()); public void testRegister() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
import java.util.concurrent.TimeoutException; import junit.framework.TestCase; /** * Tests for {@link FluentFuture}. The tests cover only the basics for the API. The actual logic is * tested in {@link FuturesTest}. */ @ElementTypesAreNonnullByDefault @GwtCompatible(emulated = true) public class FluentFutureTest extends TestCase { public void testFromFluentFuture() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
import java.util.Comparator; import junit.framework.AssertionFailedError; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit test for {@link ComparisonChain}. * * @author Kevin Bourrillion */ @GwtCompatible @ElementTypesAreNonnullByDefault public class ComparisonChainTest extends TestCase { private static final DontCompareMe DONT_COMPARE_ME = new DontCompareMe();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 13:27:08 UTC 2024 - 7.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java
import java.math.BigDecimal; import java.math.MathContext; import java.math.RoundingMode; import java.util.EnumMap; import java.util.EnumSet; import java.util.Map; import junit.framework.TestCase; @GwtIncompatible public class BigDecimalMathTest extends TestCase { private static final class RoundToDoubleTester { private final BigDecimal input; private final Map<RoundingMode, Double> expectedValues = new EnumMap<>(RoundingMode.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 10.6K bytes - Viewed (0)