Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestFailureEventCollector (0.23 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r85/TestFailureProgressEventCrossVersionTest.groovy

                            new AssertionError("This is a wrapped assertion error")
                        );
                    }
                }
            '''
            def collector = new TestFailureEventCollector()
    
            when:
            runTestTaskWithFailureCollection(collector)
    
            then:
            thrown(BuildException)
            collector.failures.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 10 17:52:51 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/TestFailureSpecification.groovy

                return ''
            }
        }
    
        /**
         * Runs the test task and collects all test failures.
         */
        protected List<TestAssertionFailure> runTestTaskWithFailureCollection(TestFailureEventCollector progressEventCollector) {
            withConnection { connection ->
                def build = connection.newBuild()
                    .addProgressListener(progressEventCollector)
                    .forTasks('test')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 10 17:52:51 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r83/TestFailureProgressEventCrossVersionTest.groovy

                                new Exception("Exception 2"),
                                new Exception("Exception 3")
                        ));
                    }
                }
            '''
            def collector = new TestFailureEventCollector()
    
            when:
            runTestTaskWithFailureCollection(collector)
    
            then:
            thrown(BuildException)
            collector.failures.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top