Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getWorkActionThatCreatesFiles (0.31 sec)

  1. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonIntegrationTest.groovy

        WorkerExecutorFixture.WorkActionClass workActionThatPrintsWorkingDirectory
    
        def setup() {
            workActionThatPrintsWorkingDirectory = fixture.getWorkActionThatCreatesFiles("WorkingDirAction")
            workActionThatPrintsWorkingDirectory.with {
                constructorAction = """
                    Runtime.getRuntime().addShutdownHook(new Thread(new Runnable() {
                        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/testFixtures/groovy/org/gradle/workers/fixtures/WorkerExecutorFixture.groovy

            testParameterType.fields += [
                "files": "List<String>",
                "outputDir": "File",
                "bar": "Foo"
            ]
    
            workActionThatCreatesFiles = getWorkActionThatCreatesFiles("TestWorkAction")
    
            workActionThatFails = getWorkActionThatFails(RuntimeException.class, "Failure from work action")
        }
    
        def prepareTaskTypeUsingWorker() {
            withParameterClassInBuildSrc()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 12:36:12 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonFailureLoggingIntegrationTest.groovy

    import org.gradle.internal.logging.events.StyledTextOutputEvent
    
    class WorkerDaemonFailureLoggingIntegrationTest extends AbstractDaemonWorkerExecutorIntegrationSpec {
        def setup() {
            def workAction = fixture.getWorkActionThatCreatesFiles("NormalWorkAction")
            workAction.writeToBuildFile()
            fixture.withWorkActionClassInBuildScript()
            buildFile << """
                task runInWorker(type: WorkerTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorErrorHandlingIntegrationTest.groovy

            actionThatFailsInstantiation = fixture.getWorkActionThatCreatesFiles("ActionThatFailsInstantiation")
            actionThatFailsInstantiation.with {
                constructorAction = """
                    throw new IllegalArgumentException("You shall not pass!");
                """
            }
    
            actionThatThrowsUnserializableMemberException = fixture.getWorkActionThatCreatesFiles("ActionThatFails")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLoggingIntegrationTest.groovy

    class WorkerDaemonLoggingIntegrationTest extends AbstractDaemonWorkerExecutorIntegrationSpec {
        @Rule BlockingHttpServer server = new BlockingHttpServer()
    
        def workActionThatProducesLotsOfOutput = fixture.getWorkActionThatCreatesFiles("LotsOfOutputWorkAction")
    
        def setup() {
            workActionThatProducesLotsOfOutput.with {
                action += """
                    1000.times {
                        println "foo!"
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

            fixture.withWorkActionClassInBuildScript()
    
            WorkerExecutorFixture.WorkActionClass workerThatChangesContextClassLoader = fixture.getWorkActionThatCreatesFiles("ClassLoaderChangingWorker")
            workerThatChangesContextClassLoader.with {
                action += """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top