190
197
public void testSixEmptyFiles() throws Exception {
191
198
testCompress252(6, 0);
194
202
public void testSixFilesSomeNotEmpty() throws Exception {
195
203
testCompress252(6, 2);
198
207
public void testSevenEmptyFiles() throws Exception {
199
208
testCompress252(7, 0);
202
212
public void testSevenFilesSomeNotEmpty() throws Exception {
203
213
testCompress252(7, 2);
206
217
public void testEightEmptyFiles() throws Exception {
207
218
testCompress252(8, 0);
210
222
public void testEightFilesSomeNotEmpty() throws Exception {
211
223
testCompress252(8, 2);
214
227
public void testNineEmptyFiles() throws Exception {
215
228
testCompress252(9, 0);
218
232
public void testNineFilesSomeNotEmpty() throws Exception {
219
233
testCompress252(9, 2);
222
237
public void testTwentyNineEmptyFiles() throws Exception {
223
238
testCompress252(29, 0);
226
242
public void testTwentyNineFilesSomeNotEmpty() throws Exception {
227
243
testCompress252(29, 7);
230
247
public void testCopyRoundtrip() throws Exception {
231
248
testRoundTrip(SevenZMethod.COPY);
234
252
public void testBzip2Roundtrip() throws Exception {
235
253
testRoundTrip(SevenZMethod.BZIP2);
238
257
public void testLzma2Roundtrip() throws Exception {
239
258
testRoundTrip(SevenZMethod.LZMA2);
242
262
public void testDeflateRoundtrip() throws Exception {
243
263
testRoundTrip(SevenZMethod.DEFLATE);
246
267
public void testBCJX86Roundtrip() throws Exception {
247
268
if (XZ_BCJ_IS_BUGGY) { return; }
248
269
testFilterRoundTrip(new SevenZMethodConfiguration(SevenZMethod.BCJ_X86_FILTER));
251
273
public void testBCJARMRoundtrip() throws Exception {
252
274
if (XZ_BCJ_IS_BUGGY) { return; }
253
275
testFilterRoundTrip(new SevenZMethodConfiguration(SevenZMethod.BCJ_ARM_FILTER));
256
279
public void testBCJARMThumbRoundtrip() throws Exception {
257
280
if (XZ_BCJ_IS_BUGGY) { return; }
258
281
testFilterRoundTrip(new SevenZMethodConfiguration(SevenZMethod.BCJ_ARM_THUMB_FILTER));
261
285
public void testBCJIA64Roundtrip() throws Exception {
262
286
if (XZ_BCJ_IS_BUGGY) { return; }
263
287
testFilterRoundTrip(new SevenZMethodConfiguration(SevenZMethod.BCJ_IA64_FILTER));
266
291
public void testBCJPPCRoundtrip() throws Exception {
267
292
if (XZ_BCJ_IS_BUGGY) { return; }
268
293
testFilterRoundTrip(new SevenZMethodConfiguration(SevenZMethod.BCJ_PPC_FILTER));
271
297
public void testBCJSparcRoundtrip() throws Exception {
272
298
if (XZ_BCJ_IS_BUGGY) { return; }
273
299
testFilterRoundTrip(new SevenZMethodConfiguration(SevenZMethod.BCJ_SPARC_FILTER));
276
303
public void testDeltaRoundtrip() throws Exception {
277
304
testFilterRoundTrip(new SevenZMethodConfiguration(SevenZMethod.DELTA_FILTER));
280
308
public void testStackOfContentCompressions() throws Exception {
281
309
output = new File(dir, "multiple-methods.7z");
282
310
ArrayList<SevenZMethodConfiguration> methods = new ArrayList<SevenZMethodConfiguration>();