DeprecationCreationPerformanceTest.groovy (gradle-6.8.2-src) | : | DeprecationCreationPerformanceTest.groovy (gradle-6.8.3-src) | ||
---|---|---|---|---|
skipping to change at line 34 | skipping to change at line 34 | |||
import static org.gradle.performance.results.OperatingSystem.LINUX | import static org.gradle.performance.results.OperatingSystem.LINUX | |||
@RunFor( | @RunFor( | |||
@Scenario(type = TEST, operatingSystems = [LINUX], testProjects = ["generate LotsOfDeprecationWarnings"]) | @Scenario(type = TEST, operatingSystems = [LINUX], testProjects = ["generate LotsOfDeprecationWarnings"]) | |||
) | ) | |||
class DeprecationCreationPerformanceTest extends AbstractCrossVersionPerformance Test { | class DeprecationCreationPerformanceTest extends AbstractCrossVersionPerformance Test { | |||
def "create many deprecation warnings"() { | def "create many deprecation warnings"() { | |||
given: | given: | |||
runner.tasksToRun = ['help'] | runner.tasksToRun = ['help'] | |||
runner.minimumBaseVersion = '6.3' | runner.minimumBaseVersion = '6.3' | |||
runner.targetVersions = ["6.8-20201115230028+0000"] | runner.targetVersions = ["6.8.2-20210218002439+0000"] | |||
when: | when: | |||
def result = runner.run() | def result = runner.run() | |||
then: | then: | |||
result.assertCurrentVersionHasNotRegressed() | result.assertCurrentVersionHasNotRegressed() | |||
} | } | |||
} | } | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |