- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for expectedArgs (0.17 sec)
-
cmd/kubeadm/app/apis/kubeadm/v1beta3/conversion_test.go
var tests = []struct { name string args map[string]string expectedArgs []kubeadmapi.Arg }{ { name: "nil map returns nil args", args: nil, expectedArgs: nil, }, { name: "valid args are parsed (sorted)", args: map[string]string{"c": "d", "a": "b"}, expectedArgs: []kubeadmapi.Arg{ {Name: "a", Value: "b"}, {Name: "c", Value: "d"}, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 10:27:05 UTC 2023 - 2.2K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/argument_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 10:27:05 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftLinkerTest.groovy
def "ignores install name for all major operating system"() { given: def testDir = tmpDirProvider.testDirectory def outputFile = testDir.file("output/lib") final expectedArgs = [ "-emit-library", "-o", outputFile.absolutePath, testDir.file("one.o").absolutePath].flatten() when: NativePlatform platform = Mock(NativePlatform)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 9K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccLinkerTest.groovy
1 * queue.add(invocation) 1 * queue.setLogLocation(LOG_LOCATION) 0 * _ } def "ignores install name for windows"() { given: def testDir = tmpDirProvider.testDirectory def outputFile = testDir.file("output/lib") final expectedArgs = [ "-shared",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 8.7K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccPlatformToolProviderTest.groovy
ToolType.OBJECTIVECPP_COMPILER | ['-x', 'objective-c++'] ToolType.ASSEMBLER | [] } CompilerMetaDataProvider.CompilerExecSpec assertingCompilerExecSpecArguments(Iterable<String> expectedArgs) { return new CompilerMetaDataProvider.CompilerExecSpec() { @Override CompilerMetaDataProvider.CompilerExecSpec environment(String key, String value) { return this
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.1K bytes - Viewed (0) -
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) -
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) -
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) -
pkg/config/analysis/diag/messages_test.go
NewMessageType(Warning, "B1", "Template: %q"), MockResource("B"), "B", ) msgs := Messages{fifthMsg, fourthMsg, thirdMsg, secondMsg, firstMsg} expectedMsgs := Messages{firstMsg, secondMsg, thirdMsg, fourthMsg, fifthMsg} msgs.Sort() g.Expect(msgs).To(Equal(expectedMsgs)) } func TestMessages_SortWithNilOrigin(t *testing.T) { g := NewWithT(t) firstMsg := NewMessage( NewMessageType(Error, "B1", "Template: %q"),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 4.2K bytes - Viewed (0) -
pkg/apis/networking/validation/validation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:06 UTC 2023 - 73.3K bytes - Viewed (0)