Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for simpleJavaProject (0.17 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

        }
    
        def "fails with meaningful error when test task no longer exists"() {
            given:
            collectDescriptorsFromBuild()
            and:
            buildFile.text = simpleJavaProject()
            when:
            launchTests(testDescriptors("example.MyTest", null, ":secondTest"));
            then:
            assertTaskNotExecuted(":secondTest")
            assertTaskNotExecuted(":test")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

                }
            } catch (BuildException e) {
            }
        }
    
        def testCode() {
            settingsFile << "rootProject.name = 'testproject'\n"
            buildFile.text = simpleJavaProject()
    
            def classesDir = 'file("build/classes/moreTests")'
            buildFile << """
                sourceSets {
                    moreTests {
                        java.srcDir "src/test"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r70/TestDisplayNameJUnit5CrossVersionSpec.groovy

     */
    class TestDisplayNameJUnit5CrossVersionSpec extends TestLauncherSpec {
        @Override
        void addDefaultTests() {
        }
    
        @Override
        String simpleJavaProject() {
            """
            allprojects{
                apply plugin: 'java'
                ${mavenCentralRepository()}
                dependencies {
                    testImplementation("org.junit.jupiter:junit-jupiter:5.7.1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top