Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 144 for forTask (0.28 sec)

  1. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/TestFailureSpecification.groovy

            withConnection { connection ->
                def build = connection.newBuild()
                    .addProgressListener(progressEventCollector)
                    .forTasks('test')
                if (enableStdoutProxying) {
                    build.setStandardOutput(System.out).setStandardError(System.err)
                }
                build.run()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 10 17:52:51 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TaskDependenciesCrossVersionSpec.groovy

        }
    
        private void runBuild(String... tasks) {
            withConnection {
                ProjectConnection connection ->
                    connection.newBuild()
                        .forTasks(tasks)
                        .addProgressListener(events, EnumSet.of(OperationType.TASK))
                        .run()
            }
        }
    
        private Set<? extends OperationDescriptor> tasks(String... paths) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r43/CapturingUserInputCrossVersionSpec.groovy

            build.run()
        }
    
        private BuildLauncher basicBuildConfiguration(ProjectConnection connection) {
            def build = connection.newBuild()
            collectOutputs(build)
            build.forTasks(DUMMY_TASK_NAME)
            build
        }
    
        private String getOutput() {
            stdout.toString()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 19:25:32 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TaskOriginCrossVersionSpec.groovy

        }
    
        private void runBuild(String task, Action<BuildLauncher> config = {}) {
            withConnection {
                    def launcher = newBuild()
                        .forTasks(task)
                        .addProgressListener(events, EnumSet.of(OperationType.TASK))
                    config.execute(launcher)
                    launcher.run()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r60/ToolingApiPropertiesLoaderCrossVersionSpec.groovy

            '''.stripIndent()
    
            TestOutputStream stdout = new TestOutputStream()
    
            when:
            withConnection { connection -> connection.newBuild().setStandardOutput(stdout).forTasks('hello').run() }
            String output = stdout.toString()
    
            then:
            output.contains('system_property_available in buildSrc:                 true')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy

            TestOperationCollector collector = new TestOperationCollector()
            withConnection { connection ->
                def build = connection.newBuild()
                build.addProgressListener(collector)
                build.forTasks(":other-build:sub:test").run()
            }
            TestOperationDescriptor descriptor = collector.descriptors.find { it.name == "myTestMethod" }
    
            when:
            withConnection { connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r47/BuildProgressCrossVersionSpec.groovy

                }
            """
    
            when:
            def events = ProgressEvents.create()
    
            withConnection {
                ProjectConnection connection ->
                    connection.newBuild().forTasks('publish')
                        .addProgressListener(events).run()
            }
    
            then:
            def publishTask = events.operation('Task :publishMavenPublicationToMavenRepository')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 03:26:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/CacheableTaskProgressEventsCrossVersionSpec.groovy

        }
    
        private void runCacheableBuild(listener, String task = "cacheable") {
            withConnection {
                ProjectConnection connection ->
                    connection.newBuild().withArguments("--build-cache").forTasks(task).addProgressListener(listener, EnumSet.of(OperationType.GENERIC, OperationType.TASK)).run()
            }
        }
    
        int maybeIncludeLocalBuildOperations(int expectedNumber) {
            hasLocalBuildCacheOperations()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/cpumanager/state/checkpoint.go

    	if cp.Checksum == 0 {
    		// accept empty checksum for compatibility with old file backend
    		return nil
    	}
    
    	ck := cp.Checksum
    	cp.Checksum = 0
    	object := dump.ForHash(cp)
    	object = strings.Replace(object, "CPUManagerCheckpointV1", "CPUManagerCheckpoint", 1)
    	cp.Checksum = ck
    
    	hash := fnv.New32a()
    	fmt.Fprintf(hash, "%v", object)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/SingleProjectTaskReportModelTest.groovy

            def model = modelFor([])
    
            then:
            model.groups as List == []
        }
    
        private SingleProjectTaskReportModel modelFor(List<Task> tasks) {
            SingleProjectTaskReportModel.forTasks(tasks, factory)
        }
    
        private static Path pathOf(Task t) {
            Path.path(t.path)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 10 17:20:29 UTC 2020
    - 4K bytes
    - Viewed (0)
Back to top