HomeSort by relevance Sort by last modified time
    Searched full:assertillegalargumentexception (Results 1 - 1 of 1) sorted by null

  /external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
JreDeflateParametersTest.java 40 private void assertIllegalArgumentException(int level, int strategy, boolean nowrap) {
52 assertIllegalArgumentException(0, 0, true); // Bad compression level (store)
53 assertIllegalArgumentException(-1, 0, true); // Bad compression level (insane value < 0)
54 assertIllegalArgumentException(10, 0, true); // Bad compression level (insane value > 9)
55 assertIllegalArgumentException(1, -1, true); // Bad strategy (insane value < 0)
56 assertIllegalArgumentException(1, 3, true); // Bad strategy (valid in zlib, unsupported in JRE)

Completed in 54 milliseconds