Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for seenApiChanges (0.07 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java

            Set<ApiChange> acceptedApiChanges = (Set<ApiChange>) context.getUserData().get("acceptedApiChanges");
            Set<ApiChange> seenApiChanges = (Set<ApiChange>) context.getUserData().get("seenApiChanges");
            Set<ApiChange> left = new HashSet<>(acceptedApiChanges);
            left.removeAll(seenApiChanges);
            if (!left.isEmpty()) {
                String formattedLeft = CollectionUtils.join("\n", left);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 09 08:16:49 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            return acceptOrReject(member, changes, rejection)
        }
    
        Violation acceptOrReject(JApiCompatibility member, List<String> changes, Violation rejection) {
            Set<ApiChange> seenApiChanges = (Set<ApiChange>) context.userData["seenApiChanges"]
            Set<AccessorKey> seenOldAccessorsOfUpgradedProperties = (Set<AccessorKey>) context.userData[SEEN_OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES]
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java

        public void execute(ViolationCheckContext context) {
            Map<String, Object> userData = (Map<String, Object>) context.getUserData();
            userData.put("acceptedApiChanges", acceptedApiChanges);
            userData.put("seenApiChanges", new HashSet<ApiChange>());
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

    abstract class AbstractContextAwareRuleSpecification extends Specification {
        @TempDir
        File testDir
    
        ViolationCheckContext context = new ViolationCheckContext() {
            Map userData = [seenApiChanges: [] as Set]
    
            String getClassName() { return null }
    
            Map<String, ?> getUserData() { return userData }
    
            Object getUserData(String key) {
                return userData[key]
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2K bytes
    - Viewed (0)
Back to top