"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "subprojects/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaNonABIChangePerformanceTest.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.

JavaNonABIChangePerformanceTest.groovy  (gradle-6.8.2-src):JavaNonABIChangePerformanceTest.groovy  (gradle-6.8.3-src)
skipping to change at line 40 skipping to change at line 40
@RunFor([ @RunFor([
@Scenario(type = TEST, operatingSystems = [LINUX], @Scenario(type = TEST, operatingSystems = [LINUX],
testProjects = ["largeJavaMultiProject", "largeGroovyMultiProject", "lar geMonolithicJavaProject", "largeMonolithicGroovyProject"]) testProjects = ["largeJavaMultiProject", "largeGroovyMultiProject", "lar geMonolithicJavaProject", "largeMonolithicGroovyProject"])
]) ])
class JavaNonABIChangePerformanceTest extends AbstractCrossVersionPerformanceTes t { class JavaNonABIChangePerformanceTest extends AbstractCrossVersionPerformanceTes t {
@Unroll @Unroll
def "assemble for non-abi change"() { def "assemble for non-abi change"() {
given: given:
def testProject = JavaTestProject.projectFor(runner.testProject) def testProject = JavaTestProject.projectFor(runner.testProject)
runner.tasksToRun = ['assemble'] runner.tasksToRun = ['assemble']
runner.targetVersions = ["6.8.2-20210128010010+0000"] runner.targetVersions = ["6.8.2-20210218002439+0000"]
boolean isGroovyProject = testProject.name().contains("GROOVY") boolean isGroovyProject = testProject.name().contains("GROOVY")
runner.addBuildMutator { runner.addBuildMutator {
def fileToChange = new File(it.projectDir, testProject.config.fileTo ChangeByScenario['assemble']) def fileToChange = new File(it.projectDir, testProject.config.fileTo ChangeByScenario['assemble'])
return isGroovyProject ? new ApplyNonAbiChangeToGroovySourceFileMuta tor(fileToChange) : new ApplyNonAbiChangeToJavaSourceFileMutator(fileToChange) return isGroovyProject ? new ApplyNonAbiChangeToGroovySourceFileMuta tor(fileToChange) : new ApplyNonAbiChangeToJavaSourceFileMutator(fileToChange)
} }
if (isGroovyProject) { if (isGroovyProject) {
runner.minimumBaseVersion = '5.0' runner.minimumBaseVersion = '5.0'
} }
when: when:
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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