Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,331 for junit4 (0.31 sec)

  1. mockwebserver-junit4/api/mockwebserver3-junit4.api

    public final class mockwebserver3/junit4/MockWebServerRule : org/junit/rules/ExternalResource {
    	public fun <init> ()V
    	public final fun getServer ()Lmockwebserver3/MockWebServer;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 16 22:36:18 UTC 2025
    - 183 bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.jvm.kt

     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    import org.junit.runner.Runner
    import org.junit.runner.notification.RunNotifier
    import org.junit.runners.JUnit4
    
    actual class PublicSuffixTestRunner(
      klass: Class<*>,
    ) : Runner() {
      private val delegate = JUnit4(klass)
    
      override fun getDescription() = delegate.description
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 23 16:58:05 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  3. settings.gradle.kts

    include(":mockwebserver-deprecated")
    project(":mockwebserver-deprecated").name = "mockwebserver"
    include(":mockwebserver-junit4")
    project(":mockwebserver-junit4").name = "mockwebserver3-junit4"
    include(":mockwebserver-junit5")
    project(":mockwebserver-junit5").name = "mockwebserver3-junit5"
    
    val androidBuild: String by settings
    val graalBuild: String by settings
    val loomBuild: String by settings
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:41:00 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. android-test/src/test/kotlin/okhttp/android/test/NonRobolectricOkHttpClientTest.kt

    import assertk.assertions.hasClass
    import assertk.assertions.hasMessage
    import assertk.assertions.isNotNull
    import java.io.IOException
    import org.junit.Test
    import org.junit.runner.RunWith
    import org.junit.runners.JUnit4
    
    /**
     * Android test running with only stubs.
     */
    @RunWith(JUnit4::class)
    class NonRobolectricOkHttpClientTest : BaseOkHttpClientUnitTest() {
      @Test
      override fun testPublicSuffixDb() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/SecurityConfigurationTest.java

    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertTrue;
    
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    import jcifs.CIFSException;
    import jcifs.DialectVersion;
    
    /**
     * Security configuration tests
     *
     * Verifies that default security settings are properly configured
     * according to SMB security best practices.
     */
    @RunWith(JUnit4.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt

     * limitations under the License.
     */
    package mockwebserver3.junit4
    
    import java.io.IOException
    import mockwebserver3.MockWebServer
    import org.junit.rules.ExternalResource
    
    /**
     * Runs MockWebServer for the duration of a single test method.
     *
     * In Java JUnit 4 tests (ie. tests annotated `@org.junit.Test`), use this by defining a field with
     * the `@Rule` annotation:
     *
     * ```java
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 16 22:36:18 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. mockwebserver-junit4/README.md

    MockWebServer for JUnit 4
    =========================
    
    This module integrates mockwebserver3.MockWebServer with JUnit 4.
    
    To use, first add this library as a test dependency:
    
    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:5.1.0")
    ```
    
    Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation:
    
    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 706 bytes
    - Viewed (0)
  8. CHANGELOG.md

    | com.squareup.okhttp3:mockwebserver3-junit4:5.0.0 | mockwebserver3.junit4 | Optional JUnit 4 integration.     |
    | com.squareup.okhttp3:mockwebserver3-junit5:5.0.0 | mockwebserver3.junit5 | Optional JUnit 5 integration.     |
    | com.squareup.okhttp3:mockwebserver:5.0.0         | okhttp3.mockwebserver | Obsolete. Depends on JUnit 4.     |
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (2)
  9. mockwebserver-junit5/api/mockwebserver3-junit5.api

    public abstract interface annotation class mockwebserver3/junit5/StartStop : java/lang/annotation/Annotation {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 11:13:17 UTC 2025
    - 114 bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt

    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.internal.buildCache
    import okhttp3.java.net.cookiejar.JavaNetCookieJar
    import okhttp3.okio.LoggingFilesystem
    import okhttp3.testing.PlatformRule
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top