Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ensureExecuted (0.52 sec)

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

        def "does not throw exception when calling a disallowed method when allowed using #methodUnderTest(#callableClass.type)"() {
            def callable = callableClass.newInstance(this)
    
            when:
            ensureExecuted(guard."${methodUnderTest}"(callable))
    
            then:
            noExceptionThrown()
            callable.called
    
            where:
            methodUnderTest        | callableClass
    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