- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 665 for testLast (0.07 sec)
-
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) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
import com.google.common.testing.SerializableTester; import java.math.BigInteger; import junit.framework.TestCase; /** * Tests for {@code UnsignedLong}. * * @author Louis Wasserman */ @GwtCompatible(emulated = true) public class UnsignedLongTest extends TestCase { private static final ImmutableSet<Long> TEST_LONGS; private static final ImmutableSet<BigInteger> TEST_BIG_INTEGERS; static {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 10.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Random; import junit.framework.TestCase; /** * Tests for AbstractStreamingHasher. * * @author Dimitris Andreou */ public class AbstractStreamingHasherTest extends TestCase { public void testBytes() { Sink sink = new Sink(4); // 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 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import junit.framework.TestCase; /** * Test for {@link WrappingExecutorService} * * @author Chris Nokleberg */ public class WrappingExecutorServiceTest extends TestCase { private static final String RESULT_VALUE = "ran"; // Uninteresting delegations public void testDelegations() throws InterruptedException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 9.9K bytes - Viewed (0) -
istioctl/pkg/config/config_test.go
"fmt" "strings" "testing" "github.com/spf13/viper" "istio.io/istio/istioctl/pkg/util/testutil" "istio.io/istio/pkg/config/constants" ) func TestConfigList(t *testing.T) { cases := []testutil.TestCase{ //{ // case 0 // Args: strings.Split("get istioNamespace", " "), // ExpectedRegexp: regexp.MustCompile("Configure istioctl defaults"), // WantException: false, //}, { // case 1
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 1.8K bytes - Viewed (0)