"Fossies" - the Fresh Open Source Software Archive  

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

JavaABIChangePerformanceTest.groovy  (gradle-6.8.2-src):JavaABIChangePerformanceTest.groovy  (gradle-6.8.3-src)
skipping to change at line 43 skipping to change at line 43
def "assemble for abi change"() { def "assemble for abi change"() {
given: given:
def testProject = JavaTestProject.projectFor(runner.testProject) def testProject = JavaTestProject.projectFor(runner.testProject)
runner.tasksToRun = ['assemble'] runner.tasksToRun = ['assemble']
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 ApplyAbiChangeToGroovySourceFileMutator (fileToChange) : new ApplyAbiChangeToJavaSourceFileMutator(fileToChange) return isGroovyProject ? new ApplyAbiChangeToGroovySourceFileMutator (fileToChange) : new ApplyAbiChangeToJavaSourceFileMutator(fileToChange)
} }
runner.targetVersions = ["6.8.2-20210128010010+0000"] runner.targetVersions = ["6.8.2-20210218002439+0000"]
if (isGroovyProject) { if (isGroovyProject) {
runner.minimumBaseVersion = '5.0' runner.minimumBaseVersion = '5.0'
} }
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

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