Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for cdef (0.18 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

        final JavadocConverter parser = new JavadocConverter(document, linkConverter)
    
        def respectsLineIndentation() {
            _ * classMetaData.rawCommentText >> '''
     * x
     *   indented
    '''
            when:
            def result = parser.parse(classMetaData, listener)
    
            then:
            format(result.docbook).contains('x\n  indented')
        }
    
        def removesLeadingAsterixFromEachLine() {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 14.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

        def canAddMetaData() {
            TestDomainObject value = new TestDomainObject('a')
    
            when:
            repository.put('class', value)
    
            then:
            repository.find('class') == value
            repository.get('class') == value
        }
    
        def findReturnsNullForUnknownClass() {
            expect:
            repository.find('unknown') == null
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            return doc
        }
    
        def property(String name, ClassMetaData classMetaData) {
            return property([:], name, classMetaData)
        }
    
        def property(Map<String, ?> args, String name, ClassMetaData classMetaData) {
            PropertyMetaData property = Mock()
            _ * property.name >> name
            _ * property.ownerClass >> classMetaData
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

        public static void addBefore(Element sibling, Node n) {
            def parent = sibling.parentNode
            parent.insertBefore(n, sibling)
        }
    
        public static Object addAfter(Element sibling, Closure cl) {
            DomBuilder builder = new DomBuilder(sibling.ownerDocument, null)
            cl.delegate = builder
            cl.call()
            def parent = sibling.parentNode
            def next = sibling.nextSibling
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Aug 11 15:32:19 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

        }
    
        def "closes implicit <p> element at start of block element"() {
            expect:
            parse(source) == transformed
    
            where:
            source              | transformed
            "text<p>para 2</p>" | "<p>text</p><p>para 2</p>"
            "text<h2>text</h2>" | "<p>text</p><h2>text</h2>"
        }
    
        def "does not add implicit <p> element for elements with inline content"() {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

        @Inject
        abstract ExecOperations getExecOps()
    
        @TaskAction
        def transform() {
            logging.captureStandardOutput(LogLevel.INFO)
            logging.captureStandardError(LogLevel.INFO)
    
            def destDir = destinationDirectory.get().asFile
            fs.delete {
                delete(destDir, temporaryDir)
            }
    
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            }
    
            def acceptanceJson = new AcceptedApiChange(
                change.type,
                change.member,
                '[ADD YOUR CUSTOM REASON HERE]',
                change.changes
            )
    
            def changeId = (change.type + change.member).replaceAll('[^a-zA-Z0-9]', '_')
            Violation violation = Violation.error(
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

         *
         * @param data the report data containing a description to parse
         * @return accepted api changes reported upon, as a file
         */
        private static File getAcceptedApiChangesFile(RichReportData data) {
            def matcher = data.description =~ acceptedChangesRegex
            return new File(matcher[0][1])
        }
    
        private static RichReportData enrichReport(RichReportData data) {
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

        BinaryCompatibilityRepository repository
    
        def jApiClassifier = Stub(JApiClass) // represents interfaces, enums and annotations
        def jApiMethod = Stub(JApiMethod)
        def jApiField = Stub(JApiField) // represents fields and enum literals
        def jApiConstructor = Stub(JApiConstructor)
        def incubatingAnnotation = Stub(JApiAnnotation)
        def deprecatedAnnotation = Stub(JApiAnnotation)
        def overrideAnnotation = Stub(JApiAnnotation)
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

            return doc
        }
    
        def property(String name, ClassMetaData classMetaData) {
            return property([:], name, classMetaData)
        }
    
        def property(Map<String, ?> args, String name, ClassMetaData classMetaData) {
            PropertyMetaData property = Mock()
            _ * property.name >> name
            _ * property.ownerClass >> classMetaData
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.5K bytes
    - Viewed (0)
Back to top