Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 140 for expectedOutput (0.3 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java

        }
    
        @Override
        public boolean hasErrorOutput(String expectedOutput) {
            return getError().contains(expectedOutput);
        }
    
        @Override
        public ExecutionResult assertHasErrorOutput(String expectedOutput) {
            return assertContentContains(errorContent.withNormalizedEol(), expectedOutput, "Error output");
        }
    
        @Override
        public String getError() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParametersKotlinIntegrationTest.groovy

            runWork()
    
            then: 'it runs as expected'
            outputContains expectedOutput
    
            when: 'task runs for the 2nd time'
            runWork()
    
            then: 'it is skipped because UP-TO-DATE'
            result.assertTaskSkipped ':runWork'
            outputContains ':runWork UP-TO-DATE'
    
            and:
            outputDoesNotContain expectedOutput
    
            when: 'the outputs are deleted'
            file('build').deleteDir()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. istioctl/pkg/workload/workload_test.go

    		}
    	} else {
    		if fErr != nil {
    			t.Fatalf("Unwanted exception: %v", fErr)
    		}
    	}
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    		assert.Equal(t, c.expectedOutput, output)
    		t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput)
    	}
    }
    
    func TestWorkloadEntryConfigureInvalidArgs(t *testing.T) {
    	cases := []testcase{
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/name_flags_test.go

    		name           string
    		outputFormat   string
    		operation      string
    		dryRun         bool
    		expectedError  string
    		expectedOutput string
    		expectNoMatch  bool
    	}{
    		{
    			name:           "valid \"name\" output format with no operation prints resource name",
    			outputFormat:   "name",
    			expectedOutput: "pod/foo",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 21 15:08:30 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalSwiftModifyExpectedOutputApp.groovy

        final List<IncrementalElement.Transform> incrementalChanges = [
            preserve(greeter), preserve(sum), modify(main, alternateMain)]
        final String expectedOutput = main.expectedOutput
        final String expectedAlternateOutput = alternateMain.expectedOutput
        final String moduleName = "App"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. istioctl/pkg/internaldebug/internal-debug_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
    - 4.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/config_test.go

    			}
    
    			var output, expectedOutput bytes.Buffer
    
    			if err = i.Run(&output, printer); err != nil {
    				t.Fatalf("did not expect an error running the Images command: %v", err)
    			}
    
    			tmpl, err := template.New("test").Parse(tc.expectedOutput)
    			if err != nil {
    				t.Fatalf("could not create template: %v", err)
    			}
    			if err = tmpl.Execute(&expectedOutput, versionMapping); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalSwiftModifyCppDepModuleMapApp.groovy

            }
    
            final String moduleName = "App"
    
            @Override
            final String getExpectedOutput() {
                main.expectedOutput
            }
    
            @Override
            final String getExpectedAlternateOutput() {
                alternateMain.expectedOutput
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleDeprecationMessageGroupedTaskFunctionalTest.groovy

                    }
                }
            """
    
            when:
            executer.expectDeprecationWarning(expectedOutput)
            succeeds('compileJava')
    
            then:
            def actualOutput = errorsShouldAppearOnStdout() ? result.groupedOutput.task(':compileJava').output : result.getError()
            actualOutput.contains(expectedOutput)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy

            result.assertTasksExecuted(tasks.debug.allToInstall, ':assemble')
    
            executable("build/exe/main/debug/app").assertExists()
            installation("build/install/main/debug").exec().out == app.expectedOutput(toolChain)
        }
    
        @ToBeFixedForConfigurationCache
        def "can build debug and release variants of executable"() {
            settingsFile << "rootProject.name = 'app'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 19:11:01 UTC 2024
    - 42.5K bytes
    - Viewed (0)
Back to top