Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for assertFalse (0.21 sec)

  1. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                functionalTests.forEach { assertTrue(it.getGradleTasks().startsWith("clean $subProjectName")) }
                if (functionalTests.size == 1) {
                    assertFalse(functionalTests[0].getGradleParams().contains("-PincludeTestClasses"))
                    assertFalse(functionalTests[0].getGradleParams().contains("-PexcludeTestClasses"))
                } else {
                    functionalTests.forEachIndexed { index, it ->
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Jan 02 10:00:06 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/platform/android/AndroidSocketAdapterTest.kt

        assumeFalse(adapter is StandardAndroidSocketAdapter)
    
        assertFalse(adapter.matchesSocketFactory(context.socketFactory))
        assertNull(adapter.trustManager(context.socketFactory))
      }
    
      @ParameterizedTest
      @MethodSource("data")
      fun testCustomSocket(adapter: SocketAdapter) {
        val socketFactory = DelegatingSSLSocketFactory(context.socketFactory)
    
        assertFalse(adapter.matchesSocketFactory(socketFactory))
    
        val sslSocket =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. .teamcity/src/test/kotlin/VersionedSettingsBranchTest.kt

    import common.VersionedSettingsBranch
    import org.junit.jupiter.api.Assertions
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.assertFalse
    import org.junit.jupiter.api.Assertions.assertNull
    import org.junit.jupiter.api.Assertions.assertTrue
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.CsvSource
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Jan 31 07:59:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ConscryptTest.kt

        assertTrue(ConscryptPlatform.atLeastVersion(version.major(), version.minor(), version.patch()))
        assertFalse(ConscryptPlatform.atLeastVersion(version.major(), version.minor(), version.patch() + 1))
        assertFalse(ConscryptPlatform.atLeastVersion(version.major(), version.minor() + 1))
        assertFalse(ConscryptPlatform.atLeastVersion(version.major() + 1))
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/PublicInternalApiTest.kt

    import okhttp3.internal.http.hasBody
    import org.junit.jupiter.api.Assertions.assertFalse
    import org.junit.jupiter.api.Assertions.assertTrue
    import org.junit.jupiter.api.Test
    
    @Suppress("DEPRECATION_ERROR")
    class PublicInternalApiTest {
      @Test
      fun permitsRequestBody() {
        assertTrue(permitsRequestBody("POST"))
        assertFalse(permitsRequestBody("GET"))
      }
    
      @Test
      fun requiresRequestBody() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt

        Assertions.assertTrue(pin.matchesHostname("gopher.example.co.uk"))
        Assertions.assertFalse(pin.matchesHostname("www.example.com"))
      }
    
      @Test
      fun testMatchesSha256() {
        val pin = CertificatePinner.Pin("example.com", certA1Sha256Pin)
        Assertions.assertTrue(pin.matchesCertificate(certA1.certificate))
        Assertions.assertFalse(pin.matchesCertificate(certB1.certificate))
      }
    
      @Test
      fun testMatchesSha1() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt

        assertTrue(pin.matchesHostname("gopher.example.co.uk"))
        assertFalse(pin.matchesHostname("www.example.com"))
      }
    
      @Test fun testMatchesSha256() {
        val pin = Pin("example.com", certA1Sha256Pin)
        assertTrue(pin.matchesCertificate(certA1.certificate))
        assertFalse(pin.matchesCertificate(certB1.certificate))
      }
    
      @Test fun testMatchesSha1() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.testkit.runner.UnexpectedBuildFailure
    import org.hamcrest.CoreMatchers
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Assert.assertFalse
    import org.junit.Assert.assertTrue
    import org.junit.Rule
    import org.junit.rules.TemporaryFolder
    import java.io.File
    import java.nio.file.Files
    
    
    abstract class AbstractBinaryCompatibilityTest {
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  9. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

            .build()
    
        client.get("https://www.facebook.com/robots.txt")
    
        if (Build.VERSION.SDK_INT < 24) {
          assertFalse(withHostCalled)
          assertTrue(withoutHostCalled)
        } else {
          assertTrue(withHostCalled)
          assertFalse(withoutHostCalled)
        }
      }
    
      @Test
      fun testUnderscoreRequest() {
        assumeNetwork()
    
        val request =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  10. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        assertAbsent("a")
        assertValue("b", "bb", "bbbb")
        assertValue("c", "c", "c")
    
        // Causing the size to grow to 10 should evict nothing.
        set("d", "d", "d")
        cache.flush()
        assertThat(cache.size()).isEqualTo(10)
        assertAbsent("a")
        assertValue("b", "bb", "bbbb")
        assertValue("c", "c", "c")
        assertValue("d", "d", "d")
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
Back to top