Commit Graph

118 Commits

Author SHA1 Message Date
Eric Milles d7036d97be
use `assertThrows` instead of `ExpectedException` rule 2025-09-11 11:32:08 -05:00
Jaikiran Pai 63fd929eb2 Fix checksum files of the ivy.xml(s), that changed in previous commit, used in tests 2019-05-28 11:01:21 +05:30
jkf 0d07c9985c updated reference to license from http to https using find . -type f -exec sed -i s/http://www.apache.org/licenses/LICENSE-2.0/https://www.apache.org/licenses/LICENSE-2.0/ {} \; 2019-05-26 22:48:00 +02:00
Jaikiran Pai a7318cdb6e Update FileSystemResolverTest#testListing to expect a new module that was introduced in the testcase for IVY-1594 2018-10-23 12:09:46 +05:30
Nicolas Lalevée 23cf1fb45e Reduce the chance to have a conflict of port binding by being able to bind to one, even briefly. 2018-04-12 00:27:20 +02:00
Gintas Grigelionis e4131dc592 Simplify assertions 2018-03-28 21:58:04 +02:00
Gintas Grigelionis 1b84f2ee7a another fail() that should be an expected exception;
import assertions statically, too
2017-12-07 12:25:55 +01:00
Gintas Grigelionis e43138b0b5 rediscovered a couple of tests :-) 2017-12-05 16:57:17 +01:00
Gintas Grigelionis 2f4bf4db63 refactor tests with hardcoded Maven Central URL 2017-12-05 12:15:20 +01:00
Gintas Grigelionis 30c217ec40 do not fail, assert 2017-12-05 11:57:36 +01:00
Gintas Grigelionis 5d78961118 keep test parts as private as possible 2017-12-05 11:26:24 +01:00
Gintas Grigelionis 4e2846d5f4 chop extraneous throws, fix imports and javadoc 2017-12-05 11:12:21 +01:00
Gintas Grigelionis 579410e7f8 Revert previous change, see http://central.sonatype.org/pages/consumers.html 2017-11-14 07:18:06 +01:00
Gintas Grigelionis 709c7f71e5 New URL for Maven Central 2017-11-13 20:14:01 +01:00
Gintas Grigelionis 9a686e7388 IVY-511 coding conventions 2017-11-13 16:00:31 +01:00
Gintas Grigelionis 46c7cba7d0 Checkstyle, continued 2017-11-13 15:56:43 +01:00
Jaikiran Pai ab8b608744 IVY-1476 Better support for Maven timestamped snapshot dependencies in Ivy 2017-09-11 19:35:34 +05:30
Gintas Grigelionis 9e1b0896cf remove extraneous imports 2017-09-03 12:14:44 +02:00
Jaikiran Pai 37f70ab67f IVY-1546 Maven 1 repo is no longer available. Remove the tests, which anyway weren't running 2017-08-31 17:20:24 +05:30
Gintas Grigelionis 9c14146a98 more asList() refactoring and code cleanup 2017-08-21 23:44:30 +02:00
Gintas Grigelionis 3c047a1e70 refactor asList() in test cases 2017-08-19 17:05:36 +02:00
Gintas Grigelionis 463a2c89c3 add a target to generate javadoc for test cases; fix javadoc for doclint 2017-08-19 06:56:56 +02:00
twogee 1a283ab1be refactor System.getProperty() and loops 2017-07-27 21:10:47 +05:30
Jaikiran Pai 6607bdcb3b IVY-735 Support timeouts on resolvers
This closes #54 pull request at github/apache/ant-ivy
2017-07-24 11:07:38 +05:30
twogee 6920717979 Add generics and Java 7 syntax to core
This closes #52 pull request at github/apache/ant-ivy
2017-07-17 11:07:59 +05:30
twogee 1c23268d77 Generics + foreach loops and Java 7 in util (except Filter) 2017-06-18 19:16:05 +05:30
twogee 3b28fffbba More Java 7 diamonds 2017-06-13 22:07:19 +02:00
twogee 8b9f2d5177 Generics and other fixes in tests and tutorials 2017-06-10 21:47:21 +02:00
twogee fbbf092e49 A few loose bits in JUnit 4 migration 2017-05-26 14:00:16 +02:00
twogee 36e99429c2 fail() means an expected exception or an assertion 2017-05-26 08:17:10 +02:00
twogee 1543f52896 Convert tests to JUnit 4, clean up code 2017-05-25 17:25:59 +02:00
Jaikiran Pai d8c3ef1363 IVY-1554 Add support for SHA-256 SHA-512 and SHA-384 checksum algorithms if the underlying Java runtime supports it 2017-05-18 16:09:06 +05:30
Matt Benson 539e1ee1d6 address failing tests 2017-04-19 14:45:08 -05:00
Nicolas Lalevée 09b1a632c1 Seems there is one last Maven 1 repo available 2015-09-07 01:28:55 +02:00
Nicolas Lalevée 2d7c6f5ff4 setup proper loggers in unit tests and factorize the creation and the cleaning of the cache folder 2015-09-06 20:01:25 +02:00
Nicolas Lalevée 571725cb7b IVY-1474 : Ivy Bintray resolver (Thanks to Evgeny Goldin) 2014-12-13 16:36:17 +01:00
Stefan Bodewig 750dbb845b mechanically replace URIs so TLS is used by default for Maven Central 2014-08-12 12:29:18 +02:00
Maarten Coene 9e85ac3f00 Fixed testcases on Windows.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1577738 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 22:04:57 +00:00
Jean-Louis Boudart 1e30aa9479 Apply organize import on whole project
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1557969 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 08:34:28 +00:00
Jean-Louis Boudart bd7a375e37 Apply code formatting on whole project
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1557968 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 08:27:37 +00:00
Nicolas Lalevee 8c27540ec0 avoid copy with url resolvers configured with a 'file:/' URL if useOrigin=true
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1553739 13f79535-47bb-0310-9956-ffa450edef68
2013-12-27 21:10:19 +00:00
Nicolas Lalevee 54fdc54dd2 Properly build the url pattern
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375737 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 19:40:50 +00:00
Nicolas Lalevee 14d6a09601 Fix tests: don't urlify the pattern, only the root
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375736 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 19:34:05 +00:00
Nicolas Lalevee ac11ad3593 Fix the buggy use to File.toURL()
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375715 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 18:55:01 +00:00
Maarten Coene e8633715a1 removed commented code
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1304653 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 23:15:00 +00:00
Maarten Coene e83ea3998d renamed fields beginning with '_'
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1304652 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 23:14:04 +00:00
Maarten Coene 63b85e9c14 FIX: Ivy didn't properly handle some file: URLs (IVY-1340)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1304651 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 23:11:41 +00:00
Nicolas Lalevee 0f794328d8 - fix the JarResolver when used with an URL
- fix the unit tests: the settings are the last set on the resolver


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1201254 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 12:29:50 +00:00
Nicolas Lalevee e9b9844fce IVY-1312:
- implementation, test and documentation of the jar resolver


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1165117 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 21:33:39 +00:00
Maarten Coene b2b0c36ee6 Removed old non-working maven mirrors.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1097644 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 22:30:37 +00:00