Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCreateTaskForUnsupportedType (0.25 sec)

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

            then:
            InvalidUserDataException e = thrown()
            e.message == "Cannot create task ':task' of type 'NotATask' as it does not implement the Task interface."
        }
    
        void testCreateTaskForUnsupportedType() {
            when:
            taskFactory.create(new TaskIdentity(taskType, 'task', null, Path.path(':task'), null, 12))
    
            then:
            InvalidUserDataException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 25 21:08:17 UTC 2022
    - 4.9K bytes
    - Viewed (0)
Back to top