Commit Graph

194 Commits

Author SHA1 Message Date
Stefan Bodewig 7ff37634d2 version bump and post-release changes
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1594545 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 11:46:02 +00:00
Stefan Bodewig 43f3355f07 properly document PR 56470
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1592938 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 04:00:43 +00:00
Stefan Bodewig a906373e36 PR 56470 - merge messages in logContent only when asked to
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1592860 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 20:11:49 +00:00
Stefan Bodewig c3b4b5563d PR 56470 - merge messages in assertLogContains only when asked to
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1592859 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 20:01:13 +00:00
Stefan Bodewig 6a398bb070 since markers
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1592851 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 19:45:47 +00:00
Stefan Bodewig 9acb72a911 PR 56470 - merge messages in LogCapturer only when asked to
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1592848 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 19:44:37 +00:00
Stefan Bodewig 28abce3b1f dry things up a little
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1591973 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 16:59:56 +00:00
Stefan Bodewig 791b182df0 PR 56470 - add line breaks between the captured log messages
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1591972 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 16:53:14 +00:00
Stefan Bodewig b9ec5ed5d9 bump copyright year
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1591968 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 16:47:00 +00:00
Stefan Bodewig 07c05b0034 PR 43582 add a new AntUnitListener that immediately forwards all log output
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1591967 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 16:40:26 +00:00
Stefan Bodewig 612c532036 PR 53383 add new assertions that really work with non-file resoucres
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1591586 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 09:57:49 +00:00
Stefan Bodewig 039c52761e fix NOTICE template
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1548243 13f79535-47bb-0310-9956-ffa450edef68
2013-12-05 19:06:03 +00:00
Stefan Bodewig edae631d02 committed debugging line
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1351064 13f79535-47bb-0310-9956-ffa450edef68
2012-06-17 07:10:05 +00:00
Stefan Bodewig 1bdfe608f6 Actually, resources as attributes don't work very well
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1351063 13f79535-47bb-0310-9956-ffa450edef68
2012-06-17 07:05:30 +00:00
Stefan Bodewig e9b4bb4ae9 fix link
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1301341 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 05:25:26 +00:00
Stefan Bodewig efc648b621 assertResourceExists doesn't work with Ant 1.7.x and never will, document workaround. PR 52332.
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1225447 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 06:26:04 +00:00
Stefan Bodewig e751bcabf6 1.2 released. also update viewvc link while I was inside the doap file
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1158138 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 07:38:07 +00:00
Stefan Bodewig a762884c32 and move trunk back to 1.3alpha
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1157320 13f79535-47bb-0310-9956-ffa450edef68
2011-08-13 04:46:02 +00:00
Stefan Bodewig 55442134b9 prepare next attempt of AntUnit 1.2 release
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1157318 13f79535-47bb-0310-9956-ffa450edef68
2011-08-13 04:42:59 +00:00
Stefan Bodewig 88c2ed6835 missing license headers
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1156960 13f79535-47bb-0310-9956-ffa450edef68
2011-08-12 04:02:04 +00:00
Stefan Bodewig ad282b9f08 no longer needed now we use Nexus
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1156958 13f79535-47bb-0310-9956-ffa450edef68
2011-08-12 03:59:02 +00:00
Stefan Bodewig 8fc5823c56 add license and organization to POM
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1156957 13f79535-47bb-0310-9956-ffa450edef68
2011-08-12 03:58:18 +00:00
Stefan Bodewig 7dc2bce336 and back to alpha again
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1156459 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 02:55:51 +00:00
Stefan Bodewig 3dce824e36 prepare for AntUnit 1.2 release
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1156457 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 02:52:28 +00:00
Stefan Bodewig 31fc48b724 clarify status of JUnit adapters
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1156456 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 02:47:00 +00:00
Stefan Bodewig 4b7f0604d8 verify a resource exists prior to validating its contents
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1063192 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 09:43:27 +00:00
Stefan Bodewig eb13c80e59 typo
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1063186 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 09:39:06 +00:00
Stefan Bodewig 7a4cc46b0a new assertResourceExists and assertResourceDoesntExist conditions
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1063181 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 09:29:02 +00:00
Stefan Bodewig 685acd90c6 make tests pass on Windows where each pathelement gets the drive letter added to the front
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@1063177 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 09:17:12 +00:00
Stefan Bodewig 40d950fe3b adapt to modified CDATA section escaping in trunk
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@955532 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 10:03:15 +00:00
Stefan Bodewig 048cade8bd merge err/out changes from Ant's trunk (output to HTML rather than plain text)
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@954537 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 16:13:56 +00:00
Stefan Bodewig d522fdbd22 typo
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@953004 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 13:46:06 +00:00
Stefan Bodewig 9ca0eebf4f file name doesn't match class name
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@939556 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 04:31:56 +00:00
Stefan Bodewig 95b8daf2a7 allow passing references from antunit task to tests. PR 49168. Submitted by Jason Trump
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@939555 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 04:25:04 +00:00
Stefan Bodewig 01c387ae3f whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@909330 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 10:09:05 +00:00
Stefan Bodewig 9e26f039da use built-in POM mechanism of common/m2.xml
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@909328 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 10:07:17 +00:00
Nicolas Lalevee 96347e9cd7 Add a fail task that makes a test case fail if no condition is provided or if the provided one is evaluated to false
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@829913 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 19:25:01 +00:00
Nicolas Lalevee 2e0ffe0ee8 fix: assertPropertyContains was not checking the value of the property but the name of the property.
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@826221 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 10:41:04 +00:00
Stefan Bodewig fa15dbd298 Ant's Bugzilla issue 39492 applies to AntUnit as well. Properly escape XML in stacktraces
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@796145 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 05:03:02 +00:00
Scokart Gilles 3176f752cb clean warnings
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@786662 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 20:46:16 +00:00
Scokart Gilles 718a09bd6e organize import
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@768327 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 15:02:42 +00:00
Scokart Gilles ef0dff3aad Report properly BuildException generated when parsing antunit script from Junit4
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@758630 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 13:32:52 +00:00
Scokart Gilles 1d3f040ac8 Minimal pom helping to install latest antunit version on a maven repository
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@758576 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 10:08:19 +00:00
Stefan Bodewig 6c62da28fa remove redundant boilerplate code from NOTICE files
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@756744 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 20:24:39 +00:00
Scokart Gilles c40850f362 handle more completely junit4 suites
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@745628 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 19:47:08 +00:00
Stefan Bodewig 54b8924c02 eol-style
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@744863 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 08:37:54 +00:00
Scokart Gilles f5e36a2c4e Add error handling in the initalisation of the project
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@744468 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 10:32:46 +00:00
Stefan Bodewig 9fafac9d17 missing license headers
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@744127 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 14:39:29 +00:00
Scokart Gilles 5220af86b5 Add Junit3 and Junit4 adapters allowing to launch AntUnit script from JUnit runner (I still have some weakness to fix in the junit4 runner)
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@743906 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 22:21:28 +00:00
Scokart Gilles 0b6bc826c1 Refactoring : - Move active/inactive state managment from AntUnitScriptRunner to AntUnit - Split AntUnitExecutionPlatform into a ProjectFactory (required to parse the script) and AntUnitExceutionNotifier (required to run the script) - Move the invocation of the sequence suiteSetUp, test targets suiteTearDown from AntUnit to AntUnitScriptRunner
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@740452 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 21:13:59 +00:00