Commit Graph

261 Commits

Author SHA1 Message Date
Stefan Bodewig 3a7b253d9c Add license, remove copyright
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@442446 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 04:30:58 +00:00
Stefan Bodewig ca2564da9b suppress backtraces for assertions
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@442308 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 19:51:30 +00:00
Stefan Bodewig d8a25af15e Add location-aware constructor
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@442307 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 19:48:23 +00:00
Stefan Bodewig 6002fbef8b try to make more sense
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@442304 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 19:46:57 +00:00
Jan Materne 249b65bafb typo
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@442117 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 07:41:31 +00:00
Stefan Bodewig 90d2715be2 tweak JUnitReport stylesheets to work with AntUnit's XML output
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@441849 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 19:45:32 +00:00
Stefan Bodewig 577a3033bf Add some useful information to the reports
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@441848 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 19:44:57 +00:00
Stefan Bodewig 2c58493f5a make sure we get the [antunit] banner in plainlistener
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@441847 13f79535-47bb-0310-9956-ffa450edef68
2006-09-09 19:44:17 +00:00
Stefan Bodewig e26193d206 people who've committed stuff here
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@441179 13f79535-47bb-0310-9956-ffa450edef68
2006-09-07 19:09:44 +00:00
Stefan Bodewig 232ace0349 Move JUnit tests into a separate directory structure, preparation to add AntUnit to the mix
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@437212 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 19:07:44 +00:00
Stefan Bodewig 48df64c11f whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@437206 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 18:50:56 +00:00
Stefan Bodewig 02166c52be Add an errorProperty attribute, document failOnError attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@437205 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 18:48:48 +00:00
Stefan Bodewig ebe4ec976a Add an errorProperty attribute, document failOnError attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@437204 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 18:48:30 +00:00
Stefan Bodewig f0fd5ca05a make XML report a bit prettier
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@433519 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 05:00:55 +00:00
Stefan Bodewig 94670dc30a improve testsuite-name attribute in XML report
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@433516 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 04:55:07 +00:00
Stefan Bodewig 8f66282084 add documentation
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@433145 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 04:11:49 +00:00
Stefan Bodewig 06778bc504 decouple antlib from ant-junit.jar
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@433144 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 04:06:47 +00:00
Stefan Bodewig ecc39c666a move the listeners to a separate package
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@433143 13f79535-47bb-0310-9956-ffa450edef68
2006-08-21 04:01:26 +00:00
Stefan Bodewig 89c2737633 XML listener, mostly complete. I intend to add documentation and stylesheets that allow junitreport to work on the report format later.
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@432873 13f79535-47bb-0310-9956-ffa450edef68
2006-08-19 20:33:08 +00:00
Stefan Bodewig aede6a63ed need to make extension configurable
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@432866 13f79535-47bb-0310-9956-ffa450edef68
2006-08-19 19:34:26 +00:00
Stefan Bodewig c4413d2f01 cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@432865 13f79535-47bb-0310-9956-ffa450edef68
2006-08-19 19:27:50 +00:00
Stefan Bodewig fe56008d7b factor out some code that may come handy when implementing the XML listener
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@432863 13f79535-47bb-0310-9956-ffa450edef68
2006-08-19 19:13:42 +00:00
Stefan Bodewig 11115b90e6 make report file name prettier
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@432860 13f79535-47bb-0310-9956-ffa450edef68
2006-08-19 18:56:24 +00:00
Stefan Bodewig 77d58419c4 allow plainlistener to write reports to files
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@432741 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 21:59:15 +00:00
Steve Loughran 52342dc3b5 library version for this artifact
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@429681 13f79535-47bb-0310-9956-ffa450edef68
2006-08-08 15:15:40 +00:00
Stefan Bodewig 6d8263d69b <propertyset> support for <antunit>
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@426650 13f79535-47bb-0310-9956-ffa450edef68
2006-07-28 19:16:29 +00:00
Stefan Bodewig 0165fa637c soon?
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@425957 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 04:35:42 +00:00
Stefan Bodewig f8eb6f6815 'test' is not an AntUnit test target
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@425623 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 04:58:57 +00:00
Stefan Bodewig ec13c2d33f adapt to common NOTICE file format
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@425607 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 04:24:01 +00:00
Kevin Jackson b2994fbb76 fixed dependencies
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@425278 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 04:53:58 +00:00
Stefan Bodewig 059a6cfc99 fine tune resource collection support
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@425273 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 04:36:58 +00:00
Kevin Jackson 5b3d47a2df - add maven pom
- change to new license/notice style (added NOTICE)

