- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for forTask (0.13 sec)
-
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy
error(annotationInvalidInContextConfig { annotation(ann.simpleName).type('MyTask').property('options.nestedThing').forTask() }, 'validation_problems', 'annotation_invalid_in_context'), error(annotationInvalidInContextConfig { annotation(ann.simpleName).type('MyTask').property('thing').forTask() }, 'validation_problems', 'annotation_invalid_in_context') ]) and: verifyAll(receivedProblem(0)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 36.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r48/PhasedBuildActionCrossVersionSpec.groovy
result.assertTasksExecuted(":help") where: description | action "empty array of task names" | { BuildActionExecuter b -> b.forTasks() } "empty list of task names" | { BuildActionExecuter b -> b.forTasks([]) } } def "#description means run default tasks when they are defined"() { file('build.gradle') << """ defaultTasks = ["thing"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 17.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy
ProjectConnection connection2 = connector.connect() def build = connection1.newBuild() build.forTasks('hang') build.run(resultHandler) def build2 = connection2.newBuild() build2.forTasks('hang') build2.run(resultHandler) sync.waitForAllPendingCalls(resultHandler) then: assertNumberOfRunningDaemons(2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 11.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy
def events = ProgressEvents.create() withConnection { ProjectConnection connection -> connection.model(BuildInvocations).forTasks('assemble').addProgressListener(events, EnumSet.of(OperationType.TASK)).get() } then: "task progress events must be forwarded to the attached listeners" !events.tasks.empty
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 13.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/BuildPhaseOperationEventCrossVersionTest.groovy
setupProject() when: def events = ProgressEvents.create() withConnection { it.newBuild().forTasks(taskName) .addProgressListener(events, OperationType.BUILD_PHASE) .run() } then: def progressEvents = events.getAll() progressEvents.size() == 6
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 10:41:50 UTC 2024 - 10.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 13:04:02 UTC 2024 - 10.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/ClosedProjectSubstitutionCrossVersionSpec.groovy
.buildFinished(new LoadEclipseModel(workspace), buildFinishedHandler) .build() .setStandardOutput(out) .forTasks() .run() } then: def child2 = buildFinishedHandler.result.children.find { it.name == "child2" } child2.projectDependencies.isEmpty()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 11.6K bytes - Viewed (0) -
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) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiPhasedBuildActionIntegrationTest.groovy
def models = runPhasedBuildAction(new FetchPartialCustomModelForEachProject(), new FetchCustomModelForEachProject()) { // Empty list means "run tasks defined by build logic or default tasks" forTasks([]) } then: def messages = models.left messages.size() == 2 messages[0] == "It works from project :" messages[1] == "It works from project :a"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ProblemProgressEventCrossVersionTest.groovy
buildFile getProblemReportTaskString(taskActionMethodBody) } def runTask() { def listener = new ProblemProgressListener() withConnection { connection -> connection.newBuild().forTasks('reportProblem') .addProgressListener(listener) .run() } return listener.problems } def "Failing executions produce problems"() { setup:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 11.1K bytes - Viewed (0)