Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 658 for testTask (0.1 sec)

  1. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

    import java.util.List;
    import java.util.Locale;
    import java.util.Random;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    import org.mockito.Mockito;
    
    /**
     * Tests for RateLimiter.
     *
     * @author Dimitris Andreou
     */
    public class RateLimiterTest extends TestCase {
      private static final double EPSILON = 1e-8;
    
      private final FakeStopwatch stopwatch = new FakeStopwatch();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/InvokableTest.java

    import java.util.Collections;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit tests for {@link Invokable}.
     *
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class InvokableTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.regex.MatchResult;
    import java.util.regex.Pattern;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link FreshValueGenerator}.
     *
     * @author Ben Yu
     */
    public class FreshValueGeneratorTest extends TestCase {
    
      @AndroidIncompatible // problem with equality of Type objects?
      public void testFreshInstance() {
        assertFreshInstances(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code LinkedListMultimap}.
     *
     * @author Mike Bostock
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class LinkedListMultimapTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/NamingTest.java

        }
    
    
        @Test
        @Ignore
        public void testWhitespaceSuffix () throws Exception {
            runFilenameTest("wssuffix ");
        }
    
    
        @Test
        @Ignore
        public void testHash () throws Exception {
            runFilenameTest("hash#tag");
        }
    
    
        private void runFilenameTest ( String... names ) throws CIFSException, UnknownHostException, MalformedURLException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/StatsTest.java

    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.util.DoubleSummaryStatistics;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link Stats}. This tests instances created by both {@link Stats#of} and {@link
     * StatsAccumulator#snapshot}.
     *
     * @author Pete Gillin
     */
    public class StatsTest extends TestCase {
    
      public void testCount() {
        assertThat(EMPTY_STATS_VARARGS.count()).isEqualTo(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/InetAddressesTest.java

    import java.net.NetworkInterface;
    import java.net.SocketException;
    import java.net.UnknownHostException;
    import java.util.Enumeration;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link InetAddresses}.
     *
     * @author Erik Kline
     */
    public class InetAddressesTest extends TestCase {
    
      public void testNulls() {
        NullPointerTester tester = new NullPointerTester();
    
        tester.testAllPublicStaticMethods(InetAddresses.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Tests for {@code TreeRangeMap}.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // NavigableMap
    public class TreeRangeMapTest extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(TreeRangeMapTest.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Oct 06 13:04:03 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/PredicatesTest.java

    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link Predicates}.
     *
     * @author Kevin Bourrillion
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class PredicatesTest extends TestCase {
      private static final Predicate<@Nullable Integer> TRUE = Predicates.alwaysTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link MoreObjects#toStringHelper(Object)}.
     *
     * @author Jason Lee
     */
    @GwtCompatible
    public class ToStringHelperTest extends TestCase {
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testConstructor_instance() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top