git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@424944 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 07:23:57 +00:00
Kevin Jackson 9d8845b5fb remove unused code
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@424898 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 04:20:45 +00:00
Kevin Jackson f004d66837 Use ResourceCollections - integration tested, but not unit tested
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@424897 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 04:07:55 +00:00
Stefan Bodewig 32f08f3fa5 provide a bit more documentation
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@424603 13f79535-47bb-0310-9956-ffa450edef68
2006-07-22 16:56:01 +00:00
Steve Loughran b0bcfc9470 if you want to capture the logs, we'd better declare the relevant task
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@420506 13f79535-47bb-0310-9956-ffa450edef68
2006-07-10 12:10:14 +00:00
Kevin Jackson 50ae6461ad remove unused imports change year
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@416289 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 07:15:53 +00:00
Steve Loughran 0d4d1d5680 -Fix the test to expect the failure that is now thrown on an error.
-added 'all' targets to the various testcase build files that run antunit against themselves (neat trick, huh?)
Gump should be working now...

git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@412531 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 20:47:34 +00:00
Steve Loughran 9e21e1d5d3 1. typos in assertTask
2. ExpectFailure now does a substring check for the expectedMessage, not a simple exact match
3. AntUnit actually fails the build if the tests failed.

git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@411613 13f79535-47bb-0310-9956-ffa450edef68
2006-06-04 22:34:30 +00:00
Stefan Bodewig cfedbaaf14 Make test pass on Windows
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@399528 13f79535-47bb-0310-9956-ffa450edef68
2006-05-04 03:35:00 +00:00
Stefan Bodewig c2c373f758 fix test which assumed antunit was still in the sandbox
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@348409 13f79535-47bb-0310-9956-ffa450edef68
2005-11-23 10:29:17 +00:00
Stefan Bodewig 2404575bf0 promote antlibs
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@348097 13f79535-47bb-0310-9956-ffa450edef68
2005-11-22 05:29:18 +00:00
Steve Loughran 77896a08c4 an extra test
git-svn-id: https://svn.apache.org/repos/asf/ant/sandbox/antlibs/antunit/trunk@331165 13f79535-47bb-0310-9956-ffa450edef68
2005-11-06 23:55:23 +00:00
Steve Loughran 9d5ffa7294 spelling correction, including that of index.html
git-svn-id: https://svn.apache.org/repos/asf/ant/sandbox/antlibs/antunit/trunk@331039 13f79535-47bb-0310-9956-ffa450edef68
2005-11-05 22:30:01 +00:00
Stefan Bodewig 3b7ee9a084 No classloader issue, just me being unable to read 'name of the data-type'.
git-svn-id: https://svn.apache.org/repos/asf/ant/sandbox/antlibs/antunit/trunk@209304 13f79535-47bb-0310-9956-ffa450edef68
2005-07-05 18:55:47 +00:00
Stefan Bodewig d521b765bb Port more of copy's test suite
git-svn-id: https://svn.apache.org/repos/asf/ant/sandbox/antlibs/antunit/trunk@209085 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 14:13:16 +00:00
Stefan Bodewig b5362524f1 new assertions for log handling
git-svn-id: https://svn.apache.org/repos/asf/ant/sandbox/antlibs/antunit/trunk@209084 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 14:12:15 +00:00
Stefan Bodewig 49defb13be logcontains condition - only usable during antunit runs
git-svn-id: https://svn.apache.org/repos/asf/ant/sandbox/antlibs/antunit/trunk@209080 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 13:56:09 +00:00
Stefan Bodewig b87a7893b3 forgot to add testcase
git-svn-id: https://svn.apache.org/repos/asf/ant/sandbox/antlibs/antunit/trunk@209074 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 13:35:46 +00:00
Stefan Bodewig bb23f0df31 Make log output available to test runs
git-svn-id: https://svn.apache.org/repos/asf/ant/sandbox/antlibs/antunit/trunk@209073 13f79535-47bb-0310-9956-ffa450edef68
2005-07-04 13:35:24 +00:00