Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 142 for forTask (0.15 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r70/BuildSrcCrossVersionSpec.groovy

                build.forTasks("help").run()
            }
            then:
            noExceptionThrown()
        }
    
        def "buildSrc with settings file can execute standalone"() {
            buildSrc.file("settings.gradle").touch()
            when:
            withConnectionToBuildSrc { connection ->
                def build = connection.newBuild()
                build.forTasks("help").run()
            }
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultPhasedBuildActionExecuter.java

        }
    
        @Override
        public BuildActionExecuter<Void> forTasks(String... tasks) {
            operationParamsBuilder.setTasks(tasks != null ? Arrays.asList(tasks) : null);
            return getThis();
        }
    
        @Override
        public BuildActionExecuter<Void> forTasks(Iterable<String> tasks) {
            operationParamsBuilder.setTasks(tasks != null ? CollectionUtils.toList(tasks) : null);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleApiExtensionsIntegrationTest.kt

        fun `can use Gradle API generated extensions in buildSrc`() {
    
            withKotlinBuildSrc()
    
            withFile(
                "buildSrc/src/main/kotlin/foo/FooTask.kt",
                """
                package foo
    
                import org.gradle.api.*
                import org.gradle.api.model.*
                import org.gradle.api.tasks.*
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 03 15:53:16 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressCrossVersionSpec.groovy

            def events = ProgressEvents.create()
            withConnection {
                ProjectConnection connection ->
                    connection.model(BuildInvocations.class).forTasks('test').addProgressListener(events, EnumSet.of(OperationType.TEST)).get()
            }
    
            then: "test progress events must be forwarded to the attached listeners"
            !events.tests.empty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiBuildExecutionCrossVersionSpec.groovy

            file('build.gradle') << '''
    apply plugin: 'java'
    '''
            when:
            withConnection { connection ->
                def build = connection.newBuild()
                build.forTasks('jar')
                build.run()
            }
    
            then:
            file('build/libs/test.jar').assertIsFile()
    
            and:
            assertHasBuildSuccessfulLogging()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r23/StandardStreamsCrossVersionSpec.groovy

    task log {
        doLast {
            println "task log message"
        }
    }
    """
    
            when:
            withConnection { ProjectConnection connection ->
                def build = connection.newBuild()
                build.forTasks("log")
                build.run()
            }
    
            then:
            !stdOutAndErr.stdOut.contains("log message")
            !stdOutAndErr.stdErr.contains("log message")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r88/ProblemProgressEventCrossVersionTest.groovy

            //  issue https://github.com/gradle/gradle/issues/27484
        }
    
        def runTask() {
            def listener = new ProblemProgressListener()
            withConnection { connection ->
                connection.newBuild().forTasks('reportProblem')
                    .addProgressListener(listener)
                    .run()
            }
            return listener.problems
        }
    
        @TargetGradleVersion(">=6.9.4 <=8.5")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 07:55:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultBuildActionExecuter.java

        }
    
        @Override
        public BuildActionExecuter<T> forTasks(String... tasks) {
            operationParamsBuilder.setTasks(tasks != null ? Arrays.asList(tasks) : null);
            return getThis();
        }
    
        @Override
        public BuildActionExecuter<T> forTasks(Iterable<String> tasks) {
            operationParamsBuilder.setTasks(tasks != null ? CollectionUtils.toList(tasks) : null);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/topologymanager/bitmask/bitmask_test.go

    	tcases := []struct {
    		name   string
    		masks  [][]int
    		orMask string
    	}{
    		{
    			name:   "Mask 01 OR mask 00",
    			masks:  [][]int{{0}, {}},
    			orMask: "01",
    		},
    		{
    			name:   "Mask 10 OR mask 10",
    			masks:  [][]int{{1}, {1}},
    			orMask: "10",
    		},
    		{
    			name:   "Mask 01 OR mask 10",
    			masks:  [][]int{{0}, {1}},
    			orMask: "11",
    		},
    		{
    			name:   "Mask 11 OR mask 11",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:09 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/BuildProgressCrossVersionSpec.groovy

                }
            """
    
            when:
            def events = ProgressEvents.create()
    
            withConnection {
                ProjectConnection connection ->
                    connection.newBuild().forTasks('publish')
                        .addProgressListener(events).run()
            }
    
            then:
            def roots = events.operations.findAll { it.parent == null }.collect { it.descriptor.name }
    
            roots == [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top