Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withDebugLogging (0.15 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy

            and:
            buildFile << """
            task copy(type: Copy) {
                from "reference.txt"
                into ("build/tmp")
            }
            """
            when:
            withDebugLogging()
            run "copy"
            then:
            def testTargetFile = file("build/tmp/reference.txt")
            testTargetFile.exists()
            testTargetFile.canWrite()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

            succeeds(tasks.toArray(new String[tasks.size()]))
        }
    
        protected GradleExecuter args(String... args) {
            executer.withArguments(args)
        }
    
        protected GradleExecuter withDebugLogging() {
            executer.withArgument("-d")
        }
    
        protected ExecutionResult succeeds(String... tasks) {
            resetProblemApiCheck()
    
            result = executer.withTasks(*tasks).run()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top