- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for assertHasBuildFailedLogging (0.28 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/CancellationSpec.groovy
} def failure = OutputScrapingExecutionFailure.from(stdout.toString(), stderr.toString()) failure.assertHasDescription('Build cancelled.') assertHasBuildFailedLogging() } private void targetIsGradle51OrLater() { targetVersion >= GradleVersion.version('5.1') } void configureWasCancelled(TestResultHandler resultHandler, String failureMessage) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiBuildExecutionCrossVersionSpec.groovy
e.cause.message.contains('A problem occurred evaluating root project') and: failure.assertHasDescription('A problem occurred evaluating root project') assertHasBuildFailedLogging() } def "can build the set of tasks for an Eclipse project"() { file('build.gradle') << ''' task a { description = 'this is task a' } task b task c '''
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy
e.cause.message == "Requested test task with path ':secondTest' cannot be found." and: failure.assertHasDescription("Requested test task with path ':secondTest' cannot be found.") assertHasBuildFailedLogging() } def "fails with meaningful error when passing invalid arguments"() { when: launchTests { TestLauncher launcher -> launcher.withJvmTestClasses("example.MyTest")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:59:43 UTC 2024 - 22.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r48/PhasedBuildActionCrossVersionSpec.groovy
projectsLoadedHandler.getResult() == "loading" buildFinishedHandler.getResult() == null and: failure.assertHasDescription("Execution failed for task ':broken'.") assertHasBuildFailedLogging() } def "build is interrupted immediately if action fails"() { IntermediateResultHandlerCollector projectsLoadedHandler = new IntermediateResultHandlerCollector() def events = ""
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/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiSpecification.groovy
} void assertHasBuildSuccessfulLogging() { assertHasNoUnexpectedDeprecationWarnings() assert stdout.toString().contains("BUILD SUCCESSFUL") } void assertHasBuildFailedLogging() { assertHasNoUnexpectedDeprecationWarnings() def failureOutput = targetDist.selectOutputWithFailureLogging(stdout, stderr).toString() assert failureOutput.contains("BUILD FAILED") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 16.6K bytes - Viewed (0)