- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 99 for property2 (0.17 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy
given: def property = property() property.set(someValue()) property.set((Iterable) null) expect: !property.present property.getOrNull() == null property.getOrElse(someValue()) == someValue() property.getOrElse(null) == null } def "can set null value to remove any added values"() { property.add("abc")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 49.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy
given: property.set(notDefined()) and: property.put('k1', 'v1') property.put('k2', Providers.of('v2')) property.putAll(['k3': 'v3']) property.putAll(Providers.of(['k4': 'v4'])) expect: !property.present property.getOrNull() == null property.getOrElse(['kk': 'vv']) == ['kk': 'vv'] when: property.get() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 58.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomReaderProfileTest.groovy
<profile> <id>profile-2</id> <activation> <property> <name>${customPropertyName}</name> <value>BLUE</value> </property> </activation> <properties> <prop2>myproperty2</prop2> </properties> </profile> </profiles> </project> """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 79.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy
property.get() == someValue() property.set(someOtherValue()) property.present property.get() == someOtherValue() } def "can use null convention value"() { def property = propertyWithNoValue() assert property.getOrNull() != someValue() expect: nullConvention(property) !property.present property.getOrNull() == null
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 87.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java
} private static boolean isNameProperty(PropertyMetadata property) { // Property is read only, called "name", has type String and getter is abstract return property.isReadOnly() && "name".equals(property.getName()) && property.getType() == String.class && property.getMainGetter().isAbstract(); } private static boolean hasPropertyType(PropertyMetadata property) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:37 UTC 2024 - 63K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/setupapi_windows.go
) // DEVPROPGUID specifies a property category. type DEVPROPGUID GUID // DEVPROPID uniquely identifies the property within the property category. type DEVPROPID uint32 const DEVPROPID_FIRST_USABLE DEVPROPID = 2 // DEVPROPKEY represents a device property key for a device property in the // unified device property model. type DEVPROPKEY struct { FmtID DEVPROPGUID PID DEVPROPID
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 00:11:50 UTC 2022 - 67.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserProfileTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 49.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc
<2> Reads the value from the project extra property we created — note the `project.` qualifier on `extra[...]`, otherwise Gradle will assume we want to read an extra property from the _task_ // === `Property`, `Provider` and `NamedDomainObjectProvider` [[kotdsl:assignment]] == Kotlin lazy property assignment
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 20:16:10 UTC 2024 - 55.4K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc
`testLogging` — default: _not set_:: This property represents a set of options that control which test events are logged and at what level. You can also configure other logging behavior via this property. See link:{javadocPath}/org/gradle/api/tasks/testing/logging/TestLoggingContainer.html[TestLoggingContainer] for more detail. `dryRun` — default: false::
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 29 16:24:12 UTC 2024 - 53.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy
failureDescriptionContains("- Type 'Consumer' property 'counter' doesn't have a configured value.") failureDescriptionContains("Reason: This property isn't marked as optional and no value has been configured.") } def "injection by name does not fail validation if service is not found but property marked as @Optional"() { given: serviceImplementation()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:46 UTC 2024 - 61K bytes - Viewed (0)