/external/easymock/src/org/easymock/internal/matchers/ |
CompareTo.java | 33 public boolean matches(Object actual) {
35 if(!(actual instanceof Comparable)) {
39 return matchResult(((Comparable) actual).compareTo(expected));
|
Find.java | 33 public boolean matches(Object actual) {
34 return (actual instanceof String)
35 && Pattern.compile(regex).matcher((String) actual).find();
|
Not.java | 32 public boolean matches(Object actual) {
33 return !first.matches(actual);
|
/external/gtest/test/ |
gtest_uninitialized_test.py | 47 def AssertEq(expected, actual): 48 if expected != actual: 50 print ' Actual: %s' % (actual,)
|
/external/mockito/src/org/mockito/internal/matchers/ |
CompareTo.java | 20 public boolean matches(Object actual) { 22 if(!(actual instanceof Comparable)) { 26 return matchResult(((Comparable) actual).compareTo(wanted));
|
Find.java | 23 public boolean matches(Object actual) { 24 return actual != null && Pattern.compile(regex).matcher((String) actual).find();
|
InstanceOf.java | 23 public boolean matches(Object actual) { 24 return (actual != null) && clazz.isAssignableFrom(actual.getClass());
|
Matches.java | 23 public boolean matches(Object actual) { 24 return (actual instanceof String) && ((String) actual).matches(regex);
|
EqualsWithDelta.java | 26 public boolean matches(Object actual) { 27 Number actualNumber = (Number) actual; 28 if (wanted == null ^ actual == null) { 32 if (wanted == null && actual == null) {
|
NotNull.java | 23 public boolean matches(Object actual) { 24 return actual != null;
|
Null.java | 22 public boolean matches(Object actual) { 23 return actual == null;
|
/external/protobuf/gtest/test/ |
gtest_uninitialized_test.py | 47 def AssertEq(expected, actual): 48 if expected != actual: 50 print ' Actual: %s' % (actual,)
|
/frameworks/av/media/libnbaio/ |
LibsndfileSink.cpp | 45 sf_count_t actual = sf_writef_short(mSndfile, (short *) buffer, (sf_count_t) count); local 46 mFramesWritten += actual; 47 return actual;
|
/ndk/sources/third_party/googletest/googletest/test/ |
gtest_uninitialized_test.py | 47 def AssertEq(expected, actual): 48 if expected != actual: 50 print ' Actual: %s' % (actual,)
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathDashPathEffect_StyleTest.java | 39 Style[] actual = Style.values(); local 40 assertEquals(expected.length, actual.length); 41 for (int i = 0; i < actual.length; i ++) { 42 assertEquals(expected[i], actual[i]);
|
Path_FillTypeTest.java | 40 FillType[] actual = FillType.values(); local 41 assertEquals(expected.length, actual.length); 42 for (int i = 0; i < actual.length; i ++) { 43 assertEquals(expected[i], actual[i]);
|
/external/droiddriver/src/com/google/android/droiddriver/finders/ |
MatchStrategy.java | 24 * @return true if actual matches expected 26 boolean match(T expected, T actual);
|
/external/easymock/src/org/easymock/internal/ |
AlwaysMatcher.java | 25 public boolean matches(Object[] expected, Object[] actual) {
|
/external/guava/guava-tests/test/com/google/common/io/ |
LittleEndianDataOutputStreamTest.java | 129 byte[] actual = new byte[12]; 130 in.readFully(actual); 131 assertEquals('r', actual[0]); 132 assertEquals(0, actual[1]); 133 assertEquals((byte) 0xC9, actual[2]); 134 assertEquals(0, actual[3]); 135 assertEquals('s', actual[4]); 136 assertEquals(0, actual[5]); 137 assertEquals('u', actual[6]); 138 assertEquals(0, actual[7]) [all...] |
/external/icu4c/test/cintltst/ |
cgendtst.c | 38 UGender actual; local 43 actual = ugender_getListGender(actual_gi, kAllFemale, LENGTHOF(kAllFemale), &status); 48 if (actual != UGENDER_FEMALE) { 49 log_err("Expected UGENDER_FEMALE got %d\n", actual);
|
/external/openssh/regress/ |
host-expand.sh | 15 ${SSH} -F $OBJ/ssh_proxy -$p somehost true >$OBJ/actual 16 diff $OBJ/expect $OBJ/actual || fail "$tid proto $p"
|
/external/chromium_org/third_party/angle/tests/preprocessor_tests/ |
PreprocessorTest.cpp | 27 std::string actual = stream.str(); local 28 EXPECT_STREQ(expected, actual.c_str());
|
/external/junit/src/junit/framework/ |
ComparisonFailure.java | 19 * @param actual the actual string value 21 public ComparisonFailure (String message, String expected, String actual) { 24 fActual= actual; 29 * place of common suffix between expected and actual. 39 * Gets the actual string value 40 * @return the actual string value
|
/libcore/json/src/main/java/org/json/ |
JSON.java | 95 public static JSONException typeMismatch(Object indexOrName, Object actual, 97 if (actual == null) { 100 throw new JSONException("Value " + actual + " at " + indexOrName 101 + " of type " + actual.getClass().getName() 106 public static JSONException typeMismatch(Object actual, String requiredType) 108 if (actual == null) { 111 throw new JSONException("Value " + actual 112 + " of type " + actual.getClass().getName()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PermissionInfoTest.java | 54 private void checkInfoSame(PermissionInfo expected, PermissionInfo actual) { 55 assertEquals(expected.name, actual.name); 56 assertEquals(expected.group, actual.group); 57 assertEquals(expected.descriptionRes, actual.descriptionRes); 58 assertEquals(expected.protectionLevel, actual.protectionLevel); 59 assertEquals(expected.nonLocalizedDescription, actual.nonLocalizedDescription);
|