"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "subprojects/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaUpToDatePerformanceTest.groovy" between
gradle-6.8.2-src.zip and gradle-6.8.3-src.zip

About: Gradle is a build tool with a focus on build automation and support for multi-language development.

JavaUpToDatePerformanceTest.groovy  (gradle-6.8.2-src):JavaUpToDatePerformanceTest.groovy  (gradle-6.8.3-src)
skipping to change at line 40 skipping to change at line 40
class JavaUpToDatePerformanceTest extends AbstractCrossVersionPerformanceTest { class JavaUpToDatePerformanceTest extends AbstractCrossVersionPerformanceTest {
@RunFor([ @RunFor([
@Scenario(type = TEST, operatingSystems = [LINUX, WINDOWS], testProjects = ["largeJavaMultiProject"], iterationMatcher = '.*parallel true.*'), @Scenario(type = TEST, operatingSystems = [LINUX, WINDOWS], testProjects = ["largeJavaMultiProject"], iterationMatcher = '.*parallel true.*'),
@Scenario(type = TEST, operatingSystems = [LINUX], testProjects = ["larg eJavaMultiProject", "largeMonolithicJavaProject"], iterationMatcher = '.*paralle l false.*'), @Scenario(type = TEST, operatingSystems = [LINUX], testProjects = ["larg eJavaMultiProject", "largeMonolithicJavaProject"], iterationMatcher = '.*paralle l false.*'),
]) ])
@Unroll @Unroll
def "up-to-date assemble (parallel #parallel)"() { def "up-to-date assemble (parallel #parallel)"() {
given: given:
runner.tasksToRun = ['assemble'] runner.tasksToRun = ['assemble']
runner.targetVersions = ["6.8-20201116230039+0000"] runner.targetVersions = ["6.8.2-20210218002439+0000"]
runner.args += ["-Dorg.gradle.parallel=$parallel"] runner.args += ["-Dorg.gradle.parallel=$parallel"]
when: when:
def result = runner.run() def result = runner.run()
then: then:
result.assertCurrentVersionHasNotRegressed() result.assertCurrentVersionHasNotRegressed()
where: where:
parallel << [true, false] parallel << [true, false]
} }
@RunFor([ @RunFor([
@Scenario(type = TEST, operatingSystems = [LINUX], testProjects = ["larg eJavaMultiProject"], iterationMatcher = '.*parallel true.*'), @Scenario(type = TEST, operatingSystems = [LINUX], testProjects = ["larg eJavaMultiProject"], iterationMatcher = '.*parallel true.*'),
@Scenario(type = TEST, operatingSystems = [LINUX], testProjects = ["larg eJavaMultiProject", "largeMonolithicJavaProject"], iterationMatcher = '.*paralle l false.*'), @Scenario(type = TEST, operatingSystems = [LINUX], testProjects = ["larg eJavaMultiProject", "largeMonolithicJavaProject"], iterationMatcher = '.*paralle l false.*'),
]) ])
@Unroll @Unroll
def "up-to-date assemble with local build cache enabled (parallel #parallel) "() { def "up-to-date assemble with local build cache enabled (parallel #parallel) "() {
given: given:
runner.tasksToRun = ['assemble'] runner.tasksToRun = ['assemble']
runner.targetVersions = ["6.8-20201113131108+0000"] runner.targetVersions = ["6.8.2-20210218002439+0000"]
runner.minimumBaseVersion = "3.5" runner.minimumBaseVersion = "3.5"
runner.args += ["-Dorg.gradle.parallel=$parallel", "-D${StartParameterBu ildOptions.BuildCacheOption.GRADLE_PROPERTY}=true"] runner.args += ["-Dorg.gradle.parallel=$parallel", "-D${StartParameterBu ildOptions.BuildCacheOption.GRADLE_PROPERTY}=true"]
runner.addBuildMutator { invocationSettings -> runner.addBuildMutator { invocationSettings ->
new ClearBuildCacheMutator(invocationSettings.getGradleUserHome(), A bstractCleanupMutator.CleanupSchedule.SCENARIO) new ClearBuildCacheMutator(invocationSettings.getGradleUserHome(), A bstractCleanupMutator.CleanupSchedule.SCENARIO)
} }
when: when:
def result = runner.run() def result = runner.run()
then: then:
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)