Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,170 for rulesv4 (0.56 sec)

  1. platforms/jvm/jacoco/src/test/groovy/org/gradle/internal/jacoco/rules/JacocoViolationRulesContainerImplTest.groovy

            1 * instantiator.newInstance(JacocoViolationRuleImpl.class) >> new JacocoViolationRuleImpl()
            violationRulesContainer.rules.size() == 2
            violationRulesContainer.rules[1] == rule
        }
    
        def "returned rules are unmodifiable"() {
            when:
            violationRulesContainer.rules << new JacocoViolationRuleImpl()
    
            then:
            thrown(UnsupportedOperationException)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. pkg/registry/rbac/validation/policy_compact_test.go

    		},
    	}
    
    	for k, tc := range testcases {
    		rules := tc.Rules
    		originalRules := make([]rbacv1.PolicyRule, len(tc.Rules))
    		for i := range tc.Rules {
    			originalRules[i] = *tc.Rules[i].DeepCopy()
    		}
    		compacted, err := CompactRules(tc.Rules)
    		if err != nil {
    			t.Errorf("%s: unexpected error: %v", k, err)
    			continue
    		}
    		if !reflect.DeepEqual(rules, originalRules) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 02 16:51:16 UTC 2020
    - 9.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/modelRules/basicRuleSourcePlugin/tests/basicRuleSourcePlugin-model-task.out

          | Creator: 	Project.<init>.tasks()
          | Rules:
             ⤷ PersonRules#createHelloTask(ModelMap<Task>, Person)
        + buildEnvironment
              | Type:   	org.gradle.api.tasks.diagnostics.BuildEnvironmentReportTask
              | Value:  	task ':buildEnvironment'
              | Creator: 	Project.<init>.tasks.buildEnvironment()
              | Rules:
                 ⤷ copyToTaskContainer
        + components
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 15:10:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. internal/bucket/replication/replication.go

    			rules = append(rules, rule)
    			continue
    		}
    		if obj.ExistingObject && rule.ExistingObjectReplication.Status == Disabled {
    			continue
    		}
    		if !strings.HasPrefix(obj.Name, rule.Prefix()) {
    			continue
    		}
    		if rule.Filter.TestTags(obj.UserTags) {
    			rules = append(rules, rule)
    		}
    	}
    	sort.Slice(rules, func(i, j int) bool {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultComponentSelectionRulesTest.groovy

            rules.rules[0].action == ruleAction
            rules.rules[0].spec == Specs.satisfyAll()
        }
    
        def "add rule source rule that applies to module"() {
            String notation = "${GROUP}:${MODULE}"
    
            when:
            rules.withModule(notation, ruleSource)
    
            then:
            1 * adapter.createFromRuleSource(ComponentSelection, ruleSource) >> ruleAction
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedToModelMapElementIntegrationTest.groovy

                    }
                }
    
                class Rules extends RuleSource {
                    @Mutate
                    void addTasks(ModelMap<Task> tasks) {
                        tasks.named("taskWithThrowingRuleApplied", ThrowingRule)
                        tasks.create("taskWithThrowingRuleApplied")
                    }
                }
    
                apply type: Rules
            '''
    
            then:
            fails "tasks"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/ambient/testdata/deny-groups.yaml

    action: DENY
    groups:
    - rules:
      - matches:
        - destinationPorts:
          - 80
      - matches:
        - namespaces:
          - exact: from-mix-ns
          principals:
          - exact: from-mix-principal
    - rules:
      - matches:
        - destinationPorts:
          - 80
      - matches:
        - namespaces:
          - exact: to-mix-ns
          principals:
          - exact: to-mix-principal
    - rules:
      - matches:
        - destinationPorts:
          - 80
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 955 bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/UnboundModelRulesException.java

        private static final String MESSAGE = "The following model rules could not be applied due to unbound inputs and/or subjects:";
        private final List<? extends UnboundRule> rules;
    
        public UnboundModelRulesException(List<? extends UnboundRule> rules) {
            super(toMessage(rules));
            this.rules = rules;
        }
    
        private static String toMessage(Iterable<? extends UnboundRule> rules) {
            StringWriter string = new StringWriter();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/testdata/allow-full.yaml

    groups:
    - rules:
      - matches:
        - notPrincipals:
          - exact: not-principal
          - prefix: not-principal-prefix-
          - suffix: -suffix-not-principal
          - presence: {}
          principals:
          - exact: principal
          - prefix: principal-prefix-
          - suffix: -suffix-principal
          - presence: {}
    - rules:
      - matches:
        - namespaces:
          - exact: ns
          - prefix: ns-prefix-
          - suffix: -ns-suffix
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. pilot/pkg/security/authz/builder/testdata/http/custom-bad-out.yaml

    typedConfig:
      '@type': type.googleapis.com/envoy.extensions.filters.http.rbac.v3.RBAC
      rules:
        action: DENY
        policies:
          istio-ext-authz-ns[foo]-policy[httpbin-1]-rule[0]-deny-due-to-bad-CUSTOM-action:
            permissions:
            - andRules:
                rules:
                - orRules:
                    rules:
                    - urlPath:
                        path:
                          exact: /httpbin1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Sep 15 04:13:49 UTC 2023
    - 885 bytes
    - Viewed (0)
Back to top