- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for MyValue (0.15 sec)
-
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/cli/TaskOptionsSpec.groovy
!output.contains("profile=myvalue") } def "can use -- to specify a task option with same name as a built-in option"() { when: buildScript """ ${defineTaskWithProfileOption()} tasks.register('mytask', MyTask.class) """ then: succeeds "--", "mytask", "--profile", "myvalue" output.contains "profile=myvalue"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/ToolingParameterProxyTest.groovy
then: assert parameter instanceof ValidParameter when: parameter.setBooleanValue(true) parameter.setValue("myValue") then: assert parameter.isBooleanValue() assert parameter.getValue() == "myValue" } interface ValidParameter { void setValue(String value) String getValue() void setBooleanValue(boolean booleanValue)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/reflect/JavaMethodTestSubject.java
public class JavaMethodTestSubject implements JavaMethodTestSubjectInterface { private static String myStaticProperty; final IllegalStateException failure = new IllegalStateException(); private String myProp = "myValue"; public static String getStaticProperty() { return myStaticProperty; } public static void setStaticProperty(String value) { myStaticProperty = value; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-runtime/cli/src/main/java/org/gradle/cli/ProjectPropertiesCommandLineConverter.java
return "project-prop"; } @Override protected String getPropertyOptionDescription() { return "Set project property for the build script (e.g. -Pmyprop=myvalue)."; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 08 19:00:19 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/core-runtime/cli/src/main/java/org/gradle/cli/SystemPropertiesCommandLineConverter.java
protected String getPropertyOptionDetailed() { return "system-prop"; } @Override protected String getPropertyOptionDescription() { return "Set system property of the JVM (e.g. -Dmyprop=myvalue)."; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:00:57 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/ParameterAwareBuildControllerAdapterTest.groovy
def parameterType = ValidParameter def parameterInitializer = new Action<ValidParameter>() { @Override void execute(ValidParameter parameter) { parameter.setValue("myValue") parameter.setBooleanValue(true) } } when: def result = controller.getModel(modelElement, GradleBuild, parameterType, parameterInitializer)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 19 08:15:25 UTC 2023 - 7.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy
def "read property"() { expect: readableProperty(JavaTestSubject, String, "myProperty").getValue(myProperties) == "myValue" } def "read property using instance"() { expect: readableProperty(myProperties, String, "myProperty").getValue(myProperties) == "myValue" } def "write property"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/bean/DefaultPropertyWalkerTest.groovy
when: visitProperties(task) then: _ * visitor.visitOutputFilePropertiesOnly() >> false 1 * visitor.visitInputProperty('myProperty', { it.call() == 'myValue' }, false) 1 * visitor.visitInputFileProperty('inputFile', _, _, _, _, _, _, InputFilePropertyType.FILE) 1 * visitor.visitInputFileProperty('inputFiles', _, _, _, _, _, _, InputFilePropertyType.FILES)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 10.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaTestSubject.java
import java.util.Collection; import java.util.Set; @SuppressWarnings("UnusedDeclaration") public class JavaTestSubject { final IllegalStateException failure = new IllegalStateException(); private String myProp = "myValue"; private String myProp2; private boolean myBooleanProp = true; public String myField = "myFieldValue"; public boolean myBooleanField = true; private static String myStaticProperty;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishPomCustomizationKotlinDslIntegTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 11.6K bytes - Viewed (0)