Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 698 for testpass (0.05 sec)

  1. android/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)
  2. android/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)
  3. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

       * with a guard that doesn't match the monitor produces an IllegalMonitorStateException.
       */
      private static TestCase generateGuardWithWrongMonitorTestCase(
          final Method method, final boolean fair1, final boolean fair2) {
        final boolean timed = isTimed(method); // Not going to bother with all timeouts, just 0ms.
        return new TestCase(method.getName() + (timed ? "(0ms)" : "()") + "/WrongMonitor->IMSE") {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.List;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code GeneralRange}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class GeneralRangeTest extends TestCase {
      private static final Ordering<@Nullable Integer> ORDERING =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Collection tests on wrappers from {@link Multisets}.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // suite // TODO(cpovirk): set up collect/gwt/suites version
    public class MultisetsCollectionTest extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.SerializableTester;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link HostAndPort}
     *
     * @author Paul Marks
     */
    @GwtCompatible
    public class HostAndPortTest extends TestCase {
    
      public void testFromStringWellFormed() {
        // Well-formed inputs.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

    import com.google.common.hash.HashTestUtils.HashFn;
    import java.nio.charset.Charset;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /** Tests for {@link Murmur3_32HashFunction}. */
    public class Murmur3Hash32Test extends TestCase {
      public void testKnownIntegerInputs() {
        assertHash(593689054, murmur3_32().hashInt(0));
        assertHash(-189366624, murmur3_32().hashInt(-42));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:29:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import junit.framework.TestCase;
    
    /**
     * Tests for Striped.
     *
     * @author Dimitris Andreou
     */
    public class StripedTest extends TestCase {
      private static List<Striped<?>> strongImplementations() {
        return ImmutableList.of(
            Striped.readWriteLock(100),
            Striped.readWriteLock(256),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ForwardingMultisetTest.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 {@link ForwardingMultiset}.
     *
     * @author Hayward Chan
     * @author Louis Wasserman
     */
    public class ForwardingMultisetTest extends TestCase {
    
      static final class StandardImplForwardingMultiset<T> extends ForwardingMultiset<T> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/EnumsTest.java

    import java.net.URL;
    import java.net.URLClassLoader;
    import java.util.HashSet;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link Enums}.
     *
     * @author Steve McKay
     */
    @GwtIncompatible
    @J2ktIncompatible
    public class EnumsTest extends TestCase {
    
      private enum TestEnum {
        CHEETO,
        HONDA,
        POODLE,
      }
    
      public void testGetIfPresent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top