Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for nonExisting (0.28 sec)

  1. src/cmd/go/testdata/script/test_compile_multi_pkg.txt

    # prior to the fix for that issue, it occasionally failed with ETXTBSY when
    # run on Unix platforms.
    
    go test -c -o $WORK/some/nonexisting/directory/ ./pkg/...
    exists -exec $WORK/some/nonexisting/directory/pkg1.test$GOEXE
    exists -exec $WORK/some/nonexisting/directory/pkg2.test$GOEXE
    
    go test -c ./pkg/...
    exists -exec pkg1.test$GOEXE
    exists -exec pkg2.test$GOEXE
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:09:34 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/options/security_test.go

    	tests := []struct {
    		name     string
    		paths    []string
    		expected bool
    	}{
    		{
    			name: "non-existing cert paths",
    			paths: []string{
    				"/this-is-a-nonexisting-path-1", "/this-is-a-nonexisting-path-2",
    				"/this-is-a-nonexisting-path-3",
    			},
    			expected: false,
    		},
    		{
    			name:     "existing cert paths",
    			paths:    []string{cert.Name(), cert.Name(), cert.Name()},
    			expected: true,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 31 18:31:36 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/DelegatedGradlePropertiesIntegrationTest.kt

            withSettings(
                """
                val nonExisting: String by settings
                println(nonExisting)
                """
            )
    
            assertThat(
                buildAndFail("help").error,
                containsString("Cannot get non-null property 'nonExisting' on settings '${projectRoot.name}' as it does not exist")
            )
    
            withSettings("")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/mutation/optional_test.go

    	}{
    		{
    			// question mark syntax still requires the field to exist in object construction
    			name: "construct non-existing field, compile error",
    			expression: `Object{
    				?nonExisting: optional.none()
    			}`,
    			expectedCompileError: `undefined field 'nonExisting'`,
    		},
    		{
    			// The root cause of the behavior above is that, has on an object (or Message in the Language Def),
    			// still require the field to be declared in the schema.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 21:52:39 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/mutation/mock_test.go

    // except treating "nonExisting" field as non-existing.
    // This is used for optional tests.
    type mockTypeRefForOptional struct {
    	common.TypeRef
    }
    
    // Field returns a mock FieldType, or false if the field should not exist.
    func (m *mockTypeRefForOptional) Field(name string) (*types.FieldType, bool) {
    	if name == "nonExisting" {
    		return nil, false
    	}
    	return m.TypeRef.Field(name)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler_test.go

    		{
    			Name:                 "nonexisting group discovery, presync",
    			Method:               "GET",
    			Path:                 "/apis/other",
    			APIGroup:             "other",
    			APIVersion:           "",
    			HasSynced:            false,
    			IsResourceRequest:    false,
    			ExpectDelegateCalled: true,
    			ExpectStatus:         503,
    		},
    		{
    			Name:                 "nonexisting group discovery",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 15:27:39 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  7. pkg/controller/validatingadmissionpolicystatus/controller_test.go

    				},
    				{
    					Expression: "object.spec.replicas > '1' && object.spec.nonExisting == 1",
    				},
    			}, makePolicy("confused-deployment"))),
    			assertFieldRef: toBe("spec.validations[1].expression"),
    			assertWarnings: toHaveMultipleSubstrings([]string{"undefined field 'nonExisting'", `found no matching overload for '_>_' applied to '(int, string)'`}),
    		},
    	} {
    		t.Run(tc.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking_test.go

    				Variables: []v1.Variable{
    					{
    						Name:       "works",
    						Expression: "true",
    					},
    				},
    				Validations: []v1.Validation{
    					{
    						Expression: "variables.nonExisting",
    					},
    				},
    				MatchConstraints: deploymentPolicy.Spec.MatchConstraints,
    			},
    			},
    			schemaToReturn: &spec.Schema{
    				SchemaProps: spec.SchemaProps{
    					Type: []string{"object"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultFileSystemAccessTest.groovy

            def dir = temporaryFolder.createDir("some/dir")
            def existingFileInDir = dir.file("someFile.txt").createFile()
            def nonExistingFileInDir = dir.file("subdir/nonExisting.txt")
    
            when:
            allowFileSystemAccess(true)
            def snapshot = read(dir)
            then:
            assertIsDirectorySnapshot(snapshot, dir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 10K bytes
    - Viewed (0)
  10. pkg/scheduler/internal/cache/node_tree_test.go

    			for _, n := range allNodes {
    				if n.Name == test.nodeToUpdate.Name {
    					oldNode = n
    					break
    				}
    			}
    			if oldNode == nil {
    				oldNode = &v1.Node{ObjectMeta: metav1.ObjectMeta{Name: "nonexisting-node"}}
    			}
    			nt.updateNode(logger, oldNode, test.nodeToUpdate)
    			verifyNodeTree(t, nt, test.expectedTree)
    		})
    	}
    }
    
    func TestNodeTree_List(t *testing.T) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 08:00:25 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top