Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,910 for nvalid (0.37 sec)

  1. platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3ConnectionPropertiesTest.groovy

        }
    
        def "should report invalid uri"() {
            when:
            s3ConnectionProperties.configureEndpoint('httpdasd%:/ads')
            then:
            def ex = thrown(IllegalArgumentException)
            ex.message == "System property [org.gradle.s3.endpoint=httpdasd%:/ads]  must be a valid URI"
        }
    
        def "should allow case insensitive schemes"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/ip_test.go

    			expr:         `isIP("192.168.0.1.0")`,
    			expectResult: falseVal,
    		},
    		{
    			name:         "ip.isCanonical valid ipv4",
    			expr:         `ip.isCanonical("127.0.0.1")`,
    			expectResult: trueVal,
    		},
    		{
    			name:             "ip.isCanonical invalid ipv4",
    			expr:             `ip.isCanonical("127.0.0.1.0")`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:07 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishIdentifierValidationIntegTest.groovy

            failure.assertHasCause "Failed to publish publication 'maven' to repository 'maven'"
            failure.assertHasCause "Invalid publication 'maven': groupId cannot be empty"
        }
    
        def "fails with reasonable error message for invalid #invalidComponent name"() {
            settingsFile << "rootProject.name = 'invalid'"
            buildFile << """
                apply plugin: 'maven-publish'
                apply plugin: 'java'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/completion_test.go

    		expectedError bool
    	}
    
    	testCases := []TestCase{
    		{
    			name:          "invalid: missing argument",
    			args:          []string{},
    			expectedError: true,
    		},
    		{
    			name:          "invalid: too many arguments",
    			args:          []string{"", ""},
    			expectedError: true,
    		},
    		{
    			name:          "invalid: unsupported shell name",
    			args:          []string{"unsupported"},
    			expectedError: true,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 06 02:59:58 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. src/go/version/version.go

    // Invalid versions, including the empty string, compare less than
    // valid versions and equal to each other.
    // The language version "go1.21" compares less than the
    // release candidate and eventual releases "go1.21rc1" and "go1.21.0".
    func Compare(x, y string) int {
    	return gover.Compare(stripGo(x), stripGo(y))
    }
    
    // IsValid reports whether the version x is valid.
    func IsValid(x string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 19:56:48 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperUpgradeIntegrationTest.groovy

        }
    
        def "prints helpful error message on invalid version argument format: #badVersion"() {
            given:
            prepareWrapper()
    
            expect:
            def failure = wrapperExecuter.withTasks("wrapper", "--gradle-version", badVersion).runWithFailure()
    
            and:
            failure.assertHasDescription("Invalid version specified for argument '--gradle-version'")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/audit/validation/validation_test.go

    			Resources:       []audit.GroupResources{{Resources: []string{"secrets"}}},
    			NonResourceURLs: []string{"/logs*"},
    		}, { // invalid group name
    			Level:     audit.LevelMetadata,
    			Resources: []audit.GroupResources{{Group: "rbac.authorization.k8s.io/v1beta1", Resources: []string{"roles"}}},
    		}, { // invalid non-resource URLs
    			Level: audit.LevelMetadata,
    			NonResourceURLs: []string{
    				"logs",
    				"/healthz*",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue49276.go

    	}
    
    	B1 struct {
    		_ [unsafe.Sizeof(A1 /* ERROR "invalid recursive type" */ {})]int
    	}
    )
    
    // a mutually recursive case using len
    type (
    	A2 struct {
    		f [len(B2{}.f)]int
    	}
    
    	B2 struct {
    		f [len(A2 /* ERROR "invalid recursive type" */ {}.f)]int
    	}
    )
    
    // test case from issue
    type a struct {
    	_ [42 - unsafe.Sizeof(a /* ERROR "invalid recursive type" */ {})]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 932 bytes
    - Viewed (0)
  9. tests/test_tutorial/test_dataclasses/test_tutorial001.py

        response = client.post("/items/", json={"name": "Foo", "price": "invalid price"})
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "float_parsing",
                        "loc": ["body", "price"],
                        "msg": "Input should be a valid number, unable to parse string as a number",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. pkg/registry/core/event/storage/storage_test.go

    	test.TestCreate(
    		// valid
    		event,
    		// invalid
    		&api.Event{},
    	)
    }
    
    func TestUpdate(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Store).AllowCreateOnUpdate()
    	test.TestUpdate(
    		// valid
    		validNewEvent(test.TestNamespace()),
    		// valid updateFunc
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 01 14:50:28 UTC 2020
    - 3.4K bytes
    - Viewed (0)
Back to top