Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 536 for testDirectory (0.29 sec)

  1. 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)
  2. 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)
  3. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/AbstractDevelocityInputIgnoringServiceIntegrationTest.groovy

            given:
            ShellScript script = ShellScript.builder().printText("Hello, world").writeTo(testDirectory, "script")
    
            buildFile << """
                ${runIgnoringInputs("""
                    def process = ${ShellScript.cmdToStringLiteral(script.getRelativeCommandLine(testDirectory))}.execute()
                    process.waitForProcessOutput(System.out, System.err)
                """)}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 29 16:27:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/rules/JacocoPluginCoverageVerificationIntegrationTest.groovy

            given:
            buildFile << """
                jacocoTestCoverageVerification {
                    violationRules {
                        rule {
                            excludes = ['company', '$testDirectory.name']
                            $Insufficient.LINE_METRIC_COVERED_RATIO
                        }
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesTestFrameworkIntegrationTest.groovy

            result.assertTaskExecuted(':integTest')
    
            def unitTestResults = new JUnitXmlTestExecutionResult(testDirectory)
            unitTestResults.assertTestClassesExecuted('example.UnitTest')
            def integTestResults = new JUnitXmlTestExecutionResult(testDirectory, 'build/test-results/integTest')
            integTestResults.assertTestClassesExecuted('it.IntegrationTest')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitIntegrationTest.groovy

            then:
            def testResult = new JUnitXmlTestExecutionResult(testDirectory)
            testResult.assertTestClassesExecuted('org.gradle.Test1')
            testResult.testClass('org.gradle.Test1').assertTestPassed('ok')
    
            def test2Result = new JUnitXmlTestExecutionResult(testDirectory, 'build/test-results/test2')
            test2Result.assertTestClassesExecuted('org.gradle.Test2')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/NativeCompilerTest.groovy

        protected CompilerOutputFileNamingSchemeFactory compilerOutputFileNamingSchemeFactory = new CompilerOutputFileNamingSchemeFactory(TestFiles.resolver(tmpDirProvider.testDirectory))
        private static final String O_EXT = ".o"
    
        protected abstract NativeCompiler getCompiler(CommandLineToolContext invocationContext, String objectFileExtension, boolean useCommandFile)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppGeneratedPublicHeadersIntegrationTest.groovy

        def "can depends on library with generated headers"() {
            given:
            writeHelloLibrary { TestFile libraryPath ->
                app.greeterLib.publicHeaders.writeToSourceDir(testDirectory.file("staging-includes"))
                app.greeterLib.privateHeaders.writeToSourceDir(libraryPath.file("src/main/headers"))
                app.greeterLib.sources.writeToSourceDir(libraryPath.file("src/main/cpp"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 30 15:38:28 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppStaticLibraryLinkageIntegrationTest.groovy

                library {
                    linkage = [Linkage.STATIC]
                }
            """
            settingsFile << """
                rootProject.name = 'foo'
            """
            library.writeToProject(testDirectory)
    
            when:
            succeeds('assemble')
    
            then:
            result.assertTasksExecuted(':compileDebugCpp', ':createDebug', ':assemble')
            staticLibrary('build/lib/main/debug/foo').assertExists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecActionFactoryTest.groovy

        @Rule
        public final TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def resolver = TestFiles.resolver(tmpDir.testDirectory)
        def fileCollectionFactory = TestFiles.fileCollectionFactory(tmpDir.testDirectory)
        def instantiator = TestUtil.instantiatorFactory()
        def factory =
            DefaultExecActionFactory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 15 17:11:21 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top