Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for logOutput (0.21 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/operations/logging/DefaultBuildOperationLoggerTest.groovy

        /**
         * @return output that would appear in the log file
         */
        def logOutput() {
            TextUtil.normaliseLineSeparators(outputFile.text)
        }
    
        def "logs start of overall operation"() {
            when:
            log.start()
            then:
            logOutput() == """See $pathToLogStr for all output for <testTask>.
    """
            cleanup:
            log.done()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/ContinuousBuildCrossVersionSpec.groovy

                    .setStandardOutput(stdout)
                    .setStandardError(stderr)
                    .get()
            }
    
            then:
            project != null
            def logOutput = stdout.toString()
            !logOutput.contains(waitingMessage)
            !logOutput.contains(exitingContinuousBuildNoInputsDetectedMessage)
        }
    
        private String getExitingContinuousBuildNoInputsDetectedMessage() {
            return usesNativeWatchers()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/LoggingIntegrationTest.groovy

        @Rule public final TestResources resources = new TestResources(testDirectoryProvider)
        @Rule public final Sample sampleResources = new Sample(testDirectoryProvider)
    
        final LogOutput logOutput = createLogOutput()
    
        final LogOutput customLoggerOutput = createLogOutput().tap {
            quiet(
                'init callback quiet out')
            lifecycle(
                'LOGGER: evaluating :',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  4. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistryTest.groovy

            def jdk8 = temporaryFolder.createFile("not-a-directory")
            def logOutput = "Path for java installation '${jdk8}' (testSource) points to a file, not a directory"
            when:
            def registry = createRegistry([jdk8])
            def installations = registry.listInstallations()
    
            then:
            installations.isEmpty()
            1 * logger.log(_, logOutput)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/continuous/FileEventCollector.java

                Path path = entry.getKey();
                showIndividualChange(logger, path, type);
            }
            if (moreChangesCount > 0) {
                logOutput(logger, "and some more changes");
            }
            if (errorWhenWatching) {
                logOutput(logger, "Error when watching files - triggering a rebuild");
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. istioctl/pkg/util/formatting/formatter.go

    	}
    }
    
    func printLog(ms diag.Messages, colorize bool) string {
    	logOutput := make([]string, 0, len(ms))
    	for _, m := range ms {
    		logOutput = append(logOutput, render(m, colorize))
    	}
    	return strings.Join(logOutput, "\n")
    }
    
    func printJSON(ms diag.Messages) (string, error) {
    	jsonOutput, err := json.MarshalIndent(ms, "", "\t")
    	return string(jsonOutput), err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 11 02:41:45 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. istioctl/pkg/util/formatting/formatter_test.go

    `
    
    	g.Expect(output).To(Equal(expectedOutput))
    }
    
    func TestFormatter_PrintEmpty(t *testing.T) {
    	g := NewWithT(t)
    
    	msgs := diag.Messages{}
    
    	logOutput, _ := Print(msgs, LogFormat, false)
    	g.Expect(logOutput).To(Equal(""))
    
    	jsonOutput, _ := Print(msgs, JSONFormat, false)
    	g.Expect(jsonOutput).To(Equal("[]"))
    
    	yamlOutput, _ := Print(msgs, YAMLFormat, false)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. src/net/http/clientserver_test.go

    		t.Errorf("client read all successfully; want some error")
    	}
    	logOutput := func() string {
    		errorLog.Lock()
    		defer errorLog.Unlock()
    		return errorLog.String()
    	}
    	wantStackLogged := panicValue != nil && panicValue != ErrAbortHandler
    
    	waitCondition(t, 10*time.Millisecond, func(d time.Duration) bool {
    		gotLog := logOutput()
    		if !wantStackLogged {
    			if gotLog == "" {
    				return true
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  9. cluster/gce/manifests/cluster-autoscaler.manifest

                        "--expendable-pods-priority-cutoff=-10",
                        {{params}}
                    ],
                    "env": [
                        {
                            "name": "LOG_OUTPUT",
                            "value": "/var/log/cluster-autoscaler.log"
                        }
                    ],
                    "resources": {
                        "requests": {
                            "cpu": "10m",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 25 00:04:35 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top