HomeSort by relevance Sort by last modified time
    Searched defs:Assert (Results 1 - 25 of 167) sorted by null

1 2 3 4 5 6 7

  /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_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)
  /external/smali/util/src/test/java/org/jf/util/
LinearSearchTest.java 36 import junit.framework.Assert;
99 Assert.assertEquals(expectedIndex, LinearSearch.linearSearch(list, Ordering.<Integer>natural(), key, guess));
StringWrapperTest.java 34 import org.junit.Assert;
106 Assert.assertTrue(actual.length >= expected.length);
111 Assert.assertTrue(i == expected.length);
114 Assert.assertTrue(i < expected.length);
115 Assert.assertEquals(expected[i], actual[i]);
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...]
  /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/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/
BaseDexReaderLeb128Test.java 34 import junit.framework.Assert;
251 Assert.assertEquals(expectedValue, reader.readSmallUleb128());
252 Assert.assertEquals(expectedLength, reader.getOffset());
256 Assert.assertEquals(expectedLength, reader.getOffset());
264 Assert.fail();
BaseDexReaderSleb128Test.java 34 import junit.framework.Assert;
258 Assert.assertEquals(expectedValue, reader.readSleb128());
259 Assert.assertEquals(expectedLength, reader.getOffset());
267 Assert.fail();
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/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));
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
AbstractMeanVerification.java 19 import junit.framework.Assert;
38 Assert.assertEquals(mSums.length, event.values.length);
  /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...]
  /external/smali/dexlib2/src/test/java/org/jf/dexlib2/util/
InstructionOffsetMapTest.java 35 import junit.framework.Assert;
86 Assert.assertEquals(expectedOffsets[i], instructionOffsetMap.getInstructionCodeOffset(i));
87 Assert.assertEquals(i, instructionOffsetMap.getInstructionIndexAtCodeOffset(expectedOffsets[i], true));
88 Assert.assertEquals(i, instructionOffsetMap.getInstructionIndexAtCodeOffset(expectedOffsets[i], false));
98 Assert.assertEquals(instructionIndex,
103 Assert.fail(String.format("Exception exception didn't occur for code offset 0x%x", codeOffset));
109 Assert.assertEquals(expectedOffsets.length-1,
111 Assert.assertEquals(expectedOffsets.length-1,
  /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/hardware/src/android/hardware/cts/helpers/
SensorCalibratedUncalibratedVerifier.java 19 import junit.framework.Assert;
103 Assert.assertTrue(eventsValidatedMessage, eventsValidated > 0);
125 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));
  /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 757 milliseconds

1 2 3 4 5 6 7