- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for expectDeprecationWarnings (0.27 sec)
-
testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLoadingIntegrationTest.java
executer.expectDeprecationWarnings(1); usingBuildFile(buildFile1).withTasks("build").run(); executer.expectDeprecationWarnings(1); usingBuildFile(buildFile2).withTasks("other-build").run(); executer.expectDeprecationWarnings(1); usingBuildFile(buildFile1).withTasks("build").run(); } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 18K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/DeprecationHandlingIntegrationTest.groovy
""".stripIndent() when: if (fullStacktraceEnabled) { executer.withFullDeprecationStackTraceEnabled() } if (warningsCount > 0) { executer.expectDeprecationWarnings(warningsCount) } executer.withWarningMode(warnings) warnings == WarningMode.Fail ? fails('thisIsADeprecatedTask', 'broken') : succeeds('thisIsADeprecatedTask', 'broken') then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 16:16:32 UTC 2024 - 12.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java
/** * Expects exactly one deprecation warning in the build output. If more than one warning is produced, * or no warning is produced at all, the assertion fails. * * @see #expectDeprecationWarnings(int) * @deprecated Use {@link #expectDeprecationWarning(String)} instead. */ @Deprecated GradleExecuter expectDeprecationWarning(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 20.3K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocIntegrationTest.groovy
} } """ writeSourceFile() expect: if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) { executer.expectDeprecationWarnings(2) } else { executer.expectDeprecationWarning() // Error output triggers are "deprecated" warning check }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 06:04:19 UTC 2024 - 21.1K bytes - Viewed (0)