Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeConfigFileWithWarnings (0.25 sec)

  1. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginVersionIntegrationTest.groovy

            file("build/reports/checkstyle/main.html").assertContents(containsClass("org.gradle.class2"))
        }
    
        def "can fail on maximum number of warnings"() {
            given:
            writeConfigFileWithWarnings()
            badCode()
    
            when:
            buildFile << """
                checkstyle {
                    maxWarnings = 1
                }
            """
    
            then:
            fails("check")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 19.2K bytes
    - Viewed (0)
Back to top