Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for countingService (0.16 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

            when:
            fails 'ambiguous'
    
            then:
            errorOutput.contains("Cannot resolve service by type for type 'CountingService' when there are two or more instances. Please also provide a service name. Instances found: counter1: CountingService, counter2: CountingService.")
        }
    
        def "can declare a service reference without a name when multiple services exist if a value is explicitly assigned"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
Back to top