Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for NestedProperty (0.21 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/AbstractTypeMetadataWalkerTest.groovy

                "nestedMap.<key>", "nestedMap.<key>.secondNested", "nestedMap.<key>.secondNested.thirdNested",
                "nestedProperty", "nestedProperty.secondNested", "nestedProperty.secondNested.thirdNested",
            ]
        }
    
        def "instance walker should throw exception when detecting nested cycles for '#propertyWithCycle' property"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/internal/project/taskfactory/TaskPropertyNamingIntegrationTest.groovy

            buildFile << classesForNestedProperties()
            buildFile << """
                task test(type: TaskWithNestedObjectProperty) {
                    input = "someString"
                    bean = new NestedProperty(
                        inputDir: file('input'),
                        input: 'someString',
                        outputDir: file("\$buildDir/output"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 21 19:38:50 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTasks.java

            @Nested
            private SpecificProperty nestedProperty = new SpecificProperty();
            public int traversedOutputsCount;
    
            public SpecificProperty getNestedProperty() {
                traversedOutputsCount++;
                return nestedProperty;
            }
        }
    
        public interface WithProperty<T extends PropertyContainer<?>> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 11:41:48 UTC 2022
    - 15.8K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy

            TaskWithBridgeMethod                      | null                           | ["nestedProperty"]                              | []                      | ["nestedProperty.someOutputFile"]
            TaskWithJavaBeanCornerCaseProperties      | ["c", "C", "d", "U", "a", "b"] | ["cCompiler", "CFlags", "dns", "URL", "a", "b"] | []                      | []
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/LambdaInputsIntegrationTest.groovy

            failureDescriptionStartsWith("A problem was found with the configuration of task ':myTask' (type 'TaskWithConsumerProperty').")
            failureDescriptionContains(implementationUnknown {
                nestedProperty('consumer')
                implementedByLambda("Lambdas")
            })
        }
    
        def "can change nested property from one serializable Java lambda to another and back"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 09:08:49 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

            then:
            failureDescriptionStartsWith("A problem was found with the configuration of task ':customTask' (type 'CustomTask').")
            failureDescriptionContains(implementationUnknown {
                nestedProperty('bean')
                unknownClassloader('A')
            })
            def result = operations.first(SnapshotTaskInputsBuildOperationType).result
            result.hash == null
            result.classLoaderHash == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

    """
        }
    
        def "tests output of unknown implementation of nested property implemented by lambda"() {
            when:
            render implementationUnknown(true) {
                nestedProperty('action')
                implementedByLambda('LambdaAction')
                includeLink()
            }
    
            then:
            outputEquals """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy

            failureDescriptionStartsWith("A problem was found with the configuration of task ':customTask' (type 'TaskWithNestedProperty').")
            failureDescriptionContains(implementationUnknown {
                nestedProperty('bean')
                unknownClassloader('NestedBean')
            })
        }
    
        def "changes to nested domain object container are tracked"() {
            buildFile << taskWithNestedInput()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

            String reason
            String solution
    
            UnknownImplementation(ValidationMessageChecker checker) {
                super(checker)
            }
    
            UnknownImplementation nestedProperty(String propertyName) {
                prefix = "Property '${propertyName}'"
                this
            }
    
            UnknownImplementation implementationOfTask(String taskPath) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 42.1K bytes
    - Viewed (0)
Back to top