Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for withDebugLogging (0.18 sec)

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

        def "expire worker daemons to free system memory"() {
            when:
            withDebugLogging()
            succeeds 'expireWorkers'
    
            then:
            outputContains 'Worker Daemon(s) expired to free some system memory'
        }
    
        def "worker daemons expiration can be disabled using a system property"() {
            when:
            withDebugLogging()
                .withWorkerDaemonsExpirationDisabled()
            succeeds('expireWorkers')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDebugLogIntegrationTest.groovy

                    task ok { doLast { println('ok!') } }
                }
            """
    
            when:
            switch (enablement) {
                case CCDebugEnablement.DEBUG_LOG_LEVEL:
                    withDebugLogging()
                    break
                case CCDebugEnablement.SYSTEM_PROPERTY:
                    executer.withArgument "-D$ConfigurationCacheDebugOption.PROPERTY_NAME=true"
                    break
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/cli/NotificationsIntegrationTest.groovy

       ${new DocumentationRegistry().getDocumentationRecommendationFor("details", "logging", "sec:debug_security")}
    #############################################################################
    """
            withDebugLogging()
    
            when:
            succeeds()
    
            then:
            outputContains(expectedWarning)
        }
    
        static String readReleaseFeatures() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. 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)
  5. 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