HomeSort by relevance Sort by last modified time
    Searched refs:Assert (Results 176 - 200 of 698) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ActivityManagerTest.java 11 import static junit.framework.Assert.assertFalse;
12 import static org.junit.Assert.assertTrue;
BaseAdapterTest.java 11 import static junit.framework.Assert.assertFalse;
12 import static junit.framework.Assert.assertTrue;
FragmentTest.java 10 import static org.junit.Assert.assertEquals;
11 import static org.junit.Assert.assertTrue;
PreferenceManagerTest.java 15 import static org.junit.Assert.assertEquals;
16 import static org.junit.Assert.assertNotNull;
StateListDrawableTest.java 13 import static org.junit.Assert.assertNotNull;
14 import static org.junit.Assert.assertThat;
ProgressDialogTest.java 16 import static junit.framework.Assert.assertNull;
21 import static org.junit.Assert.assertEquals;
22 import static org.junit.Assert.assertNotNull;
23 import static org.junit.Assert.assertThat;
24 import static org.junit.Assert.assertTrue;
BundleTest.java 9 import org.junit.Assert;
16 import static org.junit.Assert.*;
259 Assert.assertArrayEquals(new String[] { "a" }, bundle.getStringArray("foo"));
269 Assert.assertEquals(list, bundle.getStringArrayList("foo"));
279 Assert.assertEquals(list, bundle.getIntegerArrayList("foo"));
307 Assert.assertArrayEquals(arr, bundle.getByteArray("foo"));
316 Assert.assertArrayEquals(arr, bundle.getCharArray("foo"));
334 Assert.assertArrayEquals(arr, bundle.getIntArray("foo"));
343 Assert.assertArrayEquals(arr, bundle.getLongArray("foo"));
352 Assert.assertArrayEquals(arr, bundle.getShortArray("foo"))
    [all...]
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
WifiAssociationTestRunner.java 29 import junit.framework.Assert;
79 Assert.fail("invalid frequency band");
  /frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
JavaBridgeTestBase.java 28 import junit.framework.Assert;
68 Assert.fail("Wait timed out");
  /libcore/support/src/test/java/libcore/dalvik/system/
CloseGuardTester.java 28 import junit.framework.Assert;
61 Assert.fail("CloseGuard detected unclosed resources!");
  /packages/apps/Email/tests/src/com/android/email/activity/
UIControllerTwoPaneRefreshTaskTest.java 29 import junit.framework.Assert;
168 Assert.assertEquals(mExpectedAccountId, accountId);
174 Assert.assertEquals(mExpectedAccountId, accountId);
180 Assert.assertEquals(mExpectedMailboxId, mailboxId);
186 Assert.assertEquals(mExpectedMailboxId, mailboxId);
MailboxFragmentAdapterTest.java 30 import junit.framework.Assert;
117 Assert.assertTrue(cursor.getLong(cursor.getColumnIndex("_id")) >= 0);
118 Assert.assertEquals(id, MailboxFragmentAdapter.getId(cursor));
119 Assert.assertEquals(type, MailboxFragmentAdapter.getType(cursor));
120 Assert.assertEquals(count, MailboxFragmentAdapter.getMessageCount(cursor));
121 Assert.assertEquals(count, MailboxFragmentAdapter.getUnreadCount(cursor));
122 Assert.assertEquals(Account.ACCOUNT_ID_COMBINED_VIEW,
  /cts/tools/signature-tools/test/signature/comparator/
PackageCompareTest.java 19 import static org.junit.Assert.assertEquals;
20 import static org.junit.Assert.assertNotNull;
21 import static org.junit.Assert.assertNull;
  /external/chromium/third_party/libjingle/source/talk/base/
common.h 84 inline bool Assert(bool result, const char * function, const char * file,
100 #ifndef ASSERT
101 #define ASSERT(x) (void)talk_base::Assert((x),__FUNCTION__,__FILE__,__LINE__,#x)
105 #define VERIFY(x) talk_base::Assert((x),__FUNCTION__,__FILE__,__LINE__,#x)
116 #ifndef ASSERT
117 #define ASSERT(x) (void)0
  /external/chromium_org/third_party/libjingle/source/talk/base/
common.h 86 // and allow applications to override the assert behavior.
91 // Assert (and from the ASSERT macro in debug mode) before any other action
101 // Sets a custom assert logger to be used instead of the default LogAssert
102 // behavior. To clear the custom assert logger, pass NULL for |logger| and the
103 // default behavior will be restored. Only one custom assert logger can be set
119 inline bool Assert(bool result, const char* function, const char* file,
135 #ifndef ASSERT
136 #define ASSERT(x) \
137 (void)talk_base::Assert((x), __FUNCTION__, __FILE__, __LINE__, #x
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/
FakeHttpLayerTest.java 18 import static org.junit.Assert.assertFalse;
19 import static org.junit.Assert.assertThat;
20 import static org.junit.Assert.assertTrue;
  /libcore/luni/src/test/java/libcore/java/io/
OldAndroidBufferedInputStreamTest.java 23 import junit.framework.Assert;
41 Assert.assertEquals(str, read(a));
48 Assert.assertEquals("AbCdEfGhIj", read(b, 10));
  /libcore/luni/src/test/java/libcore/util/
SerializationTester.java 24 import static junit.framework.Assert.assertEquals;
25 import static junit.framework.Assert.assertTrue;
26 import static junit.framework.Assert.fail;
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
TestUtils.java 24 import junit.framework.Assert;
36 Assert.assertTrue((namesAndValues.length % 2) == 0);
51 Assert.fail("Unsupported type: " + value.getClass().getSimpleName());
  /cts/tools/dex-tools/test/dex/reader/
DexTestsCommon.java 19 import static org.junit.Assert.assertFalse;
20 import static org.junit.Assert.assertNotNull;
21 import static org.junit.Assert.assertTrue;
22 import static org.junit.Assert.fail;
LargeDexTests.java 19 import static org.junit.Assert.assertEquals;
  /external/junit/src/org/junit/internal/
ArrayComparisonFailure.java 6 import org.junit.Assert;
10 * @see Assert#assertArrayEquals(String, Object[], Object[])
25 * @see Assert#assertArrayEquals(String, Object[], Object[])
  /external/okhttp/src/test/java/com/squareup/okhttp/
MediaTypeTest.java 25 import static org.junit.Assert.assertEquals;
26 import static org.junit.Assert.assertNull;
27 import static org.junit.Assert.assertTrue;
28 import static org.junit.Assert.fail;
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/
StrictLineReaderTest.java 25 import static org.junit.Assert.fail;
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/
IncludedDependenciesTest.java 11 import static org.junit.Assert.assertEquals;

Completed in 1381 milliseconds

1 2 3 4 5 6 78 91011>>