Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for onlyMakesSenseOn (0.21 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy

                type('MakeGreen.Parameters').invalidAnnotation('CacheableTask').onlyMakesSenseOn('Task').includeLink()
            })
            failure.assertHasCause(invalidUseOfCacheableAnnotation {
                type('MakeGreen.Parameters').invalidAnnotation('CacheableTransform').onlyMakesSenseOn('TransformAction').includeLink()
            })
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 11:12:24 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

                error(invalidUseOfCacheableAnnotationConfig { type('MyTask').invalidAnnotation('CacheableTransform').onlyMakesSenseOn('TransformAction') }, "validation_problems", "invalid_use_of_cacheable_annotation"),
                error(invalidUseOfCacheableAnnotationConfig { type('MyTask.Options').invalidAnnotation('CacheableTask').onlyMakesSenseOn('Task') }, "validation_problems", "invalid_use_of_cacheable_annotation"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

            when:
            render invalidUseOfCacheableAnnotation {
                type('SomeTransform')
                invalidAnnotation('CacheableTask')
                onlyMakesSenseOn('Task')
                includeLink()
            }
    
            then:
            outputEquals """
    Type 'SomeTransform' is incorrectly annotated with @CacheableTask.
    
    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. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

                super(checker)
            }
    
            InvalidUseOfCacheable invalidAnnotation(String type) {
                this.invalidAnnotation = type
                this
            }
    
            InvalidUseOfCacheable onlyMakesSenseOn(String... types) {
                this.correctTypes = types as List
                this
            }
        }
    
        static class UnsupportedNotation extends ValidationMessageDisplayConfiguration<UnsupportedNotation> {
    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