Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for option_name (0.14 sec)

  1. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/BooleanJavadocOptionFileOptionTest.groovy

    class BooleanJavadocOptionFileOptionTest extends Specification {
        private JavadocOptionFileWriterContext writerContextMock = Mock()
        private final String optionName = "testOption"
        private BooleanJavadocOptionFileOption booleanOption = new BooleanJavadocOptionFileOption(optionName, null)
    
        def testWriteNullValue() {
            when:
            booleanOption.write(writerContextMock)
    
            then:
            0 * _._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/LinksOfflineJavadocOptionFileOptionTest.groovy

    class LinksOfflineJavadocOptionFileOptionTest extends Specification {
        private JavadocOptionFileWriterContext writerContextMock = Mock()
        private final String optionName = "testOption"
    
        private LinksOfflineJavadocOptionFileOption linksOfflineOption = new LinksOfflineJavadocOptionFileOption(optionName, new ArrayList<>())
    
    
        def testWriteNullValue() throws IOException {
            when:
            linksOfflineOption.write(writerContextMock)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/StringJavadocOptionFileOptionTest.groovy

    class StringJavadocOptionFileOptionTest extends Specification {
        private JavadocOptionFileWriterContext writerContextMock = Mock()
        private final String optionName = "testOption"
    
        private StringJavadocOptionFileOption stringOption = new StringJavadocOptionFileOption(optionName, null)
    
        def testWriteNullValue() throws IOException {
            when:
            stringOption.write(writerContextMock)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/StringsJavadocOptionFileOptionTest.groovy

        private JavadocOptionFileWriterContext writerContextMock = Mock()
        private final String optionName = "testOption"
        private final String joinBy = ";"
    
        private StringsJavadocOptionFileOption stringsOption = new StringsJavadocOptionFileOption(optionName, new ArrayList<>(), joinBy)
    
        def testWriteNullValue() throws IOException {
            when:
            stringsOption.write(writerContextMock)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/MultipleValueOptionElement.java

        public MultipleValueOptionElement(String optionName, Option option, Class<?> elementType, PropertySetter setter, OptionValueNotationParserFactory notationParserFactory) {
            super(optionName, option, List.class, setter.getDeclaringClass());
            this.setter = setter;
            this.notationParser = createNotationParserOrFail(notationParserFactory, optionName, elementType, setter.getDeclaringClass());
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Dec 09 22:25:25 UTC 2018
    - 2K bytes
    - Viewed (0)
  6. src/encoding/json/tags.go

    // contains a particular substr flag. substr must be surrounded by a
    // string boundary or commas.
    func (o tagOptions) Contains(optionName string) bool {
    	if len(o) == 0 {
    		return false
    	}
    	s := string(o)
    	for s != "" {
    		var name string
    		name, s, _ = strings.Cut(s, ",")
    		if name == optionName {
    			return true
    		}
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 972 bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/EnumJavadocOptionFileOptionTest.groovy

    class EnumJavadocOptionFileOptionTest extends Specification {
        private JavadocOptionFileWriterContext writerContextMock = Mock()
        private final String optionName = "testOption"
        private EnumJavadocOptionFileOption<JavadocMemberLevel> enumOption = new EnumJavadocOptionFileOption<JavadocMemberLevel>(optionName, null)
    
        def testWriteNullValue() throws IOException {
            when:
            enumOption.write(writerContextMock)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/FieldOptionElement.java

            String optionName = calOptionName(option, field);
            Class<?> fieldType = field.getType();
    
            if (Property.class.isAssignableFrom(fieldType)) {
                PropertySetter setter = mutateUsingGetter(field);
                return AbstractOptionElement.of(optionName, option, setter, optionValueNotationParserFactory);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 11 11:28:20 UTC 2023
    - 7K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/FileSystemWatchingHelper.java

        }
    
        private static String systemProperty(String key, Object value) {
            return "-D" + key + "=" + value;
        }
    
        private static String booleanBuildOption(String optionName, boolean enabled) {
            return "--" + (enabled ? "" : "no-") + optionName;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/execution/commandline/CommandLineTaskConfigurer.java

                List<OptionDescriptor> commandLineOptions = taskOptions.getAll();
                for (OptionDescriptor optionDescriptor : commandLineOptions) {
                    String optionName = optionDescriptor.getName();
                    org.gradle.cli.CommandLineOption option = parser.option(optionName);
                    option.hasDescription(optionDescriptor.getDescription());
                    option.hasArgument(optionDescriptor.getArgumentType());
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top