Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MyFailingTest (0.29 sec)

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

            assertTestExecuted(className: "example.MyFailingTest", methodName: "fail2", task: ":secondTest")
            def e = thrown(TestExecutionException)
            normaliseLineSeparators(e.cause.message) == """Test failed.
        Failed tests:
            Test example.MyFailingTest#fail (Task: :secondTest)
            Test example.MyFailingTest#fail2 (Task: :secondTest)
            Test example.MyFailingTest#fail (Task: :test)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

                    }
                }
            """
        }
    
        def withFailingTest() {
            file("src/test/java/example/MyFailingTest.java").text = """
                package example;
                public class MyFailingTest {
                    @org.junit.Test public void fail() throws Exception {
                         org.junit.Assert.assertEquals(1, 2);
                    }
    
    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/r26/TestLauncherCrossVersionSpec.groovy

            events.tests.size() == (supportsEfficientClassFiltering() ? 14 : 16)
    
            assertTestNotExecuted(className: "example.MyFailingTest", methodName: "fail", task: ":test")
            assertTestNotExecuted(className: "example.MyFailingTest", methodName: "fail", task: ":secondTest")
        }
    
        def "runs all test tasks in multi project build when test class passed by name"() {
            setup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top