summaryrefslogtreecommitdiff
path: root/src/etc/testcases/taskdefs/optional
Commit message (Collapse)AuthorAgeFilesLines
* missing licenseStefan Bodewig2017-02-201-0/+17
|
* Enhanced JavaxScriptRunner, Junit, docs, Javadocpyxide2017-02-203-0/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | JavaxScriptRunner: - Better compiled script reference name to avoid reference name collision, project wide : execName + ".compiled." + getScript().hashCode() + "." + getProject().hashCode(); ScriptDef: - Fixed Javadoc + use of 3rd person [(oracle style guideline)](http://www.oracle.com/technetwork/articles/java/index-137868.html#styleguide) Task manual: documentation for `encoding` and `compiled` options. - `encoding` : script.html, scriptdef.html, conditions.html, selectors.html, mapper.html, filterchain.html - `compiled` : scriptdef.html Added source file `encoding` option on: - org.apache.tools.ant.taskdefs.optional.Script - org.apache.tools.ant.types.optional.AbstractScriptComponent (inherited by ScriptCondition, ScriptMapper) - org.apache.tools.ant.types.optional.ScriptFilter - org.apache.tools.ant.types.optional.ScriptSelector Test units : - org.apache.tools.ant.taskdefs.optional.script.ScriptDefTest, script.xml : src + encoding - org.apache.tools.ant.taskdefs.optional.RhinoScriptDefTest, scriptdef.xml : src + encoding, compiled - new file: src/etc/testcases/taskdefs/optional/script/heavy-script.js
* remove tests for JDKs < 8Stefan Bodewig2016-04-091-5/+1
|
* test needs Java5Stefan Bodewig2015-02-141-1/+1
|
* even more places where -source needed a newer version on 1.9Stefan Bodewig2015-02-141-1/+7
|
* Test improvements: convert to JUnit4, improved error testing and remove sleepsmclarke2014-04-185-25/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1588563 13f79535-47bb-0310-9956-ffa450edef68
* changing tests to adopt unique temporary directoriesAntoine Levy-Lambert2014-04-084-215/+203
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1585684 13f79535-47bb-0310-9956-ffa450edef68
* changing tests to adopt unique temporary directoriesAntoine Levy-Lambert2014-04-073-88/+85
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1585377 13f79535-47bb-0310-9956-ffa450edef68
* creating temporary directory with a unique nameAntoine Levy-Lambert2014-04-074-192/+200
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1585372 13f79535-47bb-0310-9956-ffa450edef68
* starting to change the test cases to make them use unique temporary ↵Antoine Levy-Lambert2014-03-302-25/+19
| | | | | | directories to be able to run the test cases in multiple threads. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1583223 13f79535-47bb-0310-9956-ffa450edef68
* assorted spelling fixes by Lajos Veres - closes #4Stefan Bodewig2014-02-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1572981 13f79535-47bb-0310-9956-ffa450edef68
* Allow JUnit task to skip non tests rather than report errorsmclarke2013-09-141-0/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1523198 13f79535-47bb-0310-9956-ffa450edef68
* Junit → JUnitJesse N. Glick2013-03-052-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1453094 13f79535-47bb-0310-9956-ffa450edef68
* Odd indentation.Jesse N. Glick2013-03-051-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1453089 13f79535-47bb-0310-9956-ffa450edef68
* adding hamcrest to the lib/optional because it is required at runtime for ↵Antoine Levy-Lambert2013-03-051-0/+1
| | | | | | some tests, also bumping junit dependency in pom file git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1452722 13f79535-47bb-0310-9956-ffa450edef68
* JUnit4 tests marked @Ignore do not appear in XML output. PR 43969Antoine Levy-Lambert2013-03-051-0/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1452674 13f79535-47bb-0310-9956-ffa450edef68
* removing Perforce Ant tasksAntoine Levy-Lambert2013-02-042-123/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1442023 13f79535-47bb-0310-9956-ffa450edef68
* Use official namespace for Xalan redirect, to work even if using JRE's ↵Jesse N. Glick2011-12-231-1/+1
| | | | | | bundled Xalan (see junit-frames.xsl). git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1222716 13f79535-47bb-0310-9956-ffa450edef68
* #51049: <junitreport> mishandled ${line.separator}.Jesse N. Glick2011-11-091-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1199931 13f79535-47bb-0310-9956-ffa450edef68
* JUnitReportTest.testEmptyFile was failing for me.Jesse N. Glick2011-11-091-17/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1199922 13f79535-47bb-0310-9956-ffa450edef68
* allow test listener events to be enabled by an attribute or a magic property ↵Stefan Bodewig2010-08-191-1/+3
| | | | | | - disable them by default git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@987139 13f79535-47bb-0310-9956-ffa450edef68
* Add mapper support to <image>. PR 23243. Submitted by Rob OxspringStefan Bodewig2009-08-251-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@807633 13f79535-47bb-0310-9956-ffa450edef68
* <propertyfile> now support deletion of entriesJan Materne2009-08-201-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@806154 13f79535-47bb-0310-9956-ffa450edef68
* configurable display text and more control over progressbar in splash task. ↵Stefan Bodewig2009-07-241-0/+45
| | | | | | Submitted by Tomasz Bech. PR 39957 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@797496 13f79535-47bb-0310-9956-ffa450edef68
* eol-styleStefan Bodewig2009-02-286-943/+943
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@748780 13f79535-47bb-0310-9956-ffa450edef68
* add a preservelastmodified attribute to replace and replaceregexp. PR 39002.Stefan Bodewig2008-12-051-1/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@723786 13f79535-47bb-0310-9956-ffa450edef68
* remove .NET tasksStefan Bodewig2008-10-2111-1076/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@706580 13f79535-47bb-0310-9956-ffa450edef68
* delete broken symbolic links. PR 41285Stefan Bodewig2008-09-081-2/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@693071 13f79535-47bb-0310-9956-ffa450edef68
* Tests for PR 45411Stefan Bodewig2008-09-031-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@691622 13f79535-47bb-0310-9956-ffa450edef68
* Add a special listener that tries to invoke tearDown in a test class that ↵Stefan Bodewig2008-08-281-0/+50
| | | | | | caused a timeout or crashed the forked VM. PR 37241. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@689751 13f79535-47bb-0310-9956-ffa450edef68
* JUnitTestListenerTest removes the out dir and makes JUnitTaskTest fail when ↵Stefan Bodewig2008-08-271-0/+6
| | | | | | run as a nested test. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@689351 13f79535-47bb-0310-9956-ffa450edef68
* properly clean up test directoryStefan Bodewig2008-08-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@689105 13f79535-47bb-0310-9956-ffa450edef68
* Redirect formatter output to out directory so it can get removed in cleanup ↵Stefan Bodewig2008-04-021-8/+2
| | | | | | target git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@643916 13f79535-47bb-0310-9956-ffa450edef68
* Xalan seems to require explicit encoding specifications when including ↵Stefan Bodewig2008-04-022-2/+2
| | | | | | files, should fix XsltTest and TraxLiaisonTest git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@643817 13f79535-47bb-0310-9956-ffa450edef68
* fix JspcTest by making the test file well-formed againStefan Bodewig2008-04-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@643735 13f79535-47bb-0310-9956-ffa450edef68
* merge license additions from 1.7 branch (i.e. revs 637870 to 637914)Stefan Bodewig2008-03-1798-6/+1520
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@637939 13f79535-47bb-0310-9956-ffa450edef68
* FailureRecorderJan Materne2007-10-241-9/+18
| | | | | | | | | | | | | | | | | | | * remove duplicate "no-op" statement (javadoc + code) * use BuildListener for writing at the end of <junit> instead of overwriting the file all the time * minor comment edit * pass project reference to <junit> nested elements (eg listener) * order methods by interfaces * some log messages in the recorder * can use Ant properties for setting the location FormatterElement * don't set the project reference if there is already one build.xml * use ant property instead of system property for configuring FailureRecorder git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@587844 13f79535-47bb-0310-9956-ffa450edef68
* -bugzilla #32062, allow javah to use filesetsKevin Jackson2007-10-081-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@582709 13f79535-47bb-0310-9956-ffa450edef68
* New JUnit formatter: collects failing test cases (testXXX methods) for a rerun.Jan Materne2007-08-061-0/+90
| | | | | | | | | | | * works from command line * its own JUnit test scenario fails (for - to me - unknown reason) * BFT has new method 'assertOutputNotContaining' similar to 'assertOutputContaining' git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@563053 13f79535-47bb-0310-9956-ffa450edef68
* Incorrect recursion in DOMUtil.listChildNodes()Antoine Levy-Lambert2006-11-091-0/+8
| | | | | | | | Bugzilla 40918. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@472761 13f79535-47bb-0310-9956-ffa450edef68
* add regex attribute to echoproperties task.Antoine Levy-Lambert2006-10-261-0/+12
| | | | | | | Bugzilla 40019. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467828 13f79535-47bb-0310-9956-ffa450edef68
* stop unit tests depending on non-executed referencesPeter Reilly2006-09-241-20/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449409 13f79535-47bb-0310-9956-ffa450edef68
* set the directores used in tests to point to the new layout of test casesPeter Reilly2006-09-241-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449406 13f79535-47bb-0310-9956-ffa450edef68
* copy2license.plStefan Bodewig2006-09-0110-56/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439448 13f79535-47bb-0310-9956-ffa450edef68
* fix testcases with default targetKevin Jackson2006-08-232-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@433857 13f79535-47bb-0310-9956-ffa450edef68
* Bug Report 40021. The noframes option was not working at all.Antoine Levy-Lambert2006-07-121-1/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@421327 13f79535-47bb-0310-9956-ffa450edef68
* Fix JUnitReport with includes.Antoine Levy-Lambert2006-07-123-0/+912
| | | | | | | Bug Report 40022 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@421315 13f79535-47bb-0310-9956-ffa450edef68
* <echoproperties> setPrefix javadoc claimed null or empty prefix would beMatthew Jason Benson2006-07-051-0/+4
| | | | | | | | ignored; instead an error was thrown. Bugzilla report 39954. Submitted by Ivan Ivanov. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419276 13f79535-47bb-0310-9956-ffa450edef68
* add support to nested XSL parameters in junitreport, Bugzilla 39708Antoine Levy-Lambert2006-06-302-1/+919
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@418420 13f79535-47bb-0310-9956-ffa450edef68
* renaming the .cvsignore files into .svnignoreAntoine Levy-Lambert2006-06-221-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@416510 13f79535-47bb-0310-9956-ffa450edef68