Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mockCrossBuildHistory (0.16 sec)

  1. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/results/TestDataGeneratorTest.groovy

                    [xaxis: [from: 0.5, to: 1.5], color: "rgba(0,255,0,0.4)"]
                ]
            ]
        }
    
        def "can generate cross build json data"() {
            when:
            generator.render(mockCrossBuildHistory(), writer)
    
            then:
            assert new JsonSlurper().parseText(writer.toString()) == [
                executionLabels: [
                    [
                        id: '1424385918',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/ResultSpecification.groovy

                ['5.0-mockbaseline-1', '5.0-mockbaseline-2'],
                ['master'],
                [result2, result1]
            )
        }
    
        PerformanceTestHistory mockCrossBuildHistory() {
            BuildDisplayInfo info1 = buildDisplayInfo('build1')
            CrossBuildPerformanceResults result1  = crossBuildResults(startTime: 100)
            result1.buildResult(info1).addAll(measuredOperations([1]))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top