Commit Graph

225 Commits

Author SHA1 Message Date
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
Scokart Gilles cf53bf4bf5 Give access to project name so that it can be used in junit adapter
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@739564 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 14:36:57 +00:00
Scokart Gilles 6fd044277d remove unsightly double catch
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@739408 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 21:00:28 +00:00
Stefan Bodewig cd5ca3a0b8 sync docs with antlib
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@738428 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 09:59:28 +00:00
Stefan Bodewig 7ea805f7fb make assertResource(Doesnt)Contain(s) casesensitive flag do something useful
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@738426 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 09:55:10 +00:00
Stefan Bodewig 0505298464 make assertPropertyContains casesensitive flag do something useful
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@738418 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 09:44:06 +00:00
Stefan Bodewig 66b173ace0 untabify
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@738367 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 05:10:54 +00:00
Scokart Gilles 7451331ff7 Finally extract AntUnitScriptRunner (I have also added assertion validating the proper sequence of method invocation)
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@738248 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 21:18:22 +00:00
Scokart Gilles a4f26932b0 Decoupling AntUnitScriptRunner from the AntUnit task by introducing AntUnitExecutionPlatform interface
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@738222 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 20:18:31 +00:00
Scokart Gilles 0f2b8d63b8 merge the projectHandler and the AntScriptRunner in order to prepapre a class reusable by a junit runner
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@738204 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 19:57:07 +00:00
Stefan Bodewig 8d5082b5f3 English spelling of actif
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@737688 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26 13:16:12 +00:00
Scokart Gilles 8a3eac1d35 isolate project references to prepare extraction of AntUnitScriptRunner
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@737379 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 15:23:02 +00:00
Scokart Gilles 5e5b863cb9 add test that fails if antunit doesn't support io demux
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@737355 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 13:05:51 +00:00
Scokart Gilles 566e104cb2 move more code in AntUnitScriptRunner
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@736794 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22 21:06:08 +00:00
Scokart Gilles 4765179342 indent the code
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@736776 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22 20:21:10 +00:00
Scokart Gilles 07f9485f4d extract script 'scanning' and regroup methods in a class
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@736770 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22 20:05:28 +00:00
Scokart Gilles aeba157d73 move more code in startSuite and endSuite
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@736758 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22 19:50:33 +00:00
Scokart Gilles e006c215fd extract suiteSetup, suiteTearDown and target execution
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@736754 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22 19:30:59 +00:00
Scokart Gilles aba154292a separate test target identification from test target execution (prepare further refactoring to extract part reusable in junit adapter)
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@736745 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22 19:06:02 +00:00
Scokart Gilles eef127ec79 refactor duplicated code
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@735525 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 19:23:30 +00:00