Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for dummyValidationProblemWithLink (0.35 sec)

  1. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ValidateStepTest.groovy

            then:
            def ex = thrown WorkValidationException
            WorkValidationExceptionChecker.check(ex) {
                def validationProblem1 = dummyValidationProblemWithLink('java.lang.Object', null, 'Validation error #1', 'Test')
                def validationProblem2 = dummyValidationProblemWithLink('java.lang.Object', null, 'Validation error #2', 'Test')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/DefaultTypeMetadataStoreTest.groovy

            then:
            propertiesMetadata.size() == 1
            def propertyMetadata = propertiesMetadata.first()
            propertyMetadata.propertyName == 'searchPath'
            collectProblems(typeMetadata) == [dummyValidationProblemWithLink(null, 'searchPath', 'is broken', 'Test').trim()]
        }
    
        def "custom annotation that is not relevant can have validation problems"() {
            def annotationHandler = Stub(PropertyAnnotationHandler)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/integTest/groovy/org/gradle/internal/execution/IncrementalExecutionIntegrationTest.groovy

            when:
            execute(invalidWork)
    
            then:
            def ex = thrown WorkValidationException
            WorkValidationExceptionChecker.check(ex) {
                hasProblem dummyValidationProblemWithLink('java.lang.Object', null, 'Validation error', 'Test').trim()
            }
        }
    
        def "results are loaded from identity cache"() {
            def work = builder.build()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

            display(SimpleMessage, 'dummy') {
                type(onType).property(onProperty)
                description(desc)
                reason(testReason)
            }.render()
        }
    
        String dummyValidationProblemWithLink(String onType = 'InvalidTask', String onProperty = 'dummy', String desc = 'test problem', String testReason = 'this is a test.') {
            display(SimpleMessage, 'dummy') {
                type(onType).property(onProperty)
    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