Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for MyValue (0.13 sec)

  1. 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)
  2. pkg/apis/core/pods/helpers_test.go

    			label:         "metadata.annotations",
    			value:         "myValue",
    			expectedLabel: "metadata.annotations",
    			expectedValue: "myValue",
    		},
    		{
    			version:       "v1",
    			label:         "metadata.annotations['myKey']",
    			value:         "myValue",
    			expectedLabel: "metadata.annotations['myKey']",
    			expectedValue: "myValue",
    		},
    		{
    			version:       "v1",
    			label:         "spec.host",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:35:30 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    specified matchers. * <p/> * For example: * <pre>assertThat("myValue", allOf(startsWith("my"), containsString("Val")))</pre> */ public static <T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? super T>> matchers) { return org.hamcrest.core.AllOf.<T>allOf(matchers); } /** * Creates a matcher that matches if the examined object matches <b>ALL</b> of the specified matchers. * <p/> * For example: * <pre>assertThat("myValue", allOf(startsWith("my"), containsString("Val")))</pre> */...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 31.9K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/plugins/ExtensionAware.java

     * assert project.hasProperty("myProperty") == false
     * project.ext.myProperty = "myValue"
     *
     * // Properties added to the “ext” extension are promoted to the owning object
     * assert project.myProperty == "myValue"
     * </pre>
     *
     * Many Gradle objects are extension aware. This includes; projects, tasks, configurations, dependencies etc.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 26 07:18:37 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top