- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for isObject (0.8 sec)
-
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InvalidManagedModelRuleIntegrationTest.groovy
failure.assertHasCause("Only managed model instances can be set as property 'operatingSystem' of class 'Platform'") } def "cannot use value type as subject of void model rule"() { when: buildScript ''' class Rules extends RuleSource { @Model void s(String s) {} }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy
* limitations under the License. */ package gradlebuild.binarycompatibility import spock.lang.Specification import spock.lang.Subject import spock.lang.TempDir class AcceptedApiChangesJsonFileManagerTest extends Specification { @TempDir File temporaryFolder @Subject AcceptedApiChangesJsonFileManager jsonFileManager = new AcceptedApiChangesJsonFileManager() def jsonFile def setup() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 17 08:32:56 UTC 2021 - 2.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InvalidManagedModelMutationIntegrationTest.groovy
failure.assertHasCause("Attempt to modify a read only view of model element 'person' of type 'Person' given to rule RulePlugin#name") } def "mutating subject of a validate rule is not allowed"() { when: buildScript ''' @Managed interface Person { String getName() void setName(String name) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedToModelMapElementIntegrationTest.groovy
''' then: fails "taskWithUnboundRuleSourceApplied" and: failureCauseContains ''' UnboundRuleSource#unboundRule(String, Integer, String) subject: - <no path> String (parameter 1) [*] scope: tasks.taskWithUnboundRuleSourceApplied inputs: - <no path> Integer (parameter 2) [*]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/PolymorphicManagedTypeIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.7K bytes - Viewed (0)