/external/chromium_org/tools/clang/scripts/ |
test_tool.py | 48 actual_files = ['-'.join([source_file.rsplit('-', 2)[0], 'actual.cc']) 58 for source, actual in zip(source_files, actual_files): 59 shutil.copyfile(source, actual) 82 for expected, actual in zip(expected_files, actual_files): 83 print '[ RUN ] %s' % os.path.relpath(actual) 87 with open(actual, 'r') as f: 90 print '[ FAILED ] %s' % os.path.relpath(actual) 94 tofile=os.path.relpath(actual)): 99 print '[ OK ] %s' % os.path.relpath(actual) 101 os.remove(actual) [all...] |
/external/icu/icu4c/source/test/intltest/ |
genderinfotest.cpp | 73 const GenderInfo* actual = GenderInfo::getInstance("xx", status); local 79 if (expected != actual) { 80 errln("For Neutral, expected %d got %d", expected, actual); 82 actual = GenderInfo::getInstance("fr_CA", status); 88 if (expected != actual) { 89 errln("For Male Taints, Expected %d got %d", expected, actual); 108 UGender actual = gi->getListGender(genderList, listLength, status); local 113 if (actual != expected) { 114 errln("For locale: %s expected: %d got %d", locale.getName(), expected, actual);
|
lrucachetest.cpp | 88 const UnicodeString &expected, const UnicodeString &actual); 253 void LRUCacheTest::verifyString(const UnicodeString &expected, const UnicodeString &actual) { 254 if (expected != actual) { 255 errln(UnicodeString("Expected '") + expected + "', got '"+ actual+"'"); local 260 int32_t actual = ptr->getRefCount(); local 261 if (count != actual) { 262 errln("Main reference count wrong: Expected %d, got %d", count, actual); 264 actual = ptr->localeNamePtr.count(); 265 if (nameCount != actual) { 266 errln("name reference count wrong: Expected %d, got %d", nameCount, actual); [all...] |
/hardware/libhardware/modules/sensors/tests/ |
SensorEventQueue_test.cpp | 18 int actual = queue->getWritableRegion(requested, &buffer); local 19 if (actual != expected) { 20 printf("Expected buffer size was %d; actual was %d\n", expected, actual); 27 int actual = queue->getSize(); local 28 if (actual != expected) { 29 printf("Expected queue size was %d; actual was %d\n", expected, actual); 35 bool checkInt(char* msg, int expected, int actual) { 36 if (actual != expected) [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
NameLookupBuilderTest.java | 228 String actual = mBuilder.inserted(); local 231 assertTrue(actual.contains("(0:Jo.Jeffrey.John.Jessy.Longname)")); 234 assertTrue(actual.contains("(2:JoJeffreyJohnJessyLongname)")); 237 assertTrue(actual.contains("(1:Longname.Jeffrey.Jessy.John)")); 240 assertTrue(actual.contains("(2:Jo")); 241 assertTrue(actual.contains("(2:Jeffrey")); 242 assertTrue(actual.contains("(2:John")); 243 assertTrue(actual.contains("(2:Jessy")); 244 assertTrue(actual.contains("(2:Longname"));
|
EvenMoreAsserts.java | 81 public static void assertImageRawData(Context context, byte[] expected, byte[] actual) { 83 if (expected.length != actual.length) { 85 " expected=" + expected.length + " actual=" + actual.length; 86 } else if (!Arrays.equals(expected, actual)) { 93 String actualFile = TestUtils.dumpToCacheDir(context, "actual", ".jpg", actual); 97 " actual dimentions=" + getImageDimensions(actual) +
|
/external/chromium_org/build/android/pylib/ |
android_commands_unittest.py | 92 actual = self.ac.GetFilesChanged(self.host_data_dir, self.device_data_dir) 93 self.assertSequenceEqual(expected, actual) 104 actual = self.ac.GetFilesChanged(self.host_data_dir, self.device_data_dir) 105 self.assertSequenceEqual(expected, actual) 114 actual = self.ac.GetFilesChanged(self.host_data_dir, self.device_data_dir) 115 self.assertSequenceEqual(expected, actual) 131 actual = self.ac.GetFilesChanged(self.host_data_dir, self.device_data_dir, 133 self.assertSequenceEqual(expected, actual) 137 actual = self.ac.GetFilesChanged(self.host_data_dir, self.device_data_dir) 138 self.assertSequenceEqual(expected, actual) [all...] |
/art/test/004-UnsafeTest/src/ |
Main.java | 25 private static void check(int actual, int expected, String msg) { 26 if (actual != expected) { 27 System.out.println(msg + " : " + actual + " != " + expected); 32 private static void check(long actual, long expected, String msg) { 33 if (actual != expected) { 34 System.out.println(msg + " : " + actual + " != " + expected);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/ |
layouttestresults_unittest.py | 46 "actual": "TEXT", 51 "actual": "PASS", 56 "actual": "PASS TEXT", 61 "actual": "IMAGE+TEXT" 65 "actual": "IMAGE PASS", 74 "actual": "IMAGE",
|
/external/junit/src/junit/framework/ |
ComparisonCompactor.java | 19 public ComparisonCompactor(int contextLength, String expected, String actual) { 22 fActual= actual; 34 String actual= compactString(fActual); local 36 return format(message, expected, actual); 81 private static String format(String message, Object expected, Object actual) { 85 return formatted+"expected:<"+expected+"> but was:<"+actual+">";
|
/external/junit/src/org/junit/ |
ComparisonFailure.java | 25 * @param actual the actual string value 27 public ComparisonFailure (String message, String expected, String actual) { 30 fActual= actual; 35 * place of common suffix between expected and actual. 45 * Returns the actual string value 46 * @return the actual string value 65 * The maximum length for <code>expected</code> and <code>actual</code>. When <code>contextLength</code> 75 * @param contextLength the maximum length for <code>expected</code> and <code>actual</code>. When contextLength 78 * @param actual the actual string valu 93 String actual= compactString(fActual); local [all...] |
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
HtmlLexerTest.java | 50 StringBuilder actual = new StringBuilder(); local 51 lex(input, actual); 59 assertEquals(golden, actual.toString()); 150 List<String> actual = Lists.newArrayList(); local 153 actual.add(t.type + ": " + markup.substring(t.start, t.end)); 155 assertEquals(Arrays.asList(golden), actual); local
|
/frameworks/av/media/libnbaio/ |
SourceAudioBufferProvider.cpp | 68 ssize_t actual = mSource->read(mAllocated, buffer->frameCount, pts); local 69 if (actual > 0) { 70 ALOG_ASSERT((size_t) actual <= buffer->frameCount); 72 mRemaining = actual; 74 buffer->frameCount = actual; 75 mGetCount = actual;
|
/packages/apps/Email/tests/src/com/android/email/ |
LegacyConversionsTests.java | 283 * Compare attachment that was converted from Part (expected) to Provider Attachment (actual) 288 private void checkAttachment(String tag, Part expected, EmailContent.Attachment actual, 292 assertEquals(tag, expected.getMimeType(), actual.mMimeType); 297 assertEquals(tag, expectedSize, actual.mSize); 298 assertEquals(tag, expected.getContentId(), actual.mContentId); 302 assertEquals(tag, expectedName, actual.mFileName); 305 assertNull(tag, actual.getContentUri()); 307 assertTrue(tag, 0 != actual.mMessageKey); 315 assertEquals(tag, expectedPartId, actual.mLocation); 316 assertEquals(tag, "B", actual.mEncoding) [all...] |
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
ImapTestUtils.java | 45 public static final void assertElement(ImapElement expected, ImapElement actual) { 46 assertElement("(no message)", expected, actual); 55 ImapElement actual) { 56 if (expected == null && actual == null) { 59 if (expected != null && expected.equalsForTest(actual)) { 62 Assert.fail(String.format("%s expected=%s\nactual=%s", message, expected, actual));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
DoubleTest.java | 633 double actual; local 761 double actual = Double.parseDouble(inputString); local 822 double actual = Double.parseDouble(inputString); local 886 double actual = Double.parseDouble(inputs[i]); local 950 double actual = Double.parseDouble(inputs[i]); local 1014 double actual = Double.parseDouble(inputs[i]); local 1078 double actual = Double.parseDouble(inputs[i]); local 1125 double actual = Double.parseDouble(inputs[i]); local [all...] |
/cts/tests/tests/nativeopengl/standalone/jni/tests/ |
GLTest_test.cpp | 155 bool checkPixel(GLubyte * actual, GLubyte * expected, int tolerance) { 157 if (abs(actual[i] - expected[i]) > tolerance) { 165 const char* e_expr, const char* t_expr, GLubyte * actual, 168 if (checkPixel(actual, expected, tolerance)) { 174 << "Actual: r=" << (int)actual[0] << " g=" << (int)actual[1] 175 << " b=" << (int)actual[2] << " a=" << (int)actual[3] << "\n"
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
TransformationTest.java | 72 private void assertTransformationNotSame(Transformation expected, Transformation actual) { 73 assertNotSame(expected.getAlpha(), actual.getAlpha()); 74 assertFalse(expected.getMatrix().equals(actual.getMatrix())); 75 assertNotSame(expected.getTransformationType(), actual.getTransformationType()); 78 private void assertTransformationEquals(Transformation expected, Transformation actual) { 79 assertEquals(expected.getAlpha(), actual.getAlpha()); 80 assertEquals(expected.getMatrix(), actual.getMatrix()); 81 assertEquals(expected.getTransformationType(), actual.getTransformationType());
|
/development/samples/training/testingfun/app/tests/src/com/example/android/testingfun/tests/lesson2/ |
MyFirstTestActivityTest.java | 67 final String actual = mFirstTestText.getText().toString(); local 68 assertEquals("mFirstTestText contains wrong text", expected, actual);
|
/external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/ |
junit.stg | 51 Object actual = examineExecResult(<tokenType>, retval); 54 assertEquals("testing rule "+<testTreeRuleName>, expecting, actual); 71 Object actual = examineExecResult(<tokenType>, retval); 74 assertEquals("testing rule "+<testRuleName>, expecting, actual);
|
/external/chromium_org/chrome/browser/ |
chrome_service_worker_browsertest.cc | 43 bool actual) { 44 EXPECT_EQ(expected, actual);
|
/external/chromium_org/chrome/browser/metrics/variations/ |
generate_resources_map_unittest.py | 86 actual = generate_resources_map._GenerateFileContent(self.TEST_INPUT) 88 self.assertEqual(expected, actual)
|
/external/chromium_org/content/browser/service_worker/ |
service_worker_test_utils.h | 17 Arg* out, Arg actual) { 18 *out = actual;
|
/external/chromium_org/content/child/ |
assert_matching_enums.cc | 17 #define COMPILE_ASSERT_MATCHING_ENUM(expected, actual) \ 18 COMPILE_ASSERT(int(expected) == int(actual), mismatching_enums)
|
/external/chromium_org/net/websockets/ |
websocket_net_log_params_test.cc | 45 scoped_ptr<base::Value> actual( 49 EXPECT_TRUE(expected.Equals(actual.get()));
|