Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 536 for testDirectory (0.22 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalBuildIntegrationTest.groovy

            given:
            app.writeToProject(testDirectory)
    
            and:
            buildFile << """
                apply plugin: 'swift-application'
             """
    
            and:
            outputs.snapshot { succeeds "assemble" }
            app.applyChangesToProject(testDirectory)
    
            expect:
            succeeds "assemble"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/locking/LockfileFixture.groovy

        }
    
        private void expectMissingLockFile(String fileName) {
            def lockFile = testDirectory.file(fileName)
            assert !lockFile.exists()
        }
    
        void assertLegacyLockfileMissing(String configurationName) {
            def lockFile = testDirectory.file(LockFileReaderWriter.DEPENDENCY_LOCKING_FOLDER, "$configurationName$LockFileReaderWriter.FILE_SUFFIX")
            assert !lockFile.exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/reporting/model/DetailedModelReportIntegrationTest.groovy

        }
    
        def "can find the relative path when model configuration is applied from a local script outside the root dir"() {
            given:
            def buildDir = testDirectory.createDir("root-dir")
            def modelFile = testDirectory.file("my-model.gradle")
    
            modelFile.text = """
            ${managedNumbers()}
    
            model {
                numbers(Numbers){
                    value = 5
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/CrossVersionIntegrationSpec.groovy

        }
    
        protected TestFile getBuildFile() {
            testDirectory.file('build.gradle')
        }
    
        protected TestFile getSettingsFile() {
            testDirectory.file('settings.gradle')
        }
    
        TestFile getTestDirectory() {
            temporaryFolder.getTestDirectory()
        }
    
        protected TestFile file(Object... path) {
            testDirectory.file(path)
        }
    
        protected MavenFileRepository getMavenRepo() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInPluginIntegrationTest.groovy

            given:
            def snippets = snippetsFactory.newSnippets(execOperationsFixture)
            testDirectory.file("buildSrc/build.gradle.kts") << """
                plugins {
                    `$plugin`
                }
    
                ${mavenCentralRepository(GradleDsl.KOTLIN)}
            """
            def conventionPluginFile = testDirectory.file(file)
            conventionPluginFile << """
                ${snippets.imports}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/swiftpm/SwiftPackageManagerCppBuildExportIntegrationTest.groovy

                    id 'cpp-unit-test'
                }
    """
            def lib = new CppLib()
            lib.sources.writeToProject(testDirectory)
            lib.privateHeaders.writeToSourceDir(testDirectory.file("src/main/cpp"))
            lib.publicHeaders.writeToProject(testDirectory)
            file("src/test/cpp/test.cpp") << "// test"
    
            when:
            run("generateSwiftPmManifest")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppIncrementalBuildStaleOutputsIntegrationTest.groovy

            def app = new IncrementalCppStaleCompileOutputApp()
    
            given:
            app.writeToProject(testDirectory)
    
            and:
            buildFile << """
                apply plugin: 'cpp-application'
             """
    
            and:
            succeeds "assemble"
            app.applyChangesToProject(testDirectory)
    
            expect:
            succeeds "assemble"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. testing/internal-testing/src/test/groovy/org/gradle/util/TempDirIsUniquePerTestSpec.groovy

            temp.testDirectory
        }
    
        def "testOne"() {
            when:
            tests << "testOne"
            tmpDirs << temp.testDirectory
    
            then:
            tests.size() == tmpDirs.size()
        }
    
        def "testTwo"() {
            when:
            tests << "testTwo"
            tmpDirs << temp.testDirectory
    
            then:
            tests.size() == tmpDirs.size()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInputListenerLifecycleIntegrationTest.groovy

            when:
            configurationCacheRun "myTask"
    
            then:
            configurationCache.assertStateStored()
            testDirectory.file("build/out.txt").text == "no"
    
            when: "the file that is used in the undeclared configuration input changes and the build runs again"
            testDirectory.file("test").createNewFile()
            configurationCacheRun "myTask"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryIntegrationTest.groovy

        }
    
        def "can build debug and release variants of library"() {
            given:
            def lib = new SwiftLib()
            settingsFile << "rootProject.name = '${lib.projectName}'"
            lib.writeToProject(testDirectory)
    
            and:
            buildFile << """
                apply plugin: 'swift-library'
             """
    
            when:
            succeeds "assembleDebug"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top