summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2017-02-20 14:21:32 +0000
committerPaul Duffin <paulduffin@google.com>2017-02-21 11:23:14 +0000
commit991c2e5ab8be3638116a335f6ddc9e13aac4912c (patch)
tree98f51c731cfd805c166a1983dc866cb9ad667167 /src
parent4b73fb05320cb11ca2b4e34982346b4198e3d196 (diff)
downloadpackages_apps_Messaging-991c2e5ab8be3638116a335f6ddc9e13aac4912c.tar.gz
packages_apps_Messaging-991c2e5ab8be3638116a335f6ddc9e13aac4912c.tar.bz2
packages_apps_Messaging-991c2e5ab8be3638116a335f6ddc9e13aac4912c.zip
Use com.android.messaging.util.Assert instead of junit.framework.Assert
Bug: 35234379 Bug: 30188076 Test: make checkbuild Change-Id: I3aa9b72393d128877c86c9a116495f76f3e50e18
Diffstat (limited to 'src')
-rw-r--r--src/com/android/messaging/datamodel/data/ConversationParticipantsData.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/messaging/datamodel/data/ConversationParticipantsData.java b/src/com/android/messaging/datamodel/data/ConversationParticipantsData.java
index 0b5ef51..2ab1793 100644
--- a/src/com/android/messaging/datamodel/data/ConversationParticipantsData.java
+++ b/src/com/android/messaging/datamodel/data/ConversationParticipantsData.java
@@ -19,9 +19,9 @@ package com.android.messaging.datamodel.data;
import android.database.Cursor;
import android.support.v4.util.SimpleArrayMap;
-import com.google.common.annotations.VisibleForTesting;
+import com.android.messaging.util.Assert;
-import junit.framework.Assert;
+import com.google.common.annotations.VisibleForTesting;
import java.util.ArrayList;
import java.util.Iterator;
@@ -84,7 +84,7 @@ public class ConversationParticipantsData implements Iterable<ParticipantData> {
return participant;
}
}
- Assert.fail();
+ Assert.fail("Could not find other participant");
}
return null;
}