- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 293 for PROP (0.12 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultValueSnapshotterTest.groovy
snapshotter.snapshot([new Bean(prop: "value1"), new Bean(prop: "value2")], snapshot4).is(snapshot4) snapshotter.snapshot([new Bean(prop: "value1"), new Bean(prop: "value3")], snapshot4) != snapshot4 def snapshot5 = snapshotter.snapshot(["abc", "123"]) def snapshot6 = snapshotter.snapshot(["abc", "123", "xyz"], snapshot5)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 29.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectContainerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 27 06:24:30 UTC 2018 - 11.4K bytes - Viewed (0) -
build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithMethods.groovy
package org.gradle.test class GroovyClassWithMethods { GroovyClassWithMethods(String prop) { this.prop = prop } /** * A method that returns String. */ String stringMethod(String stringParam) { 'value' } /** * A method that returns void. */ void voidMethod() { } /** * A method that returns a reference type. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 952 bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultCacheFactoryTest.groovy
def visited = [] as Set when: factory.open(tmpDir.testDirectory.file('foo'), "foo", [prop: 'value'], mode(Shared), null, null) factory.open(tmpDir.testDirectory.file('bar'), "bar", [prop: 'value'], mode(Shared), null, null) factory.open(tmpDir.testDirectory.file('baz'), "baz", [prop: 'value'], mode(Shared), null, null) and: factory.visitCaches(new CacheVisitor() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 7.8K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyLifecycleIntegrationTest.groovy
given: buildFile << """ def prop = project.objects.fileProperty() task thing { ${registrationMethod}(prop) prop.set(file("file-1")) def other = file("ignored") doLast { prop.set(other) println "prop = " + prop.get() } } """ file("file-1").createFile() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 22.6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy
def prop = doc.classProperties[0] prop.name == 'a' prop.additionalValues.size() == 3 format(prop.additionalValues[0].title) == 'inherited' format(prop.additionalValues[0].value) == 'specific1' format(prop.additionalValues[1].title) == 'overridden' format(prop.additionalValues[1].value) == 'specific3' format(prop.additionalValues[2].title) == 'added'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 7.6K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/DefaultFeatureFlagsTest.groovy
def flag = Stub(FeatureFlag) flag.systemPropertyName >> "prop" flags.enable(flag) expect: flags.isEnabled(flag) flags.isEnabledWithApi(flag) } def "can use a system property to enable flag"() { sysProperties["prop"] = "true" def flag = Stub(FeatureFlag) flag.systemPropertyName >> "prop" expect: flags.isEnabled(flag)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 2.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/initialization/ProjectPropertySettingBuildLoaderTest.groovy
1 * gradleProperties.mergeProperties([prop: 'childValue']) >> [prop: 'childValue'] 1 * rootProperties.set('prop', 'rootValue') 1 * childProperties.set('prop', 'childValue') } def "defines project properties from Project class"() { given: 2 * gradleProperties.mergeProperties([:]) >> [version: '1.0'] when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Oct 22 03:06:58 UTC 2022 - 4.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/NestedConfigureAutoCreateNamedDomainObjectContainerSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 26 05:36:10 UTC 2018 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy
assert custom.prop.get() == "new value" tasks.create('t', SomeTask) tasks.t.prop = custom.prop assert tasks.t.prop.get() == "new value" custom.prop = "changed" assert custom.prop.get() == "changed" assert tasks.t.prop.get() == "changed" """ expect: succeeds() } def "can set String property value using a GString"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 30.3K bytes - Viewed (0)