Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 202 for testDirectory (0.39 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultCacheFactoryTest.groovy

            given:
            factory.open(tmpDir.testDirectory, null, [prop: 'value'], mode(Exclusive), null, null)
    
            when:
            factory.open(tmpDir.testDirectory, null, [prop: 'other'], mode(Exclusive), null, null)
    
            then:
            IllegalStateException e = thrown()
            e.message == "Cache '${tmpDir.testDirectory}' is already open with different properties."
    
            cleanup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

            transitiveTestResults.assertTestClassesExecuted('transitive.PowerizeTest')
    
            def directTestResults = new HtmlTestExecutionResult(testDirectory.file('direct'))
            directTestResults.assertTestClassesExecuted('direct.MultiplierTest')
    
            def applicationTestResults = new HtmlTestExecutionResult(testDirectory.file('application'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  3. testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/fixtures/external/RunningPlayApp.groovy

    class RunningPlayApp {
        static final int UNASSIGNED = -1
        int httpPort = UNASSIGNED
        final TestFile testDirectory
        Closure output
        boolean standalone
    
        RunningPlayApp(TestFile testDirectory) {
            this.testDirectory = testDirectory
        }
    
        URL playUrl(String path='') {
            requireHttpPort()
            return new URL("http://localhost:$httpPort/${path}")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K 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. 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)
  7. 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)
  8. 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)
  9. testing/integ-test/src/integTest/groovy/org/gradle/integtests/fixture/TempDirIsUniquePerTestSpec.groovy

            tmp.testDirectory
        }
    
        def "testOne"() {
            when:
            tests << "testOne"
            tmpDirs << tmp.testDirectory
    
            then:
            tests.size() == tmpDirs.size()
        }
    
        def "testTwo"() {
            when:
            tests << "testTwo"
            tmpDirs << tmp.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)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

        protected TestFile getSettingsFile() {
            testDirectory.file(settingsFileName)
        }
    
        protected TestFile getInitScriptFile() {
            testDirectory.file(initScriptFileName)
        }
    
    
        protected TestFile getSettingsKotlinFile() {
            testDirectory.file(settingsKotlinFileName)
        }
    
        protected TestFile getPropertiesFile() {
            testDirectory.file('gradle.properties')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top