Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for someProtectedMethod (0.8 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultMutationGuardTest.groovy

            when:
            ensureExecuted(guard."${methodUnderTest}"(callable))
    
            then:
            def ex = thrown(IllegalStateException)
            ex.message == "${target.class.simpleName}#someProtectedMethod() on ${target.toString()} cannot be executed in the current context."
    
            where:
            methodUnderTest         | callableClass
            "withMutationDisabled"  | ActionCallingDisallowedMethod
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 6.2K bytes
    - Viewed (0)
Back to top