Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for link (0.16 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

         * classloader by {@link JApiCmpWorkerAction}, so there is no way to use a
         * normal property on the renderer instance and just set the location of the API file in it.
         *
         * Instead, we'll encode the path to the file in the description data field, as a link.  This is
         * useful regardless of this renderer's needs, since now there will be a link embedded in the report
    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)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

    import org.gradle.api.tasks.OutputFile
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.TaskAction
    import gradlebuild.docs.dsl.links.ClassLinkMetaData
    import gradlebuild.docs.dsl.links.LinkMetaData
    import gradlebuild.docs.model.ClassMetaDataRepository
    import gradlebuild.docs.model.SimpleClassMetaDataRepository
    import org.w3c.dom.Document
    import org.w3c.dom.Element
    /**
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.6K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy

        def ignoresWhitespaceAndEOLCharsBetweenJavadocTagNameAndValue() {
            when:
            lexer.pushText("* {@link\n *  Something}")
            lexer.visit(visitor)
    
            then:
            1 * visitor.onStartJavadocTag('link')
            1 * visitor.onText('Something')
            1 * visitor.onEndJavadocTag('link')
            1 * visitor.onEnd()
            0 * visitor._
        }
    
        def ignoresBadlyFormedHtmlElement() {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy

            when:
            def link = renderer.link(type('java.util.List', true), listener)
    
            then:
            format(link) == '<classname><ulink url="https://docs.oracle.com/javase/javaVersion/docs/api/java/util/List.html"><classname>List</classname></ulink>[]</classname>'
        }
    
        def rendersLinkToPrimitiveType() {
            when:
            def link = renderer.link(type('boolean'), listener)
    
            then:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

            def link = converter.resolve('org.gradle.SomeClass', classMetaData, listener)
    
            then:
            format(link) == '''<UNHANDLED-LINK>org.gradle.SomeClass</UNHANDLED-LINK>'''
        }
    
        def convertsClassAndMethodNameToLink() {
            ClassMetaData targetClass = Mock()
            MethodMetaData method = method('someName')
            _ * nameResolver.resolve('SomeClass', classMetaData) >> 'org.gradle.SomeClass'
    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)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

        def "validates present files for javadoc links"() {
            given:
            sampleDoc << """
    === Valid Javadoc Links
    
    Be sure to see: `@link:{javadocPath}/org/gradle/api/tasks/InputDirectory.html[InputDirectory]`
    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)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

    import org.gradle.api.tasks.TaskAction
    
    /**
     * Extracts meta-data from the Groovy and Java source files which make up the Gradle API. Persists the meta-data to a file
     * for later use in generating documentation for the DSL, such as by {@link gradlebuild.docs.dsl.docbook.AssembleDslDocTask}.
     */
    @CacheableTask
    abstract class ExtractDslMetaDataTask extends SourceTask {
        @OutputFile
        abstract RegularFileProperty getDestinationFile();
    
        /**
    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)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaDataTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.docs.dsl.links
    
    import spock.lang.Specification
    
    import gradlebuild.docs.dsl.source.model.ClassMetaData
    import gradlebuild.docs.dsl.source.model.TypeMetaData
    
    class ClassLinkMetaDataTest extends Specification {
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  9. .github/workflows/CheckBadMerge.groovy

                for (String line in mergeCommitFileLines) {
                    if (line.trim().isEmpty()) {
                        continue
                    }
                    if (!masterCommitFileLines.contains(line) && releaseCommitFileLines.contains(line)) {
                        println("Found bad file $filePath in merge commit $mergeCommit: '$line' only exists in $releaseCommit but not in $masterCommit")
    Groovy
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
Back to top