Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 536 for testDirectory (0.17 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/swiftpm/SwiftPackageManagerDependencyMappingIntegrationTest.groovy

        def "produces manifest for Swift component with dependencies on multiple repositories"() {
            given:
            def lib1Repo = GitFileRepository.init(testDirectory.file("repos/lib1"))
            lib1Repo.file("build.gradle") << """
                plugins {
                    id 'swift-library'
                    id 'swiftpm-export'
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

        @Inject
        private DefaultProjectBuilder projectBuilder;
    
        @Inject
        private MavenRepositorySystem repositorySystem;
    
        private File testDirectory;
    
        @BeforeEach
        void setUp() throws Exception {
            testDirectory = new File(getBasedir(), BASE_POM_DIR);
        }
    
        @Test
        void testSettingsNoPom() throws Exception {
            PomTestWrapper pom = buildPom("settings-no-pom");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4RerunPreviousFailedTestIntegrationTest.groovy

        }
    
        void testFailed(def indexOfTestToFail) {
            new DefaultTestExecutionResult(testDirectory)
                .testClass("ConditionalFailingTest_${indexOfTestToFail}").assertTestFailed('failedTest', CoreMatchers.anything())
        }
    
        void allTestsSucceed() {
            new DefaultTestExecutionResult(testDirectory).assertTestClassesExecuted(TEST_CLASSES as String[])
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "sources are compiled with C++ compiler"() {
            given:
            settingsFile << "rootProject.name = 'hello'"
            def lib = new CppLib()
            lib.writeToProject(testDirectory)
    
            and:
            buildFile << """
                apply plugin: 'cpp-library'
             """
    
            expect:
            succeeds "assemble"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractJvmFailFastIntegrationSpec.groovy

        @Rule
        BlockingHttpServer server = new BlockingHttpServer()
        JvmBlockingTestClassGenerator generator
    
        def setup() {
            server.start()
            generator = new JvmBlockingTestClassGenerator(testDirectory, server, testFrameworkImports, testFrameworkDependencies, configureTestFramework)
        }
    
        def "all tests run with #description"() {
            given:
            buildFile.text = generator.initBuildFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationTest.groovy

                        throw new RuntimeException();
                    }
                }
            '''
    
            when:
            run('check')
    
            then:
            new DefaultTestExecutionResult(testDirectory)
                .assertTestClassesExecuted('org.gradle.IgnoredTest')
                .testClass('org.gradle.IgnoredTest').assertTestCount(1, 0, 0).assertTestsSkipped("testIgnored1()")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy

            given:
            testDirectory.file('build/classes/java/test/com/example/Foo.class').text = "invalid class file"
    
            when:
            fails('test', '-x', 'compileTestJava')
    
            then:
            failureCauseContains("There were failing tests")
            DefaultTestExecutionResult result = new DefaultTestExecutionResult(testDirectory)
            result.testClassStartsWith('Gradle Test Executor')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/SettingsPluginIntegrationSpec.groovy

            """
    
            then:
            succeeds(':moduleA:help')
        }
    
        def "can apply script with relative path"() {
            setup:
            testDirectory.createFile("settings/somePath/settingsPlugin.gradle") << "apply from: 'path2/settings.gradle'";
            testDirectory.createFile("settings/somePath/path2/settings.gradle") << "include 'moduleA'";
            createDirs("moduleA")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/swiftpm/AbstractSwiftPackageManagerExportIntegrationTest.groovy

        ExecOutput swiftPmBuildSucceeds() {
            return SwiftPmRunner.create(swiftc)
                .withProjectDir(testDirectory)
                .withArguments("build")
                .build()
        }
    
        ExecOutput swiftPmBuildFails() {
            return SwiftPmRunner.create(swiftc)
                    .withProjectDir(testDirectory)
                    .withArguments("build")
                    .buildAndFails()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/integTest/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuterIntegrationTest.groovy

            def result1 = executer
                .inDirectory(temporaryFolder.testDirectory)
                .withTasks("help")
                .withTestConsoleAttached()
                .withConsole(console)
                .run()
    
            System.out.println("AFTER OUT")
            System.err.println("AFTER ERR")
    
            def result2 = executer
                .inDirectory(temporaryFolder.testDirectory)
                .withTasks("help")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top