Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for withAllWarningsAsErrors (0.45 sec)

  1. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinStandaloneScriptWarningsIntegrationTest.kt

        fun `fails on warning in project script`() {
            withAllWarningsAsErrors()
            val script = withBuildScript(scriptContentWithWarning)
            buildAndFail("help").apply {
                assertHasWarningLineFor(script)
                assertHasDetailedErrorOutput()
            }
        }
    
        @Test
        fun `fails on warning in settings script`() {
            withAllWarningsAsErrors()
            val script = withSettings(scriptContentWithWarning)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top