Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,173 for untainer (0.58 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/model/CalculatedValueContainerTest.groovy

        def "can create container with fixed value"() {
            def container = new CalculatedValueContainer(Describables.of("thing"), "value")
    
            expect:
            container.get() == "value"
            container.getValue().get() == "value"
        }
    
        def "calculates and caches value"() {
            def calculator = Mock(ValueCalculator)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 19 19:42:22 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtensionContainerTest.groovy

            container.getByName("foo") == extension
            container.findByName("bar") == barExtension
    
            container.getByType(BarExtension) == barExtension
            container.findByType(FooExtension) == extension
    
            container.findByType(SomeExtension) == null
            container.findByName("i don't exist") == null
        }
    
        def "throws when unknown exception wanted by name"() {
            container.add("foo", extension)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. pkg/kubelet/container/ref.go

    // within the given pod. Returns an error if the reference can't be constructed or the
    // container doesn't actually belong to the pod.
    func GenerateContainerRef(pod *v1.Pod, container *v1.Container) (*v1.ObjectReference, error) {
    	fieldPath, err := fieldPath(pod, container)
    	if err != nil {
    		// TODO: figure out intelligent way to refer to containers that we implicitly
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 00:55:30 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectCollectionSpec.groovy

            container.withType(container.type).named("a", getType(), method)
            then:
            ex = thrown(Throwable)
            assertDoesNotAllowMethod(ex, methodUnderTest)
    
            when:
            container.matching({ it in container.type }).named("a").configure(method)
            then:
            ex = thrown(Throwable)
            assertDoesNotAllowMethod(ex, methodUnderTest)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/TypedDomainObjectContainerWrapperTest.groovy

            parent.collect({it.name}).containsAll(["created1", "created2", "created3"])
    
            and:
            container.getByName("created1").value == "original"
            container.getByName("created2").value == "changed"
            container.getByName("created3").value == "actioned"
        }
    
        def "can create and configure via DSL"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 10 22:34:19 UTC 2021
    - 5K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/ContainerElementServiceInjectionIntegrationTest.groovy

                    }
                }
    
                def container = project.container(Bean)
                container.create("one") {
                    assert name == "one"
                }
            """
    
            expect:
            succeeds()
            outputContains("got it")
        }
    
        def "fails when container element requests unknown service"() {
            buildFile """
                interface Unknown { }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 5K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/IncubatingAttributesCheckerTest.groovy

        def "container with attribute which doesn't use @Incubating is not reported"() {
            def container = new DefaultMutableAttributeContainer(attributesFactory)
            container.attribute(Usage.USAGE_ATTRIBUTE, TestUtil.objectFactory().named(Usage, Usage.JAVA_API))
    
            expect:
            !IncubatingAttributesChecker.isAnyIncubating(container)
        }
    
        def "container with @Incubating attribute is reported"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 12 14:19:53 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/ComponentMetadataRuleContainerTest.groovy

            when:
            container.addRule(rule1)
            container.addClassRule(rule2)
    
            then:
            !container.isEmpty()
            !container.isClassBasedRulesOnly()
            def iterator = container.iterator()
            def ruleWrapper = iterator.next()
            !ruleWrapper.isClassBased()
            ruleWrapper.rule == rule1
            def ruleWrapper2 = iterator.next()
            ruleWrapper2.isClassBased()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/security_context_windows.go

    			"pod", klog.KObj(pod), "containerName", container.Name)
    	}
    	if effectiveSc.SELinuxOptions != nil {
    		klog.InfoS("Windows container does not support SecurityContext.SELinuxOptions, please use SecurityContext.WindowsOptions",
    			"pod", klog.KObj(pod), "containerName", container.Name)
    	}
    	if effectiveSc.RunAsGroup != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 18 22:23:13 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/DefaultDependencySpecContainerTest.groovy

            when:
            container.library('someLib')
            container.project('otherProject').library('someLib')
            container.project('otherProject')
    
            container.library('someLib')
            container.library('someLib').project('otherProject')
            container.project('otherProject')
    
            then:
            container.dependencies.size() == 3
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top