Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 536 for testDirectory (0.28 sec)

  1. platforms/native/language-native/src/testFixtures/groovy/org/gradle/language/swift/AbstractSwiftComponentIntegrationTest.groovy

            componentUnderTest.writeToProject(testDirectory)
    
            and:
            buildFile << configureTargetMachines("machines.os('some-other-family')")
    
            expect:
            succeeds "help"
        }
    
        def "fails configuration when no target machine is configured"() {
            given:
            makeSingleProject()
            componentUnderTest.writeToProject(testDirectory)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultProjectDescriptorTest.groovy

        final TestName testName = new TestName()
    
        @Rule
        final TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
    
        final TestFile testDirectory = tmpDir.testDirectory
    
        def fileResolver = TestFiles.resolver(testDirectory)
        def descriptorRegistry = new DefaultProjectDescriptorRegistry()
    
        def "can set project name"() {
            given:
            def descriptor = projectDescriptor()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 08 03:33:31 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/fixtures/XcodebuildExecutor.java

        private final TestFile testDirectory;
    
        public XcodebuildExecutor(TestFile testDirectory) {
            this(testDirectory, testDirectory.file(".xcode-derived"));
        }
    
        private XcodebuildExecutor(TestFile testDirectory, File derivedData) {
            addArguments("-derivedDataPath", derivedData.getAbsolutePath());
            this.testDirectory = testDirectory;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectorySnapshotTest.groovy

            def testDirectory = temporaryFolder.createDir("test")
            def sourceDir = testDirectory.createDir("source-directory")
            def childDir = sourceDir.createDir("child")
            def childFile = childDir.createFile("child.txt")
            def parentFile = sourceDir.createFile("parent.txt")
            def targetDir = testDirectory.file("target-directory")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. 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)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/nativeplatform/tasks/AbstractUnexportMainSymbolIntegrationTest.groovy

            makeSingleProject()
            componentUnderTest.writeToProject(testDirectory)
    
            expect:
            succeeds("clean", "unexport")
        }
    
        @Issue("https://github.com/gradle/gradle-native/issues/297")
        @ToBeFixedForConfigurationCache
        def "unexport is incremental"() {
            makeSingleProject()
            componentUnderTest.writeToProject(testDirectory)
    
            when:
            succeeds("unexport")
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/AbstractVisualStudioProjectIntegrationTest.groovy

            given:
            componentUnderTest.writeToProject(testDirectory)
            makeSingleProject()
            buildFile << """
                ${componentUnderTestDsl}.targetMachines = [machines.os('os-family')]
            """
            succeeds "visualStudio"
    
            when:
            def resultSolution = msbuild
                    .withWorkingDir(testDirectory)
                    .withSolution(solutionFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  9. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestIntegrationTest.groovy

            testBundle.writeToProject(testDirectory)
    
            when:
            succeeds("test")
    
            then:
            result.assertTasksExecuted(tasks.debug.compile, tasks.test.allToInstall, ":xcTest", ":test")
            testBundle.assertTestCasesRan(testExecutionResult)
    
            when:
            testBundle.applyChangesToProject(testDirectory)
            succeeds("test")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.8K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DistributionFactoryTest.groovy

            expect:
            factory.getDistribution(tmpDir.testDirectory).displayName == "Gradle installation '${tmpDir.testDirectory}'"
        }
    
        def usesContentsOfInstallationLibDirectoryAsImplementationClasspath() {
            def libA = tmpDir.createFile("lib/a.jar")
            def libB = tmpDir.createFile("lib/b.jar")
    
            expect:
            def dist = factory.getDistribution(tmpDir.testDirectory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.7K bytes
    - Viewed (0)
Back to top