/cts/tests/tests/content/src/android/content/pm/cts/ |
ConfigurationInfoTest.java | 54 private void checkInfoSame(ConfigurationInfo expected, ConfigurationInfo actual) { 55 assertEquals(expected.reqKeyboardType, actual.reqKeyboardType); 56 assertEquals(expected.reqTouchScreen, actual.reqTouchScreen); 57 assertEquals(expected.reqInputFeatures, actual.reqInputFeatures); 58 assertEquals(expected.reqNavigation, actual.reqNavigation);
|
PackageStatsTest.java | 56 private void checkInfoSame(PackageStats expected, PackageStats actual) { 57 assertEquals(expected.packageName, actual.packageName); 58 assertEquals(expected.cacheSize, actual.cacheSize); 59 assertEquals(expected.dataSize, actual.dataSize); 60 assertEquals(expected.codeSize, actual.codeSize);
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
AbstractTest.java | 46 // return an escaped string of the expected result 48 String expected = getExpected(); local 49 if ( expected!=null ) expected = JUnitCodeGen.escapeForJava(expected); 50 return expected;
|
/external/autotest/client/site_tests/hardware_TPMCheck/ |
hardware_TPMCheck.py | 11 # Expected results of 'tpmc getX' commands. 41 def check_tpmc(subcommand, expected): 42 """Runs tpmc command and checks the output against an expected result. 44 The expected results take 2 different forms: 49 @param expected: Either a String re or the set of expected tuples. 50 @raises error.TestError() for invalidly matching expected. 53 if isinstance(expected, str): 55 if (not re.match(expected, out)): 59 if set(expected) <= result_set [all...] |
/external/autotest/client/site_tests/touch_TouchscreenScroll/ |
touch_TouchscreenScroll.py | 22 def _check_scroll_direction(self, filepath, expected): 26 @param expected: String, expected direction in which test page scroll 29 @raises TestFail if actual scrolling did not match expected. 32 is_vertical = expected == 'up' or expected == 'down' 33 is_down_or_right = expected == 'down' or expected == 'right'
|
/external/chromium-trace/catapult/perf_insights/third_party/cloudstorage/ |
errors.py | 96 def check_status(status, expected, path, headers=None, 98 """Check HTTP response status is expected. 102 expected: a list of expected statuses. A list of ints. 111 NotFoundError: if an object that's expected to exist doesn't. 116 if status in expected: 125 (expected, status, path, headers, resp_headers, body, extras)) 137 elif (status == httplib.OK and 308 in expected and 138 httplib.OK not in expected):
|
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/ |
has_denorm.pass.cpp | 16 template <class T, std::float_denorm_style expected> 20 static_assert(std::numeric_limits<T>::has_denorm == expected, "has_denorm test 1"); 21 static_assert(std::numeric_limits<const T>::has_denorm == expected, "has_denorm test 2"); 22 static_assert(std::numeric_limits<volatile T>::has_denorm == expected, "has_denorm test 3"); 23 static_assert(std::numeric_limits<const volatile T>::has_denorm == expected, "has_denorm test 4");
|
lowest.pass.cpp | 22 test(T expected) 24 assert(std::numeric_limits<T>::lowest() == expected); 26 assert(std::numeric_limits<const T>::lowest() == expected); 28 assert(std::numeric_limits<volatile T>::lowest() == expected); 30 assert(std::numeric_limits<const volatile T>::lowest() == expected);
|
max.pass.cpp | 22 test(T expected) 24 assert(std::numeric_limits<T>::max() == expected); 26 assert(std::numeric_limits<const T>::max() == expected); 28 assert(std::numeric_limits<volatile T>::max() == expected); 30 assert(std::numeric_limits<const volatile T>::max() == expected);
|
min.pass.cpp | 22 test(T expected) 24 assert(std::numeric_limits<T>::min() == expected); 26 assert(std::numeric_limits<const T>::min() == expected); 28 assert(std::numeric_limits<volatile T>::min() == expected); 30 assert(std::numeric_limits<const volatile T>::min() == expected);
|
round_style.pass.cpp | 16 template <class T, std::float_round_style expected> 20 static_assert(std::numeric_limits<T>::round_style == expected, "round_style test 1"); 21 static_assert(std::numeric_limits<const T>::round_style == expected, "round_style test 2"); 22 static_assert(std::numeric_limits<volatile T>::round_style == expected, "round_style test 3"); 23 static_assert(std::numeric_limits<const volatile T>::round_style == expected, "round_style test 4");
|
/external/smali/util/src/test/java/org/jf/util/ |
StringWrapperTest.java | 105 public static void validateResult(String[] expected, String[] actual) { 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]);
|
/external/testng/src/test/java/test/ |
BaseDistributedTest.java | 13 Map expected = new HashMap(); local 15 expected.put(element, element); 18 Assert.assertEquals(found.size(), expected.size(), 21 for (Object o : expected.values()) { 24 dumpMap("Expected", expected); 29 "Expected to find method " + name + " in " + title
|
/external/valgrind/helgrind/tests/ |
annotate_hbefore.c | 27 UWord do_acasW ( UWord* addr, UWord expected, UWord nyu ) 39 /* If the old value isn't as expected, we've had it */ 40 if (old != expected) return 0; 60 UWord do_acasW ( UWord* addr, UWord expected, UWord nyu ) 72 /* If the old value isn't as expected, we've had it */ 73 if (old != expected) return 0; 93 UWord do_acasW ( UWord* addr, UWord expected, UWord nyu ) 95 UWord block[4] = { (UWord)addr, expected, nyu, 2 }; 98 "movq 8(%%rsi), %%rax" "\n\t" // expected 116 UWord do_acasW ( UWord* addr, UWord expected, UWord nyu [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
SSLTest.java | 53 byte[] expected = { 57 assertTrue(Arrays.equals(expected, SSLCertificateSocketFactory.toLengthPrefixedList( 66 } catch (IllegalArgumentException expected) { 74 } catch (IllegalArgumentException expected) { 82 } catch (IllegalArgumentException expected) {
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_namednodemapreturnfirstitem.java | 75 java.util.Collection expected = new java.util.ArrayList(); local 76 expected.add("title"); 77 expected.add("class"); 78 expected.add("dir"); 95 assertEquals("attrName", expected, actual);
|
hc_namednodemapreturnlastitem.java | 77 java.util.Collection expected = new java.util.ArrayList(); local 78 expected.add("title"); 79 expected.add("class"); 80 expected.add("dir"); 97 assertEquals("attrName", expected, actual);
|
hc_nodecloneattributescopied.java | 75 java.util.Collection expected = new java.util.ArrayList(); local 76 expected.add("class"); 77 expected.add("title"); 78 expected.add("dir"); 94 assertEquals("nodeNames", expected, result);
|
hc_nodeelementnodeattributes.java | 72 java.util.Collection expected = new java.util.ArrayList(); local 73 expected.add("title"); 74 expected.add("class"); 75 expected.add("dir"); 90 assertEquals("attrNames", expected, attrList);
|
/libcore/luni/src/test/java/libcore/java/util/ |
ServiceLoaderTest.java | 46 } catch (ServiceConfigurationError expected) { 47 assertTrue(expected.getCause() instanceof ClassNotFoundException); 57 } catch (ServiceConfigurationError expected) { 58 assertTrue(expected.getCause() instanceof ClassCastException); 67 } catch (ServiceConfigurationError expected) {
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/limits/numeric.limits.members/ |
has_denorm.pass.cpp | 16 template <class T, std::float_denorm_style expected> 20 static_assert(std::numeric_limits<T>::has_denorm == expected, "has_denorm test 1"); 21 static_assert(std::numeric_limits<const T>::has_denorm == expected, "has_denorm test 2"); 22 static_assert(std::numeric_limits<volatile T>::has_denorm == expected, "has_denorm test 3"); 23 static_assert(std::numeric_limits<const volatile T>::has_denorm == expected, "has_denorm test 4");
|
lowest.pass.cpp | 22 test(T expected) 24 assert(std::numeric_limits<T>::lowest() == expected); 26 assert(std::numeric_limits<const T>::lowest() == expected); 28 assert(std::numeric_limits<volatile T>::lowest() == expected); 30 assert(std::numeric_limits<const volatile T>::lowest() == expected);
|
max.pass.cpp | 22 test(T expected) 24 assert(std::numeric_limits<T>::max() == expected); 26 assert(std::numeric_limits<const T>::max() == expected); 28 assert(std::numeric_limits<volatile T>::max() == expected); 30 assert(std::numeric_limits<const volatile T>::max() == expected);
|
min.pass.cpp | 22 test(T expected) 24 assert(std::numeric_limits<T>::min() == expected); 26 assert(std::numeric_limits<const T>::min() == expected); 28 assert(std::numeric_limits<volatile T>::min() == expected); 30 assert(std::numeric_limits<const volatile T>::min() == expected);
|
round_style.pass.cpp | 16 template <class T, std::float_round_style expected> 20 static_assert(std::numeric_limits<T>::round_style == expected, "round_style test 1"); 21 static_assert(std::numeric_limits<const T>::round_style == expected, "round_style test 2"); 22 static_assert(std::numeric_limits<volatile T>::round_style == expected, "round_style test 3"); 23 static_assert(std::numeric_limits<const volatile T>::round_style == expected, "round_style test 4");
|