Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Value (0.27 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            newRepo.find('class') == value
        }
    }
    
    class TestDomainObject implements Attachable<TestDomainObject>, Serializable {
        def value
    
        TestDomainObject(String value) {
            this.value = value
        }
    
        @Override
        boolean equals(Object o) {
            return o.value == value
        }
    
        @Override
        int hashCode() {
            return value.hashCode()
        }
    
    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)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            format(prop.additionalValues[0].title) == 'inherited'
            format(prop.additionalValues[0].value) == 'specific1'
            format(prop.additionalValues[1].title) == 'overridden'
            format(prop.additionalValues[1].value) == 'specific3'
            format(prop.additionalValues[2].title) == 'added'
            format(prop.additionalValues[2].value) == 'specific2'
    
            def prop2 = doc.classProperties[1]
            prop2.name == 'b'
    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)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

            then:
            _ * propertyMetaData.rawCommentText >> '{@value org.gradle.SomeClass#CONST}'
            _ * propertyMetaData.ownerClass >> classMetaData
            _ * linkConverter.resolveValue('org.gradle.SomeClass#CONST', classMetaData, listener) >> document.importNode(parse('<literal>some-value</literal>'), true)
    
            format(result.docbook) == '''<para><literal>some-value</literal></para>'''
        }
    
        def convertsMethodComment() {
    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)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

    import org.w3c.dom.Node
    
    class BuildableDOMCategory extends DOMCategory {
        public static void setText(Element element, String value) {
            while (element.hasChildNodes()) {
                element.removeChild(element.getFirstChild())
            }
            element.appendChild(element.ownerDocument.createTextNode(value))
        }
    
        public static void setChildren(Node element, Closure cl) {
            while (element.hasChildNodes()) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Aug 11 15:32:19 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

                void onStartHtmlElement(String name) {
                    result.append("<$name")
                }
    
                @Override
                void onHtmlElementAttribute(String name, String value) {
                    result.append(" $name='$value'")
                }
    
                @Override
                void onStartHtmlElementComplete(String name) {
                    result.append(">")
                }
    
                @Override
    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)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                    document.addEventListener("DOMContentLoaded", function(event) {
                        \$(document).ready(function () {
                            const level = \$("#filter-preset")[0].value;
                            \$("a[role='menuitem']").each (function() {
                                if (this.text === level) {
                                    this.click();
                                }
    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)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ExtraAttributeDoc.groovy

        ExtraAttributeDoc(Element titleCell, Element valueCell) {
            this.titleCell = titleCell
            this.valueCell = valueCell
        }
    
        @Override
        String toString() {
            return "attribute[key: $key, value: $valueCell.textContent]"
        }
    
        String getKey() {
            return titleCell.textContent
        }
    
        List<Node> getTitle() {
            return titleCell.childNodes.collect { it }
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.3K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

                            <tr><td>propName</td><td>some value</td></tr>
                        </table>
                    </section>
                </chapter>
            ''')
    
            def extraAttribute = new ExtraAttributeDoc(parse('<td>Extra column</td>'), parse('<td>some value</td>'))
            ClassDoc classDoc = classDoc('Class', content: content)
    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)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/DomBuilder.groovy

            attributes.each {key, value ->
                element.setAttribute(key as String, value as String)
            }
            return element
        }
    
        protected Element createNode(Object name, Map attributes, Object value) {
            Element element = createNode(name, attributes)
            if (value instanceof Node) {
                element.appendChild(document.importNode(value, true))
            } else {
    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)
  10. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClass.groovy

         * A read-only property.
         */
        def getReadOnly() {
            'value'
        }
    
        /**
         * A property.
         */
        CombinedInterface getSomeProp() {
            this
        }
    
        void setSomeProp(CombinedInterface value) {
        }
    
        /**
         * A write-only property.
         */
        void setWriteOnly(JavaInterface value) {
        }
    
        public void setIgnoreMe1() {
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 915 bytes
    - Viewed (0)
Back to top