Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for groovyScript (0.1 sec)

  1. platforms/core-runtime/process-services/src/integTest/groovy/org/gradle/process/internal/health/memory/MemoryStatusUpdateIntegrationTest.groovy

            succeeds 'waitForMemoryEvents'
    
            then:
            file("jvmReceived").exists()
            file("osReceived").exists()
        }
    
        private static String waitForMemoryEventsTask() {
            return groovyScript('''
                import java.util.concurrent.CountDownLatch
                import org.gradle.process.internal.health.memory.*
    
                task waitForMemoryEvents {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 29 14:36:01 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/file/BuildLayoutIntegrationTest.groovy

    import org.gradle.integtests.fixtures.build.BuildTestFile
    
    class BuildLayoutIntegrationTest extends AbstractIntegrationSpec {
        private String printLocations() {
            groovyScript """
                println "settings root dir: " + layout.rootDirectory + "."
                println "settings dir: " + layout.settingsDirectory + "."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 18:31:24 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

            javaFile(file(targetBuildFile), code)
        }
    
        void javaFile(TestFile targetBuildFile, @Language('JAVA') String code) {
            targetBuildFile << code
        }
    
        static String groovyScript(@GroovyBuildScriptLanguage String script) {
            script
        }
    
        void versionCatalogFile(@Language("toml") String script) {
            versionCatalogFile << script
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top