Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for createRootProject (0.42 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/tasks/LinkSharedLibraryTest.groovy

    import spock.lang.Specification
    
    class LinkSharedLibraryTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def link = TestUtil.createRootProject(tmpDir.testDirectory).tasks.create("link", LinkSharedLibrary)
    
        def "has no default import library location when platform does not produce one"() {
            def toolChain = Stub(NativeToolChainInternal)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/xctest/internal/DefaultSwiftXCTestSuiteTest.groovy

    @UsesNativeServices
    class DefaultSwiftXCTestSuiteTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        def testSuite = project.objects.newInstance(DefaultSwiftXCTestSuite, "test")
    
        def "has display name"() {
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/internal/DefaultSwiftApplicationTest.groovy

    @UsesNativeServices
    class DefaultSwiftApplicationTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        def app = project.objects.newInstance(DefaultSwiftApplication, "main")
    
        def "has display name"() {
            expect:
            app.displayName.displayName == "Swift application 'main'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/initialization/InstantiatingBuildLoaderTest.groovy

            ProjectInternal project
            if (parent) {
                project = TestUtil.createChildProject(parent, descriptor.name, descriptor.projectDir)
            } else {
                project = TestUtil.createRootProject(descriptor.projectDir)
            }
            project
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 24 13:56:30 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  5. subprojects/core/src/testFixtures/groovy/org/gradle/test/fixtures/AbstractProjectBuilderSpec.groovy

            // and treating the root of the repository as the root of the build
            new File(temporaryFolder.testDirectory, "settings.gradle") << ""
            rootProject = TestUtil.createRootProject(temporaryFolder.testDirectory)
            executionServices = new ProjectExecutionServices(rootProject)
        }
    
        final ProjectInternal getProject() {
            assert rootProject!=null
            return rootProject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 10:13:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/internal/DefaultSwiftLibraryTest.groovy

    @UsesNativeServices
    class DefaultSwiftLibraryTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        DefaultSwiftLibrary library
    
        def setup() {
            library = project.objects.newInstance(DefaultSwiftLibrary, "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
    - 4.6K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/internal/DefaultSwiftComponentTest.groovy

    @UsesNativeServices
    class DefaultSwiftComponentTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        DefaultSwiftComponent component
    
        def setup() {
            component = project.objects.newInstance(TestComponent, "main")
        }
    
        def "has no source files by default"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/internal/DefaultCppComponentTest.groovy

    @UsesNativeServices
    class DefaultCppComponentTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        DefaultCppComponent component
    
        def setup() {
            component = project.objects.newInstance(TestComponent, "main")
        }
    
        def "has no source files by default"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/plugins/NativeComponentModelPluginTest.groovy

        def setup() {
            registry = project.modelRegistry
            project.pluginManager.apply(NativeComponentModelPlugin)
        }
    
        def "can apply plugin by id"() {
            given:
            def project = TestUtil.createRootProject(null)
            project.apply plugin: 'native-component-model'
    
            expect:
            project.plugins.hasPlugin(NativeComponentModelPlugin)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/execution/plan/AbstractExecutionPlanSpec.groovy

    abstract class AbstractExecutionPlanSpec extends Specification {
        @Rule
        final TestNameTestDirectoryProvider temporaryFolder = TestNameTestDirectoryProvider.newInstance(getClass())
        private def backing = TestUtil.createRootProject(temporaryFolder.testDirectory)
        private def locks = new ArrayList<MockLock>()
        private def acquired = new HashSet<MockLock>()
        def thisBuild = backing.gradle
        def project = project()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 24 11:56:02 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top