Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,036 for Configurer (0.18 sec)

  1. subprojects/core/src/test/groovy/org/gradle/execution/commandline/CommandLineTaskConfigurerSpec.groovy

        }
    
        def "configures boolean option"() {
            when:
            configurer.configureTasks([task], ['--someFlag'])
            then:
            task.someFlag
        }
    
        def "configures enum option"() {
            when:
            configurer.configureTasks([task], ['--someEnum', "value1"])
            then:
            task.anEnum == TestEnum.value1
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 09 09:06:36 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/initialization/IncludedBuildSpec.java

            return new IncludedPluginBuildSpec(rootDir, configurer);
        }
    
        public static IncludedBuildSpec includedBuild(File rootDir, Action<ConfigurableIncludedBuild> configurer) {
            return new IncludedLibraryBuildSpec(rootDir, configurer);
        }
    
        private static class IncludedLibraryBuildSpec extends IncludedBuildSpec {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 08 20:51:22 UTC 2021
    - 4K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/source/JavaUtilLoggingSystemTest.groovy

            when:
            configurer.startCapture()
            configurer.setLevel(LogLevel.LIFECYCLE)
            configurer.setLevel(LogLevel.DEBUG)
    
            then:
            Logger.getLogger("").getLevel() == Level.FINE
        }
    
        def "Log level can be changed before starting"() {
            when:
            configurer.setLevel(LogLevel.LIFECYCLE)
            configurer.setLevel(LogLevel.DEBUG)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/slf4j/Slf4jLoggingConfigurerTest.groovy

            when:
            configurer.configure(LogLevel.INFO)
            logger.info('message', failure)
    
            then:
            1 * listener.onOutput({ it.category == 'cat1' && it.message == 'message' && it.logLevel == LogLevel.INFO && it.throwable == failure })
            0 * listener._
        }
    
        def mapsSlf4jLogLevelsToGradleLogLevels() {
            when:
            configurer.configure(LogLevel.DEBUG)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/config/LoggingSystemAdapter.java

     */
    public class LoggingSystemAdapter implements LoggingSourceSystem {
        private final LoggingConfigurer configurer;
        private boolean enabled;
        private LogLevel logLevel = LogLevel.LIFECYCLE;
    
        public LoggingSystemAdapter(LoggingConfigurer configurer) {
            this.configurer = configurer;
        }
    
        @Override
        public Snapshot snapshot() {
            return new SnapshotImpl(enabled, logLevel);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpClientConfigurerTest.groovy

        }
    
        HttpClientConfigurer configurer = new HttpClientConfigurer(httpSettings)
    
        def setup() {
            basicAuthentication.addHost(REMOTE_HOST, SOME_PORT)
        }
    
        def "configures http client with no credentials or proxy"() {
            httpSettings.authenticationSettings >> []
            httpSettings.sslContextFactory >> sslContextFactory
    
            when:
            configurer.configure(httpClientBuilder)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/configuration/DefaultScriptPluginFactoryTest.groovy

            classpathHasher.hash(_ as ClassPath) >> TestHashCodes.hashCodeFrom(123)
        }
    
        void "configures a target object using script"() {
            given:
            final Object target = new Object()
    
            when:
            def configurer = factory.create(scriptSource, scriptHandler, targetScope, baseScope, false)
            configurer.apply(target)
    
            then:
            1 * loggingManagerFactory.create() >> loggingManager
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 09 15:05:17 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultObjectConfigurationActionTest.groovy

            1 * scriptHandlerFactory.create(_, scriptCompileScope) >> scriptHandler
            1 * scriptPluginFactory.create(_, scriptHandler, scriptCompileScope, parentCompileScope, false) >> configurer
            1 * configurer.apply(target1)
            1 * configurer.apply(target2)
            1 * parentCompileScope.createChild("script-$file", null) >> scriptCompileScope
    
            then:
            action.from('script')
            action.to(target1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/DefaultTaskSelector.java

        private final TaskNameResolver taskNameResolver;
        private final ProjectConfigurer configurer;
    
        @Inject
        public DefaultTaskSelector(TaskNameResolver taskNameResolver, ProjectConfigurer configurer) {
            this.taskNameResolver = taskNameResolver;
            this.configurer = configurer;
        }
    
        @Inject
        protected InternalProblems getProblemsService() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. pkg/kubelet/network/dns/dns_test.go

    		t.Errorf("expected search \".\", got %+v", options[3].DNSSearch)
    	}
    
    	configurer = NewConfigurer(recorder, nodeRef, nil, testClusterDNS, testClusterDNSDomain, defaultResolvConf)
    	configurer.getHostDNSConfig = fakeGetHostDNSConfigCustom
    	for i, pod := range pods {
    		var err error
    		dnsConfig, err := configurer.GetPodDNS(pod)
    		if err != nil {
    			t.Fatalf("failed to generate container options: %v", err)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top