Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for alsoAnnotatedWith (0.4 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStoreTest.groovy

                ignoredProperty: [(TYPE): Ignored]
            ], [
                strict(ignoredAnnotatedPropertyMessage { property('ignoredProperty').ignoring('Ignored').alsoAnnotatedWith('Color').includeLink() })
            ]
        }
    
        @SuppressWarnings("unused")
        interface TypeWithIgnoredPropertyWithOtherAnnotations {
            @Ignored
            @Color
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 11 15:31:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

            List<String> alsoAnnotatedWith = []
    
            IgnoredAnnotationPropertyMessage(ValidationMessageChecker checker) {
                super(checker)
            }
    
            IgnoredAnnotationPropertyMessage ignoring(String name) {
                ignoringAnnotation = name
                this
            }
    
            IgnoredAnnotationPropertyMessage alsoAnnotatedWith(String... names) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

            when:
            render ignoredAnnotatedPropertyMessage {
                type('SomeType').property('someProperty')
                ignoring('Internal')
                alsoAnnotatedWith('Foo', 'Bar')
                includeLink()
            }
    
            then:
            outputEquals """
    Type 'SomeType' property 'someProperty' annotated with @Internal should not be also annotated with @Foo, @Bar.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy

            then:
            failureDescriptionContains(
                ignoredAnnotatedPropertyMessage {
                    type('CustomTask').property('classpath')
                    ignoring('Internal')
                    alsoAnnotatedWith('Classpath', 'InputFiles')
                }
            )
        }
    
        @Issue("https://github.com/gradle/gradle/issues/7923")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

                }
            """
    
            expect:
            assertValidationFailsWith([
                error(ignoredAnnotatedPropertyConfig { type('MyTask').property('oldProperty').ignoring('ReplacedBy').alsoAnnotatedWith('Input') }, 'validation_problems', 'ignored_property_must_not_be_annotated')
            ])
    
            and:
            if (isProblemsApiCheckEnabled()) {
                verifyAll(receivedProblem(0)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
Back to top