- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for getOutcome (0.18 sec)
-
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ExecuteWorkBuildOperationFiringStep.java
} @Nullable private static String getSkipMessage(ExecutionEngine.Execution execution) { switch (execution.getOutcome()) { case SHORT_CIRCUITED: return "NO-SOURCE"; case FROM_CACHE: return "FROM-CACHE"; case UP_TO_DATE:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:36:34 UTC 2024 - 8.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/ExecuteActionsTaskExecuter.java
Result result = request.execute(); result.getExecution().ifSuccessfulOrElse( success -> state.setOutcome(convertOutcome(success.getOutcome())), failure -> state.setOutcome(new TaskExecutionException(task, failure)) ); return new TaskExecuterResult() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 7.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedTaskOutputFixture.java
this.taskName = taskName; } public void setOutcome(String taskOutcome) { if (this.taskOutcome != null) { throw new AssertionError(taskName + " task's outcome is set twice!"); } this.taskOutcome = taskOutcome; } public String getOutcome() { return taskOutcome; } public String getName() { return taskName;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testKit/junitQuickstart/kotlin/src/test/java/org/gradle/sample/BuildLogicFunctionalTest.java
.withArguments("helloWorld") .build(); assertTrue(result.getOutput().contains("Hello world!")); assertEquals(SUCCESS, result.task(":helloWorld").getOutcome()); } private void writeFile(File destination, String content) throws IOException { BufferedWriter output = null; try { output = new BufferedWriter(new FileWriter(destination));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/ExecutionEngine.java
*/ Optional<OriginMetadata> getOriginMetadata(); } interface Execution { /** * Get how the outputs have been produced. */ ExecutionOutcome getOutcome(); /** * Get the object representing the produced output. * The type of value returned here depends on the {@link UnitOfWork} implmenetation. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:08:17 UTC 2024 - 6K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerCrossGroovyVersionIntegrationTest.groovy
""" when: def result = runner().withArguments("testGroovyVersion") .withGradleVersion("6.8.3") .build() then: result.task(":testGroovyVersion").getOutcome() == TaskOutcome.SUCCESS cleanup: testKitDaemons(GradleVersion.version("6.8.3")).killAll() } def "old TestKit can run build with current Gradle"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testKit/junitQuickstart/groovy/src/test/java/org/gradle/sample/BuildLogicFunctionalTest.java
.withArguments("helloWorld") .build(); assertTrue(result.getOutput().contains("Hello world!")); assertEquals(SUCCESS, result.task(":helloWorld").getOutcome()); } private void writeFile(File destination, String content) throws IOException { BufferedWriter output = null; try { output = new BufferedWriter(new FileWriter(destination));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/DefaultBuildTask.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 1.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/statistics/TaskExecutionStatisticsEventAdapter.java
public void afterExecute(TaskIdentity<?> taskIdentity, TaskState state) { TaskStateInternal stateInternal = (TaskStateInternal) state; if (stateInternal.isActionable()) { switch (stateInternal.getOutcome()) { case EXECUTED: executedTasksCount++; break; case FROM_CACHE: fromCacheTaskCount++; break;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 27 16:17:10 UTC 2020 - 2K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/DefaultBuildResult.java
return Collections.unmodifiableList(CollectionUtils.filter(tasks, new Spec<BuildTask>() { @Override public boolean isSatisfiedBy(BuildTask element) { return element.getOutcome() == outcome; } })); } @Override public List<String> taskPaths(TaskOutcome outcome) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 2.2K bytes - Viewed (0)