Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 193 for TestFile (0.4 sec)

  1. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/java/SamplesJavaTestingIntegrationTest.groovy

         * which can then be used to extract information from the XML.
         */
        private static getTestResultsFileAsXml(TestFile sampleDir, String testClassName, String taskName = "test") {
            return new XmlSlurper().parse(getTestResultsFile(sampleDir, testClassName, taskName))
        }
    
        /**
         * Returns the {@code TestFile} instance representing the required JUnit test
         * results file. Assumes the standard test results directory.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/InstallTest.groovy

        @Shared
        @ClassRule
        TestNameTestDirectoryProvider sharedTemporaryFolder = TestNameTestDirectoryProvider.newInstance(getClass())
        @Shared TestFile templateZipFile = new TestFile(sharedTemporaryFolder.testDirectory, "template-gradle.zip")
        @Shared TestFile templateEvalZipFile = new TestFile(sharedTemporaryFolder.testDirectory, "template-eval-gradle.zip")
        @Shared String templateZipHash
        @Shared String templateEvalZipHash
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy

        }
    
        def "overlapping output with localStateFileTask, dirTask then localStateFileTask, dirTask"() {
            def (String localStateFileTask, TestFile localStateFileTaskOutput, TestFile localStateFileTaskState,
            String dirTask, TestFile dirTaskOutput) = useOverlappingLocalStateFileAndOutputDirectory()
    
            when:
            withBuildCache().run(localStateFileTask, dirTask)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:54:14 UTC 2024
    - 30K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/SystemPropertiesCompositeBuildFixture.groovy

                }
    
                @Override
                TestFile getAccessLocation(List<BuildWithSystemPropertyDefined> definitions, AbstractIntegrationSpec test) {
                    return null
                }
            }
    
            abstract boolean isApplicableToBuild(List<BuildWithSystemPropertyDefined> definitions)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

        }
    
        protected TestFile initScript(@GroovyBuildScriptLanguage String script) {
            initScriptFile.text = script
            initScriptFile
        }
    
    
        protected TestFile getSettingsFile() {
            testDirectory.file(settingsFileName)
        }
    
        protected TestFile getInitScriptFile() {
            testDirectory.file(initScriptFileName)
        }
    
    
        protected TestFile getSettingsKotlinFile() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorServicesIntegrationTest.groovy

                    def projectDir = project.projectDir
                    def testFile = project.file("\$buildDir/\$name")
                    additionalParameters = {
                        it.classpath.from(classpath)
                        it.setProjectDir(projectDir)
                        it.setTestFile(testFile)
                    }
                    doLast { assert testFile.exists() }
                    dependsOn sourceSets.main.output
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverTest.groovy

        }
    
        @Test public void testPathValidationForDirectoryWithFile() {
            testFile.createNewFile()
            try {
                baseDirConverter.resolve(testFile.name, PathValidation.DIRECTORY)
                fail()
            } catch (InvalidUserDataException e) {
                assertThat(e.message, equalTo("Directory '$testFile.canonicalFile' is not a directory.".toString()))
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 29 17:15:52 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy

        private void createJarFileWithClassFiles(TestFile jar, List<String> classNames) {
            TestFile contents = tmpDir.createDir("contents/$jar.name")
    
            classNames.each { className ->
                writeClass(contents, className)
            }
    
            contents.zipTo(jar)
        }
    
        private static void writeClass(TestFile outputDir, String className) {
            TestFile classFile = outputDir.createFile("${className}.class")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/IncrementalCompileProcessorTest.groovy

            }
        }
    
        class DummyResolver implements SourceIncludesResolver {
            final Map<String, TestFile> mapping = [:]
            final Set<TestFile> unresolved = []
    
            void unresolved(TestFile file) {
                unresolved.add(file)
            }
    
            void resolveAs(String include, TestFile file) {
                mapping[include] = file
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:31:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathInstrumentationIntegrationTest.groovy

                it.parentFile.listFiles().findAll { it.name == fileName }
            }.flatten() as Set<TestFile>
        }
    
        Set<TestFile> typeHierarchyAnalysisOutputs(String artifactName, File cacheDir = getCacheDir()) {
            return analyzeOutputs(artifactName, TYPE_HIERARCHY_ANALYSIS_FILE_NAME, cacheDir)
        }
    
        TestFile typeHierarchyAnalysisOutput(String artifactName, File cacheDir = getCacheDir()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 29K bytes
    - Viewed (0)
Back to top