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

1 2 3 4 5 6 7 8 91011>>

  /art/test/082-inline-execute/src/
Main.java 17 import junit.framework.Assert;
87 Assert.assertNotNull(Thread.currentThread());
95 Assert.assertEquals(str0.length(), 0);
96 Assert.assertEquals(str1.length(), 1);
97 Assert.assertEquals(str80.length(), 80);
102 Assert.fail();
111 Assert.assertTrue(str0.isEmpty());
112 Assert.assertFalse(str1.isEmpty());
117 Assert.fail();
125 Assert.assertEquals('N', testStr.charAt(0))
    [all...]
  /art/test/021-string2/src/
Main.java 17 import junit.framework.Assert;
31 Assert.assertTrue(test.equals(test));
32 Assert.assertTrue(test.equals(test1));
33 Assert.assertFalse(test.equals(test2));
35 Assert.assertEquals(test.compareTo(test1), 0);
36 Assert.assertTrue(test1.compareTo(test2) > 0);
37 Assert.assertTrue(test2.compareTo(test1) < 0);
39 Assert.assertEquals("".compareTo(""), 0);
40 Assert.assertTrue(test.compareTo("") > 0);
41 Assert.assertTrue("".compareTo(test) < 0)
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
ANTLRxxxxStreamFixture.cs 79 Assert.AreEqual(0, inputStream.Count);
90 Assert.AreEqual(grammarStr.Length, inputStream.Count);
101 Assert.AreEqual(0, inputStream.Index);
104 Assert.AreEqual(1, inputStream.Index);
107 Assert.AreEqual(2, inputStream.Index);
113 Assert.AreEqual(inputStream.Index, inputStream.Count);
129 Assert.AreEqual(inputStream.Index, inputStream.Count);
140 Assert.AreEqual(0, inputStream.Index);
141 Assert.AreEqual(0, inputStream.CharPositionInLine);
142 Assert.AreEqual(1, inputStream.Line)
    [all...]
RewriteRuleXxxxStreamFixture.cs 100 Assert.IsFalse(tokenTest.HasNext, "tokenTest has to give back false here.");
101 Assert.AreEqual(description.ToString(), tokenTest.Description,
103 Assert.AreEqual(0, tokenTest.Count, "The number of elements should be zero.");
105 Assert.IsTrue(true, "Reset() shouldn't make any problems here.");
106 Assert.AreEqual(0, tokenTest.Count,
119 Assert.IsFalse(subtreeTest.HasNext, "HasNext has to give back false here.");
120 Assert.AreEqual(description.ToString(), subtreeTest.Description,
122 Assert.AreEqual(0, subtreeTest.Count, "The number of elements should be zero.");
124 Assert.IsTrue(true, "Reset() shouldn't make any problems here.");
125 Assert.AreEqual(0, subtreeTest.Count
    [all...]
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...]
  /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/android/junit/javatests/src/org/chromium/testing/local/
GtestFilterTest.java 7 import org.junit.Assert;
23 Assert.assertEquals("gtest-filter: TestClass.*", filterUnderTest.describe());
29 Assert.assertTrue(filterUnderTest.shouldRun(
31 Assert.assertTrue(filterUnderTest.shouldRun(
33 Assert.assertTrue(filterUnderTest.shouldRun(
40 Assert.assertTrue(filterUnderTest.shouldRun(
42 Assert.assertFalse(filterUnderTest.shouldRun(
44 Assert.assertFalse(filterUnderTest.shouldRun(
51 Assert.assertTrue(filterUnderTest.shouldRun(
53 Assert.assertTrue(filterUnderTest.shouldRun
    [all...]
PackageFilterTest.java 7 import org.junit.Assert;
23 Assert.assertEquals("package-filter: test.package", filterUnderTest.describe());
29 Assert.assertFalse(filterUnderTest.shouldRun(
36 Assert.assertTrue(filterUnderTest.shouldRun(
43 Assert.assertFalse(filterUnderTest.shouldRun(
RunnerFilterTest.java 7 import org.junit.Assert;
24 Assert.assertEquals("runner-filter: org.junit.runners.BlockJUnit4ClassRunner",
31 Assert.assertFalse(filterUnderTest.shouldRun(
38 Assert.assertTrue(filterUnderTest.shouldRun(
45 Assert.assertFalse(filterUnderTest.shouldRun(
52 Assert.assertFalse(filterUnderTest.shouldRun(
  /cts/tests/tests/gesture/src/android/gesture/cts/
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...]
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));
  /cts/libs/deviceutil/src/android/cts/util/
PollingCheck.java 21 import junit.framework.Assert;
46 Assert.fail("unexpected InterruptedException");
56 Assert.fail("unexpected timeout");
70 Assert.fail(message.toString());
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
WorkDir.java 23 import junit.framework.Assert;
27 Assert.assertEquals(Environment.getExternalStorageState(), Environment.MEDIA_MOUNTED);
  /development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
TestHelper.java 19 import org.junit.Assert;
33 Assert.assertEquals(
SignatureSourcerTest.java 21 import org.junit.Assert;
51 Assert.assertEquals(
63 Assert.assertEquals(
75 Assert.assertNotNull(params);
79 Assert.assertArrayEquals(
89 Assert.assertTrue(mSourcer.hasFormalsContent());
92 Assert.assertEquals(
102 Assert.assertTrue(mSourcer.hasFormalsContent());
105 Assert.assertEquals(
116 Assert.assertTrue(mSourcer.hasFormalsContent())
    [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/text/src/android/text/method/cts/
TextMethodUtils.java 21 import junit.framework.Assert;
25 * Assert that two char arrays are equal.
33 Assert.fail("the char arrays are not equal");
36 Assert.assertEquals(String.valueOf(expected), String.valueOf(actual));
  /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)
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
PollingCheck.java 21 import junit.framework.Assert;
47 Assert.fail("unexpected InterruptedException");
57 Assert.fail("unexpected timeout");
71 Assert.fail(message.toString());
  /cts/tests/tests/content/src/android/content/res/cts/
PluralResourcesTest.java 21 import junit.framework.Assert;
58 Assert.assertEquals(cs.toString(), "Some dogs");
64 Assert.assertEquals(cs.toString(), "A dog");
67 Assert.assertEquals(cs.toString(), "Some dogs");
70 Assert.assertEquals(cs.toString(), "Some dogs");
73 Assert.assertEquals(cs.toString(), "Some dogs");
85 Assert.assertEquals(cs.toString(), "Some Czech dogs");
91 Assert.assertEquals(cs.toString(), "A Czech dog");
97 Assert.assertEquals(cs.toString(), "Few Czech dogs");
100 Assert.assertEquals(cs.toString(), "Some Czech dogs")
    [all...]
  /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!");
  /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));
  /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());

Completed in 477 milliseconds

1 2 3 4 5 6 7 8 91011>>