- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 690 for testCase (0.08 sec)
-
guava-tests/test/com/google/common/base/SuppliersTest.java
import java.util.concurrent.atomic.AtomicReference; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests com.google.common.base.Suppliers. * * @author Laurence Gonsalves * @author Harry Heymann */ @ElementTypesAreNonnullByDefault @GwtCompatible(emulated = true) public class SuppliersTest extends TestCase { static class CountingSupplier implements Supplier<Integer> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
import com.google.common.base.Splitter; import java.io.IOException; import java.net.URL; import java.util.Iterator; import junit.framework.TestCase; /** * Unit tests for {@link Files#simplifyPath}. * * @author Pablo Bellver */ public class FilesSimplifyPathTest extends TestCase { public void testSimplifyEmptyString() { assertEquals(".", simplifyPath("")); } public void testSimplifyDot() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 10.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
import com.google.common.base.Splitter; import java.io.IOException; import java.net.URL; import java.util.Iterator; import junit.framework.TestCase; /** * Unit tests for {@link Files#simplifyPath}. * * @author Pablo Bellver */ public class FilesSimplifyPathTest extends TestCase { public void testSimplifyEmptyString() { assertEquals(".", simplifyPath("")); } public void testSimplifyDot() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 10.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumBiMapTest.java
import java.util.Set; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Tests for {@code EnumBiMap}. * * @author Mike Bostock * @author Jared Levy */ @J2ktIncompatible // EnumBimap @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class EnumBiMapTest extends TestCase { private enum Currency { DOLLAR, FRANC, PESO,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetOperationsTest.java
import java.util.Set; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit tests for {@link Sets#union}, {@link Sets#intersection} and {@link Sets#difference}. * * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class SetOperationsTest extends TestCase { @J2ktIncompatible @GwtIncompatible // suite
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 14.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StringsTest.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.testing.NullPointerTester; import junit.framework.TestCase; /** * Unit test for {@link Strings}. * * @author Kevin Bourrillion */ @ElementTypesAreNonnullByDefault @GwtCompatible(emulated = true) public class StringsTest extends TestCase { public void testNullToEmpty() { assertEquals("", Strings.nullToEmpty(null));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloserTest.java
import java.io.Closeable; import java.io.IOException; import java.util.List; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@link Closer}. * * @author Colin Decker */ public class CloserTest extends TestCase { private TestSuppressor suppressor; @Override protected void setUp() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 11.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsTest.java
import java.nio.ByteBuffer; import java.nio.ByteOrder; import junit.framework.TestCase; /** * Tests for {@link PairedStats}. This tests instances created by {@link * PairedStatsAccumulator#snapshot}. * * @author Pete Gillin */ public class PairedStatsTest extends TestCase { public void testCount() { assertThat(EMPTY_PAIRED_STATS.count()).isEqualTo(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 21:17:33 UTC 2024 - 14K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeoutException; import junit.framework.TestCase; /** * Unit test for {@link AbstractExecutionThreadService}. * * @author Jesse Wilson */ public class AbstractExecutionThreadServiceTest extends TestCase { private final TearDownStack tearDownStack = new TearDownStack(true); private final CountDownLatch enterRun = new CountDownLatch(1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 12.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; import junit.framework.TestCase; /** * Tests {@link SequentialExecutor}. * * @author JJ Furman */ public class SequentialExecutorTest extends TestCase { private static class FakeExecutor implements Executor { Queue<Runnable> tasks = Queues.newArrayDeque(); @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 11.4K bytes - Viewed (0)