/libcore/luni/src/test/java/tests/security/cert/ |
CertificateRevocationExceptionTest.java | 160 CertificateRevokedException actual = (CertificateRevokedException) deserialized; 162 assertEquals(expected.getInvalidityDate(), actual.getInvalidityDate()); 163 assertNotSame(expected.getInvalidityDate(), actual.getInvalidityDate()); 164 assertEquals(expected.getRevocationDate(), actual.getRevocationDate()); 165 assertNotSame(expected.getRevocationDate(), actual.getRevocationDate()); 167 assertEquals(expected.getAuthorityName(), actual.getAuthorityName()); 168 assertNotSame(expected.getAuthorityName(), actual.getAuthorityName()); 170 assertEquals(expected.getExtensions().size(), actual.getExtensions().size()); 171 assertEquals(expected.getExtensions().keySet(), actual.getExtensions().keySet());
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
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) +
|
/cts/tests/tests/content/src/android/content/cts/ |
ComponentNameTest.java | 94 String actual = getComponentName().getShortClassName(); local 95 assertEquals(".ComponentNameTest", actual); 103 actual = componentName.getShortClassName(); 105 assertEquals(".View", actual); 113 ComponentName actual = ComponentName.readFromParcel(parcel1); local 114 assertEquals(expected, actual); 123 final String actual = getComponentName().getPackageName(); local 124 assertEquals("android.content.cts", actual); 131 ComponentName actual = ComponentName.unflattenFromString(flattenString); local 132 assertEquals(componentName, actual); 137 String actual = getComponentName().flattenToShortString(); local [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
Assert.java | 106 public static void equals(final int expected, final int actual) { 107 if (expected != actual) { 108 fail("Expected " + expected + " but got " + actual, false); 112 public static void equals(final long expected, final long actual) { 113 if (expected != actual) { 114 fail("Expected " + expected + " but got " + actual, false); 118 public static void equals(final Object expected, final Object actual) { 119 if (expected != actual 120 && (expected == null || actual == null || !expected.equals(actual))) { [all...] |
/external/testng/src/main/java/org/testng/internal/junit/ |
ArrayAsserts.java | 18 * actual values 28 * <code>actual</code> are <code>null</code>, they are considered 36 * actual values 52 * byte array with actual values 66 * byte array with actual values 82 * char array with actual values 96 * char array with actual values 112 * short array with actual values 126 * short array with actual values 142 * int array with actual value [all...] |
/art/test/021-string2/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+">";
|
/art/test/082-inline-execute/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+">";
|
/device/generic/goldfish/camera/ |
EmulatedCamera.h | 42 * disconnection from the actual camera device is handled by calls to 126 /* Actual handler for camera_device_ops_t::set_preview_window callback. 132 /* Actual handler for camera_device_ops_t::set_callbacks callback. 141 /* Actual handler for camera_device_ops_t::enable_msg_type callback. 146 /* Actual handler for camera_device_ops_t::disable_msg_type callback. 151 /* Actual handler for camera_device_ops_t::msg_type_enabled callback. 158 /* Actual handler for camera_device_ops_t::start_preview callback. 164 /* Actual handler for camera_device_ops_t::stop_preview callback. 169 /* Actual handler for camera_device_ops_t::preview_enabled callback. 176 /* Actual handler for camera_device_ops_t::store_meta_data_in_buffers callback [all...] |
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/ |
IsArray.java | 32 public void describeMismatchSafely(T[] actual, Description mismatchDescription) { 33 if (actual.length != elementMatchers.length) { 34 mismatchDescription.appendText("array length was ").appendValue(actual.length); 37 for (int i = 0; i < actual.length; i++) { 38 if (!elementMatchers[i].matches(actual[i])) { 40 elementMatchers[i].describeMismatch(actual[i], mismatchDescription);
|
/external/valgrind/exp-sgcheck/tests/ |
bad_percentify.stderr.exp-glibc28-amd64 | 9 Address 0x........ expected vs actual: 11 Actual: unknown 12 Actual: is 0 after Expected 24 Address 0x........ expected vs actual: 26 Actual: unknown 27 Actual: is 0 after Expected
|
/frameworks/base/legacy-test/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+">";
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
GenericReflectionTestsBase.java | 65 public static void assertInstanceOf(Class<?> expectedClass, Object actual) { 66 TestCase.assertTrue(actual.getClass().getName() + " is not instance of :" + expectedClass.getName(), expectedClass 67 .isInstance(actual)); 70 public static void assertNotEquals(Object expected, Object actual) { 71 TestCase.assertFalse(actual.toString() + " has not to be equal to " + expected.toString(), expected.equals(actual));
|
/system/nvram/core/tests/ |
gtest_stubs.h | 40 #define ASSERT_EQ(expected, actual) ASSERT_MSG(expected == actual) 48 #define EXPECT_EQ(expected, actual) EXPECT_MSG((expected) == (actual)) 49 #define EXPECT_NE(expected, actual) EXPECT_MSG((expected) != (actual))
|
/external/minijail/ |
syscall_filter_unittest.cc | 1053 struct sock_fprog actual; local 1063 int res = compile_filter(policy_file, &actual, USE_RET_KILL, NO_LOGGING); 1072 EXPECT_EQ(actual.len, 13); 1073 EXPECT_ARCH_VALIDATION(actual.filter); 1074 EXPECT_EQ_STMT(actual.filter + ARCH_VALIDATION_LEN, 1077 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 1, __NR_read); 1078 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 3, __NR_write); 1079 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 5, 1081 EXPECT_ALLOW_SYSCALL(actual.filter + ARCH_VALIDATION_LEN + 7, __NR_exit); 1082 EXPECT_EQ_STMT(actual.filter + ARCH_VALIDATION_LEN + 9 1090 struct sock_fprog actual; local 1128 struct sock_fprog actual; local 1173 struct sock_fprog actual; local 1185 struct sock_fprog actual; local 1197 struct sock_fprog actual; local 1209 struct sock_fprog actual; local 1221 struct sock_fprog actual; local 1227 struct sock_fprog actual; local 1273 struct sock_fprog actual; local 1319 struct sock_fprog actual; local 1331 struct sock_fprog actual; local 1342 struct sock_fprog actual; local 1353 struct sock_fprog actual; local 1364 struct sock_fprog actual; local 1376 struct sock_fprog actual; local 1388 struct sock_fprog actual; local 1400 struct sock_fprog actual; local 1412 struct sock_fprog actual; local 1487 struct sock_fprog actual; local 1510 struct sock_fprog actual; local 1534 struct sock_fprog actual; local [all...] |
/external/testng/src/main/java/org/testng/ |
FileAssert.java | 80 long actual=-1L; local 82 actual=tstvalue.isDirectory()?tstvalue.list().length:tstvalue.length(); 84 failSecurity(e,tstvalue,String.valueOf(actual),String.valueOf(expected), message); 86 if(actual!=expected) { 87 failFile(tstvalue,String.valueOf(actual),String.valueOf(expected), message); 106 long actual=-1L; local 108 actual=tstvalue.isDirectory()?tstvalue.list().length:tstvalue.length(); 110 failSecurity(e,tstvalue,String.valueOf(actual),"at least "+String.valueOf(expected), message); 112 if(actual<expected) { 113 failFile(tstvalue,String.valueOf(actual),"at least "+String.valueOf(expected), message) 132 long actual=-1L; local [all...] |
/frameworks/base/tools/aapt2/java/ |
ManifestClassGenerator_test.cpp | 52 std::string actual; 53 ASSERT_TRUE(GetManifestClassText(context.get(), manifest.get(), &actual)); 56 actual.find("public static final class permission {"); 58 actual.find("public static final class permission_group {"); 66 size_t pos = actual.find( 72 pos = actual.find( 78 pos = actual.find( 87 pos = actual.find( 109 std::string actual; 110 ASSERT_TRUE(GetManifestClassText(context.get(), manifest.get(), &actual)); [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageItemInfoTest.java | 84 private void checkInfoSame(PackageItemInfo expected, PackageItemInfo actual) { 85 assertEquals(expected.name, actual.name); 86 assertEquals(expected.packageName, actual.packageName); 87 assertEquals(expected.labelRes, actual.labelRes); 88 assertEquals(expected.nonLocalizedLabel, actual.nonLocalizedLabel); 89 assertEquals(expected.icon, actual.icon); 90 assertEquals(expected.metaData.size(), actual.metaData.size()); 91 assertEquals(R.xml.pm_test, actual.metaData.getInt(METADATA_NAME));
|
/development/tools/extract/ |
README.txt | 4 allows annotations to live separately from the actual library's .class 9 reference to the actual field that is part of the typedef, not its
|
/development/tools/logblame/ |
test_ps.py | 15 actual = ps.ParsePs(text) 25 if actual != expected: 29 print "Actual:" 30 print actual 53 actual = ps.ParseUids(text) 62 if actual != expected: 66 print "Actual:" 67 print actual
|
/external/easymock/src/org/easymock/internal/ |
ArrayMatcher.java | 27 public boolean argumentMatches(Object expected, Object actual) {
28 return new ArrayEquals(expected).matches(actual);
|
/external/easymock/src/org/easymock/internal/matchers/ |
NotNull.java | 32 public boolean matches(Object actual) {
33 return actual != null;
|
Null.java | 31 public boolean matches(Object actual) {
32 return actual == null;
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
SignedBytesTest.java | 80 int actual = SignedBytes.compare(x, y); local 82 assertEquals(x + ", " + y, expected, actual); 84 assertTrue(x + ", " + y + " (expected: " + expected + ", actual" + actual + ")", 85 actual < 0); 87 assertTrue(x + ", " + y + " (expected: " + expected + ", actual" + actual + ")", 88 actual > 0);
|
/external/mockito/src/main/java/org/mockito/exceptions/verification/junit/ |
ArgumentsAreDifferent.java | 20 public ArgumentsAreDifferent(String message, String wanted, String actual) { 21 super(message, wanted, actual);
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
EqualsWithDeltaTest.java | 32 Double actual = expected; local 34 assertThat(matcher.matches(actual)).isTrue();
|