Commit Graph

261 Commits

Author SHA1 Message Date
Stefan Bodewig f78bb6947e Add logging of messages to plainlistener, based on code submitted by David Jackman
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@645829 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 10:30:44 +00:00
Stefan Bodewig 70c430e51c Provide infrastructure for Plain- and XMLListener to capture log output
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@645822 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 10:07:08 +00:00
Stefan Bodewig 2358827122 Make AntUnitListener's aware of the Project instance executing the next test target
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@645799 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 08:57:39 +00:00
Stefan Bodewig 5bba63253a Add license
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@641483 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 19:00:21 +00:00
Stefan Bodewig 3407316623 new assertDoesntMatch assertion, bugzilla issue 43639, submitted by David Jackman
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@601404 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 16:41:42 +00:00
Stefan Bodewig 98eab64066 assertMatches casesensitive attribute has the wrong default, bugzilla issue 43639, Submitted by David Jackman
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@601402 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 16:37:14 +00:00
Stefan Bodewig b0e3a32709 test for issue 43639
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@601400 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 16:35:11 +00:00
Kevin Jackson 1569b3786a -bugzilla #43466
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@581773 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 04:15:55 +00:00
Kevin Jackson e92de73a4b -whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@581772 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 04:14:08 +00:00
Kevin Jackson cfbdfdedf7 -bugzilla #43466
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@581771 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 04:13:24 +00:00
Jan Materne 5f058a6a19 typo
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@574857 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 09:14:54 +00:00
Jan Materne 80e14894ff Add myself to contributors.xml
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@574856 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 09:11:37 +00:00
Jan Materne 6542c9233b * Organize imports
* typos
* AntUnit: local "orig" was never read
* AntUnit: document "not read" local variable lc
* AssertionFailedException: add generated serialVersionUID

git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@574855 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 09:09:50 +00:00
Jan Materne 3473e654d9 code clean up
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@574851 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 08:56:12 +00:00
Jan Materne 066c175333 New Failure Listener, like the new one for JUnit.
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@574848 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 08:49:57 +00:00
Jan Materne 5fca9fae81 Typo
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@574847 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 08:47:48 +00:00
Peter Reilly 8254b09bb9 Change firing of starttest event.
Original code assumed that a targetstart event
would always happen. However, this is not the case
if the target depends on a SetUp target that fails.
In this case the resultant xml result file was malformed.
This change always fires a starttest event, matching
the endtest event which is always send (from a finally block).


git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@568703 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 17:07:58 +00:00
Stefan Bodewig e71d9dfa2b autogenerate WHATSNEW from changes.xml
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@552398 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 04:20:52 +00:00
Jacobus Martinus Kruithof 2509863660 Bug 42745 assertFileExists example wrong, should use @file instead of @name
bug reported by Jim Fuller

git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@552213 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 21:04:24 +00:00
Kevin Jackson a43c4dca51 -resource may not be a file
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@537549 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 04:07:41 +00:00
Kevin Jackson da212b721b -add new macro based on resourcecontains
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@537346 13f79535-47bb-0310-9956-ffa450edef68
2007-05-12 06:11:04 +00:00
Stefan Bodewig 7c2673b079 announce 1.0 release
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@493950 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 04:54:38 +00:00
Stefan Bodewig 3d87293a33 bump version
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@491213 13f79535-47bb-0310-9956-ffa450edef68
2006-12-30 12:06:47 +00:00
Stefan Bodewig f2fdf3c2c2 bump versions
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@468979 13f79535-47bb-0310-9956-ffa450edef68
2006-10-29 20:36:00 +00:00
Antoine Levy-Lambert bc037a932e modified closing tag. Are attributes allowed on closing tags ?
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@468783 13f79535-47bb-0310-9956-ffa450edef68
2006-10-28 23:17:29 +00:00
Matthew Jason Benson bb1b7d0440 don't fork AntUnit tests as regexp impls are not seen by <junit>.
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@463018 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 22:41:47 +00:00
Matthew Jason Benson 9cd4d79bd7 Fix failure by making each test execute in its own Project just like we said.
This is a little kludgy, but the tests pass.
Also did some javadoc'ing and cleanup.


