- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for createRootProject (0.33 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/artifact/IvyArtifactNotationParserFactoryTest.groovy
ivyArtifact.buildDependencies.getDependencies(task) == dependencies } def "creates IvyArtifact for ArchivePublishArtifact"() { when: def rootProject = TestUtil.createRootProject(temporaryFolder.testDirectory) def archive = rootProject.task('foo', type: Zip, {}) archive.archiveBaseName.set("base-name") archive.archiveExtension.set('extension')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 8.6K bytes - Viewed (0)