summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-06-11 19:50:05 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-06-11 19:50:05 -0700
commit78f0f8cb2efe9410127c39201e240f6d438eb53c (patch)
treea867c2cdecedb12288837559c04c729e9466c634 /tests
parente8966e126388223de119c909d572fb8d1406a3ac (diff)
parentce88cb15b52998e16c3ba548a4ec49117a835e21 (diff)
downloadframeworks_base-78f0f8cb2efe9410127c39201e240f6d438eb53c.zip
frameworks_base-78f0f8cb2efe9410127c39201e240f6d438eb53c.tar.gz
frameworks_base-78f0f8cb2efe9410127c39201e240f6d438eb53c.tar.bz2
Merge changes 3953,3954 into donut
* changes: Make the file backup helper not crash if a file you requested can't be stated. This means you don't need to know if the files you are backing up exist or not -- we'll figure it out for you. Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.
Diffstat (limited to 'tests')
-rw-r--r--tests/backup/backup_helper_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/backup/backup_helper_test.cpp b/tests/backup/backup_helper_test.cpp
index f087941..04358ad 100644
--- a/tests/backup/backup_helper_test.cpp
+++ b/tests/backup/backup_helper_test.cpp
@@ -38,6 +38,8 @@ Test TESTS[] = {
{ "backup_helper_test_empty", backup_helper_test_empty, 0, false },
{ "backup_helper_test_four", backup_helper_test_four, 0, false },
{ "backup_helper_test_files", backup_helper_test_files, 0, false },
+ { "backup_helper_test_null_base", backup_helper_test_null_base, 0, false },
+ { "backup_helper_test_missing_file", backup_helper_test_missing_file, 0, false },
{ "backup_helper_test_data_writer", backup_helper_test_data_writer, 0, false },
{ "backup_helper_test_data_reader", backup_helper_test_data_reader, 0, false },
{ 0, NULL, 0, false}