Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for text (0.12 sec)

  1. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithImports.groovy

    package org.gradle.test
    
    import org.gradle.test.sub.*;
    
    class GroovyClassWithImports extends SubGroovyClass implements SubJavaInterface, GroovyInterface {
        void close() {
        }
    }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 228 bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/resources/org/gradle/test/GroovyAnnotation.groovy

    package org.gradle.test
    
    public @interface GroovyAnnotation {
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Apr 26 10:58:32 GMT 2023
    - 65 bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/resources/org/gradle/test/GroovyEnum.groovy

    package org.gradle.test
    
    public enum GroovyEnum {
        A, B
    Groovy
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Wed Apr 26 10:58:32 GMT 2023
    - 61 bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithAnnotation.groovy

    package org.gradle.test
    
    @Deprecated @JavaAnnotation
    class GroovyClassWithAnnotation {
        @Deprecated @JavaAnnotation
        String annotatedProperty
    
        @Deprecated @JavaAnnotation
        void annotatedMethod() { }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 214 bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

                }
    
                element.childNodes.findAll { it instanceof Text }.each {
                    assert it.textContent != null : "Found null text element in <$element.tagName>"
                }
    
                List<Node> trimmedContent = element.childNodes.collect { it };
                boolean inlineContent = trimmedContent.find { it instanceof Text && it.textContent.trim() }
    
                if (prettyPrint && !inlineContent) {
    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)
  6. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

      ]
    }'''
            def newSnapshot = snapshot('6.6')
            def expectedFileContent = releasedVersionsFile.text.replace('20200702230251+0000', newSnapshot.buildTime)
    
            when:
            ******@****.***ReleasedVersionFile(releasedVersionsFile, newSnapshot) == ''
    
            then:
            releasedVersionsFile.text == expectedFileContent
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/DomBuilder.groovy

            nodes.each { appendChild(it) }
        }
    
        def appendChildren(NodeList nodes) {
            nodes.each { appendChild(it) }
        }
    
        def text(String text) {
            current.appendChild(document.createTextNode(text))
        }
    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)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy

        final visitor = Mock(JavadocLexer.TokenVisitor)
    
        def parsesHtmlElements() {
            when:
            lexer.pushText("<p> text </p>")
            lexer.visit(visitor)
    
            then:
            1 * visitor.onStartHtmlElement('p')
            1 * visitor.onStartHtmlElementComplete('p')
            1 * visitor.onText(' text ')
            1 * visitor.onEndHtmlElement('p')
            1 * visitor.onEnd()
            0 * visitor._
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/XIncludeAwareXmlProvider.groovy

                    transformer.setOutputProperty(OutputKeys.INDENT, "yes")
                }
                transformer.setOutputProperty(OutputKeys.METHOD, "xml")
                transformer.setOutputProperty(OutputKeys.MEDIA_TYPE, "text/xml")
                transformer.transform(new DOMSource(root), new StreamResult(stream))
            }
        }
    
        Document getDocument() {
            root
        }
    
        private Document parseSourceFile(File sourceFile) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Viewed (0)
  10. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy

     */
    
    package gradlebuild.buildutils.tasks
    
    import gradlebuild.buildutils.model.ReleasedVersion
    import gradlebuild.buildutils.model.ReleasedVersions
    import spock.lang.Specification
    
    import java.text.SimpleDateFormat
    
    import static java.util.concurrent.TimeUnit.DAYS
    
    class UpdateReleasedVersionsTest extends Specification {
    
        def format = new SimpleDateFormat('yyyyMMddHHmmssZ')
    
        def setup() {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.4K bytes
    - Viewed (0)
Back to top