Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testpromise (0.2 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelNodeInternal.java

        public abstract ModelNodeInternal getLink(String name);
    
        @Override
        public boolean canBeViewedAs(ModelType<?> type) {
            return getPromise().canBeViewedAs(type);
        }
    
        @Override
        public Iterable<String> getTypeDescriptions() {
            return getPromise().getTypeDescriptions(this);
        }
    
        private ModelProjection toProjection() {
            if (projections == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:51:08 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/strategy_test.go

    				api.DeprecatedAppArmorAnnotationKeyPrefix + "init": api.DeprecatedAppArmorAnnotationValueLocalhostPrefix + testProfile,
    				api.DeprecatedAppArmorAnnotationKeyPrefix + "ctr":  api.DeprecatedAppArmorAnnotationValueLocalhostPrefix + testProfile,
    			}, pod.Annotations)
    		},
    	}, {
    		description: "Pod field localhost but profile is nil",
    		pod: &api.Pod{
    			Spec: api.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/test/test.go

    	testBlockProfile, testCPUProfile, testMemProfile, testMutexProfile, testTrace string // profiling flag that limits test to one package
    
    	testODir = false
    )
    
    // testProfile returns the name of an arbitrary single-package profiling flag
    // that is set, if any.
    func testProfile() string {
    	switch {
    	case testBlockProfile != "":
    		return "-blockprofile"
    	case testCPUProfile != "":
    		return "-cpuprofile"
    	case testMemProfile != "":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java

                if (node == null) {
                    return false;
                }
                for (ModelNodeInternal child : node.getLinks()) {
                    if (child.isAtLeast(Discovered) && child.getPromise().canBeViewedAs(typeToBind)) {
                        return true;
                    }
                }
                return false;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  5. pkg/apis/core/validation/validation_test.go

    			return
    		}
    	}
    }
    
    func TestValidateSeccompAnnotationAndField(t *testing.T) {
    	const containerName = "container"
    	testProfile := "test"
    
    	for _, test := range []struct {
    		description string
    		pod         *core.Pod
    		validation  func(*testing.T, string, field.ErrorList, *v1.Pod)
    	}{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top