/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
JavaBridgeTestBase.java | 7 import junit.framework.Assert; 30 Assert.fail("Wait timed out");
|
/external/guava/guava-tests/test/com/google/common/eventbus/ |
StringCatcher.java | 21 import junit.framework.Assert; 40 Assert.fail("Event bus must not call methods without @Subscribe!");
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/ |
RobolectricTestRunnerClassLoaderSetup.java | 3 import org.junit.Assert; 16 Assert.assertEquals(classLoader.getClass().getName(), RobolectricClassLoader.class.getName());
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/android/view/ |
TestWindowTest.java | 4 import org.junit.Assert; 14 Assert.assertNotNull(window.getWindowManager());
|
TestMenuTest.java | 3 import static org.junit.Assert.assertNotNull; 4 import junit.framework.Assert; 29 Assert.assertEquals(10, testMenuItem.getItemId()); 34 Assert.assertNull(testMenuItem); 46 Assert.assertNull(testMenuItem.getIntent()); 52 Assert.assertNotNull(testMenuItem);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
CameraUtilsUncheckedThrowTest.java | 23 import junit.framework.Assert; 35 Assert.fail("unreachable");
|
CameraUtilsBinderDecoratorTest.java | 31 import junit.framework.Assert; 89 Assert.fail("Unreachable"); 105 Assert.fail("Should've thrown SecurityException"); 113 Assert.fail("Should've thrown IllegalArgumentException"); 119 Assert.fail("Should've thrown CameraRuntimeException"); 126 Assert.fail("Should've thrown CameraRuntimeException"); 133 Assert.fail("Should've thrown CameraRuntimeException"); 140 Assert.fail("Should've thrown CameraRuntimeException"); 147 Assert.fail("Should've thrown UnsupportedOperationException"); 155 Assert.fail("Should've thrown CameraRuntimeException") [all...] |
/frameworks/testing/androidtestlib/tests/src/com/android/test/runner/ |
ClassPathScannerTest.java | 27 import junit.framework.Assert; 63 Assert.assertEquals(1, result.size()); 64 Assert.assertTrue(result.contains("com.example.MyName")); 73 Assert.assertEquals(1, result.size()); 74 Assert.assertTrue(result.contains("com.example.MyName")); 83 Assert.assertEquals(2, result.size()); 84 Assert.assertTrue(result.contains("com.example.MyName")); 85 Assert.assertTrue(result.contains("com.exclude2.Excluded"));
|
/libcore/support/src/test/java/tests/security/ |
CipherHelper.java | 26 import junit.framework.Assert; 47 Assert.fail(e.getMessage()); 49 Assert.fail(e.getMessage()); 54 Assert.fail(e.getMessage()); 62 Assert.fail(e.getMessage()); 69 Assert.assertEquals("transformed data does not match", plainData, 77 Assert.fail(e.getMessage()); 79 Assert.fail(e.getMessage());
|
KeyAgreementHelper.java | 25 import junit.framework.Assert; 45 Assert.fail(e.getMessage()); 51 Assert.fail(e.getMessage()); 56 Assert.fail(e.getMessage()); 58 Assert.fail(e.getMessage()); 60 Assert.assertNotNull("generated secret is null", keyAgreement
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
MockNamedTaskExecutor.java | 19 import junit.framework.Assert; 48 Assert.assertEquals("Wrong number of pending tasks",
|
/cts/tests/tests/textureview/src/android/textureview/cts/ |
TextureViewSnapshotTestActivity.java | 27 import junit.framework.Assert; 44 Assert.assertTrue(mMaxWaitDelayMs > 0); 55 Assert.fail(); 81 Assert.assertNotNull(bitmap); 82 Assert.assertEquals(mTexView.getWidth(), bitmap.getWidth()); 83 Assert.assertEquals(mTexView.getHeight(), bitmap.getHeight()); 84 Assert.assertEquals(Color.RED, bitmap.getPixel(0, 0));
|
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseGeneralTest.java | 35 import junit.framework.Assert; 454 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, 456 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, 458 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, 460 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, 463 Assert.assertEquals(3, DatabaseUtils.longForQuery(mDatabase, 465 Assert.assertEquals(2, DatabaseUtils.longForQuery(mDatabase, 468 Assert.assertEquals(3, DatabaseUtils.longForQuery(mDatabase, 470 Assert.assertEquals(3, DatabaseUtils.longForQuery(mDatabase, 475 Assert.assertEquals(2, DatabaseUtils.longForQuery(mDatabase, [all...] |
/cts/tests/tests/graphics2/src/android/graphics2/cts/ |
TextureViewCameraActivity.java | 34 import junit.framework.Assert; 51 Assert.assertTrue(mTextureView.getLayerType() == View.LAYER_TYPE_HARDWARE); 52 Assert.assertTrue(mTextureView.isAvailable()); 53 Assert.assertNotNull(mTextureView.getSurfaceTexture()); 54 Assert.assertTrue(mTextureView.getSurfaceTextureListener() == this); 55 Assert.assertTrue(mTextureView.isOpaque()); 77 Assert.fail(); 96 Assert.assertEquals(mHeight, bitmap.getHeight()); 97 Assert.assertEquals(mWidth, bitmap.getWidth());
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
ITreeNodeStreamFixture.cs | 64 Assert.AreEqual(expected, actual); 68 Assert.AreEqual(expected, actual); 85 Assert.AreEqual(expected, actual); 89 Assert.AreEqual(expected, actual); 110 Assert.AreEqual(expected, actual); 114 Assert.AreEqual(expected, actual); 129 Assert.AreEqual(expected, actual); 133 Assert.AreEqual(expected, actual); 146 Assert.AreEqual(expected, actual); 150 Assert.AreEqual(expected, actual) [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
DatabaseAsserts.java | 24 import junit.framework.Assert; 34 Assert.fail("delete operation should have failed with UnsupportedOperationException on" 45 Assert.fail("insert operation should have failed with UnsupportedOperationException on" 53 * Create a contact and assert that the record exists. 75 Assert.assertFalse(ContactUtil.recordExistsForContactId(resolver, contactId)); 80 Assert.assertTrue(deletedTimestamp > start);
|
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/ |
FieldSourcerTest.java | 21 import org.junit.Assert; 57 Assert.assertEquals("public java.lang.String mArg;\n", s); 72 Assert.assertEquals("private final java.util.ArrayList<java.lang.String> mList;\n", s);
|
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/ |
UiUtils.java | 10 import junit.framework.Assert; 36 Assert.assertTrue(finishedSemaphore.tryAcquire(1, WAIT_FOR_RESPONSE_MS, 39 Assert.assertTrue("Interrupted while waiting for main thread Runnable", false);
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
UiAutomatorJarTest.java | 29 import junit.framework.Assert; 68 Assert.assertNotNull("missing device", getDevice()); 69 Assert.assertNotNull("missing build", mCtsBuild); 70 Assert.assertNotNull("missing jar to install", mTestJarFileName); 85 Assert.assertTrue(String.format("Failed to push file to %s", fullJarPath), result); 88 Assert.fail(String.format("Could not find file %s", mTestJarFileName));
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
SmsManagerTest.java | 3 import junit.framework.Assert; 40 Assert.assertNotNull(shadowSmsManager); 50 Assert.assertEquals(testDestinationAddress, lastParams.getDestinationAddress()); 51 Assert.assertEquals(testScAddress, lastParams.getScAddress()); 52 Assert.assertEquals(testText, lastParams.getText()); 59 Assert.assertNull(shadowSmsManager.getLastSentTextMessageParams());
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
VideoPlayerCapability.java | 22 import junit.framework.Assert; 33 Assert.assertNotNull(profile);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ExpandableListTester.java | 28 import junit.framework.Assert; 53 Assert.assertFalse("Group is already expanded", mExpandableListView 59 Assert.assertTrue("Group did not expand " + groupIndex, 80 Assert.assertNull(menuListener.getErrorMessage(), menuListener.getErrorMessage()); 98 Assert.assertNull(menuListener.getErrorMessage(), menuListener.getErrorMessage()); 110 Assert.assertNull(menuListener.getErrorMessage(), menuListener.getErrorMessage()); 125 Assert.assertNull(menuListener.getErrorMessage(), menuListener.getErrorMessage()); 136 Assert.assertTrue("Not enough groups", groupIndex < mAdapter.getGroupCount()); 146 Assert.assertEquals("Non NULL position for header item", 156 Assert.assertEquals("Group not found at flat position " + expectedFlatPosition [all...] |
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/ |
UrlUtils.java | 9 import junit.framework.Assert; 41 Assert.fail("Unsupported encoding: " + e.getMessage());
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
SerializableTester.java | 22 import junit.framework.Assert; 99 Assert.assertEquals(object.getClass(), copy.getClass());
|
/external/junit/src/junit/extensions/ |
TestDecorator.java | 3 import junit.framework.Assert; 13 public class TestDecorator extends Assert implements Test {
|