Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 507 for test_case (0.21 sec)

  1. 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;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for Striped.
     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class StripedTest extends TestCase {
      private static List<Striped<?>> strongImplementations() {
        return ImmutableList.of(
            Striped.readWriteLock(100),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/HostAndPortTest.java

    import com.google.common.testing.SerializableTester;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link HostAndPort}
     *
     * @author Paul Marks
     */
    @GwtCompatible
    @NullUnmarked
    public class HostAndPortTest extends TestCase {
    
      public void testFromStringWellFormed() {
        // Well-formed inputs.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. 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;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for Striped.
     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class StripedTest extends TestCase {
      private static List<Striped<?>> strongImplementations() {
        return ImmutableList.of(
            Striped.readWriteLock(100),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. cmd/sftp-server_test.go

    	return &MockConnMeta{username: username}
    }
    
    func TestSFTPAuthentication(t *testing.T) {
    	for i, testCase := range iamTestSuites {
    		t.Run(
    			fmt.Sprintf("Test: %d, ServerType: %s", i+1, testCase.ServerTypeDescription),
    			func(t *testing.T) {
    				c := &check{t, testCase.serverType}
    				suite := testCase
    
    				suite.SetUpSuite(c)
    
    				suite.SFTPServiceAccountLogin(c)
    				suite.SFTPInvalidServiceAccountPassword(c)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 27 18:43:32 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

    import java.util.Map.Entry;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test of {@link MutableClassToInstanceMap}.
     *
     * @author Kevin Bourrillion
     */
    @NullUnmarked
    public class MutableClassToInstanceMapTest extends TestCase {
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 18:34:30 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

    import java.util.Map;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests that the different algorithms benchmarked in {@link QuantilesBenchmark} are actually all
     * returning more-or-less the same answers.
     */
    @NullUnmarked
    public class QuantilesAlgorithmTest extends TestCase {
    
      private static final Random rng = new Random(82674067L);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java

    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@code ForwardingSet}.
     *
     * @author Robert Konigsberg
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ForwardingSetTest extends TestCase {
      static class StandardImplForwardingSet<T> extends ForwardingSet<T> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Unit test for {@link LinkedHashMultiset}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class LinkedHashMultisetTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Subscriber}.
     *
     * @author Cliff Biffle
     * @author Colin Decker
     */
    @NullUnmarked
    public class SubscriberTest extends TestCase {
    
      private static final Object FIXTURE_ARGUMENT = new Object();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.net.URLClassLoader;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests our AtomicHelper fallback strategies in AbstractFuture.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top