diff options
author | jruesga <jorge@ruesga.com> | 2012-10-26 03:08:49 +0200 |
---|---|---|
committer | jruesga <jorge@ruesga.com> | 2012-10-26 03:08:49 +0200 |
commit | 6be595d8eeba247a9fb9614a2c314d1e1a184f3d (patch) | |
tree | a013a200bca62336f9c3553005c14f76163f66f5 /tests | |
parent | 7370b7164125a63dfa8d40aa0de04c24754c6a64 (diff) | |
download | android_packages_apps_CMFileManager-6be595d8eeba247a9fb9614a2c314d1e1a184f3d.tar.gz android_packages_apps_CMFileManager-6be595d8eeba247a9fb9614a2c314d1e1a184f3d.tar.bz2 android_packages_apps_CMFileManager-6be595d8eeba247a9fb9614a2c314d1e1a184f3d.zip |
Change application name to 'File Manager' (issue #20)
Full refactoring of package from explorer to filemanager
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Android.mk | 8 | ||||
-rw-r--r-- | tests/AndroidManifest.xml | 6 | ||||
-rw-r--r-- | tests/proguard.flags | 4 | ||||
-rw-r--r-- | tests/res/values/strings.xml | 19 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/AbstractConsoleTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/AbstractConsoleTest.java) | 14 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/ChangeCurrentDirCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/ChangeCurrentDirCommandTest.java) | 8 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/ChangeOwnerCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/ChangeOwnerCommandTest.java) | 10 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/ChangePermissionsCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/ChangePermissionsCommandTest.java) | 8 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/CompressCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/CompressCommandTest.java) | 10 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/CopyCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/CopyCommandTest.java) | 4 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/CreateDirCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/CreateDirCommandTest.java) | 6 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/CreateFileCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/CreateFileCommandTest.java) | 6 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/CurrentDirCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/CurrentDirCommandTest.java) | 4 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/DeleteDirCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/DeleteDirCommandTest.java) | 6 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/DeleteFileCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/DeleteFileCommandTest.java) | 6 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/DiskUsageCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/DiskUsageCommandTest.java) | 6 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/EchoCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/EchoCommandTest.java) | 4 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/ExecCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/ExecCommandTest.java) | 10 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/FindCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/FindCommandTest.java) | 12 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/FolderUsageCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/FolderUsageCommandTest.java) | 12 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/GroupsCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/GroupsCommandTest.java) | 6 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/IdentityCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/IdentityCommandTest.java) | 6 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/LinkCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/LinkCommandTest.java) | 10 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/ListCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/ListCommandTest.java) | 22 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/MountCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/MountCommandTest.java) | 8 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/MountPointInfoCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/MountPointInfoCommandTest.java) | 6 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/MoveCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/MoveCommandTest.java) | 4 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/ParentDirCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/ParentDirCommandTest.java) | 4 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/ProcessIdCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/ProcessIdCommandTest.java) | 2 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/QuickFolderSearchCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/QuickFolderSearchCommandTest.java) | 4 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/ReadCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/ReadCommandTest.java) | 8 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/ResolveLinkCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/ResolveLinkCommandTest.java) | 6 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/SendSignalCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/SendSignalCommandTest.java) | 2 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/UncompressCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/UncompressCommandTest.java) | 8 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/commands/shell/WriteCommandTest.java (renamed from tests/src/com/cyanogenmod/explorer/commands/shell/WriteCommandTest.java) | 8 | ||||
-rw-r--r-- | tests/src/com/cyanogenmod/filemanager/console/ConsoleBuilderTest.java (renamed from tests/src/com/cyanogenmod/explorer/console/ConsoleBuilderTest.java) | 2 |
36 files changed, 141 insertions, 128 deletions
diff --git a/tests/Android.mk b/tests/Android.mk index 3957590e..59524336 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -25,13 +25,13 @@ LOCAL_JAVA_LIBRARIES := android.test.runner # Include all test java files. LOCAL_SRC_FILES := $(call all-java-files-under, src) -# Notice that we don't have to include the src files of CMExplorer because, by -# running the tests using an instrumentation targeting CMExplorer, we +# Notice that we don't have to include the src files of CMFileManager because, by +# running the tests using an instrumentation targeting CMFileManager, we # automatically get all of its classes loaded into our environment. -LOCAL_PACKAGE_NAME := CMExplorerTests +LOCAL_PACKAGE_NAME := CMFileManagerTests -LOCAL_INSTRUMENTATION_FOR := CMExplorer +LOCAL_INSTRUMENTATION_FOR := CMFileManager LOCAL_PROGUARD_FLAG_FILES := proguard.flags diff --git a/tests/AndroidManifest.xml b/tests/AndroidManifest.xml index 1fd0d883..a94ff445 100644 --- a/tests/AndroidManifest.xml +++ b/tests/AndroidManifest.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="com.cyanogenmod.explorer.test"> + package="com.cyanogenmod.filemanager.test"> - <original-package android:name="com.cyanogenmod.explorer.test" /> + <original-package android:name="com.cyanogenmod.filemanager.test" /> <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="16" /> @@ -11,7 +11,7 @@ <instrumentation android:name="android.test.InstrumentationTestRunner" - android:targetPackage="com.cyanogenmod.explorer" /> + android:targetPackage="com.cyanogenmod.filemanager" /> <application android:icon="@drawable/ic_launcher" diff --git a/tests/proguard.flags b/tests/proguard.flags index 3b363093..84565dce 100644 --- a/tests/proguard.flags +++ b/tests/proguard.flags @@ -45,6 +45,6 @@ } #don't note test classes --dontnote com.cyanogenmod.explorer.commands.**Test** --dontnote com.cyanogenmod.explorer.console.**Test** +-dontnote com.cyanogenmod.filemanager.commands.**Test** +-dontnote com.cyanogenmod.filemanager.console.**Test** diff --git a/tests/res/values/strings.xml b/tests/res/values/strings.xml index a5237bcc..db17d98b 100644 --- a/tests/res/values/strings.xml +++ b/tests/res/values/strings.xml @@ -1,6 +1,19 @@ <?xml version="1.0" encoding="utf-8"?> +<!-- + ** Copyright (C) 2012 The CyanogenMod Project + ** + ** Licensed under the Apache License, Version 2.0 (the "License"); + ** you may not use this file except in compliance with the License. + ** You may obtain a copy of the License at + ** + ** http://www.apache.org/licenses/LICENSE-2.0 + ** + ** Unless required by applicable law or agreed to in writing, software + ** distributed under the License is distributed on an "AS IS" BASIS, + ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ** See the License for the specific language governing permissions and + ** limitations under the License. +--> <resources> - - <string name="app_name">CMExplorerTest</string> - + <string name="app_name">File Manager Tests</string> </resources>
\ No newline at end of file diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/AbstractConsoleTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/AbstractConsoleTest.java index d5ead37e..fa1b0908 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/AbstractConsoleTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/AbstractConsoleTest.java @@ -14,13 +14,13 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; -import com.cyanogenmod.explorer.ExplorerApplication; -import com.cyanogenmod.explorer.console.Console; -import com.cyanogenmod.explorer.console.ConsoleBuilder; -import com.cyanogenmod.explorer.console.shell.ShellConsole; -import com.cyanogenmod.explorer.util.FileHelper; +import com.cyanogenmod.filemanager.FileManagerApplication; +import com.cyanogenmod.filemanager.console.Console; +import com.cyanogenmod.filemanager.console.ConsoleBuilder; +import com.cyanogenmod.filemanager.console.shell.ShellConsole; +import com.cyanogenmod.filemanager.util.FileHelper; /** * An abstract class that manages tests that needs a console. @@ -45,7 +45,7 @@ public abstract class AbstractConsoleTest extends android.test.AndroidTestCase { protected void setUp() throws Exception { //Setup the console if (isRootConsoleNeeded()) { - ExplorerApplication.changeBackgroundConsoleToPriviligedConsole(); + FileManagerApplication.changeBackgroundConsoleToPriviligedConsole(); this.mConsole = ConsoleBuilder.createPrivilegedConsole(getContext(), INITIAL_DIR); } else { this.mConsole = ConsoleBuilder.createNonPrivilegedConsole(getContext(), INITIAL_DIR); diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/ChangeCurrentDirCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/ChangeCurrentDirCommandTest.java index 99e3afa8..2ef12a47 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/ChangeCurrentDirCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/ChangeCurrentDirCommandTest.java @@ -14,13 +14,13 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.console.NoSuchFileOrDirectory; -import com.cyanogenmod.explorer.util.CommandHelper; -import com.cyanogenmod.explorer.util.FileHelper; +import com.cyanogenmod.filemanager.console.NoSuchFileOrDirectory; +import com.cyanogenmod.filemanager.util.CommandHelper; +import com.cyanogenmod.filemanager.util.FileHelper; /** * A class for testing the {@link ChangeCurrentDirCommand} command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/ChangeOwnerCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/ChangeOwnerCommandTest.java index ecab5627..b53a32da 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/ChangeOwnerCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/ChangeOwnerCommandTest.java @@ -14,15 +14,15 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.os.Environment; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.model.FileSystemObject; -import com.cyanogenmod.explorer.model.Group; -import com.cyanogenmod.explorer.model.User; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.model.FileSystemObject; +import com.cyanogenmod.filemanager.model.Group; +import com.cyanogenmod.filemanager.model.User; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the {@link ChangeOwnerCommand} command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/ChangePermissionsCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/ChangePermissionsCommandTest.java index b2af590b..e87e8b91 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/ChangePermissionsCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/ChangePermissionsCommandTest.java @@ -14,14 +14,14 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.os.Environment; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.model.FileSystemObject; -import com.cyanogenmod.explorer.model.Permissions; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.model.FileSystemObject; +import com.cyanogenmod.filemanager.model.Permissions; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the {@link ChangePermissionsCommand} command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/CompressCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/CompressCommandTest.java index 6a853832..2c02732e 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/CompressCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/CompressCommandTest.java @@ -14,16 +14,16 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.os.Environment; import android.test.suitebuilder.annotation.LargeTest; import android.util.Log; -import com.cyanogenmod.explorer.commands.AsyncResultListener; -import com.cyanogenmod.explorer.commands.CompressExecutable; -import com.cyanogenmod.explorer.preferences.CompressionMode; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.commands.AsyncResultListener; +import com.cyanogenmod.filemanager.commands.CompressExecutable; +import com.cyanogenmod.filemanager.preferences.CompressionMode; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the compression of file system objects. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/CopyCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/CopyCommandTest.java index ede0b3e1..afe4f72a 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/CopyCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/CopyCommandTest.java @@ -14,12 +14,12 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.os.Environment; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the {@link CopyCommand} command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/CreateDirCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/CreateDirCommandTest.java index 00e9abea..ad4c70ca 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/CreateDirCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/CreateDirCommandTest.java @@ -14,13 +14,13 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.os.Environment; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.console.NoSuchFileOrDirectory; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.console.NoSuchFileOrDirectory; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the {@link CreateDirCommand} command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/CreateFileCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/CreateFileCommandTest.java index 192a40d2..ba1879b5 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/CreateFileCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/CreateFileCommandTest.java @@ -14,13 +14,13 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.os.Environment; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.console.NoSuchFileOrDirectory; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.console.NoSuchFileOrDirectory; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the {@link CreateFileCommand} command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/CurrentDirCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/CurrentDirCommandTest.java index 1e201992..5cd5f3ba 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/CurrentDirCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/CurrentDirCommandTest.java @@ -14,12 +14,12 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.os.Environment; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the {@link CurrentDirCommand} command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/DeleteDirCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/DeleteDirCommandTest.java index 816b4e16..046c0136 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/DeleteDirCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/DeleteDirCommandTest.java @@ -14,13 +14,13 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.os.Environment; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.console.NoSuchFileOrDirectory; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.console.NoSuchFileOrDirectory; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the {@link DeleteDirCommand} command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/DeleteFileCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/DeleteFileCommandTest.java index 2783fd87..4b8e7b51 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/DeleteFileCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/DeleteFileCommandTest.java @@ -14,13 +14,13 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.os.Environment; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.console.NoSuchFileOrDirectory; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.console.NoSuchFileOrDirectory; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the {@link DeleteFileCommand} command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/DiskUsageCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/DiskUsageCommandTest.java index db4b5d46..5fff3741 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/DiskUsageCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/DiskUsageCommandTest.java @@ -14,14 +14,14 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import java.util.List; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.model.DiskUsage; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.model.DiskUsage; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the {@link DiskUsageCommand} command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/EchoCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/EchoCommandTest.java index cf3f118e..3b8fb3b3 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/EchoCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/EchoCommandTest.java @@ -14,11 +14,11 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the method for retrieve the value of a variable. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/ExecCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/ExecCommandTest.java index 99b1e849..7cfd0964 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/ExecCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/ExecCommandTest.java @@ -14,17 +14,17 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import java.io.OutputStream; import android.os.Environment; import android.test.suitebuilder.annotation.MediumTest; -import com.cyanogenmod.explorer.commands.AsyncResultListener; -import com.cyanogenmod.explorer.commands.WriteExecutable; -import com.cyanogenmod.explorer.model.Permissions; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.commands.AsyncResultListener; +import com.cyanogenmod.filemanager.commands.WriteExecutable; +import com.cyanogenmod.filemanager.model.Permissions; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing exec command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/FindCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/FindCommandTest.java index efe0408c..46ce9daa 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/FindCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/FindCommandTest.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import java.util.ArrayList; import java.util.List; @@ -22,11 +22,11 @@ import java.util.List; import android.os.Environment; import android.test.suitebuilder.annotation.LargeTest; -import com.cyanogenmod.explorer.commands.AsyncResultExecutable; -import com.cyanogenmod.explorer.commands.AsyncResultListener; -import com.cyanogenmod.explorer.model.FileSystemObject; -import com.cyanogenmod.explorer.model.Query; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.commands.AsyncResultExecutable; +import com.cyanogenmod.filemanager.commands.AsyncResultListener; +import com.cyanogenmod.filemanager.model.FileSystemObject; +import com.cyanogenmod.filemanager.model.Query; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing find command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/FolderUsageCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/FolderUsageCommandTest.java index 83af93a2..6a9b0ed7 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/FolderUsageCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/FolderUsageCommandTest.java @@ -14,17 +14,17 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.os.Environment; import android.test.suitebuilder.annotation.LargeTest; import android.util.Log; -import com.cyanogenmod.explorer.commands.AsyncResultExecutable; -import com.cyanogenmod.explorer.commands.AsyncResultListener; -import com.cyanogenmod.explorer.model.FolderUsage; -import com.cyanogenmod.explorer.util.CommandHelper; -import com.cyanogenmod.explorer.util.MimeTypeHelper.MimeTypeCategory; +import com.cyanogenmod.filemanager.commands.AsyncResultExecutable; +import com.cyanogenmod.filemanager.commands.AsyncResultListener; +import com.cyanogenmod.filemanager.model.FolderUsage; +import com.cyanogenmod.filemanager.util.CommandHelper; +import com.cyanogenmod.filemanager.util.MimeTypeHelper.MimeTypeCategory; /** * A class for testing folder usage command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/GroupsCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/GroupsCommandTest.java index e5982eab..c7b7321a 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/GroupsCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/GroupsCommandTest.java @@ -14,14 +14,14 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import java.util.List; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.model.Group; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.model.Group; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the {@link GroupsCommand} command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/IdentityCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/IdentityCommandTest.java index 857fe9c0..728a1fbd 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/IdentityCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/IdentityCommandTest.java @@ -14,12 +14,12 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.model.Identity; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.model.Identity; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the {@link IdentityCommand} command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/LinkCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/LinkCommandTest.java index cf7e8a63..2fbe590a 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/LinkCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/LinkCommandTest.java @@ -14,15 +14,15 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.os.Environment; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.console.InsufficientPermissionsException; -import com.cyanogenmod.explorer.model.FileSystemObject; -import com.cyanogenmod.explorer.model.Symlink; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.console.InsufficientPermissionsException; +import com.cyanogenmod.filemanager.model.FileSystemObject; +import com.cyanogenmod.filemanager.model.Symlink; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the {@link LinkCommandTest} command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/ListCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/ListCommandTest.java index 99f2406d..5fcc8bc1 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/ListCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/ListCommandTest.java @@ -14,23 +14,23 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import java.util.List; import android.test.suitebuilder.annotation.MediumTest; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.model.BlockDevice; -import com.cyanogenmod.explorer.model.CharacterDevice; -import com.cyanogenmod.explorer.model.Directory; -import com.cyanogenmod.explorer.model.DomainSocket; -import com.cyanogenmod.explorer.model.FileSystemObject; -import com.cyanogenmod.explorer.model.NamedPipe; -import com.cyanogenmod.explorer.model.RegularFile; -import com.cyanogenmod.explorer.model.Symlink; -import com.cyanogenmod.explorer.util.CommandHelper; -import com.cyanogenmod.explorer.util.FileHelper; +import com.cyanogenmod.filemanager.model.BlockDevice; +import com.cyanogenmod.filemanager.model.CharacterDevice; +import com.cyanogenmod.filemanager.model.Directory; +import com.cyanogenmod.filemanager.model.DomainSocket; +import com.cyanogenmod.filemanager.model.FileSystemObject; +import com.cyanogenmod.filemanager.model.NamedPipe; +import com.cyanogenmod.filemanager.model.RegularFile; +import com.cyanogenmod.filemanager.model.Symlink; +import com.cyanogenmod.filemanager.util.CommandHelper; +import com.cyanogenmod.filemanager.util.FileHelper; /** * A class for testing list command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/MountCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/MountCommandTest.java index 48465e0d..e851b6a8 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/MountCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/MountCommandTest.java @@ -14,13 +14,13 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.test.suitebuilder.annotation.MediumTest; -import com.cyanogenmod.explorer.model.MountPoint; -import com.cyanogenmod.explorer.util.CommandHelper; -import com.cyanogenmod.explorer.util.MountPointHelper; +import com.cyanogenmod.filemanager.model.MountPoint; +import com.cyanogenmod.filemanager.util.CommandHelper; +import com.cyanogenmod.filemanager.util.MountPointHelper; /** * A class for testing the {@link MountCommand} command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/MountPointInfoCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/MountPointInfoCommandTest.java index 674ad2a9..23c5e8c5 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/MountPointInfoCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/MountPointInfoCommandTest.java @@ -14,14 +14,14 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import java.util.List; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.model.MountPoint; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.model.MountPoint; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the {@link MountPointInfoCommand} command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/MoveCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/MoveCommandTest.java index 5bb5621e..61470ab0 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/MoveCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/MoveCommandTest.java @@ -14,12 +14,12 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.os.Environment; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the {@link MoveCommand} command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/ParentDirCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/ParentDirCommandTest.java index 9717e7e4..be9467a8 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/ParentDirCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/ParentDirCommandTest.java @@ -14,12 +14,12 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.os.Environment; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the method for retrieve the value of a variable. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/ProcessIdCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/ProcessIdCommandTest.java index dc18b594..f491d808 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/ProcessIdCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/ProcessIdCommandTest.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; /** * A class for testing the {@link ProcessIdCommand} command. * diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/QuickFolderSearchCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/QuickFolderSearchCommandTest.java index 14e3f01c..53596fe8 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/QuickFolderSearchCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/QuickFolderSearchCommandTest.java @@ -14,14 +14,14 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import java.util.List; import android.os.Environment; import android.test.suitebuilder.annotation.LargeTest; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the method for retrieve the value of a variable. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/ReadCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/ReadCommandTest.java index 129f8645..b0625dbd 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/ReadCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/ReadCommandTest.java @@ -14,14 +14,14 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.test.suitebuilder.annotation.MediumTest; import android.util.Log; -import com.cyanogenmod.explorer.commands.AsyncResultExecutable; -import com.cyanogenmod.explorer.commands.AsyncResultListener; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.commands.AsyncResultExecutable; +import com.cyanogenmod.filemanager.commands.AsyncResultListener; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing read command. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/ResolveLinkCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/ResolveLinkCommandTest.java index e0685c8f..e1565f96 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/ResolveLinkCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/ResolveLinkCommandTest.java @@ -14,12 +14,12 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.model.FileSystemObject; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.model.FileSystemObject; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the method for retrieve the value of a variable. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/SendSignalCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/SendSignalCommandTest.java index 81109009..c4a7bd95 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/SendSignalCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/SendSignalCommandTest.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; /** * A class for testing the {@link SendSignalCommand} command. * diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/UncompressCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/UncompressCommandTest.java index 2c37594a..6fbfb3aa 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/UncompressCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/UncompressCommandTest.java @@ -14,14 +14,14 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import android.test.suitebuilder.annotation.LargeTest; import android.util.Log; -import com.cyanogenmod.explorer.commands.AsyncResultListener; -import com.cyanogenmod.explorer.commands.UncompressExecutable; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.commands.AsyncResultListener; +import com.cyanogenmod.filemanager.commands.UncompressExecutable; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing the uncompression of file system objects. diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/WriteCommandTest.java b/tests/src/com/cyanogenmod/filemanager/commands/shell/WriteCommandTest.java index 73432871..2e14a993 100644 --- a/tests/src/com/cyanogenmod/explorer/commands/shell/WriteCommandTest.java +++ b/tests/src/com/cyanogenmod/filemanager/commands/shell/WriteCommandTest.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.commands.shell; +package com.cyanogenmod.filemanager.commands.shell; import java.io.OutputStream; import java.util.Random; @@ -23,9 +23,9 @@ import android.os.Environment; import android.test.suitebuilder.annotation.LargeTest; import android.test.suitebuilder.annotation.SmallTest; -import com.cyanogenmod.explorer.commands.AsyncResultListener; -import com.cyanogenmod.explorer.commands.WriteExecutable; -import com.cyanogenmod.explorer.util.CommandHelper; +import com.cyanogenmod.filemanager.commands.AsyncResultListener; +import com.cyanogenmod.filemanager.commands.WriteExecutable; +import com.cyanogenmod.filemanager.util.CommandHelper; /** * A class for testing write command. diff --git a/tests/src/com/cyanogenmod/explorer/console/ConsoleBuilderTest.java b/tests/src/com/cyanogenmod/filemanager/console/ConsoleBuilderTest.java index 2b5d1242..7d163095 100644 --- a/tests/src/com/cyanogenmod/explorer/console/ConsoleBuilderTest.java +++ b/tests/src/com/cyanogenmod/filemanager/console/ConsoleBuilderTest.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.cyanogenmod.explorer.console; +package com.cyanogenmod.filemanager.console; import android.os.Environment; import android.test.suitebuilder.annotation.SmallTest; |