Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for expectTaskCreated (0.13 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy

            given:
            def task = expectTaskCreated(DefaultTask)
    
            expect:
            task.getActions().isEmpty()
        }
    
        def propagatesExceptionThrownByTaskActionMethod() {
            given:
            def action = Stub(Runnable, {
                run() >> {
                    throw new RuntimeException()
                }
            })
            def task = expectTaskCreated(TestTask, action)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
Back to top