Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Fontaine (0.15 sec)

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

        protected boolean isInternal(CtClass c) {
            if (c.name.startsWith("java.")) {
                return false
            } else if (c.name.contains('.internal.')) {
                return true
            } else {
                return !publicApiPatterns.any { it.matcher(c.name).find() }
            }
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                    }
    
                    function appendErrorCorrections(reason) {
                        var result = JSON.parse('${currentApiChanges.replace('\n', '')}'); // JSON string from report uses double quotes, contain it within single quotes
                        getAllErrorCorrections().forEach((correction) => {
                            correction.acceptation = reason;
                            result.acceptedApiChanges.push(correction);
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  3. .github/workflows/CheckBadMerge.groovy

            // Otherwise, skip this commit.
            List<String> p1Branches = branchesOf(parentCommits[0])
            List<String> p2Branches = branchesOf(parentCommits[1])
    
            if (p1Branches.contains("origin/master") && !p2Branches.contains("origin/master") && p2Branches.any { it.startsWith("origin/release") }) {
                List<String> badFiles = MONITORED_FILES.grep { isBadFileInMergeCommit(it, commit, parentCommits[0], parentCommits[1]) }
    Groovy
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

                    // there's another public super class which contains target method
                    // it would be reported somewhere else
                    return false
                }
            }
    
            // I'm the top public class which contains target method
            return true
        }
    
        private boolean containsMethod(CtClass c, CtMethod method) {
            // TODO signature contains return type
            // but return type can be overridden
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy

            when:
            Violation violation = rule.maybeViolation(apiClass)
    
            then:
            violation.humanExplanation.contains('SuperInternal.publicMethod()')
            !violation.humanExplanation.contains('SuperInternal.privateMethod()')
        }
    
        def "method removal would not be reported if current class is not first public class"() {
            given:
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

            given:
            newBase.addInterface(interfaces[type])
    
            when:
            Violation violation = rule.maybeViolation(apiClass)
    
            then:
            violation.humanExplanation.contains(result)
    
            where:
            type         | result
            'internal'   | "\"${replaceAsInternal(InternalInterface.name)}\""
            'incubating' | "\"${IncubatingInterface.name}\""
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 4K bytes
    - Viewed (0)
Back to top