Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for Chen (0.14 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaDataTest.groovy

            when:
            LinkMetaData linkMetaData = classLinkMetaData.getMethod("$METHOD_NAME()")
    
            then:
            linkMetaData != null
            linkMetaData.style == LinkMetaData.Style.Javadoc
            linkMetaData.displayName == "$SIMPLE_CLASSNAME.${METHOD_NAME}()"
            linkMetaData.urlFragment == "$METHOD_NAME--"
    
            when:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy

     */
    
    package gradlebuild.binarycompatibility
    
    import spock.lang.Specification
    
    class AcceptedApiChangesTest extends Specification {
    
        def "parses accepted change"() {
            when:
            def changes = AcceptedApiChanges.parse("""
                {
                    "acceptedApiChanges": [
                        {
                            "type": "org.gradle.api.initialization.ConfigurableIncludedBuild",
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

            when:
            newBase.addInterface(stablePublicInterface)
    
            then:
            noViolation(rule)
        }
    
        def 'adding an #type interface can be reported'() {
            given:
            newBase.addInterface(interfaces[type])
    
            when:
            Violation violation = rule.maybeViolation(apiClass)
    
            then:
            violation.humanExplanation.contains(result)
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 4K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

    </section>
    ''')
    
            when:
            ClassDoc doc = withCategories {
                def doc = new ClassDoc('org.gradle.Class', content, document, classMetaData, null)
                doc.superClass = superClass
                doc.interfaces << superType1
                doc.interfaces << superType2
                builder.build(doc)
                doc
            }
    
            then:
            doc.classMethods.size() == 6
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 8.4K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy

            given:
            apiClass.oldClass >> Optional.of(classes['OldBase'])
            apiClass.newClass >> Optional.of(classes['NewBase'])
    
            when:
            Violation violation = rule.maybeViolation(apiClass)
    
            then:
            violation.humanExplanation.contains('SuperInternal.publicMethod()')
            !violation.humanExplanation.contains('SuperInternal.privateMethod()')
        }
    
    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/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/ClassMetaDataTest.groovy

        def "is deprecated when @Deprecated annotation is attached to class"() {
            def notDeprecated = new ClassMetaData("SomeClass")
            def deprecated = new ClassMetaData("SomeClass")
            deprecated.addAnnotationTypeName(Deprecated.class.name)
    
            expect:
            !notDeprecated.deprecated
            deprecated.deprecated
        }
    
        def "is incubating when @Incubating annotation is attached to class"() {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.4K bytes
    - Viewed (0)
Back to top