Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for toBaselineVersions (0.15 sec)

  1. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/fixture/BaselineVersionResolverTest.groovy

            expect:
            toBaselineVersions(distributions, ['6.0-20190823180744+0000'], '6.0') == ['6.0-20190823180744+0000'] as LinkedHashSet
        }
    
        def 'throw exception if all versions are filtered out by minimumBaseVersion'() {
            setup:
            System.setProperty(ResultsStoreHelper.SYSPROP_PERFORMANCE_TEST_CHANNEL, '')
    
            when:
            toBaselineVersions(distributions, ['6.0-20190823180744+0000'], '6.1')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. platforms/enterprise/enterprise-plugin-performance/src/testFixtures/groovy/org/gradle/performance/AbstractBuildScanPluginPerformanceTest.groovy

    import org.gradle.performance.results.CrossBuildPerformanceResults
    import org.junit.Rule
    import spock.lang.AutoCleanup
    import spock.lang.Shared
    
    import static org.gradle.performance.fixture.BaselineVersionResolver.toBaselineVersions
    
    class AbstractBuildScanPluginPerformanceTest extends AbstractPerformanceTest {
    
        /**
         * System property that points to a directory with DV plugin information
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:56 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/CrossVersionPerformanceTestRunner.groovy

    import java.util.function.Function
    
    import static org.gradle.integtests.fixtures.RepoScriptBlockUtil.gradlePluginRepositoryMirrorUrl
    import static org.gradle.performance.fixture.BaselineVersionResolver.toBaselineVersions
    import static org.gradle.test.fixtures.server.http.MavenHttpPluginRepository.PLUGIN_PORTAL_OVERRIDE_URL_PROPERTY
    
    /**
     * Runs cross version performance tests using Gradle profiler.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/BaselineVersionResolver.groovy

    import org.junit.Assume
    
    import java.util.regex.Pattern
    
    class BaselineVersionResolver {
    
        private static final Pattern COMMA_OR_SEMICOLON = Pattern.compile('[;,]')
    
        static Iterable<String> toBaselineVersions(ReleasedVersionDistributions releases, List<String> targetVersions, String minimumBaseVersion) {
            def overrideBaselinesProperty = System.getProperty('org.gradle.performance.baselines')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. testing/performance/docs/performance-bisect.md

    //        }
        }
    ...
    ```
    
    In order to only test against `2.14` and not the latest release we modify `CrossVersionPerformanceTestRunner`:
    
    ```java
    ...
        static LinkedHashSet<String> toBaselineVersions(ReleasedVersionDistributions releases, List<String> targetVersions, boolean adhocRun) {
    ...
    //            if (!targetVersions.contains('nightly')) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top