diff options
author | San Mehat <san@google.com> | 2010-03-23 11:25:31 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-03-23 11:25:31 -0700 |
commit | a89e372db2c561e8001d70fe732f0d269207a72e (patch) | |
tree | d6dd42da20cebe5c605a3437a62bcbb5cee986fd /tests | |
parent | 1c4027b68d5938795cc536c1d45e8d942ea537a4 (diff) | |
parent | 2d66cef77e450ec4a4d725b89ae68c5e6b167bee (diff) | |
download | frameworks_base-a89e372db2c561e8001d70fe732f0d269207a72e.zip frameworks_base-a89e372db2c561e8001d70fe732f0d269207a72e.tar.gz frameworks_base-a89e372db2c561e8001d70fe732f0d269207a72e.tar.bz2 |
Merge "Asec: Add new 'StorageNotFound' response code handling for container paths"
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/AndroidTests/src/com/android/unit_tests/AsecTests.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/AndroidTests/src/com/android/unit_tests/AsecTests.java b/tests/AndroidTests/src/com/android/unit_tests/AsecTests.java index 9aed363..9a75047 100755 --- a/tests/AndroidTests/src/com/android/unit_tests/AsecTests.java +++ b/tests/AndroidTests/src/com/android/unit_tests/AsecTests.java @@ -259,6 +259,17 @@ public class AsecTests extends AndroidTestCase { } } + public void testNonExistPath() { + IMountService ms = getMs(); + try { + String path = ms.getSecureContainerPath("jparks.broke.it"); + failStr(path); + } catch (IllegalArgumentException e) { + } catch (Exception e) { + failStr(e); + } + } + public void testUnmountBusyContainer() { IMountService ms = getMs(); try { |