Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for customOptionName (0.18 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy

        def "handles field options"() {
            when:
            List<InstanceOptionDescriptor> options = TaskOptionsGenerator.generate(new TestClassWithFields(), reader).getAll()
            then:
            options[0].name == "customOptionName"
            options[0].description == "custom description"
            options[0].argumentType == String
    
            options[1].name == "field2"
            options[1].description == "Descr Field2"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 10 12:45:01 UTC 2023
    - 33.4K bytes
    - Viewed (0)
Back to top