Steve Loughran
fbd52b8032
test changes to handle windows systems better
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@591040 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
c4176305c3
test changes to handle windows systems better
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@591037 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
4369f64826
FailureRecorder
* 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
18 years ago
Kevin Jackson
ea8689d3d3
-bugzilla #32062 , allow javah to use filesets
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@582708 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
2ed29da51a
* Test for removeSuffix()
* Test + Impl of removePrefix()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@577781 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
824c630ff9
TempFile changes (ctd)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@574381 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
857411cff1
TempFile changes (ctd)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@574360 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Stefan Bodewig
9fff4dfc41
re-add single-arg signature of assertLogContaining, allows JDependTest to compile
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@563734 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
4f2d55fe9e
New JUnit formatter: collects failing test cases (testXXX methods) for a rerun.
* 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
18 years ago
Jan Materne
5b591a506b
Java 1.3 compatibility. (String.contains() is Java5+)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@559393 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
b1eddca62b
<property> now supports xml-based property definition. Bug 42946.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@559386 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
05d6dded01
Spec breaks now can 'fail' the build or just be reported on 'warn' or verbose ('ignore') level.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557270 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
154ef1be5c
Interim solution for "strict" attribute. Change to an enum in a few hours.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557229 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
2c44cef133
Encourage people to follow the packaging spec.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@553857 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
16db8f8d23
antunitize scriptcondition test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@551372 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
702e9419a0
skip a test that, while failing, doesn't seem to arise in real-life
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@540101 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
1b7ba17b3d
-fix test, build exception messages are different now
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@540025 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
1f0bd8f401
bug 42275...handle failure of File.toURI() by printing the message (too noisy?) and falling back to our own code.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@539002 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
37d079946a
antunitize length test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536552 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
9154805783
add assertion message
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536221 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
6d0fd1ee4c
fix the header. Sometimes the IDE get's over enthusiatic, and unless I add some location-awareness plugin, it assumes my laptop is always doing work code.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533567 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
bcf84f5f14
Bug 42275: ant doesnt run from a network share, because of an error when trying to work out where we loaded from.
1. this exception is still raised, but caught and causes ant to skip setting ant.lib.
2. we now have a test class for Locator
3. I've split out the java1.3 support and made it public, so we can test it separately.
One of the tests is failing, showing the problem is still there. We need to decide what to do about it (ignore, switch to java1.3 code...)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533082 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
db412627e1
Bug 41940 : works for JUnit's own runners, but not for Ant's. Ideas?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@532247 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
0a51af299e
Beautify error message.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@530818 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
c7f7d99c3d
Add tests. Document the regexp for attribute name.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@530664 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
4462d80608
Validate the name of manifest attributes. ATM only whitespaces are catched, need some help with the regexp version.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@530374 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Antoine Levy-Lambert
1e4c39fb60
adding a method to find wrong cased files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@523681 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
bbd75a7c27
Add IgnoreDependenciesExecutor for weird cases when the user wants to run only the targets explicitly specified.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@521278 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
e52b987d30
Bug 41349: rmic should strip out -J compiler args when not forking
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@495229 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
6672d9d6c7
#41264 : In Ant 1.7.0, <fileset> in <javadoc> does not by default include
only **/*.java as the documentation claims and earlier revisions did.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@491150 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
63a845ef77
Make the tests runnable on systems without regexp matchers (e.g. JDK 1.2 without ORO).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@489097 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
0f59f57c4d
organize imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@489091 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
399a8a6d55
Make the tests runnable on systems without regexp matchers (e.g. JDK 1.2 without ORO).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@489089 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
fe023065f2
- tests for parseHumanSizes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486147 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
50db66a856
Move description attribute from Task to ProjectComponent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@482907 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
4b16358b66
linefeeds
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@482069 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
144e1863cc
fix failures on cygwin since recent drive letter casing changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@477941 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
b994c52004
antunit-ize and FIX (they were severely broken) DependSet tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@477939 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
c101c5c8ab
antunit-ize the bulk of the resourcecollection tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@477922 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
fba52dd8fa
added at least check to JavaEnvUtils (and make use of it)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@476230 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
2d53fc8d19
Validated under windows only but jdk 1.3 doesn't support the international format classpaths in jar manifests.
(Test building the jars under jdk 1.3 and running them directly using java using jdk 1.5 works, but running
them using java form jkd 1.3 gives errors)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@475880 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
4c0e25065b
Recent change changed captialization of drive letter. (Drive letter should be case insensitive anyway)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@475741 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
5e4d3d0c93
do not uppercase systematically drive letters in FileUtils#normalize
append drive letter to absolute paths in Locator#fromURI
make FileUtilsTest pass under JDK 1.3
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@475206 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
5f2768c82e
Avoid JUNIT methods requiring java 1.4 or higher.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@473781 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
92b63d872f
Incorrect recursion in DOMUtil.listChildNodes()
Bugzilla 40918.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@472761 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steven M. Cohen
ad41ab3930
remove line inadvertently introduced during previous fix.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470776 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steven M. Cohen
658b738914
Fix bug 40882.
Note that the new test added to EchoTest.java would fail as indicated in the
defect without the change to DefaultLogger.java.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470639 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
98d1226139
If someone tries to append a path to itself, choke gracefully, not with a StackOverflowError.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470125 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
766c5b2bbc
#40019 revision: ${user.variant} need not be set.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470108 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
26498d6bc5
<delete> doesnt delete when defaultexcludes="false" and no includes is set
fixed. Bugzilla 40313.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468724 13f79535-47bb-0310-9956-ffa450edef68
19 years ago