- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for usesFactoryMethodOnProviderToCreateServiceInstance (0.37 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy
registration.add(TestServiceImpl) } as Action) expect: registry.get(ServiceWithDependency).service == registry.get(TestServiceImpl) } def usesFactoryMethodOnProviderToCreateServiceInstance() { def registry = new DefaultServiceRegistry() registry.addProvider(new TestProvider()) expect: registry.get(Integer) == 12 registry.get(Number) == 12
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:53:25 UTC 2024 - 59.8K bytes - Viewed (0)