Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for toText (0.2 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy

            then:
            jsonFile.text == nonExistentAcceptedApiChanges()
        }
    
        def "can clean non-existing API changes"() {
            given:
            jsonFile << nonExistentAcceptedApiChanges()
    
            when:
            jsonFileManager.emptyAcceptedApiChanges(jsonFile)
    
            then:
            jsonFile.text == nonExistentAcceptedApiChanges()
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

            }
            return table
        }
    
        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]
        }
    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)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

            "  <p>text</p>   "                                 | "<p>text</p>"
            "<p>text</p>   <p>text</p>"                        | "<p>text</p><p>text</p>"
            "<p>text</p>   <h2>text</h2> <table/>"             | "<p>text</p><h2>text</h2><table></table>"
            "  <table>  <tr>  <td>text</td> </tr>\r\n</table>" | "<table><tr><td>text</td></tr></table>"
        }
    
    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)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

            _ * propertyMetaData.rawCommentText >> '<unknown>text</unknown><inheritDoc>{@unknown text}{@p text}{@ unknown}'
    
            when:
            def result = parser.parse(propertyMetaData, listener)
    
            then:
    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)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

            String enrichedDesc = data.description + buildFixAllButton(currentApiChanges) + buildAutoSelectSeverityFilter()
            return new RichReportData(data.reportTitle, enrichedDesc, data.violations)
        }
    
        private static String buildFixAllButton(String currentApiChanges) {
            // language=javascript
            return """
                <script type="text/javascript">
    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)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

                    }
                }
            }
            return extensions
        }
    
        def mergeContent(Element typeTable, DslDocModel model) {
            def title = typeTable.title[0].text()
    
            //TODO below checks makes it harder to add new sections
            //because the new section will work correctly only when the section title ends with 'types' :)
            if (title.matches('(?i).* types')) {
    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/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)
  8. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

        def injectAnnotation = Stub(JApiAnnotation)
    
        def setup() {
            new File(tmp, "org/gradle/api").mkdirs()
            sourceFile = new File(tmp, "${TEST_INTERFACE_NAME.replace('.', '/')}.java").tap { text = "" }
    
            jApiClassifier.fullyQualifiedName >> TEST_INTERFACE_NAME
            jApiField.name >> 'field'
            jApiField.jApiClass >> jApiClassifier
            jApiMethod.name >> 'method'
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  9. 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()
    
            then:
            assertNoDeadLinks()
        }
    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)
  10. .github/workflows/CheckBadMerge.groovy

            return execResult.stdout
        }
    
        static Future<String> readStreamAsync(InputStream inputStream) {
            return THREAD_POOL.submit({ inputStream.text } as Callable) as Future<String>
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
Back to top