Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 536 for testDirectory (0.33 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/spock/Spock2FilteringIntegrationTest.groovy

                }
            """
        }
    
        def "can filter tests"() {
            when:
            succeeds("test", "--tests", "SubClass.$testMethod")
    
            then:
            new DefaultTestExecutionResult(testDirectory)
                .assertTestClassesExecuted("SubClass")
                .testClass("SubClass")
                .assertTestCount(1, 0, 0)
                .assertTestPassed(testMethod)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestEnvironmentIntegrationTest.groovy

                }
            """.stripIndent()
    
            when:
            run 'test'
    
            then:
            def result = new DefaultTestExecutionResult(testDirectory)
            result.assertTestClassesExecuted('org.gradle.JUnitTest')
            result.testClass('org.gradle.JUnitTest').assertTestPassed('mySystemClassLoaderIsUsed')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/FilesInTransformIntegrationTest.groovy

        }
    
        def "reading a file in transform action with #task does not create a build input"() {
            given:
            getTransformFixture().tap {
                withTransformPlugin(testDirectory.createDir("buildSrc"))
                withJavaLibrarySubproject(testDirectory.createDir("subproject"))
            }
    
            settingsFile("""
                include("subproject")
            """)
    
            buildFile("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/ResolutionResultsStoreFactoryTest.groovy

        final TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
    
        @AutoCleanup
        ResolutionResultsStoreFactory f = new ResolutionResultsStoreFactory(TestFiles.tmpDirTemporaryFileProvider(tmpDir.testDirectory))
    
        def "provides binary stores"() {
            def stores = f.createStoreSet()
            def store1 = stores.nextBinaryStore()
            def store2 = stores.nextBinaryStore()
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftLinkerTest.groovy

        def "ignores install name for all major operating system"() {
            given:
            def testDir = tmpDirProvider.testDirectory
            def outputFile = testDir.file("output/lib")
    
            final expectedArgs = [
                "-emit-library",
                "-o", outputFile.absolutePath,
                testDir.file("one.o").absolutePath].flatten()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/AbstractXcodeNativeProjectIntegrationTest.groovy

        def "can create xcode project for unbuildable component"() {
            given:
            makeSingleProject()
            buildFile << configureTargetMachines("machines.os('os-family')")
            componentUnderTest.writeToProject(testDirectory)
    
            when:
            succeeds("xcode")
    
            then:
            executedAndNotSkipped(":xcodeProject", ":xcodeProjectWorkspaceSettings", ":xcodeWorkspace", ":xcodeWorkspaceWorkspaceSettings", ":xcode")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/AbstractXcodeSwiftProjectIntegrationTest.groovy

            assumeSwiftCompilerVersion(sourceCompatibility)
    
            given:
            settingsFile << "rootProject.name = '${fixture.projectName}'"
            makeSingleProject()
    
            fixture.writeToProject(testDirectory)
    
            when:
            succeeds("xcode")
    
            then:
            def targets = rootXcodeProject.projectFile.findTargets(fixture.moduleName)
            assertHasSwiftVersion(sourceCompatibility, targets)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/AbstractTestFrameworkOptionsIntegrationTest.groovy

            DefaultTestExecutionResult result = new DefaultTestExecutionResult(testDirectory)
            result.assertTestClassesExecuted("com.example.IncludedTest")
            result.assertTestClassesNotExecuted("com.example.ExcludedTest")
        }
    
        void assertIntegrationTestsWereExecutedAndExcluded() {
            DefaultTestExecutionResult result = new DefaultTestExecutionResult(testDirectory, 'build', '', '', 'integrationTest')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperUserHomeIntegrationTest.groovy

    class WrapperUserHomeIntegrationTest extends AbstractWrapperIntegrationSpec {
        void 'uses gradle user home set by -Dgradle.user.home'() {
            given:
            prepareWrapper()
            def gradleUserHome = testDirectory.file('some-custom-user-home')
    
            when:
            def executer = wrapperExecuter.withGradleUserHomeDir(null)
            executer.withArguments("-Dgradle.user.home=$gradleUserHome.absolutePath")
            executer.run()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MonkeyPatchRelocationIntegrationTest.groovy

    class MonkeyPatchRelocationIntegrationTest extends AbstractIntegrationSpec implements DirectoryBuildCacheFixture {
    
        def "can change task input's path sensitivity"() {
            def original = testDirectory.file("original")
            def relocated = testDirectory.file("relocated")
    
            setupProjectIn(original)
            setupProjectIn(relocated)
    
            inDirectory(original)
            withBuildCache().run "broken"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 23 12:40:43 UTC 2019
    - 2.5K bytes
    - Viewed (0)
Back to top