From 43a85091e90bb7598bdc2bdb6874b9ea7b2bd11b Mon Sep 17 00:00:00 2001 From: Todd Kennedy Date: Mon, 7 Feb 2011 14:57:30 -0800 Subject: [PATCH] Fix inbox query unit tests The new query will only select attachments if their associated message is in the loaded state. The unit tests need to add the messages to the loaded state. bug 3428076 Change-Id: Ib4ad8b2570a2cdc042b932b10dbaa3170ab825cd --- .../com/android/email/provider/AttachmentProviderTests.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/src/com/android/email/provider/AttachmentProviderTests.java b/tests/src/com/android/email/provider/AttachmentProviderTests.java index 86b03db4d..38ed7d8c5 100644 --- a/tests/src/com/android/email/provider/AttachmentProviderTests.java +++ b/tests/src/com/android/email/provider/AttachmentProviderTests.java @@ -163,8 +163,11 @@ public class AttachmentProviderTests extends ProviderTestCase2