Bug 847916 - Reduce normal logging in robocop testBrowserProvider; r=rnewman

This commit is contained in:
Geoff Brown 2013-03-06 02:46:55 -07:00
parent 3b829dd6ba
commit 394ee8c644

View File

@ -942,8 +942,10 @@ public class testBrowserProvider extends ContentProviderTest {
while (!c.isAfterLast()) {
String guid = c.getString(guidColumn);
long pos = c.getLong(posColumn);
mAsserter.is(pos, (long) i, "Position matches sequence.");
mAsserter.is(guid, items[i], "GUID matches sequence.");
if ((pos != i) || (guid == null) || (!guid.equals(items[i]))) {
mAsserter.is(pos, (long) i, "Position matches sequence.");
mAsserter.is(guid, items[i], "GUID matches sequence.");
}
++i;
c.moveToNext();
}