Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for collectOutput (0.28 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/StreamingBuildActionCrossVersionTest.groovy

                models.add(model)
                finished.countDown()
            } as ResultHandler
    
            withConnection {
                def builder = it.action(new ModelStreamingBuildAction())
                collectOutputs(builder)
                builder.setStreamedValueListener(listener)
                builder.run(handler)
                finished.await()
            }
    
            then:
            models.size() == 3
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 03:20:59 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r73/DeferredConfigurationCrossVersionSpec.groovy

        def "does not configure build when action does not query any models"() {
            setupBuild()
    
            when:
            def model = withConnection {
                def executer = action(new NoOpAction())
                collectOutputs(executer)
                executer.run()
            }
    
            then:
            model == "result"
    
            and:
            assertHasConfigureSuccessfulLogging()
            result.assertNotOutput(prefix)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r50/ProjectStateLockingCrossVersionTest.groovy

                """
            }
    
            when:
            withConnection {
                def executer = action(new FetchIdeaProject())
                executer.withArguments("--warning-mode", "all")
                collectOutputs(executer)
                executer.run()
            }
    
            then:
            !stdout.toString().contains("was resolved without accessing the project in a safe manner")
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildBuildActionExecuterCrossVersionSpec.groovy

                }
            """
    
            when:
            toolingApi.withConnection { ProjectConnection connection ->
                def buildAction = connection.action(new LoadCompositeModel(GradleProject))
                collectOutputs(buildAction)
                buildAction.forTasks([':other-build:sub:doSomething'])
                buildAction.run()
            }
    
            then:
            stdout.toString().contains("do something")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r48/CancellationCrossVersionSpec.groovy

                def build = action.build()
                build.withCancellationToken(cancel.token())
                collectOutputs(build)
                build.run(resultHandler)
                sync.waitForAllPendingCalls(resultHandler)
                cancel.cancel()
                sync.releaseAll()
                resultHandler.finished()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r73/DeprecationsCrossVersionSpec.groovy

                    }
                }
            """
    
            when:
            withConnection {
                def builder = it.model(List)
                builder.withArguments("--parallel")
                collectOutputs(builder)
                return builder.get()
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 20:23:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildModelBuilderCrossVersionSpec.groovy

                }
            """
    
            when:
            toolingApi.withConnection { ProjectConnection connection ->
                ModelBuilder<GradleProject> modelBuilder = connection.model(GradleProject.class)
                collectOutputs(modelBuilder)
                modelBuilder.forTasks([':other-build:sub:doSomething'])
                modelBuilder.get()
            }
    
            then:
            stdout.toString().contains("do something")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/EclipseModelCompositeBuildIncludeCycleCrossVersionSpec.groovy

            when:
    
            List<String> result = withConnection { connection ->
                def builder = connection.action(new AccessIncludedBuildProjectBuildAction())
                collectOutputs(builder)
                builder.run()
            }
    
            then:
            result == ['module-a', 'module-c']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r43/CapturingUserInputCrossVersionSpec.groovy

            def build = basicBuildConfiguration(connection)
            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)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r55/ReservedProjectNamesCrossVersionSpec.groovy

            ])
    
            when:
            def eclipseModels = withConnection { con ->
                def builder = con.action(new SupplyRuntimeAndLoadCompositeEclipseModels(workspace))
                collectOutputs(builder)
                builder.run()
            }
    
            then:
            eclipseModels.collect {
                collectProjects(it)
            }.flatten().collect {
                it.name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top