Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 66 for requireDaemon (0.36 sec)

  1. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesDuringTheBuildFileSystemWatchingIntegrationTest.groovy

        @Rule
        BlockingHttpServer server = new BlockingHttpServer()
    
        VerboseVfsLogAccessor vfsLogs
    
        def setup() {
            executer.requireDaemon()
            executer.beforeExecute {
                vfsLogs = enableVerboseVfsLogs()
            }
            server.start()
            settingsFile  << """
                import org.gradle.internal.file.FileType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/ReadOnlyDependencyCacheWithinContainerTest.groovy

                newContainer()
                    .withBuildDir(testBuildDir)
                    .withExecuter {
                        if (daemon) {
                            requireDaemon()
                            requireIsolatedDaemons()
                        }
                        it
                    }
            }
    
            synchronizer.expectConcurrent(ids.collect { "build$it".toString() })
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaSourceIncrementalCompilationIntegrationTest.groovy

        @Requires(UnitTestPreconditions.Symlinks)
        @Issue("https://github.com/gradle/gradle/issues/9202")
        def "source mapping file works with symlinks"() {
            // Daemon cleans up symlinks in VFS
            executer.requireDaemon()
            executer.requireIsolatedDaemons()
    
            given:
            buildFile << """
                sourceSets {
                    main {
                        ${languageName} {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 17:44:34 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/SingleUseDaemonIntegrationTest.groovy

        def "forks build when default client VM memory is used and user didn't specify a different limit"() {
            executer.withCommandLineGradleOpts('-Xmx64m')
            executer.useOnlyRequestedJvmOpts()
            executer.requireDaemon()
    
            when:
            succeeds()
    
            then:
            wasForked()
    
            and:
            daemons.daemon.stops()
        }
    
        def "stops single use daemon when build fails"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/UndefinedBuildExecutionIntegrationTest.groovy

            executer.gradleUserHomeDir.file(BuildScopeCacheDir.UNDEFINED_BUILD).assertDoesNotExist()
        }
    
        def "does not fail when executing #flag in undefined build"() {
            when:
            executer.requireDaemon().requireIsolatedDaemons()
            succeeds(flag)
    
            then:
            testDirectory.assertIsEmptyDir()
    
            where:
            flag << ["--version", "--help", "-h", "-?", "--help"]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 09:18:31 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

        def setup() {
            expectReindentedValidationMessage()
    
            // Must run on isolated daemons so that symlink data can be properly cleaned up between builds
            executer.requireDaemon()
            executer.requireIsolatedDaemons()
    
            buildFile << """
    // This is a workaround to bust the JVM's file canonicalization cache
    def f = file("delete-me")
    f.createNewFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/LoggingFileSystemWatchingIntegrationTest.groovy

    import org.gradle.test.preconditions.IntegTestPreconditions
    
    @LocalOnly
    class LoggingFileSystemWatchingIntegrationTest extends AbstractFileSystemWatchingIntegrationTest {
    
        def setup() {
            executer.requireDaemon()
        }
    
        def "verbose VFS logging can be enabled"() {
            buildFile << """
                apply plugin: "java"
            """
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/SystemPropertyPropagationCrossVersionTest.groovy

            hasSystemProperty('mySystemProperty', 'defined in the client JVM')
        }
    
        def "Client JVM system properties do not appear in the build if withSystemProperties() is called"() {
            setup:
            toolingApi.requireDaemons() // no separate daemon JVM -> all client JVM system properties are expected to be visible
    
            when:
            runTask { withSystemProperties('unrelated' : 'value') }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/BuildEnvironmentCrossVersionSpec.groovy

        @TargetGradleVersion(">=3.5")
        @Requires(UnitTestPreconditions.Jdk8OrEarlier)
        def "old versions can mutate environment on JDK < 9"() {
            given:
            toolingApi.requireDaemons() //cannot be run in embedded mode
    
            buildFile << """
                task printEnv() {
                    doLast {
                        println "<" + System.getenv() + ">"
                    }
                }"""
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiLoggingSpecification.groovy

     */
    abstract class ToolingApiLoggingSpecification extends ToolingApiSpecification {
        def setup() {
            if (!targetDist.toolingApiLoggingInEmbeddedModeSupported) {
                toolingApi.requireDaemons()
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 945 bytes
    - Viewed (0)
Back to top