HomeSort by relevance Sort by last modified time
    Searched defs:Assert (Results 126 - 150 of 482) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/testng/src/test/java/test/testng106/
TestNG106.java 5 import org.testng.Assert;
23 Assert.assertEquals(FailingSuiteFixture.s_invocations, 0, "@BeforeSuite has failed. All tests should be skipped.");
  /external/testng/src/test/java/test/tmp/
AssertEqualsTest.java 3 import org.testng.Assert;
62 Assert.assertEquals(set1, set2, "set1 must equals with set2");
  /external/testng/src/test/java/test/uniquesuite/
TestAfter.java 3 import org.testng.Assert;
19 Assert.assertEquals(BaseAfter.m_afterCount, 1);
  /external/testng/src/test/java/test/verify/
VerifyTest.java 3 import org.testng.Assert;
18 Assert.assertEquals(tla.getPassedTests().size(), expected);
36 Assert.assertEquals(VerifyTestListener.m_count, 1);
44 Assert.assertEquals(VerifyTestListener.m_count, 1);
  /external/vogar/src/junit/framework/
Assert.java 22 public class Assert {
23 protected Assert() {}
  /frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
TestContentResolver.java 23 import junit.framework.Assert;
42 Assert.assertEquals(count, getPhaser(uri).awaitAdvanceInterruptibly(
  /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_CompatLibLegacy/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/Bluetooth/tests/src/com/android/bluetooth/tests/
MapStepsConvo.java 12 import junit.framework.Assert;
174 Assert.fail();
205 Assert.assertNotNull(op);
214 Assert.assertNotNull(appParamsRaw);
217 Assert.assertNotNull(appParams);
218 Assert.assertNotNull(appParams.getDatabaseIdentifier());
219 Assert.assertNotSame(BluetoothMapAppParams.INVALID_VALUE_PARAMETER,
222 Assert.assertSame(mExpectedSize, appParams.getConvoListingSize());
226 Assert.assertTrue(mExpectedListing.equals(receivedListing));
227 Assert.assertSame(mExpectedListing.getList().size()
    [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...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
AvatarRequestDescriptor.java 22 import com.android.messaging.util.Assert;
46 Assert.isTrue(uri == null || UriUtil.isLocalResourceUri(uri) ||
  /packages/apps/Messaging/src/com/android/messaging/sms/
MmsFailureException.java 20 import com.android.messaging.util.Assert;
39 Assert.isTrue(retryHint == MmsUtils.MMS_REQUEST_AUTO_RETRY
  /packages/apps/Messaging/src/com/android/messaging/util/
Typefaces.java 31 Assert.isMainThread();
39 Assert.isMainThread();
SafeAsyncTask.java 25 import com.android.messaging.util.Assert.RunsOnAnyThread;
76 Assert.isMainThread(); // AsyncTask has to be created on the main thread
83 Assert.isMainThread(); // AsyncTask requires this
95 Assert.isTrue(mThreadPoolRequested);
120 Assert.fail(this + " took too long");
130 Assert.fail("Use SafeAsyncTask.executeOnThreadPool");
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/
SensorCalibratedUncalibratedVerifier.java 19 import junit.framework.Assert;
105 Assert.assertTrue(eventsValidatedMessage, eventsValidated > 0);
127 Assert.assertEquals(message, calibrated, uncalibrated - bias, threshold);
  /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));
  /external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/
BaseDexReaderTest.java 34 import junit.framework.Assert;
72 Assert.assertEquals(expectedValue, reader.readSizedInt(buf.length));
89 Assert.fail();
127 Assert.assertEquals(expectedValue, reader.readSizedSmallUint(buf.length));
148 Assert.fail();
197 Assert.assertEquals(expectedValue, reader.readSizedRightExtendedInt(buf.length));
214 Assert.fail();
306 Assert.assertEquals(expectedValue, reader.readSizedRightExtendedLong(buf.length));
323 Assert.fail();
415 Assert.assertEquals(expectedValue, reader.readSizedLong(buf.length))
    [all...]
  /external/smali/smalidea/src/test/java/org/jf/smalidea/
SmaliMethodTest.java 40 import org.junit.Assert;
57 Assert.assertNotNull(leafElement);
59 Assert.assertNotNull(methodElement);
61 Assert.assertEquals(123, methodElement.getRegisterCount());
62 Assert.assertEquals(1, methodElement.getParameterRegisterCount());
77 Assert.assertNotNull(leafElement);
79 Assert.assertNotNull(methodElement);
81 Assert.assertEquals(128, methodElement.getRegisterCount());
82 Assert.assertEquals(5, methodElement.getParameterRegisterCount());
97 Assert.assertEquals(127, smaliMethod.getRegisterCount())
    [all...]
  /external/smali/util/src/test/java/org/jf/util/
AbstractForwardSequentialListTest.java 34 import junit.framework.Assert;
78 Assert.assertFalse(iter.hasPrevious());
81 Assert.assertEquals(i, iter.nextIndex());
82 Assert.assertEquals(i-1, iter.previousIndex());
84 Assert.assertTrue(iter.hasNext());
86 Assert.assertEquals(i, iter.next().intValue());
87 Assert.assertTrue(iter.hasPrevious());
90 Assert.assertFalse(iter.hasNext());
91 Assert.assertEquals(iter.nextIndex(), 100);
92 Assert.assertEquals(iter.previousIndex(), 99)
    [all...]
  /external/testng/src/test/java/org/testng/
AssertTest.java 21 Assert.assertEquals(actual, expected);
28 Assert.assertEqualsNoOrder(actual, expected);
35 Assert.assertEquals(actual, expected);
42 Assert.assertEquals(actual, expected);
49 Assert.assertEquals(actual, expected);
62 Assert.assertEquals(actual, expected);
77 Assert.assertEquals(actual, expected);
85 Assert.assertEquals(actual, expected);
86 Assert.fail("AssertEquals didn't fail");
98 Assert.assertEquals(actual, expected);
    [all...]
  /external/testng/src/test/java/test/asserttests/
AssertTest.java 3 import org.testng.Assert;
4 import org.testng.Assert.ThrowingRunnable;
11 import static org.junit.Assert.assertEquals;
12 import static org.junit.Assert.assertSame;
13 import static org.junit.Assert.fail;
14 import static org.testng.Assert.expectThrows;
22 Assert.assertEqualsNoOrder(rto1, rto2);
29 Assert.assertEqualsNoOrder(rto1, rto2);
36 Assert.assertEquals(intArr00, intArr01);
43 Assert.assertEquals(intArr, longArr)
    [all...]
  /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));

Completed in 689 milliseconds

1 2 3 4 56 7 8 91011>>