Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 149 for prop4 (0.04 sec)

  1. platforms/core-execution/execution/src/integTest/groovy/org/gradle/internal/execution/IncrementalExecutionIntegrationTest.groovy

            execute(unitOfWork)
    
            then:
            upToDate(unitOfWork)
        }
    
        def "out-of-date when any input property added"() {
            when:
            execute(unitOfWork)
            def addedProperty = builder.withProperty("prop2", "value").build()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderGroovyTest.groovy

            def e2 = builder.createContainerElement(null, "foo.bar", "e2", "someElement")
            builder.propertyAssignment(null, "prop", e1)
            builder.propertyAssignment(null, "prop2", builder.propertyExpression(e2, "outputDir"))
    
            when:
            builder.create(target).generate()
    
            then:
            assertOutputFile("""$COMMON_START
     */
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 14:16:33 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy

            and:
            propertyNames(new WithProperties()) == ['class', 'metaClass', 'prop1', 'prop2', 'something', 'somethingElse', 'writeOnly'] as Set
        }
    
        def "read property"() {
            expect:
            readableProperty(JavaTestSubject, String, "myProperty").getValue(myProperties) == "myValue"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginRegistryTest.groovy

        }
    
        private URL writePluginProperties(Class implClass) {
            def props = new Properties()
            props.setProperty("implementation-class", implClass.name)
            def propertiesFile = testDir.file("${implClass}.properties")
            propertiesFile.getParentFile().mkdirs()
            GUtil.saveProperties(props, propertiesFile)
            return propertiesFile.toURI().toURL()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 13K bytes
    - Viewed (0)
  5. maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            Properties props = new Properties();
            props.put("key", "user_value");
            ToolchainModel toolchain = new ToolchainModel();
            toolchain.setType("TYPE");
            toolchain.setProvides(props);
            PersistedToolchains userResult = new PersistedToolchains();
            userResult.setToolchains(Collections.singletonList(toolchain));
    
            props = new Properties();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/ClassInspectorTest.groovy

            def prop = details.getProperty('prop')
            prop.getters.size() == 2
            prop.setters.size() == 3
        }
    
        def "extracts properties from super class"() {
            expect:
            def details = ClassInspector.inspect(SubClass)
    
            details.propertyNames == ['class', 'metaClass', 'prop', 'readOnly', 'writeOnly', 'other'] as Set
    
            def prop = details.getProperty('prop')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:06 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/CollectionPropertyIntegrationTest.groovy

            given:
            buildFile """
    
    def prop = project.objects.listProperty(String)
    
    task thing {
        inputs.property("prop", prop)
        prop.set(["value 1"])
        doLast {
            prop.set(["ignored"])
            println "prop = " + prop.get()
        }
    }
    """
    
            when:
            fails("thing")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:57:00 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy

            given:
            buildFile << """
    
    def prop = project.objects.mapProperty(String, String)
    prop.set((Map)null)
    
    task thing {
        inputs.property("prop", prop).optional(true)
        doLast {
            println "prop = " + prop.getOrNull()
        }
    }
    """
    
            when:
            run("thing")
    
            then:
            output.contains("prop = null")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 15:28:53 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenProfileResolveIntegrationTest.groovy

                </activation>
                <properties>
                    <groupId.prop>groupB</groupId.prop>
                    <artifactId.prop>artifactB</artifactId.prop>
                    <version.prop>1.4</version.prop>
                </properties>
            </profile>
        </profiles>
    </project>
    """
    
            def transitiveModule = mavenHttpRepo.module("groupB", "artifactB", "1.4").publish()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyLifecycleIntegrationTest.groovy

                three.prop.disallowUnsafeRead()
                three.prop = two.prop.map { "[\$it]" }
                two.prop = one.prop.orElse("unknown")
    
                gradle.taskGraph.whenReady {
                    println("three = " + three.prop.get())
                    println("two = " + two.prop.get())
                    println("one = " + one.prop.orNull)
                    try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 14:00:52 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top