Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for RunWith (0.17 sec)

  1. okhttp-android/src/test/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

    import java.net.UnknownHostException
    import okhttp3.AsyncDns
    import org.junit.Test
    import org.junit.runner.RunWith
    import org.robolectric.RobolectricTestRunner
    import org.robolectric.annotation.Config
    import org.robolectric.shadow.api.Shadow
    
    @Config(shadows = [ShadowDnsResolver::class], sdk = [34])
    @RunWith(RobolectricTestRunner::class)
    class AndroidAsyncDnsTest {
      @Test
      fun testDnsRequestInvalid() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 22 20:07:09 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt

    import org.apache.hc.core5.http.HttpVersion
    import org.junit.After
    import org.junit.Assert.assertEquals
    import org.junit.Test
    import org.junit.runner.RunWith
    
    /**
     * Apache HttpClient 5.x.
     *
     * https://hc.apache.org/httpcomponents-client-5.0.x/index.html
     */
    @RunWith(AndroidJUnit4::class)
    class ApacheHttpClientTest {
      private var httpClient = HttpClients.createDefault()
    
      @After fun tearDown() {
        httpClient.close()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

    import java.util.Arrays;
    import java.util.Collection;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    public final class GraphEquivalenceTest {
      private static final Integer N1 = 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

    import java.util.Arrays;
    import java.util.Collection;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    public final class GraphEquivalenceTest {
      private static final Integer N1 = 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

    import com.google.common.collect.ImmutableSet;
    import java.util.HashSet;
    import java.util.Set;
    import org.junit.Before;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    @RunWith(JUnit4.class)
    public final class InvalidatableSetTest {
      Set<Integer> wrappedSet;
      Set<Integer> copyOfWrappedSet;
      InvalidatableSet<Integer> setToTest;
    
      @Before
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. okhttp-android/src/test/kotlin/okhttp3/android/RobolectricOkHttpClientTest.kt

    import okio.fakefilesystem.FakeFileSystem
    import org.junit.AssumptionViolatedException
    import org.junit.Before
    import org.junit.Test
    import org.junit.runner.RunWith
    import org.robolectric.RobolectricTestRunner
    import org.robolectric.annotation.Config
    
    @RunWith(RobolectricTestRunner::class)
    @Config(
      sdk = [30],
    )
    class RobolectricOkHttpClientTest {
      private lateinit var context: Context
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

    import java.util.Collections;
    import java.util.List;
    import java.util.Random;
    import java.util.RandomAccess;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for repeated node and edge addition and removal in a {@link Network}. */
    @RunWith(JUnit4.class)
    
    public final class NetworkMutationTest {
      private static final int NUM_TRIALS = 5;
      private static final int NUM_NODES = 20;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

    import okio.Buffer
    import org.junit.After
    import org.junit.Assert.assertEquals
    import org.junit.Assert.assertTrue
    import org.junit.Test
    import org.junit.runner.RunWith
    
    /**
     * Android HttpEngine.
     */
    @RunWith(AndroidJUnit4::class)
    @SdkSuppress(minSdkVersion = 34)
    class AndroidHttpEngineTest {
      val context = InstrumentationRegistry.getInstrumentation().context
    
      val cacheDir =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 24 13:19:43 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/OplockTests.java

    package jcifs.tests;
    
    
    import java.io.IOException;
    import java.net.UnknownHostException;
    import java.util.Collection;
    import java.util.Map;
    
    import org.junit.Assume;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    import jcifs.CIFSContext;
    import jcifs.SmbConstants;
    import jcifs.SmbSession;
    import jcifs.internal.smb1.com.SmbComClose;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

    import com.google.common.collect.ImmutableSet;
    import java.util.HashSet;
    import java.util.Set;
    import org.junit.Before;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    @RunWith(JUnit4.class)
    public final class InvalidatableSetTest {
      Set<Integer> wrappedSet;
      Set<Integer> copyOfWrappedSet;
      InvalidatableSet<Integer> setToTest;
    
      @Before
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top