Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 135 for projectFor (0.17 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratedManagedStateTest.groovy

        def canConstructInstanceOfInterfaceWithFileCollectionGetter() {
            def projectDir = tmpDir.testDirectory
            def bean = create(InterfaceFileCollectionBean)
    
            expect:
            bean.prop.toString() == "file collection"
            bean.prop.empty
            bean.prop.from("a", "b")
            bean.prop.files == [projectDir.file("a"), projectDir.file("b")] as Set
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  2. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

                )
            }
    
            projectDir.resolve("failed-test-with-leftover/src/test/java/FlakyTest.java").writeFlakyTest(true)
            projectDir.resolve("flaky-test-with-leftover/src/test/java/FlakyTest.java").writeFlakyTest(true)
            projectDir.resolve("flaky-test-without-leftover/src/test/java/FlakyTest.java").writeFlakyTest(true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 14 12:35:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/tasks/AbstractProjectGeneratorTask.groovy

                subprojects: [],
                projectDir: new File(destDir, testProject.name),
                files: [],
                templates: subProjectTemplates,
                includeSource: true)
        }
    
        def generateProject(Map parameterArgs, TestProject testProject) {
            def args = [:]
            args += parameterArgs
    
            File projectDir = args.projectDir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 11.5K bytes
    - Viewed (0)
  7. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/CompositeBuildIdeaProjectIntegrationTest.groovy

            succeeds(":idea")
        }
    
        def ipr(TestFile projectDir = buildA) {
            def iprFile = projectDir.file(projectDir.name + ".ipr")
            assert iprFile.exists()
            return IdeaFixtures.parseIpr(iprFile)
        }
    
        def iml(TestFile projectDir = buildA) {
            def imlFile = projectDir.file(projectDir.name + ".iml")
            assert imlFile.exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top