Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,218 for Applies (0.19 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PartialEvaluatorTest.kt

    import org.junit.Assert.fail
    import org.junit.Test
    
    
    class PartialEvaluatorTest {
    
        @Test
        fun `Project target - top-level - empty`() {
    
            assertThat(
                "reduces to static program that applies default plugin requests and base plugins",
                partialEvaluationOf(
                    Program.Empty,
                    ProgramKind.TopLevel,
                    ProgramTarget.Project
                ),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 38.9K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/DefaultComponentMetadataHandlerTest.groovy

        ModuleSourcesSerializer moduleSourcesSerializer = new ModuleSourcesSerializer([:])
    
        def 'setup'() {
            TestComponentMetadataRule.instanceCount = 0
        }
    
        def "add action rule that applies to all components"() {
            def action = new Action<ComponentMetadataDetails>() {
                @Override
                void execute(ComponentMetadataDetails componentMetadataDetails) {}
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  3. pkg/registry/rbac/validation/rule.go

    			return
    		}
    	} else {
    		sourceDescriber := &clusterRoleBindingDescriber{}
    		for _, clusterRoleBinding := range clusterRoleBindings {
    			subjectIndex, applies := appliesTo(user, clusterRoleBinding.Subjects, "")
    			if !applies {
    				continue
    			}
    			rules, err := r.GetRoleReferenceRules(clusterRoleBinding.RoleRef, "")
    			if err != nil {
    				if !visitor(nil, nil, err) {
    					return
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 02 16:51:16 UTC 2020
    - 11.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/rbac/v1alpha1/types.go

    // 3. deny by default
    
    // PolicyRule holds information that describes a policy rule, but does not contain information
    // about who the rule applies to or which namespace the rule applies to.
    type PolicyRule struct {
    	// Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
    	// +listType=atomic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/type/DefaultArtifactTypeRegistryTest.groovy

            artifactName.type >> "jar"
    
            registry.create().create("aar")
    
            expect:
            registry.mapAttributesFor(attrs, [artifact]) == attrsPlusFormat
        }
    
        def "applies mapping when no attributes defined for matching type"() {
            def attrs = ImmutableAttributes.EMPTY
            def attrsPlusFormat = concat(attrs, ["artifactType": "jar"])
            def artifact = Stub(ComponentArtifactMetadata)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 14:43:17 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/rbac/v1/types.go

    // 3. deny by default
    
    // PolicyRule holds information that describes a policy rule, but does not contain information
    // about who the rule applies to or which namespace the rule applies to.
    type PolicyRule struct {
    	// Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
    	// +listType=atomic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/rbac/v1beta1/types.go

    // 3. deny by default
    
    // PolicyRule holds information that describes a policy rule, but does not contain information
    // about who the rule applies to or which namespace the rule applies to.
    type PolicyRule struct {
    	// Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
    	// +listType=atomic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/core/BuildScanAutoApplyIntegrationTest.groovy

        }
    
        void applyPlugin() {
            settingsFile << fixture.plugins()
        }
    
        def "automatically applies plugin when --scan is provided on command-line"() {
            when:
            runBuildWithScanRequest()
    
            then:
            pluginAppliedOnce()
        }
    
        def "only applies once when -b used"() {
            when:
            file("other-build.gradle") << "task dummy {}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/JavaBasePluginTest.groovy

    import static org.gradle.util.internal.WrapUtil.toLinkedSet
    
    class JavaBasePluginTest extends AbstractProjectBuilderSpec {
        @Rule
        public SetSystemProperties sysProperties = new SetSystemProperties()
    
        def "applies base plugins and adds convention and extensions"() {
            when:
            project.pluginManager.apply(JavaBasePlugin)
    
            then:
            project.plugins.hasPlugin(ReportingBasePlugin)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  10. platforms/jvm/ear/src/test/groovy/org/gradle/plugins/ear/EarPluginTest.groovy

        }
    
        def "applies mappings to archive tasks"() {
            when:
            project.pluginManager.apply(EarPlugin)
    
            and:
            def task = project.task(type: Ear, 'customEar')
    
            then:
            task.destinationDirectory.get() == project.libsDirectory.get()
        }
    
        def "works with java base plugin applied before ear plugin"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 14:55:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
Back to top