Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for expectedArgs (0.21 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/NativeCompilerTest.groovy

            given:
            def compiler = getCompiler()
            def testDir = tmpDirProvider.testDirectory
            def includeDir = testDir.file("includes")
            def systemIncludeDir = testDir.file("system")
            def expectedArgs = getCompilerSpecificArguments(includeDir, systemIncludeDir)
    
            when:
            NativeCompileSpec compileSpec = Stub(getCompileSpecType()) {
                getMacros() >> [foo: "bar", empty: null]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. pkg/kubelet/container/helpers_test.go

    	}
    }
    
    func TestExpandCommandAndArgs(t *testing.T) {
    	cases := []struct {
    		name            string
    		container       *v1.Container
    		envs            []EnvVar
    		expectedCommand []string
    		expectedArgs    []string
    	}{
    		{
    			name:      "none",
    			container: &v1.Container{},
    		},
    		{
    			name: "command expanded",
    			container: &v1.Container{
    				Command: []string{"foo", "$(VAR_TEST)", "$(VAR_TEST2)"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 01:55:46 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. pkg/proxy/apis/config/validation/validation_test.go

    		ccc          componentbaseconfig.ClientConnectionConfiguration
    		expectedErrs field.ErrorList
    	}{
    		"successful 0 value": {
    			ccc:          componentbaseconfig.ClientConnectionConfiguration{Burst: 0},
    			expectedErrs: field.ErrorList{},
    		},
    		"successful 5 value": {
    			ccc:          componentbaseconfig.ClientConnectionConfiguration{Burst: 5},
    			expectedErrs: field.ErrorList{},
    		},
    		"burst < 0": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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