Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,046 for expecting (0.59 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheProblemsFixture.groovy

            }
            if (!(spec instanceof InputsSpec.IgnoreUnexpected)) {
                assert unexpectedInputs.isEmpty() : "Unexpected inputs $unexpectedInputs found in the report, expecting $expectedInputs"
            }
            assert expectedInputs.isEmpty() : "Expecting $expectedInputs in the report, found $unexpectedInputs"
        }
    
        static String formatInputForAssert(Map<String, Object> input) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/TopLevelBlockExtractionTest.kt

        @Test
        fun `given more than one top level buildscript block it throws UnexpectedDuplicateBlock`() {
            try {
                extractBuildscriptBlockFrom("buildscript {} buildscript {}")
                fail("Expecting ${UnexpectedDuplicateBlock::class.simpleName}!")
            } catch (unexpectedBlock: UnexpectedDuplicateBlock) {
                assertThat(unexpectedBlock.identifier, equalTo(buildscript))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. cni/pkg/install/install_test.go

    				// Copy an invalid config file into tempDir
    				if err := file.AtomicCopy(filepath.Join("testdata", c.invalidConfigFilename), tempDir, c.cniConfigFilename); err != nil {
    					t.Fatal(err)
    				}
    			}
    
    			t.Log("Expecting an invalid configuration log:")
    			err := in.sleepWatchInstall(ctx, sets.String{})
    			if err != nil {
    				t.Fatalf("error should be nil due to invalid config, got: %v", err)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. pkg/env/var.go

    	result, ok := os.LookupEnv(v.Name)
    	if !ok {
    		result = v.DefaultValue
    	}
    
    	b, err := strconv.ParseBool(result)
    	if err != nil {
    		log.Warnf("Invalid environment variable value `%s`, expecting true/false, defaulting to %v", result, v.DefaultValue)
    		b, _ = strconv.ParseBool(v.DefaultValue)
    	}
    
    	return b, ok
    }
    
    // Get retrieves the value of the environment variable.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/test/integration/defaulting_test.go

    					props.Default = nil
    					obj.Spec.Versions[i].Schema.OpenAPIV3Schema.Properties[root].Properties[key] = props
    				}
    			}
    		})
    	}
    
    	t.Logf("Creating CR and expecting defaulted fields in spec, but status does not exist at all")
    	fooClient := dynamicClient.Resource(schema.GroupVersionResource{Group: crd.Spec.Group, Version: crd.Spec.Versions[0].Name, Resource: crd.Spec.Names.Plural})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  6. src/go/parser/testdata/tparams.go2

    type _[a t, b t, c]  /* ERROR "missing type constraint" */ struct{}
    type _ struct {
    	t [n]byte
    	t[a]
    	t[a,]
    	t[a, b]
    	t[a, b,]
    }
    type _ struct {
    	t [n, /* ERROR "unexpected comma; expecting ]" */ ]byte
    }
    type _ interface {
    	t[a]
    	t[a,]
    	m[ /* ERROR "method must have no type parameters" */ _ _, /* ERROR mixed */ _]()
    	t[a, b]
    	t[a, b,]
    }
    
    func _[] /* ERROR "empty type parameter list" */ ()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. hack/update-generated-api-compatibility-data.sh

    # UPDATE_COMPATIBILITY_FIXTURE_DATA=true regenerates fixture data if needed.
    # -run //HEAD only runs the test cases comparing against testdata for HEAD.
    # We suppress the output because we are expecting to have changes.
    # We suppress the test failure that occurs when there are changes.
    UPDATE_COMPATIBILITY_FIXTURE_DATA=true go test k8s.io/api -run //HEAD >/dev/null 2>&1 || true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/config/cluster_test.go

    				time.Millisecond*10, time.Millisecond*100)
    			if err != nil && !rt.expectedErr {
    				t.Errorf("got error %q; was expecting no errors", err)
    				return
    			} else if err == nil && rt.expectedErr {
    				t.Error("got no error; was expecting an error")
    				return
    			}
    
    			if rt.expectedEndpoint != nil && !reflect.DeepEqual(apiEndpoint, *rt.expectedEndpoint) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  9. tests/integration/security/util/secret/secret.go

    func ExamineDNSSecret(secret *v1.Secret, expectedID string) error {
    	if secret.Type != IstioDNSSecretType {
    		return fmt.Errorf(`unexpected value for the "type" annotation: expecting %v but got %v`,
    			IstioDNSSecretType, secret.Type)
    	}
    
    	for _, key := range []string{ca.CertChainFile, ca.RootCertFile, ca.PrivateKeyFile} {
    		if _, exists := secret.Data[key]; !exists {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 22 04:04:14 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/InstanceOptionDescriptor.java

        }
    
        @Override
        public void apply(Object objectParam, List<String> parameterValues) {
            if (objectParam != object) {
                throw new AssertionError(String.format("Object %s not applyable. Expecting %s", objectParam, object));
            }
            optionElement.apply(objectParam, parameterValues);
        }
    
        @Override
        public int compareTo(OptionDescriptor o) {
            return getName().compareTo(o.getName());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 06 09:51:34 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top