[GitHub] ant-ivy issue #31: Convert tests to JUnit 4, clean up code

2017-05-26 Thread twogee
Github user twogee commented on the issue: https://github.com/apache/ant-ivy/pull/31 I do 😃 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the

[GitHub] ant-ivy issue #31: Convert tests to JUnit 4, clean up code

2017-05-26 Thread nlalevee
Github user nlalevee commented on the issue: https://github.com/apache/ant-ivy/pull/31 @twogee to properly add you to the list of contributors, do you confirm you are Gintautas Grigelionis ? --- If your project is set up for it, you can reply to this email and have your reply

[GitHub] ant-ivy issue #31: Convert tests to JUnit 4, clean up code

2017-05-26 Thread janmaterne
Github user janmaterne commented on the issue: https://github.com/apache/ant-ivy/pull/31 merged, thanks --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or

[GitHub] ant-ivy issue #31: Convert tests to JUnit 4, clean up code

2017-05-26 Thread janmaterne
Github user janmaterne commented on the issue: https://github.com/apache/ant-ivy/pull/31 Nice idea to use the old fail-Message as new method comment to document why the exception is expected. --- If your project is set up for it, you can reply to this email and have your reply

[GitHub] ant-ivy issue #31: Convert tests to JUnit 4, clean up code

2017-05-26 Thread twogee
Github user twogee commented on the issue: https://github.com/apache/ant-ivy/pull/31 I left a few `fail()`s where multiple assertions were made; I guess that requires a custom @Rule. Also, in `FileSystemResolverTest`, I moved `finally` blocks to `tearDown()`. Strangely, that

[GitHub] ant-ivy issue #31: Convert tests to JUnit 4, clean up code

2017-05-25 Thread twogee
Github user twogee commented on the issue: https://github.com/apache/ant-ivy/pull/31 Thanks for a nice summary and pointing out a paradigm that I did not investigate entirely. The essential work also included checking that all appropriate setUp() and tearDown() were public and/or

[GitHub] ant-ivy issue #31: Convert tests to JUnit 4, clean up code

2017-05-25 Thread janmaterne
Github user janmaterne commented on the issue: https://github.com/apache/ant-ivy/pull/31 That was a lot of work (or writing/using a transformator ;) Basically it - removes the "extends TestCase" and - uses JUnit annotations - change string.indexOf()!=-1 to