Searched refs:assertIllegalArgumentException (Results 1 - 1 of 1) sorted by relevance
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
H A D | JreDeflateParametersTest.java | 40 private void assertIllegalArgumentException(int level, int strategy, boolean nowrap) { method in class:JreDeflateParametersTest 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 155 milliseconds