Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 536 for testDirectory (0.27 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/AbstractIncrementalAnnotationProcessingIntegrationTest.groovy

            outputs = new CompilationOutputsFixture(file("build/classes"))
    
            annotationProjectDir = testDirectory.file("annotation").createDir()
            libraryProjectDir = testDirectory.file("library").createDir()
            processorProjectDir = testDirectory.file("processor").createDir()
    
            settingsFile << """
                include "annotation", "library", "processor"
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 29 15:12:07 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy

                }
            """.stripIndent()
    
            when:
            executer.withTasks('test').run()
    
            then:
            TestFile results1 = testDirectory.file('build/test-results/test/TEST-org.gradle.SomeTest.xml')
            TestFile results2 = testDirectory.file('build/test-results/test/TEST-org.gradle.SomeTest2.xml')
            results1.assertIsFile()
            results2.assertIsFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultTemporaryFileProviderTest.groovy

        @Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        DefaultTemporaryFileProvider provider
    
        def setup() {
            provider = new DefaultTemporaryFileProvider({tmpDir.testDirectory} as Factory)
        }
    
        def "allocates temp file"() {
            expect:
            provider.newTemporaryFile('a', 'b') == tmpDir.file('a', 'b')
        }
    
        def "can create temp file"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

                    }
                }
            """
    
            when:
            run('test')
    
            then:
            DefaultTestExecutionResult result = new DefaultTestExecutionResult(testDirectory)
            result.assertTestClassesExecuted('CategoryATests', 'CategoryBTests', 'CategoryADTests', 'MixedTests')
            result.testClass("CategoryATests").assertTestCount(4, 0, 0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMultiProjectIntegrationTest.groovy

                    task ok
                }
            """
            def a = createDir('a')
            def b = createDir('b')
            def configurationCache = newConfigurationCacheFixture()
    
            when:
            inDirectory testDirectory
            configurationCacheRun 'ok'
    
            then:
            result.assertTasksExecuted(':ok', ':a:ok', ':b:ok')
            configurationCache.assertStateStored()
    
            when:
            inDirectory a
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/MultiProjectDerivationStrategyIntegTest.groovy

            mavenRepo.module("org", "foo", '1.1').publish()
    
            def resolveA = new ResolveTestFixture(testDirectory.file("resolve-a.gradle"), "conf")
                .expectDefaultConfiguration("runtime")
            def resolveB = new ResolveTestFixture(testDirectory.file("resolve-b.gradle"), "other")
                .expectDefaultConfiguration("runtime")
    
            writeSpec {
                settings {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppBothLibraryLinkageIntegrationTest.groovy

            def library = new CppLib()
            makeSingleProject()
            settingsFile << """
                rootProject.name = 'foo'
            """
            library.writeToProject(testDirectory)
    
            when:
            succeeds('assemble')
    
            then:
            result.assertTasksExecuted(':compileDebugSharedCpp', ':linkDebugShared', ':assemble')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/AntWorkerMemoryLeakIntegrationTest.groovy

    import spock.lang.Issue
    
    class AntWorkerMemoryLeakIntegrationTest extends AbstractIntegrationSpec {
        public static final String LOCAL_GROOVY = 'localGroovy()'
    
        private void goodCode(String groovyVersion, TestFile root = testDirectory) {
            root.file("src/main/java/org/gradle/Class0.java") << "package org.gradle; public class Class0 { }"
            root.file("src/main/groovy/org/gradle/Class1.groovy") << "package org.gradle; class Class1 { }"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy

        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
    
        def progressLoggerFactory = Stub(ProgressLoggerFactory)
        def relocatedJarCreator
        def outputJar = tmpDir.testDirectory.file('gradle-api.jar')
    
        def setup() {
            relocatedJarCreator = new RuntimeShadedJarCreator(
                progressLoggerFactory,
                new ImplementationDependencyRelocator(RuntimeShadedJarType.API),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccLinkerTest.groovy

        def "links all object files in a single execution"() {
            given:
            def testDir = tmpDirProvider.testDirectory
            def outputFile = testDir.file("output/lib")
    
            final expectedArgs = [
                    "-sys1", "-sys2",
                    "-shared",
                    getSoNameProp("installName"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top