"Fossies" - the Fresh Open Source Software Archive  

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

JavaTestChangePerformanceTest.groovy  (gradle-6.8.2-src):JavaTestChangePerformanceTest.groovy  (gradle-6.8.3-src)
skipping to change at line 38 skipping to change at line 38
@RunFor( @RunFor(
@Scenario(type = TEST, operatingSystems = [LINUX], testProjects = ["largeJav aMultiProject", "mediumJavaMultiProjectWithTestNG", "largeMonolithicJavaProject" ]) @Scenario(type = TEST, operatingSystems = [LINUX], testProjects = ["largeJav aMultiProject", "mediumJavaMultiProjectWithTestNG", "largeMonolithicJavaProject" ])
) )
class JavaTestChangePerformanceTest extends AbstractCrossVersionPerformanceTest { class JavaTestChangePerformanceTest extends AbstractCrossVersionPerformanceTest {
def "test for non-abi change"() { def "test for non-abi change"() {
given: given:
def testProject = JavaTestProject.projectFor(runner.testProject) def testProject = JavaTestProject.projectFor(runner.testProject)
runner.warmUpRuns = 2 runner.warmUpRuns = 2
runner.runs = 6 runner.runs = 6
runner.tasksToRun = ['test'] runner.tasksToRun = ['test']
runner.targetVersions = ["6.8.2-20210128010010+0000"] runner.targetVersions = ["6.8.2-20210218002439+0000"]
// Pre-4.0 versions run into memory problems with this test // Pre-4.0 versions run into memory problems with this test
runner.minimumBaseVersion = "4.0" runner.minimumBaseVersion = "4.0"
runner.addBuildMutator { new ApplyNonAbiChangeToJavaSourceFileMutator(ne w File(it.projectDir, testProject.config.fileToChangeByScenario['test'])) } runner.addBuildMutator { new ApplyNonAbiChangeToJavaSourceFileMutator(ne w File(it.projectDir, testProject.config.fileToChangeByScenario['test'])) }
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)