/external/chromium/chrome/browser/ui/cocoa/ |
cocoa_test_helper.h | 131 #define CGFLOAT_EQ(expected, actual) \ 132 (actual >= (expected - CGFLOAT_EPSILON) && \ 133 actual <= (expected + CGFLOAT_EPSILON)) 136 #define EXPECT_CGFLOAT_EQ(expected, actual) \ 137 EXPECT_TRUE(CGFLOAT_EQ(expected, actual)) << \ 138 expected << " != " << actual 142 #define EXPECT_NSRECT_EQ(expected, actual) \ 143 EXPECT_TRUE(CGFLOAT_EQ(expected.origin.x, actual.origin.x) && \ 144 CGFLOAT_EQ(expected.origin.y, actual.origin.y) && \ 145 CGFLOAT_EQ(expected.size.width, actual.size.width) && [all...] |
/external/chromium_org/ui/base/test/ |
ui_cocoa_test_helper.h | 129 #define CGFLOAT_EQ(expected, actual) \ 130 (actual >= (expected - CGFLOAT_EPSILON) && \ 131 actual <= (expected + CGFLOAT_EPSILON)) 134 #define EXPECT_CGFLOAT_EQ(expected, actual) \ 135 EXPECT_TRUE(CGFLOAT_EQ(expected, actual)) << \ 136 expected << " != " << actual 140 #define EXPECT_NSRECT_EQ(expected, actual) \ 141 EXPECT_TRUE(CGFLOAT_EQ(expected.origin.x, actual.origin.x) && \ 142 CGFLOAT_EQ(expected.origin.y, actual.origin.y) && \ 143 CGFLOAT_EQ(expected.size.width, actual.size.width) && [all...] |
/external/easymock/src/org/easymock/internal/matchers/ |
Contains.java | 32 public boolean matches(Object actual) {
33 return (actual instanceof String)
34 && ((String) actual).indexOf(substring) >= 0;
|
EndsWith.java | 32 public boolean matches(Object actual) {
33 return (actual instanceof String) && ((String) actual).endsWith(suffix);
|
InstanceOf.java | 32 public boolean matches(Object actual) {
33 return (actual != null) && clazz.isAssignableFrom(actual.getClass());
|
Matches.java | 32 public boolean matches(Object actual) {
33 return (actual instanceof String) && ((String) actual).matches(regex);
|
StartsWith.java | 32 public boolean matches(Object actual) {
33 return (actual instanceof String)
34 && ((String) actual).startsWith(prefix);
|
/external/junit/src/org/junit/internal/ |
InexactComparisonCriteria.java | 13 protected void assertElementsEqual(Object expected, Object actual) { 15 Assert.assertEquals((Double)expected, (Double)actual, fDelta); 17 Assert.assertEquals((Float)expected, (Float)actual, fDelta);
|
/external/mockito/src/org/mockito/internal/matchers/ |
Contains.java | 23 public boolean matches(Object actual) { 24 return actual != null && ((String) actual).contains(substring);
|
EndsWith.java | 23 public boolean matches(Object actual) { 24 return actual != null && ((String) actual).endsWith(suffix);
|
StartsWith.java | 23 public boolean matches(Object actual) { 24 return actual != null && ((String) actual).startsWith(prefix);
|
/cts/tests/src/android/text/method/cts/ |
TextMethodUtils.java | 28 * @param actual the actual char array. 30 public static void assertEquals(char[] expected, char[] actual) { 31 if (expected != actual) { 32 if (expected == null || actual == null) { 36 Assert.assertEquals(String.valueOf(expected), String.valueOf(actual));
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
Path_DirectionTest.java | 36 Direction[] actual = Direction.values(); local 37 assertEquals(expected.length, actual.length); 38 for (int i = 0; i < actual.length; i ++) { 39 assertEquals(expected[i], actual[i]);
|
/external/chromium_org/third_party/icu/source/common/ |
locbased.h | 52 * object. Either the valid or the actual locale may be 62 * object. Either the valid or the actual locale may be 74 * @param actual the ID of the actual locale 76 void setLocaleIDs(const char* valid, const char* actual); 82 char* actual; member in class:LocaleBased 86 valid(validAlias), actual(actualAlias) { 92 valid((char*)validAlias), actual((char*)actualAlias) {
|
/external/compiler-rt/test/Unit/ |
eqdf2vfp_test.c | 25 int actual = __eqdf2vfp(a, b); local 27 if (actual != expected) 29 a, b, actual, expected); 30 return actual != expected;
|
gedf2vfp_test.c | 25 int actual = __gedf2vfp(a, b); local 27 if (actual != expected) 29 a, b, actual, expected); 30 return actual != expected;
|
gesf2vfp_test.c | 25 int actual = __gesf2vfp(a, b); local 27 if (actual != expected) 29 a, b, actual, expected); 30 return actual != expected;
|
gtdf2vfp_test.c | 25 int actual = __gtdf2vfp(a, b); local 27 if (actual != expected) 29 a, b, actual, expected); 30 return actual != expected;
|
gtsf2vfp_test.c | 25 int actual = __gtsf2vfp(a, b); local 27 if (actual != expected) 29 a, b, actual, expected); 30 return actual != expected;
|
ledf2vfp_test.c | 25 int actual = __ledf2vfp(a, b); local 27 if (actual != expected) 29 a, b, actual, expected); 30 return actual != expected;
|
lesf2vfp_test.c | 25 int actual = __lesf2vfp(a, b); local 27 if (actual != expected) 29 a, b, actual, expected); 30 return actual != expected;
|
ltsf2vfp_test.c | 25 int actual = __ltsf2vfp(a, b); local 27 if (actual != expected) 29 a, b, actual, expected); 30 return actual != expected;
|
unorddf2vfp_test.c | 25 int actual = __unorddf2vfp(a, b); local 27 if (actual != expected) 29 a, b, actual, expected); 30 return actual != expected;
|
unordsf2vfp_test.c | 25 int actual = __unordsf2vfp(a, b); local 27 if (actual != expected) 29 a, b, actual, expected); 30 return actual != expected;
|
/external/easymock/src/org/easymock/ |
ArgumentsMatcher.java | 39 * @param actual
40 * the actual arguments.
43 boolean matches(Object[] expected, Object[] actual);
|