Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for createRootProject (0.24 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy

        }
    
        def "one thread can access state at a time"() {
            given:
            def build = build("p1")
            def project = project("p1")
    
            createRootProject()
            def state = registry.stateFor(projectId("p1"))
            createProject(state, project)
    
            when:
            async {
                workerThread {
                    assert !state.hasMutableState()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpIntegrationTest.groovy

            classpath.lib('baz-1.0.jar').assertIsDeployedTo('/WEB-INF/lib')
        }
    
        @Test
        @ToBeFixedForConfigurationCache
        void "included build"() {
            // given:
            createRootProject()
            createIncludedBuild()
    
            // when:
            def result = executer.withTasks("eclipse").run()
    
            // then:
            result.error == ""
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheHost.kt

                val projectRegistry = service<ProjectStateRegistry>()
                projectRegistry.registerProjects(state, projectDescriptorRegistry)
                createRootProject()
            }
    
            private
            fun createRootProject() {
                val rootProject = createProject(rootProjectDescriptor())
                gradle.rootProject = rootProject
                gradle.defaultProject = rootProject
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/cpp/internal/DefaultCppTestSuiteTest.groovy

    @UsesNativeServices
    class DefaultCppTestSuiteTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        def testSuite = project.objects.newInstance(DefaultCppTestSuite, "test")
    
        def "has display name"() {
            expect:
            testSuite.displayName.displayName == "C++ test suite 'test'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/internal/DefaultCppApplicationTest.groovy

    @UsesNativeServices
    class DefaultCppApplicationTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        def application = project.objects.newInstance(DefaultCppApplication, "main")
    
        def "has display name"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/WrapperPluginSpec.groovy

    @UsesNativeServices
    class WrapperPluginSpec extends Specification {
        @Rule
        public final TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(testDir.testDirectory)
    
        def "adds 'wrapper' task"() {
            when:
            project.pluginManager.apply WrapperPlugin
    
            then:
            project.tasks.wrapper instanceof Wrapper
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. subprojects/core/src/testFixtures/groovy/org/gradle/util/TestUtil.groovy

            return builder(temporaryFolder.testDirectory)
        }
    
        ProjectInternal rootProject() {
            createRootProject(rootDir, userHomeDir)
        }
    
        static ProjectInternal createRootProject(File rootDir, File userHomeDir = null) {
            def builder = ProjectBuilder
                .builder()
                .withProjectDir(rootDir)
                .withName("test-project")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/internal/DefaultSwiftBinaryTest.groovy

    @UsesNativeServices
    class DefaultSwiftBinaryTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        def implementation = Stub(ConfigurationInternal)
        def compile = Stub(Configuration)
        def link = Stub(Configuration)
        def runtime = Stub(Configuration)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/internal/DefaultCppBinaryTest.groovy

    @UsesNativeServices
    class DefaultCppBinaryTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        def implementation = Stub(ConfigurationInternal)
        def headerDirs = Stub(FileCollection)
        def compile = Stub(Configuration)
        def link = Stub(Configuration)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/test/groovy/org/gradle/language/internal/DefaultNativeBinaryTest.groovy

    @UsesNativeServices
    class DefaultNativeBinaryTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        Configuration implementation = Stub(ConfigurationInternal)
    
        def "has implementation dependencies"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top