/external/mockito/src/org/mockito/internal/util/reflection/ |
GenericMaster.java | 22 Type actual = ((ParameterizedType) generic).getActualTypeArguments()[0];
local 23 if (actual instanceof Class) {
24 return (Class) actual;
25 } else if (actual instanceof ParameterizedType) {
27 return (Class) ((ParameterizedType) actual).getRawType();
|
/external/chromium_org/components/autofill/core/common/ |
form_field_data.h | 53 #define EXPECT_FORM_FIELD_DATA_EQUALS(expected, actual) \ 55 EXPECT_EQ(expected.label, actual.label); \ 56 EXPECT_EQ(expected.name, actual.name); \ 57 EXPECT_EQ(expected.value, actual.value); \ 58 EXPECT_EQ(expected.form_control_type, actual.form_control_type); \ 59 EXPECT_EQ(expected.autocomplete_attribute, actual.autocomplete_attribute); \ 60 EXPECT_EQ(expected.max_length, actual.max_length); \ 61 EXPECT_EQ(expected.is_autofilled, actual.is_autofilled); \ 62 EXPECT_EQ(expected.is_checked, actual.is_checked); \ 63 EXPECT_EQ(expected.is_checkable, actual.is_checkable); [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
AutoTextTest.java | 30 String actual; local 44 actual = AutoText.get(src, 0, src.length(), view); 45 assertNull(actual); 50 actual = AutoText.get(src, 0, src.length(), view); 51 assertNotNull(actual); 52 assertEquals("can", actual); 59 actual = AutoText.get(src, 0, src.length() + 1, view); 60 assertNull(actual); 67 actual = AutoText.get(src, 0, src.length() - 1, view); 68 assertNull(actual); [all...] |
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
OldCharset_SingleByteAbstractTest.java | 113 // static void assertEqualChars (String msg, char[] expected, char[] actual) { 115 // if (actual.length < len) len = actual.length; 117 // if (actual[i] != expected[i]) { 119 // i, (int) actual[i], (int) expected[i]); 123 //// i, (int) actual[i], (int) expected[i]); 126 // assertTrue(msg, Arrays.equals(actual, expected)); 129 static void assertEqualChars2 (String msg, char[] expected, char[] actual, byte[] bytes) { 133 if (actual.length < len) len = actual.length [all...] |
/external/chromium/testing/ |
gtest_mac.h | 23 id<NSObject> actual); 30 id<NSObject> actual); 35 // Tests that [expected isEqual:actual]. 36 #define EXPECT_NSEQ(expected, actual) \ 37 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNSEQ, expected, actual) 41 #define ASSERT_NSEQ(expected, actual) \ 42 ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperNSEQ, expected, actual)
|
/external/chromium_org/testing/ |
gtest_mac.h | 23 id<NSObject> actual); 30 id<NSObject> actual); 35 // Tests that [expected isEqual:actual]. 36 #define EXPECT_NSEQ(expected, actual) \ 37 EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNSEQ, expected, actual) 41 #define ASSERT_NSEQ(expected, actual) \ 42 ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperNSEQ, expected, actual)
|
/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
|
/cts/tools/vm-tests-tf/src/dot/junit/ |
DxTestCase.java | 26 static public void assertEquals(int expected, int actual) { 27 if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals"); 30 static public void assertEquals(long expected, long actual) { 31 if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals"); 34 static public void assertEquals(double expected, double actual, double delta) { 35 if(!(Math.abs(expected-actual) <= delta)) throw new RuntimeException("AssertionFailedError: not within delta"); 38 static public void assertEquals(Object expected, Object actual) { 39 if (expected == null && actual == null) 41 if (expected != null && expected.equals(actual))
|
/external/valgrind/main/exp-sgcheck/tests/ |
stackerr.stderr.exp-glibc27-x86 | 6 Address 0x........ expected vs actual: 8 Actual: stack array "beforea" of size 12 in frame 2 back from here 9 Actual: is 0 after Expected 13 Address 0x........ expected vs actual: 15 Actual: stack array "beforea" of size 12 in this frame 16 Actual: is 0 after Expected 22 Address 0x........ expected vs actual: 24 Actual: stack array "beforebuf" of size 8 in frame 4 back from here 25 Actual: is 0 after Expected
|
stackerr.stderr.exp-glibc28-amd64 | 6 Address 0x........ expected vs actual: 8 Actual: unknown 9 Actual: is 0 after Expected 13 Address 0x........ expected vs actual: 15 Actual: unknown 16 Actual: is 0 after Expected 22 Address 0x........ expected vs actual: 24 Actual: unknown 25 Actual: is 0 after Expected
|
/external/chromium/net/data/proxy_resolver_v8_unittest/ |
dns_fail.js | 23 function expectEq(expected, actual) { 24 if (expected != actual) 25 throw "Expected " + expected + " but was " + actual;
|
/external/chromium-libpac/test/js-unittest/ |
dns_fail.js | 23 function expectEq(expected, actual) { 24 if (expected != actual) 25 throw "Expected " + expected + " but was " + actual;
|
/external/chromium_org/net/data/proxy_resolver_v8_unittest/ |
dns_fail.js | 23 function expectEq(expected, actual) { 24 if (expected != actual) 25 throw "Expected " + expected + " but was " + actual;
|
/external/chromium_org/third_party/skia/src/svg/ |
SkSVG.cpp | 24 size_t actual = stream->read(data, size); variable 25 SkASSERT(size == actual); 27 return parser.parse(data, actual, &fErrorCode, &fErrorLineNumber);
|
/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));
|
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);
|
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);
|
StartsWith.java | 23 public boolean matches(Object actual) { 24 return actual != null && ((String) actual).startsWith(prefix);
|
/external/skia/src/svg/ |
SkSVG.cpp | 24 size_t actual = stream->read(data, size); variable 25 SkASSERT(size == actual); 27 return parser.parse(data, actual, &fErrorCode, &fErrorLineNumber);
|
/art/test/301-abstract-protected/ |
info.txt | 2 of an interface method; the RI only cares about the visibility of the actual
|
/dalvik/tests/301-abstract-protected/ |
info.txt | 2 of an interface method; the RI only cares about the visibility of the actual
|
/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/kernel-headers/original/asm-x86/ |
rwlock.h | 7 /* Actual code is in asm/spinlock.h or in arch/x86/lib/rwlock.S */
|