Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for createRootProject (0.38 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/internal/DefaultCppLibraryTest.groovy

    @UsesNativeServices
    class DefaultCppLibraryTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def project = TestUtil.createRootProject(tmpDir.testDirectory)
        DefaultCppLibrary library
    
        def setup() {
            library = project.objects.newInstance(DefaultCppLibrary, "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
    - 7.2K bytes
    - Viewed (0)
  10. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/artifact/MavenArtifactNotationParserFactoryTest.groovy

            mavenArtifact.file == file
            mavenArtifact.classifier == null
        }
    
        def "creates MavenArtifact for ArchivePublishArtifact"() {
            when:
            def rootProject = TestUtil.createRootProject(temporaryFolder.testDirectory)
            def archive = rootProject.task('foo', type: Zip, {})
            archive.archiveBaseName.set("baseName")
            archive.destinationDirectory.set(temporaryFolder.testDirectory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top