git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@463002 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 22:17:47 +00:00
Matthew Jason Benson 8d7498dff0 add failing testcase b/c AntUnit doesn't do what it says
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@463000 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 22:16:00 +00:00
Matthew Jason Benson 31285eb10b Hopefully make wording a little more clear.
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@452566 13f79535-47bb-0310-9956-ffa450edef68
2006-10-03 16:45:02 +00:00
Peter Reilly a3bc6e04fe add assertMatches assertion
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@451040 13f79535-47bb-0310-9956-ffa450edef68
2006-09-28 22:12:58 +00:00
Matthew Jason Benson 34314ee4f7 fix spelling
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@450176 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 20:16:27 +00:00
Matthew Jason Benson a05d5ff22d set all properties by calling initProperties(). System props were missing.
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@449787 13f79535-47bb-0310-9956-ffa450edef68
2006-09-25 19:40:23 +00:00
Matthew Jason Benson 3256d9412f add logcontent typedef and doco.
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@449083 13f79535-47bb-0310-9956-ffa450edef68
2006-09-22 20:48:20 +00:00
Matthew Jason Benson 24824acda6 add a new logcontent resource and a test
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@449047 13f79535-47bb-0310-9956-ffa450edef68
2006-09-22 18:43:25 +00:00
Matthew Jason Benson e5a28cd3c5 cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@449000 13f79535-47bb-0310-9956-ffa450edef68
2006-09-22 17:05:12 +00:00
Matthew Jason Benson 50be1f0abb sp
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@448972 13f79535-47bb-0310-9956-ffa450edef68
2006-09-22 15:53:35 +00:00
Stefan Bodewig 2429968745 Add release date
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@448793 13f79535-47bb-0310-9956-ffa450edef68
2006-09-22 03:53:13 +00:00
Stefan Bodewig a394c3f358 bump version
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@448792 13f79535-47bb-0310-9956-ffa450edef68
2006-09-22 03:52:29 +00:00
Matthew Jason Benson c51e64f868 add testcase for previous change
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@448269 13f79535-47bb-0310-9956-ffa450edef68
2006-09-20 17:10:17 +00:00
Matthew Jason Benson 3063581238 Differentiate between no RCs specified and no matching Resources.
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@448264 13f79535-47bb-0310-9956-ffa450edef68
2006-09-20 17:05:25 +00:00
Matthew Jason Benson 97fe8bd353 add me
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@448245 13f79535-47bb-0310-9956-ffa450edef68
2006-09-20 15:53:32 +00:00
Matthew Jason Benson 1abf65b02e Closing outputStream
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@448244 13f79535-47bb-0310-9956-ffa450edef68
2006-09-20 15:52:56 +00:00
Stefan Bodewig 91c268f3bf update docs
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@447724 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 04:31:21 +00:00
Matthew Jason Benson 8b41edd5ac correction and a couple of capitalizations
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@447580 13f79535-47bb-0310-9956-ffa450edef68
2006-09-18 21:42:18 +00:00
Stefan Bodewig eb24b0e8c5 use common CSS stylesheet
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@447521 13f79535-47bb-0310-9956-ffa450edef68
2006-09-18 19:47:04 +00:00
Stefan Bodewig a51df7e508 file has been renamed
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@447520 13f79535-47bb-0310-9956-ffa450edef68
2006-09-18 19:40:48 +00:00
Stefan Bodewig ecf17c3aeb will be generated during build
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@447519 13f79535-47bb-0310-9956-ffa450edef68
2006-09-18 19:39:55 +00:00
Stefan Bodewig 7c82bf3dfa Add some information files pre-release
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@447518 13f79535-47bb-0310-9956-ffa450edef68
2006-09-18 19:33:33 +00:00
Stefan Bodewig 178e551ddb unwrapping is no longer necessary, now that macrodef and TaskAdapter pass the exceptions unchanged
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@442854 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 05:27:07 +00:00
Stefan Bodewig ad36e20222 Add location information
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@442851 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 05:26:20 +00:00