Commit Graph

225 Commits

Author SHA1 Message Date
Scokart Gilles 6d3eaa3685 expectfailure report the original build exception chained when failing
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@718551 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 10:58:47 +00:00
Stefan Bodewig b9a640b0b0 announce release
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@699225 13f79535-47bb-0310-9956-ffa450edef68
2008-09-26 08:54:07 +00:00
Stefan Bodewig 30b53aff98 Add maven-metadata
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@699221 13f79535-47bb-0310-9956-ffa450edef68
2008-09-26 08:48:28 +00:00
Stefan Bodewig 1b594c47c9 open for new development
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@697005 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 09:23:06 +00:00
Stefan Bodewig 21eb3ef586 prepare for release
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@697003 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 09:18:30 +00:00
Stefan Bodewig 39591b115e bump version
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@689355 13f79535-47bb-0310-9956-ffa450edef68
2008-08-27 04:25:32 +00:00
Stefan Bodewig 4added682f bump a few versions
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@689353 13f79535-47bb-0310-9956-ffa450edef68
2008-08-27 04:12:43 +00:00
Stefan Bodewig b015abd416 add a resourceDoesntContain assertion
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@688099 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 15:33:21 +00:00
Stefan Bodewig 7d90c2b1a0 document assertResourceContains
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@688096 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 15:29:46 +00:00
Stefan Bodewig 81a6051f78 Log properties in xmllistener, Submitted by David Jackman, PR 43614
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@645897 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 13:13:20 +00:00
Stefan Bodewig 5481b97906 Document suiteSetUp and suiteTearDown
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@645890 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 13:01:45 +00:00
Stefan Bodewig ed30b0142c bookkeeping
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@645887 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 12:54:49 +00:00
Stefan Bodewig 0d488d0faf add suiteSetUp and suiteTearDown targets, submitted by David jackman, PR: 43475
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@645886 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 12:52:42 +00:00
Stefan Bodewig cc4c0a9083 Add logging of messages to xmllistener, based on code submitted by David Jackman
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@645841 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 10:44:46 +00:00
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