summaryrefslogtreecommitdiff
path: root/src/tests/junit/org/example
Commit message (Collapse)AuthorAgeFilesLines
* 66504: junitlauncher task should resolve the outputDir against the basedir ↵Jaikiran Pai2023-03-021-0/+29
| | | | of the project
* Merge pull request #158 from arturobernalg/feature/simplify_assertStefan Bodewig2021-09-261-2/+2
|\ | | | | Replace assert by simpler but equivalent calls.
| * Replace assert by simpler but equivalent calls.Arturo Bernal2021-09-261-2/+2
| |
* | Delete unused import.Arturo Bernal2021-08-311-2/+0
|/
* [junitlauncher] - Introduce the ability to let listener/result formatter ↵Jaikiran Pai2020-11-281-0/+5
| | | | implementations decide whether to use legacy or new style display names for test identifiers
* bz-63850 junitlaucher legacy-xml: don't lose exception from @BeforeAllMarc Guillemot2019-11-051-0/+39
|
* @BeforeAll failing should break build. Pr 63479jkf2019-06-012-0/+60
|
* updated reference to license from http to https usingjkf2019-05-2526-26/+26
| | | | find . -type f -exec sed -i "s/http:\/\/www.apache.org\/licenses\/LICENSE-2.0/https:\/\/www.apache.org\/licenses\/LICENSE-2.0/" {} \;
* [junitlauncher] Add support for selecting tests based on JUnit-5 tag ↵Matthias Gutheil2019-05-222-0/+79
| | | | | | functionality This closes #93 pull request at github/apache/ant repo
* missing license headersStefan Bodewig2019-03-202-0/+34
|
* [junitlauncher] - Switch back to issuing a separate LauncherDiscoveryRequestJaikiran Pai2018-12-071-1/+21
| | | | | | | | | | | | | | | | | | | | | | | for each of the test class that are selected by the <testclasses> usage In 1.10.5 version (the latest released) of Ant, we used to launch multiple LauncherDiscoveryRequest (a JUnit 5 construct), one each for a test class, that belonged to the <testclasses> usage. Commit 3f806148c3f3542b8526d5f91f10d6189bf0607d changed it to launch one single LauncherDiscoveryRequest (and including all those test classes in that request) because it seemed more logical to do so. However, recent tests/experimentation of the master branch has shown that it introduces complexities when the "legacy-xml" listener (the one which supports generating test results in xml format that junitreport understands) is used. These complexities include - expecting each test class to have a separate report file, but isn't limited to that. Solving these issues isn't easy and probably not worth it, given that the only reason we started using a single LauncherDiscoveryRequest is because it just seemed logical and there is no other strong reason to do so. This commit switches back to the behaviour that's been there in 1.10.5 version, to issue multiple separate LauncherDiscoveryRequest(s) one each for the test class that's selected through the use of <testclasses>.
* [junitlauncher] More fine-grained control over classpath for forked tests in ↵Jaikiran Pai2018-08-271-5/+12
| | | | | | | | | junitlauncher - Allows Ant runtime libraries to be excluded and thus letting the user have control over where those library jars come from - Allows JUnit platform libraries to be excluded and thus letting the user have control over where those library jars come from Plus added testcases to verify this feature
* [junitlauncher] add more fine grained tests for junitlauncher taskJaikiran Pai2018-08-222-0/+173
|
* move the junitlauncher jupiter sample test to the org/example directory, ↵Jaikiran Pai2018-08-151-0/+67
| | | | just like the vintage engine ones
* Revert "Trailing whitespace"Jaikiran Pai2018-07-072-0/+2
| | | | | This reverts commit 2f64e0b51c295960cb15aa77c7c1f447b2518e14. Discussion in ant dev mailing list https://www.mail-archive.com/dev@ant.apache.org/msg47356.html
* Trailing whitespaceGintas Grigelionis2018-07-012-2/+0
|
* Java 8: lambdas, instance methods, sortingGintas Grigelionis2018-04-031-5/+1
|
* Import assumptions staticallyGintas Grigelionis2018-04-021-3/+3
|
* Simplify assertionsGintas Grigelionis2018-04-011-4/+7
|
* Remove extraneous exceptions and “extends Object”Gintas Grigelionis2018-04-012-2/+2
|
* Shorten fully qualified names and other small fixesGintas Grigelionis2018-03-311-3/+3
|
* JUnit 5 support - A new junitlauncher taskJaikiran Pai2018-03-172-0/+41
|
* Checkstyle: mostly whitespaceGintas Grigelionis2017-12-014-10/+25
|
* Normalise tabulation and line breakstwogee2017-11-2918-626/+624
|
* use git attributes to control line-endsStefan Bodewig2015-04-252-52/+52
|
* fix some lineendsYOUR NAME2015-04-1811-418/+418
|
* Test improvements: convert to JUnit4, improved error testing and remove sleepsmclarke2014-04-182-7/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1588563 13f79535-47bb-0310-9956-ffa450edef68
* Allow JUnit task to skip non tests rather than report errorsmclarke2013-09-149-0/+260
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1523198 13f79535-47bb-0310-9956-ffa450edef68
* Junit → JUnitJesse N. Glick2013-03-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1453094 13f79535-47bb-0310-9956-ffa450edef68
* adding ASF headerAntoine Levy-Lambert2013-03-051-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1452675 13f79535-47bb-0310-9956-ffa450edef68
* JUnit4 tests marked @Ignore do not appear in XML output. PR 43969Antoine Levy-Lambert2013-03-051-0/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1452674 13f79535-47bb-0310-9956-ffa450edef68
* Tests for PR 45411Stefan Bodewig2008-09-031-0/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@691622 13f79535-47bb-0310-9956-ffa450edef68
* Add a special listener that tries to invoke tearDown in a test class that ↵Stefan Bodewig2008-08-281-0/+29
| | | | | | caused a timeout or crashed the forked VM. PR 37241. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@689751 13f79535-47bb-0310-9956-ffa450edef68
* merge license additions from 1.7 branch (i.e. revs 637870 to 637914)Stefan Bodewig2008-03-172-0/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@637939 13f79535-47bb-0310-9956-ffa450edef68
* linefeedsStefan Bodewig2006-12-042-20/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@482069 13f79535-47bb-0310-9956-ffa450edef68
* Restructuring to allow junit and antunit tests both.Matthew Jason Benson2006-09-218-0/+251
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448636 13f79535-47bb-0310-9956-ffa450edef68