Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Action (0.17 sec)

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

        }
    
        private Element getSection(String title) {
            def sections = classSection.section.findAll {
                it.title[0] && it.title[0].text().trim() == title
            }
            if (sections.size() < 1) {
                throw new RuntimeException("Docbook content for $className does not contain a '$title' section.")
            }
            return sections[0]
        }
    
        Element getDescription() {
    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/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            repository.put('class1', value1)
            repository.put('class2', value2)
            Action action = Mock()
    
            when:
            repository.each(action)
    
            then:
            1 * action.execute(value1)
            1 * action.execute(value2)
            0 * action._
        }
    
        def canPersistMetaData() {
            TestDomainObject value = new TestDomainObject('a')
    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

            def content = parse('''
    <section>
        <section><title>Properties</title>
            <table>
                <thead><tr><td>Name</td></tr></thead>
                <tr><td>b</td></tr>
                <tr><td>a</td></tr>
            </table>
        </section>
        <section><title>Methods</title><table><thead><tr></tr></thead></table></section>
    </section>
    ''')
    
            when:
            ClassDoc doc = withCategories {
    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/dsl/source/ExtractDslMetaDataTask.groovy

    import gradlebuild.docs.model.ClassMetaDataRepository
    import gradlebuild.docs.model.SimpleClassMetaDataRepository
    import groovy.time.TimeCategory
    import groovy.time.TimeDuration
    import org.gradle.api.Action
    import org.gradle.api.Transformer
    import org.gradle.api.file.FileTree
    import org.gradle.api.file.RegularFileProperty
    import org.gradle.api.logging.Logging
    import org.gradle.api.tasks.CacheableTask
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

        }
    
        def "validates present section links"() {
            given:
            sampleDoc << """
    [[prior_section]]
    Text
    
    === Valid Section Links
    This section comes earlier: <<prior_section>>
    This section comes later: <<subsequent_section>>
    
    [[subsequent_section]]
    More text
            """
    
            when:
            run('checkDeadInternalLinks').build()
    
    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)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

            def content = parse('''<section>
                    <section><title>Properties</title>
                        <table><thead><tr><td/></tr></thead></table>
                    </section>
                    <section><title>Methods</title>
                        <table><thead><tr><td/></tr></thead></table>
                    </section>
                </section>
            ''')
    
            when:
    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)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            def content = parse('''
    <section>
        <section><title>Methods</title>
            <table>
                <thead><tr><td>Name</td></tr></thead>
                <tr><td>a</td></tr>
                <tr><td>b</td></tr>
            </table>
        </section>
        <section><title>Properties</title><table><thead><tr>Name</tr></thead></table></section>
    </section>
    ''')
    
            when:
            ClassDoc doc = withCategories {
    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)
Back to top