Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for DoNothing (0.2 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/result/DefaultResolutionResult.java

            final Set<ResolvedComponentResult> out = new LinkedHashSet<>();
            eachElement(getRoot(), Actions.doNothing(), Actions.doNothing(), out);
            return out;
        }
    
        @Override
        public void allComponents(final Action<? super ResolvedComponentResult> action) {
            eachElement(getRoot(), action, Actions.doNothing(), new HashSet<>());
        }
    
        @Override
        @SuppressWarnings("rawtypes")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/template_test.go

    			errExpected: false,
    		},
    		{
    			name:     "should noop if there aren't any {{ .foo }} present",
    			template: doNothing,
    			data: struct{ ImageRepository, Arch string }{
    				ImageRepository: "registry.k8s.io",
    				Arch:            "amd64",
    			},
    			output:      doNothing,
    			errExpected: false,
    		},
    		{
    			name:        "invalid syntax, passing nil",
    			template:    invalidTmpl1,
    			data:        nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectContainerSpec.groovy

                "create(String, Action)": { container.create("b", Actions.doNothing()) },
                "register(String)": { container.register("b") },
                "register(String, Action)": { container.register("b", Actions.doNothing()) },
                "NamedDomainObjectProvider.configure(Action)": { container.named("a").configure(Actions.doNothing()) }
            ]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/test/groovy/org/gradle/model/internal/core/DomainObjectCollectionBackedModelMapTest.groovy

            def instantiator = Mock(NamedEntityInstantiator)
            def modelMap = DomainObjectCollectionBackedModelMap.wrap("thing", SomeType, backingCollection, instantiator, Named.Namer.INSTANCE, Actions.doNothing())
    
            when:
            modelMap.create("alma")
    
            then:
            1 * instantiator.create("alma", SomeType) >>  { new SomeType(name: "alma") }
            1 * backingCollection.add({ item -> item.name == "alma" })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 00:10:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DefaultWorkerExecutorTest.groovy

        }
    
        def "executor executes a given work action in a daemon"() {
            when:
            workerExecutor.processIsolation().submit(TestExecutable.class, Actions.doNothing())
    
            then:
            1 * workerThreadRegistry.workerThread >> true
            1 * executionQueue.submit(_) >> { args -> task = args[0] }
    
            when:
            task.getExecution().run()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 15:27:52 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/keystore/TestKeyStore.groovy

            Action<SslContextFactory.Server> configureServer = Actions.doNothing()
        ) {
            server.enableSsl(trustStore.path, trustStorePassword, null, null, configureServer)
        }
    
        void enableSslWithServerAndClientCerts(
            HttpServerFixture server,
            Action<SslContextFactory.Server> configureServer = Actions.doNothing()
        ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DefaultWorkerExecutorParallelTest.groovy

                6.times {
                    start {
                        thread.blockUntil.allStarted
                        WorkQueue queue = workerExecutor."${isolationMode}" Actions.doNothing()
                        queue.submit(TestExecution.class, Actions.doNothing())
                    }
                }
                instant.allStarted
            }
    
            then:
            6 * workerThreadRegistry.workerThread >> true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 14:22:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/api/plugins/JvmToolchainsPluginTest.groovy

        }
    
        def "toolchain service dependencies are satisfied"() {
            expect:
            project.extensions.getByType(JavaToolchainService).launcherFor(Actions.doNothing()).get().executablePath.asFile.isFile()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/AbstractWrapperIntegrationSpec.groovy

        }
    
        void prepareWrapper(URI distributionUri = distribution.binDistribution.toURI(), Action<GradleExecuter> action = Actions.doNothing()) {
            def executer = new InProcessGradleExecuter(distribution, temporaryFolder)
            executer.beforeExecute(action)
            executer.withArguments("wrapper", "--gradle-distribution-url", distributionUri.toString()).run()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FixedExclusiveModeCrossProcessCacheAccess.java

                    fileLock.close();
                } finally {
                    fileLock = null;
                }
            }
        }
    
        @Override
        public Runnable acquireFileLock() {
            return Runnables.doNothing();
        }
    
        @Override
        public <T> T withFileLock(Supplier<T> factory) {
            return factory.get();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 01 12:21:15 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top