Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for defaultServices (0.36 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/DefaultInstantiatorFactory.java

            this.injectOnlyLenientScheme = new DefaultInstantiationScheme(injectOnlyLenientSelector, injectOnlyGenerator, defaultServices, injectionAnnotations, cacheFactory);
            this.decoratingScheme = new DefaultInstantiationScheme(decoratedJsr330Selector, decoratedGenerator, defaultServices, injectionAnnotations, cacheFactory);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AbstractClassGeneratorSpec.groovy

        }
    
        protected <T> T create(Class<T> clazz, Object... args) {
            return doCreate(generator, clazz, defaultServices(), null, args)
        }
    
        protected <T> T create(Class<T> clazz, Describable displayName, Object... args) {
            return doCreate(generator, clazz, defaultServices(), displayName, args)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectDecoratedTest.groovy

        def "can inject service using @Inject on a getter method with dummy method body"() {
            given:
            def services = defaultServices()
            _ * services.get(Number) >> 12
    
            when:
            def obj = create(BeanWithServices, services)
    
            then:
            obj.thing == 12
            obj.getThing() == 12
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/DefaultInstantiationScheme.java

        public DefaultInstantiationScheme(ConstructorSelector constructorSelector, ClassGenerator classGenerator, ServiceLookup defaultServices, Set<Class<? extends Annotation>> injectionAnnotations, CrossBuildInMemoryCacheFactory cacheFactory) {
            this(constructorSelector, classGenerator, defaultServices, injectionAnnotations, cacheFactory.newClassCache());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

      private static class DefaultService extends AbstractIdleService {
        @Override
        protected void startUp() throws Exception {}
    
        @Override
        protected void shutDown() throws Exception {}
      }
    
      public void testFunctionalServiceStartStop() {
        AbstractIdleService service = new DefaultService();
        service.startAsync().awaitRunning();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

      private static class DefaultService extends AbstractIdleService {
        @Override
        protected void startUp() throws Exception {}
    
        @Override
        protected void shutDown() throws Exception {}
      }
    
      public void testFunctionalServiceStartStop() {
        AbstractIdleService service = new DefaultService();
        service.startAsync().awaitRunning();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        }
      }
    
      public void testNotifyStartedWhenNotStarting() {
        AbstractService service = new DefaultService();
        assertThrows(IllegalStateException.class, () -> service.notifyStarted());
      }
    
      public void testNotifyStoppedWhenNotRunning() {
        AbstractService service = new DefaultService();
        assertThrows(IllegalStateException.class, () -> service.notifyStopped());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        }
      }
    
      public void testNotifyStartedWhenNotStarting() {
        AbstractService service = new DefaultService();
        assertThrows(IllegalStateException.class, () -> service.notifyStarted());
      }
    
      public void testNotifyStoppedWhenNotRunning() {
        AbstractService service = new DefaultService();
        assertThrows(IllegalStateException.class, () -> service.notifyStopped());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.3K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/config.go

    	return c.HostHeader() != c.ClusterLocalFQDN()
    }
    
    const (
    	defaultService   = "echo"
    	defaultVersion   = "v1"
    	defaultNamespace = "echo"
    	defaultDomain    = constants.DefaultClusterLocalDomain
    )
    
    func (c *Config) FillDefaults(ctx resource.Context) (err error) {
    	if c.Service == "" {
    		c.Service = defaultService
    	}
    
    	if c.Version == "" {
    		c.Version = defaultVersion
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top