- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 4,597 for Option (0.12 sec)
-
platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/EnumBuildOptionTest.groovy
1 * receiver.accept(MyEnum.SHALT) when: option.applyFromProperty([test: 'nOt'], receiver) then: 1 * receiver.accept(MyEnum.NOT) when: option.applyFromProperty([test: 'pazz'], receiver) then: RuntimeException ex = thrown() ex.message == "Option my option doesn't accept value 'pazz'. Possible values are [THOU, SHALT, NOT, PASS]" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/AbstractPropertiesCommandLineConverterTest.groovy
option.hasDescription(_) >> option when: converter.configure(parser) then: 1 * option.hasArguments() >> option 1 * option.hasDescription(converter.propertyOptionDescription) >> option 1 * parser.option(converter.propertyOption, converter.propertyOptionDetailed) >> option } def "parses properties args"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:00:57 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/running-builds/introduction/command_line_interface_basics.adoc
---- gradle [taskName...] [--option-name...] ---- Options are allowed _before_ and _after_ task names. ---- gradle [--option-name...] [taskName...] ---- If multiple tasks are specified, you should separate them with a space. ---- gradle [taskName1 taskName2...] [--option-name...] ----
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 18:33:11 UTC 2024 - 2.7K bytes - Viewed (0) -
.idea/runConfigurations/Analysis_All_Tests.xml
<ExternalSystemSettings> <option name="executionName" /> <option name="externalProjectPath" value="$PROJECT_DIR$" /> <option name="externalSystemIdString" value="GRADLE" /> <option name="scriptParameters" value="" /> <option name="taskDescriptions"> <list /> </option> <option name="taskNames"> <list> <option value="analysisAllTests" />
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jan 03 13:39:42 UTC 2024 - 1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/StartParameterConverterTest.groovy
parameter.logLevel == LogLevel.DEBUG } def "can provide parallelism option as command-line option"() { expect: def parameter = convert("--max-workers", "123") parameter.maxWorkerCount == 123 } def "can provide parallelism option as system property on command-line"() { expect: def parameter = convert("-Dorg.gradle.workers.max=123")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 5.6K bytes - Viewed (0) -
maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 09:06:12 UTC 2024 - 4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionIntegrationTest.groovy
} def "can render option with help for Java task with property"() { given: file('buildSrc/src/main/java/SampleTask.java') << taskWithSinglePropertyOption('Property', 'String') buildFile << sampleTask() when: succeeds('help', '--task', 'sample') then: outputContains(""" Options
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 28.4K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_options_test.go
) type optionAvailTest struct { option string featureGate featuregate.Feature featureGateEnable bool expectedAvailable bool } func TestPolicyDefaultsAvailable(t *testing.T) { testCases := []optionAvailTest{ { option: "this-option-does-not-exist", expectedAvailable: false, }, { option: FullPCPUsOnlyOption, expectedAvailable: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilderTest.groovy
} def "generates -target option when current Jvm Version is used"() { spec.targetCompatibility = JavaVersion.current().toString() expect: builder.build() == ["-target", JavaVersion.current().toString()] + defaultOptions } def "generates -target option when compatibility differs current Jvm version"() { spec.targetCompatibility = "1.4"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 20:20:36 UTC 2024 - 11.9K bytes - Viewed (0) -
platforms/core-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/UserQuestions.java
/** * Creates a {@link Choice} that can ask the user to select an option from the given list and returns the answer. * Uses the {@link Object#toString()} representation of the options to format the prompt, the returned {@link Choice} can be used to change this. * Does not prompt the user when there is only one option in the given list. * * @param question The text of the question.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 04:50:46 UTC 2024 - 3.9K bytes - Viewed (0)