Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 144 for expected_outputs (0.25 sec)

  1. istioctl/pkg/ztunnelconfig/ztunnelconfig_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: Wed Apr 10 21:51:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationCppInteroperabilityIntegrationTest.groovy

                ":app:compileDebugSwift", ":app:linkDebug", ":app:installDebug", ":app:assemble")
    
            installation("app/build/install/main/debug").exec().out == app.expectedOutput
    
            where:
            linkage << [SHARED, STATIC]
        }
    
        @ToBeFixedForConfigurationCache
        def "can compile and link against a c++ library with both static and shared linkages"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalSwiftStaleLinkOutputAppWithLib.groovy

        final main = new IncrementalSwiftAppWithDep(lib)
    
        IncrementalSwiftAppWithDep getApplication() {
            return main
        }
    
        String getExpectedOutput() {
            return main.expectedOutput
        }
    
        IncrementalSwiftLib getLibrary() {
            return lib
        }
    
        class IncrementalSwiftLib extends IncrementalSwiftElement {
            final greeter = new SwiftGreeter()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. istioctl/pkg/authz/authz_test.go

    func TestAuthz(t *testing.T) {
    	cases := []testutil.TestCase{
    		{
    			Args:           []string{"-f fake.yaml"},
    			ExpectedOutput: "Error: failed to get config dump from file  fake.yaml: open  fake.yaml: no such file or directory\n",
    			WantException:  true,
    		},
    		{
    			Args: []string{"-f", "testdata/configdump.yaml"},
    			ExpectedOutput: `ACTION   AuthorizationPolicy         RULES
    ALLOW    _anonymous_match_nothing_   1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 21 14:20:23 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      private static void testReverse(char[] input, char[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Chars.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(char[] input, int fromIndex, int toIndex, char[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Chars.reverse(input, fromIndex, toIndex);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. tensorflow/c/kernels/summary_op_test.cc

        Summary summary;
        ASSERT_TRUE(ParseProtoUnlimited(
            &summary, ctx.mutable_output(0)->scalar<tstring>()()));
        ExpectSummaryMatches(summary, expected_output);
      } else {
        EXPECT_TRUE(absl::StrContains(ctx.status().ToString(), expected_output))
            << ctx.status();
      }
    }
    
    TEST(ScalarSummaryOpTest, SimpleFloat) {
      int vectorSize = 3;
      Tensor tags(DT_STRING, {vectorSize});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 18 15:10:51 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppMainWithOptionalFeature.groovy

        }
        """)
    
        @Override
        String getExpectedOutput() {
            return greeter.expectedOutput
        }
    
        AppElement withFeatureEnabled() {
            return new AppElement() {
                @Override
                String getExpectedOutput() {
                    return "hi from main\n" + greeter.expectedOutput
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalCppStaleLinkOutputApp.groovy

        private final main = new CppMain(greeter, sum)
    
        final List<IncrementalElement.Transform> incrementalChanges = [
            delete(greeter), delete(sum), delete(main)]
        final String expectedOutput = main.expectedOutput
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftAppWithLibrariesAndXCTest.groovy

        final SwiftSum sum = new SwiftSum()
        final SwiftMultiply multiply = new SwiftMultiply()
        final XCTestSourceElement test = new SwiftAppTest(main, app.greeter, sum, multiply)
    
        String expectedOutput = main.expectedOutput
    
        SwiftAppWithLibrariesAndXCTest() {
            super('app')
        }
    
        SourceElement getGreeter() {
            return app.greeter
        }
    
        SourceElement getLogger() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalCppStaleLinkOutputAppWithLib.groovy

        final main = new IncrementalCppAppWithDep(lib)
    
        IncrementalCppAppWithDep getExecutable() {
            return main
        }
    
        String getExpectedOutput() {
            return main.expectedOutput
        }
    
        IncrementalCppLib getLibrary() {
            return lib
        }
    
        class IncrementalCppLib extends IncrementalCppElement {
            final greeter = new CppGreeter()
            final sum = new CppSum()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top