Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for annotation (5.28 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/SuppressSignatureCheck.kt

     */
    package okhttp3.internal
    
    import java.lang.annotation.Documented
    import kotlin.annotation.AnnotationRetention.BINARY
    import kotlin.annotation.AnnotationTarget.CLASS
    import kotlin.annotation.AnnotationTarget.CONSTRUCTOR
    import kotlin.annotation.AnnotationTarget.FUNCTION
    
    @Retention(BINARY)
    @Documented
    @Target(CONSTRUCTOR, CLASS, FUNCTION)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 990 bytes
    - Viewed (0)
  2. okhttp-android/build.gradle.kts

    dependencies {
      api(libs.squareup.okio)
      api(projects.okhttp)
      api(projects.loggingInterceptor)
      compileOnly(libs.androidx.annotation)
      compileOnly(libs.findbugs.jsr305)
      debugImplementation(libs.androidx.annotation)
      debugImplementation(libs.findbugs.jsr305)
      compileOnly(libs.animalsniffer.annotations)
      compileOnly(libs.robolectric.android)
    
      testImplementation(libs.junit)
      testImplementation(libs.junit.ktx)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/testing/Flaky.kt

     */
    package okhttp3.testing
    
    @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
    @Retention(AnnotationRetention.RUNTIME)
    /**
     * Annotation marking a test as flaky, and requires extra logging and linking against
     * a known github issue.  This does not ignore the failure.
     */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 902 bytes
    - Viewed (0)
  4. gradle/libs.versions.toml

    androidx-activity = "androidx.activity:activity-ktx:1.9.0"
    androidx-annotation = "androidx.annotation:annotation:1.7.1"
    androidx-espresso-core = "androidx.test.espresso:espresso-core:3.5.1"
    androidx-junit = "androidx.test.ext:junit:1.1.5"
    androidx-test-runner = "androidx.test:runner:1.5.2"
    animalsniffer-annotations = "org.codehaus.mojo:animal-sniffer-annotations:1.23"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 22 19:34:32 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import android.annotation.SuppressLint
    import java.io.IOException
    import java.net.InetSocketAddress
    import java.net.Socket
    import java.security.GeneralSecurityException
    import java.security.KeyStore
    import java.security.Security
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  6. okhttp/src/main/resources/META-INF/proguard/okhttp3.pro

    # JSR 305 annotations are for embedding nullability information.
    -dontwarn javax.annotation.**
    
    # A resource is loaded with a relative path so the package of this class must be preserved.
    -keeppackagenames okhttp3.internal.publicsuffix.*
    -adaptresourcefilenames okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz
    
    # Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
    -dontwarn org.codehaus.mojo.animal_sniffer.*
    
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 682 bytes
    - Viewed (0)
  7. okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.C.6.txt

       FFF9; INTERLINEAR ANNOTATION ANCHOR
       FFFA; INTERLINEAR ANNOTATION SEPARATOR
       FFFB; INTERLINEAR ANNOTATION TERMINATOR
       FFFC; OBJECT REPLACEMENT CHARACTER
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 193 bytes
    - Viewed (0)
  8. mockwebserver-junit4/README.md

    Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation:
    
    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instance
    will be shut down automatically after the test runs.
    
    For Kotlin, the `@JvmField` annotation is also necessary:
    
    ```
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 707 bytes
    - Viewed (1)
  9. okhttp-android/src/test/kotlin/okhttp3/android/RobolectricOkHttpClientTest.kt

    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
      private lateinit var client: OkHttpClient
    
      @Before
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt

     *
     * In Java JUnit 4 tests (ie. tests annotated `@org.junit.Test`), use this by defining a field with
     * the `@Rule` annotation:
     *
     * ```java
     * @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
     * ```
     *
     * For Kotlin the `@JvmField` annotation is also necessary:
     *
     * ```kotlin
     * @JvmField @Rule val serverRule = MockWebServerRule()
     * ```
     */
    @ExperimentalOkHttpApi
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 1.8K bytes
    - Viewed (1)
Back to top