- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for getWarning (0.45 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/request/bearertoken/bearertoken_test.go
continue } if len(tc.ExpectedRecordedWarning) > 0 && tc.ExpectedRecordedWarning != dc.getWarning() { t.Errorf("%s: Expected recorded warning=%v, got %v", k, tc.ExpectedRecordedWarning, dc.getWarning()) continue } if !reflect.DeepEqual(req.Header["Authorization"], tc.ExpectedAuthorizationHeaders) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 25 13:22:28 UTC 2022 - 8.8K bytes - Viewed (0) -
pkg/registry/batch/job/storage/storage_test.go
type dummyRecorder struct { agent string text string } func (r *dummyRecorder) AddWarning(agent, text string) { r.agent = agent r.text = text return } func (r *dummyRecorder) getWarning() string { return r.text } var _ warning.Recorder = &dummyRecorder{} func TestJobDeletion(t *testing.T) { orphanDependents := true orphanDeletionPropagation := metav1.DeletePropagationOrphan
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 14:34:53 UTC 2024 - 11.2K bytes - Viewed (0) -
maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
assertEquals(errors, result.getErrors().size(), String.valueOf(result.getErrors())); assertEquals(warnings, result.getWarnings().size(), String.valueOf(result.getWarnings())); } @Test void testMissingModelVersion() throws Exception { SimpleProblemCollector result = validate("missing-modelVersion-pom.xml");
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 13:13:07 UTC 2024 - 32.8K bytes - Viewed (0) -
maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java
assertEquals(0, problems.getErrors().size(), problems.getErrors().toString()); assertEquals(0, problems.getWarnings().size(), problems.getWarnings().toString()); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 2.4K bytes - Viewed (0) -
pkg/config/validation/envoyfilter/envoyfilter_test.go
} if !strings.Contains(stringOrEmpty(gotWarning), wantWarning) { t.Fatalf("got warning=%v but wanted warning=%v", gotWarning, wantWarning) } } func TestValidateEnvoyFilter(t *testing.T) { tests := []struct { name string in proto.Message error string warning string }{ {name: "empty filters", in: &networking.EnvoyFilter{}, error: ""},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 16.7K bytes - Viewed (0) -
maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Sep 11 16:17:26 UTC 2023 - 2.3K bytes - Viewed (0) -
maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java
assertFalse(activator.isActive(new org.apache.maven.model.Profile(profile), context, problems)); assertEquals(0, problems.getErrors().size()); assertEquals(1, problems.getWarnings().size()); assertTrue(problems.getWarnings().get(0).contains(warningContains)); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 06 16:51:39 UTC 2024 - 8.9K bytes - Viewed (0) -
maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
} protected void assertProblemFree(SimpleProblemCollector collector) { assertEquals(0, collector.getErrors().size(), "Expected no errors"); assertEquals(0, collector.getWarnings().size(), "Expected no warnings"); assertEquals(0, collector.getFatals().size(), "Expected no fatals"); } protected void assertCollectorState(
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Feb 26 17:04:44 UTC 2024 - 22.2K bytes - Viewed (0) -
platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/publication/IvyComponentParser.java
this.warnings = warnings; } public DefaultIvyDependencySet getDependencies() { return dependencies; } public PublicationWarningsCollector getWarnings() { return warnings; } } /** * Parsed dependencies for a single variant. */ private static class ParsedVariantDependencyResult {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 22:25:49 UTC 2023 - 18.4K bytes - Viewed (0) -
pkg/config/validation/validation_test.go
}) } } func checkValidation(t *testing.T, gotWarning Warning, gotError error, valid bool, warning bool) { t.Helper() if (gotError == nil) != valid { t.Fatalf("got valid=%v but wanted valid=%v: %v", gotError == nil, valid, gotError) } if (gotWarning == nil) == warning { t.Fatalf("got warning=%v but wanted warning=%v", gotWarning, warning) } } func stringOrEmpty(v error) string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0)