Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 169 for confirm (0.26 sec)

  1. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

        assertThat(compactTable.mappings.length).isLessThan(1 shl 14)
    
        // Confirm the data strings are ASCII.
        for (dataString in listOf<String>(compactTable.sections, compactTable.ranges)) {
          for (codePoint in dataString.codePoints()) {
            assertThat(codePoint and 0x7f).isEqualTo(codePoint)
          }
        }
    
        // Confirm the sections are increasing.
        val rangesIndices = mutableListOf<Int>()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallKotlinTest.kt

          )
        val responseB = client.newCall(requestB).execute()
        assertThat(responseB.body.string()).isEqualTo("b")
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
      }
    
      /** Confirm suppressed exceptions that occur while connecting are returned. */
      @Test fun connectExceptionsAreReturnedAsSuppressed() {
        val proxySelector = RecordingProxySelector()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        filesystem.setFaultyDelete(cacheDir / "a.1", true)
        taskFaker.runNextTask()
    
        // Confirm the partial snapshot is not returned.
        assertThat(cache["a"]).isNull()
    
        // Confirm we prevent edits after a trim failure.
        assertThat(cache.edit("a")).isNull()
    
        // Confirm the partial snapshot is not returned after a successful trim.
        filesystem.setFaultyDelete(cacheDir / "a.1", false)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/promotion/PublishRelease.kt

                )
                text(
                    "confirmationCode",
                    "",
                    label = "Confirmation Code",
                    description = "Enter the value '$requiredConfirmationCode' (no quotes) to confirm the promotion",
                    display = ParameterDisplay.PROMPT,
                    allowEmpty = false
                )
                text(
                    "gitUserName",
                    "",
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        }.also { expected ->
          assertThat(expected.message).isEqualTo("timeout")
        }
    
        // Confirm that a subsequent request on the same connection is not impacted.
        val call2 = client.newCall(Request(server.url("/")))
        val response2 = call2.execute()
        assertThat(response2.body.string()).isEqualTo("A")
    
        // Confirm that the connection was reused.
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/promotion/StartReleaseCycle.kt

     * limitations under the License.
     */
    
    package promotion
    
    import common.gradleWrapper
    import common.promotionBuildParameters
    import jetbrains.buildServer.configs.kotlin.ParameterDisplay
    import jetbrains.buildServer.configs.kotlin.RelativeId
    import vcsroots.gradlePromotionMaster
    
    object StartReleaseCycle : BasePromotionBuildType(vcsRootId = gradlePromotionMaster) {
        init {
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 2.4K bytes
    - Viewed (1)
  7. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt

    import java.util.concurrent.ThreadFactory
    import java.util.concurrent.TimeUnit
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    /**
     * Integration test to confirm that [TaskRunner] works with a real backend. Business logic is all
     * exercised by [TaskRunnerTest].
     *
     * This test is doing real sleeping with tolerances of 250 ms. Hopefully that's enough for even the
     * busiest of CI servers.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

        expectedEvents += "ResponseBodyEnd"
        expectedEvents += "ConnectionReleased"
        expectedEvents += "CallEnd"
        assertThat(listener.recordedEventTypes()).isEqualTo(expectedEvents)
    
        // Confirm that the connection pool was not corrupted by making another call.
        makeSimpleCall()
      }
    
      /**
       * If the server returns a full response, it doesn't really matter if the HTTP/2 stream is reset.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        serverListener.assertClosing(1000, "goodbye")
    
        // Confirm that the hard cancel occurred after 500 ms.
        clientListener.assertFailure()
        val elapsedUntilFailure = System.nanoTime() - closeAtNanos
        assertThat(TimeUnit.NANOSECONDS.toMillis(elapsedUntilFailure).toDouble())
          .isCloseTo(500.0, 250.0)
    
        // Close the server and confirm it saw what we expected.
        server.close(1000, null)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

      private val forbiddenLocks = mutableListOf<Any>()
    
      /** The timestamp of the last taken event, used to measure elapsed time between events. */
      private var lastTimestampNs: Long? = null
    
      /** Confirm that the thread does not hold a lock on `lock` during the callback. */
      fun forbidLock(lock: Any) {
        forbiddenLocks.add(lock)
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9K bytes
    - Viewed (1)
Back to top