/external/valgrind/main/exp-sgcheck/tests/ |
hsg.stdout.exp | 1 boringly as expected
|
/cts/tools/vm-tests-tf/src/dot/junit/ |
DxAbstractMain.java | 21 static public void assertEquals(int expected, int actual) { 22 if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals. Expected " + expected + " actual " + actual); 25 static public void assertEquals(String message, int expected, int actual) { 26 if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals: " + message + " Expected " + expected + " actual " + actual); 30 static public void assertEquals(long expected, long actual) { 31 if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals. Expected " + expected + " (…) [all...] |
/external/easymock/src/org/easymock/internal/matchers/ |
ArrayEquals.java | 26 public ArrayEquals(Object expected) {
27 super(expected);
32 Object expected = getExpected();
local 33 if (expected instanceof boolean[]
35 return Arrays.equals((boolean[]) expected, (boolean[]) actual);
36 } else if (expected instanceof byte[]
38 return Arrays.equals((byte[]) expected, (byte[]) actual);
39 } else if (expected instanceof char[]
41 return Arrays.equals((char[]) expected, (char[]) actual);
42 } else if (expected instanceof double[] [all...] |
Equals.java | 27 private final Object expected;
field in class:Equals 29 public Equals(Object expected) {
30 this.expected = expected;
34 if (this.expected == null) {
37 return expected.equals(actual);
41 ArgumentToString.appendArgument(expected, buffer);
45 return expected;
53 return this.expected == null && other.expected == null [all...] |
/external/emma/core/java12/com/vladium/util/exception/ |
Exceptions.java | 20 public static boolean unexpectedFailure (final Throwable t, final Class [] expected) 23 if (expected == null) return true; 27 for (int e = 0; e < expected.length; ++ e) 29 if (expected [e] == null) continue; 30 if (expected [e].isAssignableFrom (reClass))
|
/external/compiler-rt/test/Unit/ |
absvsi2_test.c | 27 si_int expected = a; local 28 if (expected < 0) 29 expected = -expected; 30 if (x != expected || expected < 0) 31 printf("error in __absvsi2(0x%X) = %d, expected positive %d\n", 32 a, x, expected); 33 return x != expected;
|
extebdsfdf2vfp_test.c | 25 double expected = a; local 26 if (actual != expected) 27 printf("error in test__extendsfdf2vfp(%f) = %f, expected %f\n", 28 a, actual, expected); 29 return actual != expected;
|
fixdfsivfp_test.c | 25 int expected = a; local 26 if (actual != expected) 27 printf("error in test__fixdfsivfp(%f) = %d, expected %d\n", 28 a, actual, expected); 29 return actual != expected;
|
fixunsdfsivfp_test.c | 25 unsigned int expected = a; local 26 if (actual != expected) 27 printf("error in test__fixunsdfsivfp(%f) = %u, expected %u\n", 28 a, actual, expected); 29 return actual != expected;
|
fixunssfsivfp_test.c | 25 unsigned int expected = a; local 26 if (actual != expected) 27 printf("error in test__fixunssfsivfp(%f) = %u, expected %u\n", 28 a, actual, expected); 29 return actual != expected;
|
negdf2vfp_test.c | 25 double expected = -a; local 26 if (actual != expected) 27 printf("error in test__negdf2vfp(%f) = %f, expected %f\n", 28 a, actual, expected); 29 return actual != expected;
|
negsf2vfp_test.c | 25 float expected = -a; local 26 if (actual != expected) 27 printf("error in test__negsf2vfp(%f) = %f, expected %f\n", 28 a, actual, expected); 29 return actual != expected;
|
truncdfsf2vfp_test.c | 25 float expected = a; local 26 if (actual != expected) 27 printf("error in test__truncdfsf2vfp(%f) = %f, expected %f\n", 28 a, actual, expected); 29 return actual != expected;
|
/external/valgrind/main/none/tests/amd64/ |
amd64locked.stdout.exp | 1 amd64locked: PASS: CRCs actual 0x1F677629 expected 0x1F677629
|
/external/valgrind/main/none/tests/x86/ |
x86locked.stdout.exp | 1 x86locked: PASS: CRCs actual 0x8235DC9C expected 0x8235DC9C
|
/external/webkit/Source/WebKit/chromium/tests/ |
IDBKeyPathTest.cpp | 40 IDBKeyPathElement expected; local 42 expected.type = IDBKeyPathElement::IsIndexed; 43 expected.index = index; 45 expected.type = IDBKeyPathElement::IsNamed; 46 expected.identifier = identifier; 48 return expected; 51 void checkKeyPath(const String& keyPath, const Vector<IDBKeyPathElement>& expected, int parserError) 60 ASSERT_EQ(expected.size(), idbKeyPathElements.size()); 61 for (size_t i = 0; i < expected.size(); ++i) { 62 ASSERT_TRUE(expected[i].type == idbKeyPathElements[i].type) << i 74 Vector<IDBKeyPathElement> expected; local 84 Vector<IDBKeyPathElement> expected; local 97 Vector<IDBKeyPathElement> expected; local 109 Vector<IDBKeyPathElement> expected; local 118 Vector<IDBKeyPathElement> expected; local 126 Vector<IDBKeyPathElement> expected; local 134 Vector<IDBKeyPathElement> expected; local 142 Vector<IDBKeyPathElement> expected; local 150 Vector<IDBKeyPathElement> expected; local 157 Vector<IDBKeyPathElement> expected; local 164 Vector<IDBKeyPathElement> expected; local 172 Vector<IDBKeyPathElement> expected; local 180 Vector<IDBKeyPathElement> expected; local 189 Vector<IDBKeyPathElement> expected; local 197 Vector<IDBKeyPathElement> expected; local [all...] |
/dalvik/tests/021-string2/src/junit/framework/ |
Assert.java | 59 static public void assertEquals(String message, Object expected, Object actual) { 60 if (expected == null && actual == null) 62 if (expected != null && expected.equals(actual)) 64 failNotEquals(message, expected, actual); 70 static public void assertEquals(Object expected, Object actual) { 71 assertEquals(null, expected, actual); 76 static public void assertEquals(String message, String expected, String actual) { 77 if (expected == null && actual == null) 79 if (expected != null && expected.equals(actual) [all...] |
/dalvik/tests/082-inline-execute/src/junit/framework/ |
Assert.java | 59 static public void assertEquals(String message, Object expected, Object actual) { 60 if (expected == null && actual == null) 62 if (expected != null && expected.equals(actual)) 64 failNotEquals(message, expected, actual); 70 static public void assertEquals(Object expected, Object actual) { 71 assertEquals(null, expected, actual); 76 static public void assertEquals(String message, String expected, String actual) { 77 if (expected == null && actual == null) 79 if (expected != null && expected.equals(actual) [all...] |
/external/webkit/LayoutTests/fast/xpath/ |
xpath-test-pre.js | 1 function checkSnapshot(comment, actual, expected) { 2 if (actual.snapshotLength != expected.length) { 3 testFailed(comment + " incorrect length (expected " + expected.length + ", actual " + actual.snapshotLength + ")"); 8 if (actual.snapshotItem(i) != expected[i]) { 9 testFailed(comment + " item " + i + " incorrect (expected " + expected[i].nodeName + ", actual " + actual.snapshotItem(i).nodeName + ")"); 17 function test(doc, context, expr, expected, nsResolver) 22 if (typeof(expected) == "object") { 24 checkSnapshot(expr, result, expected); [all...] |
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
ImapUtilityTests.java | 44 String[] expected; local 48 expected = new String[] {"1"}; 50 MoreAsserts.assertEquals(expected, actual); 52 expected = new String[] {"1", "3", "2"}; 54 MoreAsserts.assertEquals(expected, actual); 56 expected = new String[] {"4", "5", "6"}; 58 MoreAsserts.assertEquals(expected, actual); 60 expected = new String[] {"9", "8", "7"}; 62 MoreAsserts.assertEquals(expected, actual); 64 expected = new String[] {"1", "2", "3", "4", "9", "8", "7"} 99 String[] expected; local [all...] |
/external/junit/src/junit/framework/ |
Assert.java | 62 static public void assertEquals(String message, Object expected, Object actual) { 63 if (expected == null && actual == null) 65 if (expected != null && expected.equals(actual)) 67 failNotEquals(message, expected, actual); 73 static public void assertEquals(Object expected, Object actual) { 74 assertEquals(null, expected, actual); 79 static public void assertEquals(String message, String expected, String actual) { 80 if (expected == null && actual == null) 82 if (expected != null && expected.equals(actual) [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/ |
RawContentVerifier.java | 10 * Verify that the expected signature value was derived from the passed in digest. 13 * @param expected expected value of the signature 14 * @return true if the expected signature is derived from the digest, false otherwise. 16 boolean verify(byte[] digest, byte[] expected);
|
/ndk/tests/device/test-compiler-bug-1/jni/ |
main.c | 39 const int expected = 0; local 42 if (ret != expected) { 44 testval, ret, expected); 47 printf("OK: test(%d) returned %d\n", testval, expected);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
Predicates.java | 23 public IntegerPropertyEqualsPredicate(Integer expected) { 24 mExpected = expected.intValue(); 33 public static IPredicate matchesInteger(int expected) { 34 return new IntegerPropertyEqualsPredicate(expected);
|
/cts/tests/tests/net/src/android/net/cts/ |
NetworkInfo_DetailedStateTest.java | 39 DetailedState[] expected = DetailedState.values(); local 40 assertEquals(13, expected.length); 41 assertEquals(DetailedState.IDLE, expected[0]); 42 assertEquals(DetailedState.SCANNING, expected[1]); 43 assertEquals(DetailedState.CONNECTING, expected[2]); 44 assertEquals(DetailedState.AUTHENTICATING, expected[3]); 45 assertEquals(DetailedState.OBTAINING_IPADDR, expected[4]); 46 assertEquals(DetailedState.CONNECTED, expected[5]); 47 assertEquals(DetailedState.SUSPENDED, expected[6]); 48 assertEquals(DetailedState.DISCONNECTING, expected[7]) [all...] |