Searched refs:assertIllegalArgumentException (Results 1 – 1 of 1) sorted by relevance
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
D | JreDeflateParametersTest.java | 40 private void assertIllegalArgumentException(int level, int strategy, boolean nowrap) { in assertIllegalArgumentException() method in JreDeflateParametersTest 52 assertIllegalArgumentException(0, 0, true); // Bad compression level (store) in testOf_InvalidValues() 53 assertIllegalArgumentException(-1, 0, true); // Bad compression level (insane value < 0) in testOf_InvalidValues() 54 assertIllegalArgumentException(10, 0, true); // Bad compression level (insane value > 9) in testOf_InvalidValues() 55 assertIllegalArgumentException(1, -1, true); // Bad strategy (insane value < 0) in testOf_InvalidValues() 56 assertIllegalArgumentException(1, 3, true); // Bad strategy (valid in zlib, unsupported in JRE) in testOf_InvalidValues()
|