Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for noExtraLogging (0.21 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonOutputToggleIntegrationTest.groovy

        def "output is received when toggle is off"() {
            when:
            executer.noExtraLogging()
            succeeds "help"
    
            then:
            outputContains(":help")
        }
    
        def "output is not received when toggle is on"() {
            when:
            executer.withBuildJvmOpts("-D$LogToClient.DISABLE_OUTPUT=true").noExtraLogging()
            succeeds "help"
    
            then:
            outputDoesNotContain(":help")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/LoggingIntegrationTest.groovy

            String initScript = new File(loggingDir, 'init.gradle').absolutePath
            List<String> allArgs = logLevel.args + ['-I', initScript]
    
            when:
            executer.noExtraLogging().inDirectory(loggingDir).withArguments(allArgs)
            run "log"
            then:
            logLevel.checkOuts(result)
    
            where:
            level << ['quiet', 'lifecycle', 'info', 'debug']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitAbortedTestClassIntegrationTest.groovy

        // https://github.com/junit-team/junit4/issues/1066
        // So this test was adjusted accordingly.
        def "supports assumptions in JUnit4 rules"() {
            given:
            executer.noExtraLogging()
            file('src/test/java/org/gradle/SkippingRuleTests.java') << """
                package org.gradle;
    
                import org.junit.FixMethodOrder;
                import org.junit.Rule;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitIgnoreClassIntegrationTest.groovy

    abstract class AbstractJUnitIgnoreClassIntegrationTest extends AbstractTestingMultiVersionIntegrationTest {
    
        def "can handle class level ignored tests"() {
            given:
            executer.noExtraLogging()
            file('src/test/java/org/gradle/IgnoredTest.java') << """
                package org.gradle;
    
                ${testFrameworkImports}
    
                ${ignoreOrDisabledAnnotation}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGTestOutputListenerTest.groovy

            when: "run with quiet"
            executer.withArguments("-q")
            succeeds('test')
    
            then:
            outputDoesNotContain('output from foo')
    
            when: "run with lifecycle"
            executer.noExtraLogging()
            succeeds('cleanTest', 'test')
    
            then:
            outputContains('output from foo')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitAssumptionsIntegrationTest.groovy

    abstract class AbstractJUnitAssumptionsIntegrationTest extends AbstractTestingMultiVersionIntegrationTest {
        def "supports assumptions"() {
            given:
            executer.noExtraLogging()
            file('src/test/java/org/gradle/TestWithAssumptions.java').text = """
                package org.gradle;
    
                ${testFrameworkImports}
    
                public class TestWithAssumptions {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationSpec.groovy

    import static org.gradle.testing.fixture.JUnitCoverage.LATEST_JUPITER_VERSION
    
    class JUnitPlatformIntegrationSpec extends AbstractIntegrationSpec {
        def setup() {
            executer.noExtraLogging()
            buildScriptWithJupiterDependencies("""
                test {
                    useJUnitPlatform()
                }
            """)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGProducesOldReportsIntegrationTest.groovy

    import org.gradle.integtests.fixtures.TestNGExecutionResult
    
    class TestNGProducesOldReportsIntegrationTest extends AbstractIntegrationSpec {
        def setup() {
            executer.noExtraLogging()
        }
    
        def "always produces the new xml reports"() {
            given:
            file("src/test/java/org/MixedMethodsTest.java") << """package org;
    import org.testng.*;
    import org.testng.annotations.*;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractDefaultTestOrderingIntegrationTest.groovy

        @Rule public final TestResources resources = new TestResources(temporaryFolder)
    
        def setup() {
            executer.noExtraLogging()
            executer.withRepositoryMirrors()
        }
    
        private void addEmptyTestClass(String testName) {
            file("src/test/java/${testName}.java") << """
                ${testFrameworkImports}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyReportTaskIntegrationTest.groovy

                project(':B') {
                    configurations.create('default')
                    dependencies.add("default", project(':C'))
                }
            """
    
            when:
            executer.noExtraLogging()
            run "dependencies"
    
            then:
            output.contains """
    conf
    +--- project :A FAILED
    \\--- project :B
         \\--- project :C FAILED
    """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 25 05:32:54 UTC 2023
    - 31.2K bytes
    - Viewed (0)
Back to top