Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for canUseBuiltInAstTransform (0.28 sec)

  1. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractGroovyCompilerIntegrationSpec/canUseBuiltInAstTransform/src/test/groovy/TestDelegate.groovy

    package org.gradle.groovy.compile.GroovyCompilerIntegrationSpec.canUseBuiltInAstTransform.src.test.groovy
    
    class TestDelegate {
        def doStuff(String value) {
            return "[$value]"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 194 bytes
    - Viewed (0)
  2. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractGroovyCompilerIntegrationSpec/canUseBuiltInAstTransform/src/test/groovy/UseBuiltInTransformTest.groovy

    package org.gradle.groovy.compile.GroovyCompilerIntegrationSpec.canUseBuiltInAstTransform.src.test.groovy
    
    import org.junit.Test
    
    class UseBuiltInTransformTest {
        @Delegate final TestDelegate delegate = new TestDelegate()
    
        @Test
        void transformHasBeenApplied() {
            assert doStuff("hi") == "[hi]"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 320 bytes
    - Viewed (0)
  3. platforms/jvm/language-groovy/src/testFixtures/groovy/org/gradle/groovy/compile/AbstractGroovyCompilerIntegrationSpec.groovy

     */
    abstract class AbstractGroovyCompilerIntegrationSpec extends AbstractBasicGroovyCompilerIntegrationSpec {
        def "canUseBuiltInAstTransform"() {
            if (versionLowerThan('1.6')) {
                return
            }
    
            when:
            run("test")
    
            then:
            noExceptionThrown()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top