Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for expectedArgs (0.32 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt

      private val failures = mutableListOf<String>()
    
      override fun select(uri: URI): List<Proxy> {
        requestedUris.add(uri)
        return proxies
      }
    
      fun assertRequests(vararg expectedUris: URI?) {
        assertThat(requestedUris).containsExactly(*expectedUris)
        requestedUris.clear()
      }
    
      override fun connectFailed(
        uri: URI,
        sa: SocketAddress,
        ioe: IOException,
      ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/RecordingExecutor.kt

        if (shutdown) throw RejectedExecutionException()
        calls.add(command as RealCall.AsyncCall)
      }
    
      fun assertJobs(vararg expectedUrls: String) {
        val actualUrls = calls.map { it.request.url.toString() }
        assertThat(actualUrls).containsExactly(*expectedUrls)
      }
    
      fun finishJob(url: String) {
        val i = calls.iterator()
        while (i.hasNext()) {
          val call = i.next()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. pkg/controller/replicaset/replica_set_test.go

    		name        string
    		rss         []*apps.ReplicaSet
    		rs          *apps.ReplicaSet
    		expectedRSs []*apps.ReplicaSet
    	}{
    		{
    			name:        "expect to get back a ReplicaSet that is pending deletion",
    			rss:         []*apps.ReplicaSet{pendingDeletionRS, unrelatedRS},
    			rs:          pendingDeletionRS,
    			expectedRSs: []*apps.ReplicaSet{pendingDeletionRS},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  4. pkg/apis/core/validation/validation_test.go

    		source       *core.FlexVolumeSource
    		expectedErrs map[string]string
    	}{
    		"valid": {
    			source:       &core.FlexVolumeSource{Driver: "foo"},
    			expectedErrs: map[string]string{},
    		},
    		"valid with options": {
    			source:       &core.FlexVolumeSource{Driver: "foo", Options: map[string]string{"foo": "bar"}},
    			expectedErrs: map[string]string{},
    		},
    		"no driver": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top