/external/junit/src/org/junit/internal/ |
ExactComparisonCriteria.java | 3 import org.junit.Assert; 8 Assert.assertEquals(expected, actual);
|
InexactComparisonCriteria.java | 3 import org.junit.Assert; 15 Assert.assertEquals((Double)expected, (Double)actual, fDelta); 17 Assert.assertEquals((Float)expected, (Float)actual, fDelta);
|
/external/chromium/testing/gtest/test/ |
gtest_uninitialized_test.py | 42 def Assert(condition): 59 Assert(p.exited) 61 Assert('InitGoogleTest' in p.output)
|
/external/chromium_org/testing/gtest/test/ |
gtest_uninitialized_test.py | 42 def Assert(condition): 59 Assert(p.exited) 61 Assert('InitGoogleTest' in p.output)
|
/external/gtest/test/ |
gtest_uninitialized_test.py | 42 def Assert(condition): 59 Assert(p.exited) 61 Assert('InitGoogleTest' in p.output)
|
/external/protobuf/gtest/test/ |
gtest_uninitialized_test.py | 42 def Assert(condition): 59 Assert(p.exited) 61 Assert('InitGoogleTest' in p.output)
|
/ndk/sources/third_party/googletest/googletest/test/ |
gtest_uninitialized_test.py | 42 def Assert(condition): 59 Assert(p.exited) 61 Assert('InitGoogleTest' in p.output)
|
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/ |
MockFutureListener.java | 23 import junit.framework.Assert; 61 Assert.assertTrue(countDownLatch.await(1L, TimeUnit.SECONDS)); 64 Assert.assertEquals(expectedData, future.get()); 77 Assert.assertTrue(countDownLatch.await(1L, TimeUnit.SECONDS)); 81 Assert.fail("This call was supposed to throw an ExecutionException"); 83 Assert.assertSame(expectedCause, expected.getCause()); 90 Assert.assertFalse(countDownLatch.await(1L, TimeUnit.SECONDS));
|
/external/compiler-rt/make/ |
util.mk | 78 # Function: Assert value message 81 Assert = $(if $(1),,\
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
NullDatabaseMapTest.java | 6 import org.junit.Assert; 23 Assert.assertTrue(DatabaseConfig.getDatabaseMap().getClass().getName() 25 Assert.assertTrue(DatabaseConfig.getDatabaseMap().getConnectionString() == null); 26 Assert.assertTrue(DatabaseConfig.getDatabaseMap() 28 Assert.assertTrue(DatabaseConfig.getDatabaseMap().getDriverClassName() == "com.xtremelabs.robolectric.util.NullDatabaseMap"); 33 Assert.assertTrue(DatabaseConfig.getDatabaseMap().getClass().getName() 36 Assert.assertFalse(DatabaseConfig.isMapLoaded()); 41 Assert.assertFalse(DatabaseConfig.isMapLoaded()); 50 Assert.assertTrue(false); 55 Assert.assertTrue(expectedError) [all...] |
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_constant.java | 31 private void Assert(boolean b) { 38 Assert(ScriptC_constant.const_floatTest == 1.99f); 39 Assert(ScriptC_constant.const_doubleTest == 2.05); 40 Assert(ScriptC_constant.const_charTest == -8); 41 Assert(ScriptC_constant.const_shortTest == -16); 42 Assert(ScriptC_constant.const_intTest == -32); 43 Assert(ScriptC_constant.const_longTest == 17179869184l); 44 Assert(ScriptC_constant.const_longlongTest == 68719476736l); 46 Assert(ScriptC_constant.const_ucharTest == 8); 47 Assert(ScriptC_constant.const_ushortTest == 16) [all...] |
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_constant.java | 31 private void Assert(boolean b) { 38 Assert(ScriptC_constant.const_floatTest == 1.99f); 39 Assert(ScriptC_constant.const_doubleTest == 2.05); 40 Assert(ScriptC_constant.const_charTest == -8); 41 Assert(ScriptC_constant.const_shortTest == -16); 42 Assert(ScriptC_constant.const_intTest == -32); 43 Assert(ScriptC_constant.const_longTest == 17179869184l); 44 Assert(ScriptC_constant.const_longlongTest == 68719476736l); 46 Assert(ScriptC_constant.const_ucharTest == 8); 47 Assert(ScriptC_constant.const_ushortTest == 16) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/ |
SpannedTestUtils.java | 27 import junit.framework.Assert; 44 Assert.assertEquals("", actualHtmlText); 46 Assert.assertEquals("<p dir=ltr>" + expectedHtmlText + "</p>\n", actualHtmlText); 52 * Assert span exists in the correct location. 59 Assert.assertTrue(seq instanceof Spanned); 63 Assert.assertEquals(0, getNumForegroundColorSpansBetween(spannable, 0, start - 1)); 65 Assert.assertEquals(1, getNumForegroundColorSpansBetween(spannable, start, end)); 66 Assert.assertEquals(0, getNumForegroundColorSpansBetween(spannable, end + 1, 81 Assert.assertFalse(seq instanceof Spanned); 82 Assert.assertEquals(expected, seq) [all...] |
/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));
|
/art/test/021-string2/src/junit/framework/ |
Assert.java | 4 * A set of assert methods. Messages are only displayed when an assert fails. 7 public class Assert { 11 protected Assert() {
|
/art/test/082-inline-execute/src/junit/framework/ |
Assert.java | 4 * A set of assert methods. Messages are only displayed when an assert fails. 7 public class Assert { 11 protected Assert() {
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
GestureComparator.java | 24 import junit.framework.Assert; 27 * Helper class to assert that two Gestures are approximately equal 37 Assert.assertEquals(expectedGesture.getID(), observedGesture.getID()); 38 Assert.assertEquals(expectedGesture.getStrokesCount(), observedGesture.getStrokesCount()); 55 Assert.assertEquals(expectedStroke.length, observedStroke.length); 56 Assert.assertTrue(Arrays.equals(expectedStroke.points, observedStroke.points));
|
LineGestureStrokeHelper.java | 25 import junit.framework.Assert; 54 * Helper method to assert expected values for a path derived from createLineGesture 60 Assert.assertFalse(linePath.isEmpty()); 66 Assert.assertEquals(LINE_MIDWAY_POINT, bounds.bottom); 67 Assert.assertEquals(LINE_START_POINT, bounds.left); 68 Assert.assertEquals(LINE_MIDWAY_POINT, bounds.right); 69 Assert.assertEquals(LINE_START_POINT, bounds.top); 73 * Helper method to assert expected values for a bounds derived from createLineGesture 80 Assert.assertEquals(LINE_END_POINT, bounds.bottom); 81 Assert.assertEquals(LINE_START_POINT, bounds.left) [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorTestOperations/ |
VerifyNormOperation.java | 19 import junit.framework.Assert; 80 Assert.assertTrue(message, Math.abs(mReferenceValue - norm) <= mThreshold);
|
/dalvik/tests/021-string2/src/junit/framework/ |
Assert.java | 4 * A set of assert methods. Messages are only displayed when an assert fails. 7 public class Assert { 11 protected Assert() {
|
/dalvik/tests/082-inline-execute/src/junit/framework/ |
Assert.java | 4 * A set of assert methods. Messages are only displayed when an assert fails. 7 public class Assert { 11 protected Assert() {
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/check/ |
Assert.java | 16 * <code>Assert</code> is useful for for embedding runtime sanity checks in code. The predicate 27 public final class Assert { 33 private Assert() {
|
/external/junit/src/junit/framework/ |
Assert.java | 4 * A set of assert methods. Messages are only displayed when an assert fails. 7 public class Assert { 11 protected Assert() {
|
/frameworks/base/test-runner/src/android/test/ |
MoreAsserts.java | 20 import junit.framework.Assert; 54 Assert.assertTrue( 324 Assert.assertEquals(message, Arrays.asList(expected), actualList); 450 Assert.assertTrue( 457 Assert.assertFalse( 463 Assert.assertEquals(message, expectedResult, lhs.equals(rhs)); 466 Assert.assertEquals(message, expectedResult, rhs.equals(lhs)); 475 Assert.assertTrue(hashMessage, lhs.hashCode() == rhs.hashCode()); 547 Assert.fail((userMessage == null)
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
NativeMediaTest.java | 26 import junit.framework.Assert; 85 Assert.assertNotNull(status); // null means time-out 86 Assert.assertEquals(expectAlive, status.booleanValue()); 90 Assert.assertEquals(Environment.getExternalStorageState(), Environment.MEDIA_MOUNTED);
|