Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for PetOut (0.5 sec)

  1. maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            PrintStream oldOut = System.out;
            System.setOut(new PrintStream(systemOut));
    
            // when
            try {
                cli.cli(cliRequest);
            } catch (MavenCli.ExitException exitException) {
                // expected
            } finally {
                // restore sysout
                System.setOut(oldOut);
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest_shared_test.go

    func runCommand(command string) (string, error) {
    	var out bytes.Buffer
    	rootCmd := GetRootCmd(cli.NewFakeContext(&cli.NewFakeContextOption{
    		Version: "25",
    	}), strings.Split(command, " "))
    	rootCmd.SetOut(&out)
    
    	err := rootCmd.Execute()
    	return out.String(), err
    }
    
    // cleanTestCluster resets the test cluster.
    func cleanTestCluster() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:28 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinCompiler.kt

    
    private
    inline fun <T> redirectingOutputTo(noinline outputStream: () -> OutputStream, action: () -> T): T =
        redirecting(System.err, System::setErr, outputStream()) {
            redirecting(System.out, System::setOut, outputStream()) {
                action()
            }
        }
    
    
    private
    inline fun <T> redirecting(
        stream: PrintStream,
        set: (PrintStream) -> Unit,
        to: OutputStream,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 31 08:46:17 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  4. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    realms.add(realm.getId());
                }
            } else {
                realms = Collections.emptySet();
            }
    
            try {
                if (stdout != null) {
                    System.setOut(stdout);
                }
                if (stderr != null) {
                    System.setErr(stderr);
                }
    
                CliRequest cliRequest = new CliRequest(args, classWorld);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  5. istioctl/pkg/validate/validate_test.go

    			})
    			validateCmd := NewValidateCommand(ctx)
    			validateCmd.SilenceUsage = true
    			validateCmd.SetArgs(c.args)
    
    			// capture output to keep test logs clean
    			var out bytes.Buffer
    			validateCmd.SetOut(&out)
    			validateCmd.SetErr(&out)
    
    			err := validateCmd.Execute()
    			if (err != nil) != c.wantError {
    				t.Errorf("unexpected validate return status: got %v want %v: \nerr=%v",
    					err != nil, c.wantError, err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 08:08:36 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/describe_test.go

    		}
    	}
    
    	if c.configDumps == nil {
    		c.configDumps = map[string][]byte{}
    	}
    
    	var out bytes.Buffer
    	rootCmd := Cmd(ctx)
    	rootCmd.SetArgs(c.args)
    
    	rootCmd.SetOut(&out)
    	rootCmd.SetErr(&out)
    
    	if c.namespace != "" {
    		describeNamespace = c.namespace
    	}
    
    	fErr := rootCmd.Execute()
    	output := out.String()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:54:01 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/AvailableToolChains.java

                try {
                    String output = xcodebuild.execute(Collections.singletonList("-version"), Collections.singletonList("DEVELOPER_DIR=" + xcodeInstall.getAbsolutePath())).getOut();
                    Pattern versionRegex = Pattern.compile("Xcode (\\d+\\.\\d+(\\.\\d+)?)");
                    Matcher matcher = versionRegex.matcher(output);
                    if (matcher.find()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/exec.go

    	fmt.Fprintf(h, "vetflags %q\n", vetFlags)
    
    	fmt.Fprintf(h, "pkg %q\n", a.Deps[0].actionID)
    	for _, a1 := range a.Deps {
    		if a1.Mode == "vet" && a1.built != "" {
    			fmt.Fprintf(h, "vetout %q %s\n", a1.Package.ImportPath, b.fileHash(a1.built))
    			vcfg.PackageVetx[a1.Package.ImportPath] = a1.built
    		}
    	}
    	key := cache.ActionID(h.Sum())
    
    	if vcfg.VetxOnly && !cfg.BuildA {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top