- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 656 for testCases (0.1 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
import static org.junit.Assert.assertThrows; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import junit.framework.TestCase; /** * Unit test for {@link FakeTimeLimiter}. * * @author Jens Nyman */ public class FakeTimeLimiterTest extends TestCase { private static final int DELAY_MS = 50; private static final String RETURN_VALUE = "abc"; private TimeLimiter timeLimiter;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeVisitorTest.java
import java.lang.reflect.TypeVariable; import java.lang.reflect.WildcardType; import java.util.ArrayList; import java.util.EnumSet; import junit.framework.TestCase; /** * Tests of {@link TypeVisitor}. * * @author Ben Yu */ public class TypeVisitorTest extends TestCase { public void testVisitNull() { new BaseTypeVisitor() .visit(((ParameterizedType) ArrayList.class.getGenericSuperclass()).getOwnerType());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
import com.google.common.base.Predicate; import java.util.Map.Entry; import junit.framework.TestCase; /** * Unit tests for {@link Multimaps} filtering methods. * * @author Jared Levy */ @GwtIncompatible // nottested public class FilteredMultimapTest extends TestCase { private static final Predicate<Entry<String, Integer>> ENTRY_PREDICATE = new Predicate<Entry<String, Integer>>() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java
import java.util.Map.Entry; import java.util.NavigableMap; import java.util.SortedMap; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Tests for SafeTreeMap. * * @author Louis Wasserman */ public class SafeTreeMapTest extends TestCase { public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(SafeTreeMapTest.class); suite.addTest(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Mar 18 18:06:40 UTC 2022 - 4.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java
import java.util.Map.Entry; import java.util.NavigableMap; import java.util.SortedMap; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Tests for SafeTreeMap. * * @author Louis Wasserman */ public class SafeTreeMapTest extends TestCase { public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(SafeTreeMapTest.class); suite.addTest(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Mar 18 18:06:40 UTC 2022 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java
import com.google.common.annotations.GwtCompatible; import java.util.Map.Entry; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@code AbstractMapEntry}. * * @author Mike Bostock */ @GwtCompatible @ElementTypesAreNonnullByDefault public class AbstractMapEntryTest extends TestCase { private static final @Nullable String NK = null;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/URLUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.net; import java.io.File; import java.net.URL; import junit.framework.TestCase; /** * @author taichi * */ public class URLUtilTest extends TestCase { /** * @throws Exception */ public void testEncode() throws Exception { assertEquals("Program+Files", URLUtil.encode("Program Files", "UTF-8"));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.timer; import junit.framework.TestCase; /** * @author higa * */ public class TimeoutManagerTest extends TestCase { private int expiredCount; protected void setUp() throws Exception { expiredCount = 0; TimeoutManager.getInstance().clear(); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.1K bytes - Viewed (0) -
android/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/cache/CacheLoaderTest.java
import java.util.concurrent.Executor; import java.util.concurrent.Future; import java.util.concurrent.atomic.AtomicInteger; import junit.framework.TestCase; /** * Unit tests for {@link CacheLoader}. * * @author Charles Fry */ public class CacheLoaderTest extends TestCase { private static class QueuingExecutor implements Executor { private final Deque<Runnable> tasks = Queues.newArrayDeque(); @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 3.6K bytes - Viewed (0)