Consider using JUnit's Assume to skip testing, this will allow IDEs and tools to know a test has been skipped.
If you use a conditional in the test code, there is no possible feedback. Gary On Wed, Oct 23, 2013 at 5:15 AM, Stefan Bodewig <bode...@apache.org> wrote: > On 2013-10-23, Emmanuel Bourg wrote: > > > The test coverage is much better, thank you Stefan. > > Thank you for making me find a serious bug by pointing out the low > coverage :-) > > > test7zDecryptUnarchive failed on Linux using the Java 6 JDK (not > > OpenJDK6) due to the lack of the strong crypto policy. That's easily > > fixed by installing the missing files [1], but as a convenience I would > > suggest skipping this test when the strong crypto is not installed. > > Right. I'm so used to having strong crypto installed on all my machines > I just forget about it. I'll look into skipping the test (in trunk, for > 1.7 :-) if I cannot get AES256. > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> Spring Batch in Action <http://www.manning.com/templier/> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory