Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for finds (0.17 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

        PropertyDoc findProperty(String name) {
            return classProperties.find { it.name == name }
        }
    
        BlockDoc getBlock(String name) {
            def block = classBlocks.find { it.name == name }
            if (block) {
                return block
            }
            for (extensionDoc in classExtensions) {
                block = extensionDoc.extensionBlocks.find { it.name == name }
                if (block) {
                    return block
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

            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)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            when:
            repository.put('class', value)
    
            then:
            repository.find('class') == value
            repository.get('class') == value
        }
    
        def findReturnsNullForUnknownClass() {
            expect:
            repository.find('unknown') == null
        }
    
        def getFailsForUnknownClass() {
            given:
    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)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

                    documentationRoot = project.layout.projectDirectory.dir('docsRoot')
                    javadocRoot = documentationRoot.dir('javadoc')
                }
            """
        }
    
        def "finds broken section links"() {
            given:
            sampleDoc << """
    === Dead Section Links
    This section doesn't exist: <<missing_section>>
    Also see this one, which is another dead link: <<other_missing_section>>
            """
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Nov 28 22:01:54 GMT 2022
    - 7.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            def propertyDetailsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Property details' } }
            def propertiesTable = withCategories { propertiesSection ? propertiesSection.table[0] : parse('<table/>')}
            def methodsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Methods' } }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 40.8K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

            // workaround to IBM JDK crash "groovy.lang.GroovyRuntimeException: Could not find matching constructor for..."
            new DslDocModel(classDocbookDir, document, classMetaData, extensionMetaData)
        }
    
        def loadPluginsMetaData() {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/MethodDoc.groovy

        boolean isReplaced() {
            return metaData.replaced
        }
    
        @Override
        String getReplacement() {
            return metaData.replacement
        }
    
        Element getDescription() {
            return comment.find { it.nodeName == 'para' }
        }
    
        List<Element> getComment() {
            return comment
        }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

                }
    
                List<Node> trimmedContent = element.childNodes.collect { it };
                boolean inlineContent = trimmedContent.find { it instanceof Text && it.textContent.trim() }
    
                if (prettyPrint && !inlineContent) {
                    trimmedContent = element.childNodes.inject([]) { list, child ->
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.1K bytes
    - Viewed (0)
  9. build-logic/cleanup/src/test/groovy/gradlebuild/cleanup/services/LeakingProcessKillPatternTest.groovy

            def projectDir = 'C:\\some\\agent\\workspace'
    
            expect:
            (line =~ KillLeakingJavaProcesses.generateLeakingProcessKillPattern(projectDir)).find()
        }
    
        def "matches daemon process started by performance test on Windows"() {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Sep 28 07:00:39 GMT 2023
    - 14.4K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

            ClassMetaData targetClass = Mock()
            MethodMetaData method = method('someName')
            _ * nameResolver.resolve('SomeClass', classMetaData) >> 'org.gradle.SomeClass'
            _ * repository.find('org.gradle.SomeClass') >> targetClass
            _ * targetClass.declaredMethods >> ([method] as Set)
            _ * linkRenderer.link(method, listener) >> parse('<someLinkElement/>')
    
            when:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 8.7K bytes
    - Viewed (0)
Back to top