diff options
author | jruesga <jorge@ruesga.com> | 2012-10-20 01:38:23 +0200 |
---|---|---|
committer | jruesga <jorge@ruesga.com> | 2012-10-20 01:38:23 +0200 |
commit | 8e2c09f68280d4648e7a799f4ae367d60e9e7727 (patch) | |
tree | 8467357bdf27e7f6fe7a914ea0c6eda83c169c9c /tests | |
parent | 09ea82a6b89a4ff10bf8fa19622028a7efc1927a (diff) | |
download | android_packages_apps_CMFileManager-8e2c09f68280d4648e7a799f4ae367d60e9e7727.tar.gz android_packages_apps_CMFileManager-8e2c09f68280d4648e7a799f4ae367d60e9e7727.tar.bz2 android_packages_apps_CMFileManager-8e2c09f68280d4648e7a799f4ae367d60e9e7727.zip |
New fso and global actions "Compress" and "Compress selection" + CleanUp
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/cyanogenmod/explorer/commands/shell/CompressCommandTest.java | 12 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/explorer/commands/shell/UncompressCommandTest.java | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/CompressCommandTest.java b/tests/src/com/cyanogenmod/explorer/commands/shell/CompressCommandTest.java index 12d093c6..5dcedc54 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/CompressCommandTest.java +++ b/tests/src/com/cyanogenmod/explorer/commands/shell/CompressCommandTest.java @@ -22,7 +22,7 @@ import android.util.Log; import com.cyanogenmod.explorer.commands.AsyncResultListener; import com.cyanogenmod.explorer.commands.CompressExecutable; -import com.cyanogenmod.explorer.commands.shell.CompressCommand.CompressionMode; +import com.cyanogenmod.explorer.preferences.CompressionMode; import com.cyanogenmod.explorer.util.CommandHelper; /** @@ -81,7 +81,7 @@ public class CompressCommandTest extends AbstractConsoleTest { */ @LargeTest public void testArchiveTAR() throws Exception { - testArchiveAndCompress(CompressionMode.NONE, TAR_OUTFILE); + testArchiveAndCompress(CompressionMode.A_TAR, TAR_OUTFILE); } /** @@ -91,7 +91,7 @@ public class CompressCommandTest extends AbstractConsoleTest { */ @LargeTest public void testArchiveCompressGZIP() throws Exception { - testArchiveAndCompress(CompressionMode.GZIP, TAR_GZIP_OUTFILE); + testArchiveAndCompress(CompressionMode.AC_GZIP, TAR_GZIP_OUTFILE); } /** @@ -101,7 +101,7 @@ public class CompressCommandTest extends AbstractConsoleTest { */ @LargeTest public void testArchiveCompressBZIP() throws Exception { - testArchiveAndCompress(CompressionMode.BZIP, TAR_BZIP_OUTFILE); + testArchiveAndCompress(CompressionMode.AC_BZIP, TAR_BZIP_OUTFILE); } /** @@ -111,7 +111,7 @@ public class CompressCommandTest extends AbstractConsoleTest { */ @LargeTest public void testCompressGZIP() throws Exception { - testCompress(CompressionMode.GZIP); + testCompress(CompressionMode.C_GZIP); } /** @@ -121,7 +121,7 @@ public class CompressCommandTest extends AbstractConsoleTest { */ @LargeTest public void testCompressBZIP() throws Exception { - testCompress(CompressionMode.BZIP); + testCompress(CompressionMode.C_BZIP); } /** diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/UncompressCommandTest.java b/tests/src/com/cyanogenmod/explorer/commands/shell/UncompressCommandTest.java index adcf06eb..3517718c 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/UncompressCommandTest.java +++ b/tests/src/com/cyanogenmod/explorer/commands/shell/UncompressCommandTest.java @@ -183,7 +183,7 @@ public class UncompressCommandTest extends AbstractConsoleTest { this.mNormalEnd = false; cmd = CommandHelper.uncompress( - getContext(), src, new AsyncResultListener() { + getContext(), src, null, new AsyncResultListener() { public void onAsyncStart() { /**NON BLOCK**/ } |