summaryrefslogtreecommitdiffstats
path: root/core/tests
diff options
context:
space:
mode:
authorDaniel Lehmann <lehmannd@google.com>2010-03-18 12:56:48 -0700
committerDaniel Lehmann <lehmannd@google.com>2010-03-18 12:56:48 -0700
commit7e25f5cbfbe433c6ffe06a17ef42c471baf07c93 (patch)
tree05e3c381f611e14c96516c048a8ef37fba84eed8 /core/tests
parenteccb394c086b3d7cd975e50cc1479fdb929c58ec (diff)
downloadframeworks_base-7e25f5cbfbe433c6ffe06a17ef42c471baf07c93.zip
frameworks_base-7e25f5cbfbe433c6ffe06a17ef42c471baf07c93.tar.gz
frameworks_base-7e25f5cbfbe433c6ffe06a17ef42c471baf07c93.tar.bz2
Make the VCardEntry more robust against badly behaving resolvers. Additionally make the ImportTestResolver return the right result
Bug:2521447 Change-Id: I39e3e686b1fd75f5e633a467f6ccb736751355ed
Diffstat (limited to 'core/tests')
-rw-r--r--core/tests/coretests/src/android/pim/vcard/ImportTestResolver.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tests/coretests/src/android/pim/vcard/ImportTestResolver.java b/core/tests/coretests/src/android/pim/vcard/ImportTestResolver.java
index 019b9e3..c3f6f79 100644
--- a/core/tests/coretests/src/android/pim/vcard/ImportTestResolver.java
+++ b/core/tests/coretests/src/android/pim/vcard/ImportTestResolver.java
@@ -215,7 +215,7 @@ import java.util.Map.Entry;
mTestCase.fail("Unexpected Uri has come: " + uri);
}
} // for (int i = 0; i < size; i++) {
- return null;
+ return fakeResultArray;
}
public void verify() {