- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 656 for testCases (0.21 sec)
-
guava-tests/test/com/google/common/io/FlushablesTest.java
import java.io.IOException; import junit.framework.TestCase; /** * Unit tests for {@link Flushables}. * * <p>Checks proper flushing behavior, and ensures that IOExceptions on Flushable.flush() are not * propagated out from the {@link Flushables#flush} method if {@code swallowException} is true. * * @author Michael Lancaster */ public class FlushablesTest extends TestCase { private Flushable mockFlushable;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
import java.util.concurrent.CancellationException; import java.util.concurrent.Future; import junit.framework.TestCase; /** Unit tests for {@link Futures#getUnchecked(Future)}. */ @GwtCompatible(emulated = true) public class FuturesGetUncheckedTest extends TestCase { public void testGetUnchecked_success() { assertEquals("foo", getUnchecked(immediateFuture("foo"))); } @J2ktIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java
import java.util.concurrent.Executors; import java.util.concurrent.Future; import junit.framework.TestCase; /** * Basher test for {@link AtomicLongMap}. * * @author mike nonemacher */ @J2ktIncompatible // threads @GwtIncompatible // threads public class AtomicLongMapBasherTest extends TestCase { private final Random random = new Random(301); public void testModify_basher() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java
import java.util.List; import java.util.Map; import java.util.NavigableSet; import java.util.Set; import java.util.SortedSet; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; public class SafeTreeSetTest extends TestCase { public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(SafeTreeSetTest.class); suite.addTest(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeTraverserTest.java
import com.google.common.testing.NullPointerTester; import java.util.List; import junit.framework.TestCase; /** * Tests for {@code TreeTraverser}. * * @author Louis Wasserman */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class TreeTraverserTest extends TestCase { private static class Node { final char value; Node(char value) { this.value = value;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
import static org.junit.Assert.assertThrows; import java.io.ByteArrayOutputStream; import java.util.Random; import junit.framework.TestCase; /** * Tests for AbstractByteHasher. * * @author Colin Decker */ public class AbstractByteHasherTest extends TestCase { public void testBytes() { TestHasher hasher = new TestHasher(); // byte order insignificant here byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8};
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java
import java.util.Collections; import java.util.List; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestResult; /** * @author Max Ross */ public class FeatureSpecificTestSuiteBuilderTest extends TestCase { private static final class MyTestSuiteBuilder extends FeatureSpecificTestSuiteBuilder<MyTestSuiteBuilder, String> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheRefreshTest.java
import com.google.common.cache.TestingCacheLoaders.IncrementingLoader; import com.google.common.testing.FakeTicker; import junit.framework.TestCase; /** * Tests relating to automatic cache refreshing. * * @author Charles Fry */ public class CacheRefreshTest extends TestCase { public void testAutoRefresh() { FakeTicker ticker = new FakeTicker(); IncrementingLoader loader = incrementingLoader();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java
import java.util.Collection; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Tests for {@link ForwardingCollection}. * * @author Robert Konigsberg * @author Hayward Chan * @author Louis Wasserman */ public class ForwardingCollectionTest extends TestCase { static final class StandardImplForwardingCollection<T> extends ForwardingCollection<T> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java
import java.util.Queue; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@code ForwardingQueue}. * * @author Robert Konigsberg * @author Louis Wasserman */ public class ForwardingQueueTest extends TestCase { static final class StandardImplForwardingQueue<T> extends ForwardingQueue<T> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 4.2K bytes - Viewed (0)