- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for validateLogs (0.22 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r81/LogLevelConfigCrossVersionSpec.groovy
import static org.gradle.integtests.tooling.fixture.ToolingApiTestCommon.runLogScript import static org.gradle.integtests.tooling.fixture.ToolingApiTestCommon.validateLogs class LogLevelConfigCrossVersionSpec extends ToolingApiSpecification { def setup() { propertiesFile << "org.gradle.logging.level=quiet" buildFile << LOG_LEVEL_TEST_SCRIPT }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiTestCommon.groovy
System.out.println("\\\\nNo property org.gradle.logging.level set") } """ static getOutputPattern(LogLevel logLevel) { /[\s\S]*Hello $logLevel[\s\S]*/ } static validateLogs(Object stdOut, LogLevel expectedLevel) { def output = stdOut.toString() LogLevel.values().findAll { it < expectedLevel }.collect { getOutputPattern(it) }.every { !output.matches(it) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiIntegrationTest.groovy
import static org.gradle.integtests.tooling.fixture.ToolingApiTestCommon.runLogScript import static org.gradle.integtests.tooling.fixture.ToolingApiTestCommon.validateLogs class ToolingApiIntegrationTest extends AbstractIntegrationSpec { final ToolingApi toolingApi = new ToolingApi(distribution, temporaryFolder)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 13.8K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
# Retrieve full certificate dump of workloads for a given Ztunnel instance. istioctl ztunnel-config certificates <ztunnel-name[.namespace]> -o json `, Aliases: []string{"certificates", "certs", "cert"}, Args: common.validateArgs, RunE: runConfigDump(ctx, common, func(cw *ztunnelDump.ConfigWriter) error { switch common.outputFormat { case summaryOutput: return cw.PrintSecretSummary() case jsonOutput, yamlOutput:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 20:18:34 UTC 2024 - 22K bytes - Viewed (0) -
tools/docker-builder/main.go
if err != nil { return err } defer shutdown() if version { fmt.Println(pkgversion.Info.GitRevision) os.Exit(0) } log.Infof("Args: %s", globalArgs) if err := ValidateArgs(globalArgs); err != nil { return err } args, err := ReadPlan(ctx, globalArgs) if err != nil { return fmt.Errorf("plan: %v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 26 13:23:41 UTC 2023 - 10K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskContainer.java
} return NO_ARGS; } private static Map<String, ?> checkTaskArgsAndCreateDefaultValues(Map<String, ?> args) { validateArgs(args); if (!args.keySet().containsAll(MANDATORY_TASK_ARGUMENTS)) { Map<String, Object> argsWithDefaults = new HashMap<>(args); argsWithDefaults.putIfAbsent(Task.TASK_NAME, "");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 09:54:40 UTC 2024 - 32.3K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
errMsg := "hostProcess containers are disallowed by cluster policy" allErrs = append(allErrs, field.Forbidden(fieldPath, errMsg)) } } return allErrs } // validateOS validates the OS field within pod spec func validateOS(podSpec *core.PodSpec, fldPath *field.Path, opts PodValidationOptions) field.ErrorList { allErrs := field.ErrorList{} os := podSpec.OS if os == nil { return allErrs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
expectError: true, podSpec: &core.PodSpec{OS: &core.PodOS{Name: "dummyOS"}}, }, } for _, testCase := range testCases { t.Run(testCase.name, func(t *testing.T) { errs := validateOS(testCase.podSpec, field.NewPath("spec"), PodValidationOptions{}) if testCase.expectError && len(errs) == 0 { t.Errorf("Unexpected success") } if !testCase.expectError && len(errs) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0)