Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GradleVersionSpec (0.25 sec)

  1. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/GradleVersionSpec.java

            if(property == null) {
                return GradleVersion.version("0.0");
            }
            return GradleVersion.version(property);
        }
    
        public GradleVersionSpec() {
            this.lowestTestedVersion = getLowestTestedVersion();
        }
    
        public GradleVersionSpec(String lowestTestedVersion) {
            this.lowestTestedVersion = GradleVersion.version(lowestTestedVersion);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/test/groovy/org/gradle/integtests/tooling/fixture/GradleVersionSpecTest.groovy

        }
    
        def "unsupported operator"() {
            when:
            new GradleVersionSpec().toSpec("-1.3")
    
            then:
            thrown(RuntimeException)
        }
    
        def "RuntimeExcpetion is thrown if a version lower than the minimal tested is specified"() {
            given:
            def spec = new GradleVersionSpec("3.0")
    
            when:
            spec.toSpec("<1.3")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiExecution.groovy

    class ToolingApiExecution extends AbstractMultiTestInterceptor.Execution {
    
        private static final GradleVersion INSTALLATION_GRADLE_VERSION
        private static final GradleVersionSpec GRADLE_VERSION_SPEC = new GradleVersionSpec()
    
        static {
            // If we are testing a non-current tooling API version, we will have loaded the class using its classloader and thus
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top