- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for withConsole (0.19 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/console/AbstractExecOutputIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy
given: file(JAVA_TEST_FILE_PATH) << javaTestClass { 'throw new RuntimeException("expected");' } when: executer.withConsole(consoleType) fails(TEST_TASK_NAME) then: def taskOutput = getTaskOutput(result) matchesTaskOutput(taskOutput, testLogEventRegex(TestLogEvent.FAILED.consoleMarker)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 14:21:18 UTC 2024 - 8.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/integTest/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuterIntegrationTest.groovy
.withTestConsoleAttached() .withConsole(console) .run() System.out.println("AFTER OUT") System.err.println("AFTER ERR") def result2 = executer .inDirectory(temporaryFolder.testDirectory) .withTasks("help") .withTestConsoleAttached() .withConsole(console) .run() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/AbstractUserInputHandlerIntegrationTest.groovy
protected void interactiveExecution() { executer.withStdinPipe().withForceInteractive(true) } protected void withRichConsole(boolean enabled) { if (enabled) { executer.withConsole(ConsoleOutput.Rich) } } protected void withParallel() { executer.withArgument('--parallel') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 23 21:21:49 UTC 2018 - 1.2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/ConsoleTestNGUnsupportedTestWorkerFunctionalTest.groovy
private static final String TEST_CLASS_1 = 'Test1' private static final String TEST_CLASS_2 = 'Test2' @Rule BlockingHttpServer server = new BlockingHttpServer() def setup() { executer.withConsole(ConsoleOutput.Rich) executer.withArguments('--parallel', "--max-workers=$MAX_WORKERS") server.start() } def "omits parallel test execution if TestNG version does not emit class listener events"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsLoggingIntegrationTest.groovy
def "Generating Gradle API jar is logged with rich console"() { given: executer.withTestConsoleAttached() executer.withConsole(ConsoleOutput.Rich) buildFile << """ configurations { gradleImplDeps } dependencies { gradleImplDeps gradleApi() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestWorkerFunctionalTest.groovy
private static final String SERVER_RESOURCE_2 = 'test-2' @Rule BlockingHttpServer server = new BlockingHttpServer() def setup() { executer.withTestConsoleAttached() executer.withConsole(ConsoleOutput.Rich) executer.withArguments('--parallel', "--max-workers=$MAX_WORKERS") server.start() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractJvmFailFastIntegrationSpec.groovy
} @Requires(IntegTestPreconditions.NotParallelExecutor) def "fail fast console output shows test class in work-in-progress"() { given: executer.withConsole(ConsoleOutput.Rich).withArguments('--parallel', "--max-workers=$DEFAULT_MAX_WORKERS") buildFile.text = generator.initBuildFile() generator.withFailingTest() generator.withNonfailingTest()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.7K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/AbstractConsoleConfigurationProgressFunctionalTest.groovy
abstract class AbstractConsoleConfigurationProgressFunctionalTest extends AbstractIntegrationSpec { @Rule BlockingHttpServer server = new BlockingHttpServer() GradleHandle gradle def setup() { executer.withConsole(consoleType) server.start() } abstract ConsoleOutput getConsoleType() def "shows work in progress as projects are configured"() { createDirs("a", "b", "c", "d")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 5.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/console/AbstractConsoleGroupedTaskFunctionalTest.groovy
static ConsoleAttachment consoleAttachment def setup() { executer.withTestConsoleAttached(consoleAttachment) executer.beforeExecute { it.withConsole(consoleType) } } boolean errorsShouldAppearOnStdout() { // If both stdout and stderr is attached to the console, they are merged together
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.4K bytes - Viewed (0)