- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 144 for expected_outputs (0.19 sec)
-
pkg/version/cobra_test.go
cmd.SetOut(&out) cmd.SetErr(&out) cmd.SetArgs(v.args) err := cmd.Execute() output := out.String() if v.expectedOutput != "" && v.expectedOutput != output { t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(v.args, " "), output, v.expectedOutput) } if v.expectedRegexp != nil && !v.expectedRegexp.MatchString(output) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 29 14:15:26 UTC 2023 - 8.5K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus_test.go
cmd.SilenceUsage = true cmd.SetOut(&out) cmd.SetErr(&out) fErr := cmd.Execute() output := out.String() if c.expectedOutput != "" && c.expectedOutput != output { t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput) } if c.expectedString != "" && !strings.Contains(output, c.expectedString) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/util/formatting/formatter_test.go
diag.MockResource("GrandCastle"), "the castle is too old", ) msgs := diag.Messages{firstMsg, secondMsg} output, _ := Print(msgs, JSONFormat, false) expectedOutput := `[ { "code": "B1", "documentationUrl": "` + url.ConfigAnalysis + `/b1/", "level": "Error", "message": "Explosion accident: the bubble is too big", "origin": "SoapBubble" }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/MultipleNativeToolChainIntegrationTest.groovy
and: def i386Exe = x86ToolChain.executable(file("build/exe/main/i386/main")) assert i386Exe.exec().out == helloWorld.expectedOutput(x86ToolChain) def sparcExe = sparcToolChain.executable(file("build/exe/main/sparc/main")) assert sparcExe.exec().out == helloWorld.expectedOutput(sparcToolChain) } def checkInstall(String path, AvailableToolChains.InstalledToolChain toolChain) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftAppWithXCTest.groovy
final SwiftApp main = new SwiftApp() final XCTestSourceElement test = new SwiftAppTest(main, main.greeter, main.sum, main.multiply) String expectedOutput = main.expectedOutput SwiftAppWithXCTest() { super('app') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 996 bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalSwiftStaleLinkOutputApp.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.1K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/kotlin-multiplatform-js-jvm-example/src/commonTest/kotlin/samples/Base64Test.kt
checkEncodeToString("22", "MjI=") checkEncodeToString("333", "MzMz") checkEncodeToString("4444", "NDQ0NA==") } private fun checkEncodeToString(input: String, expectedOutput: String) { assertEquals(expectedOutput, Base64Factory.createEncoder().encodeToString(input.asciiToByteArray())) } private fun String.asciiToByteArray() = ByteArray(length) { get(it).code.toByte() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 07:33:24 UTC 2024 - 1.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java
public ExecutionResult assertOutputEquals(String expectedOutput, boolean ignoreExtraLines, boolean ignoreLineOrder) { outputResult.assertOutputEquals(expectedOutput, ignoreExtraLines, ignoreLineOrder); return this; } @Override public ExecutionResult assertNotOutput(String expectedOutput) { outputResult.assertNotOutput(expectedOutput); return this; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 37.1K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftAppWithSingleXCTestSuite.groovy
} }.withTestableImport(main.moduleName)] } } String expectedOutput = main.expectedOutput SwiftAppWithSingleXCTestSuite() { super('app') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftMainWithOptionalFeature.groovy
String getExpectedOutput() { return "hi from main\n${greeter.expectedOutput}" } } } AppElement withFeatureDisabled() { return new AppElement() { @Override String getExpectedOutput() { return greeter.expectedOutput } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.7K bytes - Viewed (0)