Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 125 for projectFor (0.13 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFilePropertyFactoryTest.groovy

        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        TestFile projectDir
        DefaultFilePropertyFactory factory
    
        def setup() {
            projectDir = tmpDir.createDir("project")
            factory = new DefaultFilePropertyFactory(Stub(PropertyHost), TestFiles.resolver(projectDir), TestFiles.fileCollectionFactory())
        }
    
        def "can create directory instance from absolute file"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  2. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLoadingIntegrationTest.java

            TestFile projectDir = testFile("project dir");
            TestFile buildFile = projectDir.file("build.gradle").createFile();
    
            ExecutionFailure result = usingProjectDir(projectDir).withTasks("tasks").runWithFailure();
            result.assertHasDescription(String.format("Project directory '%s' is not part of the build defined by settings file '%s'.", projectDir, settingsFile));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/ProjectBuilderImpl.java

            ProjectInternal parentProject = (ProjectInternal) parent;
            ProjectDescriptorRegistry descriptorRegistry = parentProject.getServices().get(ProjectDescriptorRegistry.class);
            DefaultProjectDescriptor parentDescriptor = descriptorRegistry.getProject(parentProject.getPath());
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:36 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildTreeStructureIntegrationTest.groovy

            assert rootProject.projectDir == testDirectory.absolutePath
            assert rootProject.buildFile == buildFile.absolutePath
            assert rootProject.children.size() == 3 // All projects are created when storing
            with(rootProject.children.first() as Map<String, Object>) {
                assert name == 'a'
                assert path == ':a'
                assert projectDir == file('a').absolutePath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. build-logic/cleanup/src/test/groovy/gradlebuild/cleanup/services/LeakingProcessKillPatternTest.groovy

            def projectDir = 'C:\\some\\agent\\workspace'
    
            expect:
            (line =~ KillLeakingJavaProcesses.generateLeakingProcessKillPattern(projectDir)).find()
        }
    
        def "matches daemon process started by performance test on Windows"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 07:00:39 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/integtests/ExecIntegrationTest.groovy

                    def testFile = file("${'$'}buildDir/${'$'}name")
                    classpath(sourceSets.main.output.classesDirs)
                    mainClass = 'org.gradle.TestMain'
                    args projectDir, testFile
                    doLast {
                        assert testFile.exists()
                    }
                    assert delegate instanceof ExtensionAware
                }
    
                task javaexecProjectMethod() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorServicesIntegrationTest.groovy

                    def classpath = sourceSets.main.output.classesDirs
                    def projectDir = project.projectDir
                    def testFile = project.file("\$buildDir/\$name")
                    additionalParameters = {
                        it.classpath.from(classpath)
                        it.setProjectDir(projectDir)
                        it.setTestFile(testFile)
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/test/groovy/org/gradle/language/plugins/NativeBasePluginTest.groovy

    class NativeBasePluginTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def projectDir = tmpDir.createDir("project")
        def project = ProjectBuilder.builder().withProjectDir(projectDir).withName("testComponent").build()
    
        def "registers each binary of a component as it becomes known"() {
            def b1 = Stub(SoftwareComponent)
            b1.name >> "b1"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

            }
        }
    
        private fun Fe10AnalysisContext.renderTypeProjection(projection: TypeProjection, printer: PrettyPrinter) {
            with(printer) {
                if (projection.isStarProjection) {
                    append("*")
                } else {
                    when (projection.projectionKind) {
                        Variance.INVARIANT -> renderType(projection.type, printer)
                        Variance.IN_VARIANCE -> {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/DeclarativeDslTestProjectGenerator.groovy

            }
        }
    
        def generateProject(File projectDir, Integer subProjectNumber) {
            def isRoot = subProjectNumber == null
    
            file projectDir, KOTLIN.fileNameFor('settings'), generateSettingsGradle(isRoot)
            file projectDir, "gradle.properties", generateGradleProperties(isRoot)
    
            file projectDir, config.dsl.fileNameFor('build'), generateBuildGradle(subProjectNumber)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 11 07:05:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top