Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for PetOut (0.16 sec)

  1. istioctl/pkg/workload/workload_test.go

    		})
    	}
    }
    
    func verifyTestcaseOutput(t *testing.T, cmd *cobra.Command, c testcase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    	cmd.SilenceUsage = true
    	if c.namespace != "" {
    		namespace = c.namespace
    	}
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedException {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. istioctl/pkg/proxystatus/proxystatus_test.go

    		})
    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                }
            }
    
            try {
                final PrintStream originalOutStream = System.out;
                final ByteArrayOutputStream outStream = new ByteArrayOutputStream();
                System.setOut(new PrintStream(outStream, true));
                final PrintStream originalErrStream = System.err;
                final ByteArrayOutputStream errStream = new ByteArrayOutputStream();
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. istioctl/pkg/wait/wait_test.go

    	if c.wantException {
    		// Ensure tests do not hang for 30s
    		c.args = append(c.args, "--timeout=20ms")
    	}
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && !strings.Contains(output, c.expectedOutput) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/daemon-server/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonMain.java

            daemonLog.setExecutable(false);
        }
    
        private void redirectOutputsAndInput(PrintStream printStream) {
            this.originalOut = System.out;
            this.originalErr = System.err;
    
            System.setOut(printStream);
            System.setErr(printStream);
            System.setIn(new ByteArrayInputStream(new byte[0]));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GeneratePrecompiledScriptPluginAccessors.kt

        return try {
            val previousOut = System.out
            val previousErr = System.err
            try {
                System.setOut(outCapture)
                System.setErr(errCapture)
                block()
            } finally {
                System.out.flush()
                System.setOut(previousOut)
                outCapture.stop()
                System.err.flush()
                System.setErr(previousErr)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. maven-core/src/test/resources/apiv4-repo/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.jar

    public void CommandExecutionExce(String, Throwable); } org/apache/maven/wagon/Streams.class package org.apache.maven.wagon; public synchronized class Streams { private String out; private String err; public void Streams(); public String getOut(); public void setOut(String); public String getErr(); public void setErr(String); } org/apache/maven/wagon/InputData.class package org.apache.maven.wagon; public synchronized class InputData { private java.io.InputStream inputStream; private resource.Resource...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 45.2K bytes
    - Viewed (1)
Back to top