/external/clang/test/Parser/ |
cxx-casting.cpp | 37 template <class T> class A {}; // expected-note 2{{here}} 44 (void)const_cast<::c>(&x); // expected-error{{found '<::' after a const_cast which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'?}} 45 (void)dynamic_cast<::a>(b); // expected-error{{found '<::' after a dynamic_cast which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'?}} 46 (void)reinterpret_cast<::c>(x); // expected-error{{found '<::' after a reinterpret_cast which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'?}} 47 (void)static_cast<::c>(&x); // expected-error{{found '<::' after a static_cast which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'?}} 51 expected-error {{expected '<' after 'static_cast'}} \ 52 expected-error {{expected expression}}\ 53 expected-error {{expected ']'}} [all...] |
switch-recovery.cpp | 7 switch (a) { // expected-error{{use of undeclared identifier 'a'}} 13 case 17 // expected-error{{expected ':' after 'case'}} 16 default // expected-error{{expected ':' after 'default'}} 24 switch (x) { // expected-warning {{enumeration value 'Xb' not handled in switch}} 25 case Xa; // expected-error {{expected ':' after 'case'}} 30 default; // expected-error {{expected ':' after 'default'} [all...] |
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpDeleteRequestTest.java | 19 String[] expected = { local 28 assertResponse(outputStream, expected); 37 String[] expected = { local 46 assertResponse(outputStream, expected); 55 String[] expected = { local 64 assertResponse(outputStream, expected); 73 String[] expected = { local 83 assertResponse(outputStream, expected); 92 String[] expected = { local 102 assertResponse(outputStream, expected); [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_nodeappendchilddocfragment.java | 79 java.util.List expected = new java.util.ArrayList(); local 80 expected.add("em"); 81 expected.add("strong"); 82 expected.add("code"); 83 expected.add("sup"); 84 expected.add("var"); 85 expected.add("acronym"); 86 expected.add("br"); 87 expected.add("b"); 108 assertEqualsAutoCase("element", "nodeNames", expected, result) [all...] |
nodeappendchilddocfragment.java | 75 java.util.List expected = new java.util.ArrayList(); local 76 expected.add("employeeId"); 77 expected.add("name"); 78 expected.add("position"); 79 expected.add("salary"); 80 expected.add("gender"); 81 expected.add("address"); 82 expected.add("newChild1"); 83 expected.add("newChild2"); 104 assertEquals("elementNames", expected, result) [all...] |
hc_nodeappendchildchildexists.java | 77 java.util.List expected = new java.util.ArrayList(); local 78 expected.add("strong"); 79 expected.add("code"); 80 expected.add("sup"); 81 expected.add("var"); 82 expected.add("acronym"); 83 expected.add("em"); 97 assertEqualsAutoCase("element", "liveByTagName", expected, actual); 108 assertEqualsAutoCase("element", "refreshedChildNodes", expected, refreshedActual);
|
hc_nodechildnodesappendchild.java | 80 java.util.List expected = new java.util.ArrayList(); local 81 expected.add("em"); 82 expected.add("strong"); 83 expected.add("code"); 84 expected.add("sup"); 85 expected.add("var"); 86 expected.add("acronym"); 87 expected.add("br"); 107 assertEqualsAutoCase("element", "childElements", expected, actual);
|
hc_nodeinsertbefore.java | 76 java.util.List expected = new java.util.ArrayList(); local 77 expected.add("em"); 78 expected.add("strong"); 79 expected.add("code"); 80 expected.add("br"); 81 expected.add("sup"); 82 expected.add("var"); 83 expected.add("acronym"); 102 assertEqualsAutoCase("element", "nodeNames", expected, actual);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldOutputStreamTest.java | 55 boolean expected; 64 expected = true; 66 for (int i = 0; i < (shortByteArray.length) && expected; i++) { 67 expected = (shortByteArray[i] == buffer[i]); 70 expected); 74 fail("Test 2: IOException expected."); 80 boolean expected; 89 expected = true; 91 for (int i = 6, j = 0; j < 5 && expected; i++, j++) { 92 expected = (shortByteArray[i] == buffer[j]) [all...] |
FileOutputStreamTest.java | 38 } catch (IOException expected) { 43 } catch (IOException expected) { 53 } catch (IOException expected) { 58 } catch (IOException expected) { 76 } catch (IOException expected) { 81 } catch (IOException expected) { 86 } catch (IOException expected) {
|
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/ |
CharSinkTester.java | 51 * Configures whether the writer is expected to throw exceptions when an 83 private static void assertArrayEquals(char[] expected, char[] actual) { 84 Assert.assertEquals(Arrays.toString(expected), Arrays.toString(actual)); 94 char[] expected = new char[] { }; local 98 assertArrayEquals(expected, getChars()); 102 char[] expected = new char[] { }; local 111 assertArrayEquals(expected, getChars()); 115 char[] expected = "EFGCDECBA".toCharArray(); local 118 for (char c : expected) { 123 assertArrayEquals(expected, getChars()) 127 char[] expected = "EFGCDECBA".toCharArray(); local 140 char[] expected = "EFGCDECBA".toCharArray(); local 167 char[] expected = new char[(1024 * 1024) + 1]; \/\/ 2 MB + 1 char local [all...] |
SinkTester.java | 52 * Configures whether the stream is expected to throw exceptions when an 84 private static void assertArrayEquals(byte[] expected, byte[] actual) { 85 Assert.assertEquals(Arrays.toString(expected), Arrays.toString(actual)); 95 byte[] expected = new byte[] { }; 99 assertArrayEquals(expected, getBytes()); 103 byte[] expected = new byte[] { }; 112 assertArrayEquals(expected, getBytes()); 116 byte[] expected = new byte[] { 5, 6, 7, 3, 4, 5, 3, 2, 1 }; 119 for (byte b : expected) { 124 assertArrayEquals(expected, getBytes()) [all...] |
/libcore/support/src/test/java/org/apache/harmony/testframework/ |
CharSinkTester.java | 51 * Configures whether the writer is expected to throw exceptions when an 83 private static void assertArrayEquals(char[] expected, char[] actual) { 84 Assert.assertEquals(Arrays.toString(expected), Arrays.toString(actual)); 94 char[] expected = new char[] { }; local 98 assertArrayEquals(expected, getChars()); 102 char[] expected = new char[] { }; local 111 assertArrayEquals(expected, getChars()); 115 char[] expected = "EFGCDECBA".toCharArray(); local 118 for (char c : expected) { 123 assertArrayEquals(expected, getChars()) 127 char[] expected = "EFGCDECBA".toCharArray(); local 140 char[] expected = "EFGCDECBA".toCharArray(); local 167 char[] expected = new char[(1024 * 1024) + 1]; \/\/ 2 MB + 1 char local [all...] |
SinkTester.java | 52 * Configures whether the stream is expected to throw exceptions when an 84 private static void assertArrayEquals(byte[] expected, byte[] actual) { 85 Assert.assertEquals(Arrays.toString(expected), Arrays.toString(actual)); 95 byte[] expected = new byte[] { }; 99 assertArrayEquals(expected, getBytes()); 103 byte[] expected = new byte[] { }; 112 assertArrayEquals(expected, getBytes()); 116 byte[] expected = new byte[] { 5, 6, 7, 3, 4, 5, 3, 2, 1 }; 119 for (byte b : expected) { 124 assertArrayEquals(expected, getBytes()) [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
JUnitTestCaseAdapter.java | 202 public void assertSame(DOMTestCase test, String assertID, Object expected, Object actual) { 203 boolean same = (expected == actual); 209 if(expected == null || actual == null || 210 !(expected instanceof Node) || !(actual instanceof Node)) { 211 assertEquals(assertID,expected,actual); 217 assertEquals(assertID,expected,actual); 238 public void assertEqualsIgnoreCase(DOMTestCase test, String assertID, String expected, String actual) { 239 if (!expected.equalsIgnoreCase(actual)) { 240 assertEquals(assertID,expected, actual); 244 public void assertEqualsIgnoreCase(DOMTestCase test, String assertID, Collection expected, Collection actual) [all...] |
/external/vixl/test/ |
test-utils-a64.cc | 53 bool Equal32(uint32_t expected, const RegisterDump*, uint32_t result) { 54 if (result != expected) { 55 printf("Expected 0x%08" PRIx32 "\t Found 0x%08" PRIx32 "\n", 56 expected, result); 59 return expected == result; 63 bool Equal64(uint64_t expected, const RegisterDump*, uint64_t result) { 64 if (result != expected) { 65 printf("Expected 0x%016" PRIx64 "\t Found 0x%016" PRIx64 "\n", 66 expected, result); 69 return expected == result 147 vec128_t expected = {expected_l, expected_h}; local 182 int64_t expected = core->xreg(reg0.code()); local [all...] |
/frameworks/base/tools/split-select/ |
Grouper_test.cpp | 104 Vector<const char*> expected; local 105 expected.add(a); 106 expectHasGroupWithSplits(expected); 110 Vector<const char*> expected; local 111 expected.add(a); 112 expected.add(b); 113 expectHasGroupWithSplits(expected); 117 Vector<const char*> expected; local 118 expected.add(a); 119 expected.add(b) 125 Vector<const char*> expected; local [all...] |
/art/compiler/optimizing/ |
ssa_test.cc | 78 static void TestCode(const uint16_t* data, const char* expected) { 104 ASSERT_STREQ(expected, printer.str().c_str()); 109 const char* expected = local 132 TestCode(data, expected); 138 const char* expected = local 163 TestCode(data, expected); 169 const char* expected = local 196 TestCode(data, expected); 201 const char* expected = local 229 TestCode(data, expected); 234 const char* expected = local 264 const char* expected = local 297 const char* expected = local 332 const char* expected = local 373 const char* expected = local 412 const char* expected = local 454 const char* expected = local 473 const char* expected = local 503 const char* expected = local [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_AvailTest.java | 50 int expected; local 59 expected = Integer.parseInt(input.toString()); 61 if (real != expected) { 62 output = "Failed avail test1 - " + real + "!=" + expected; 74 expected = Integer.parseInt(input.toString()); 78 // if(real != expected) output = "Failed avail test2 - " + real + 79 // "!=" + expected; 94 expected = 0; 97 output = "Failed avail test3 - " + real + "!=" + expected;
|
/external/embunit/src/ |
AssertImpl.c | 39 void assertImplementationInt(int expected,int actual, long line, const char *file) 46 { stdimpl_itoa(expected, numbuf, 10); 57 void assertImplementationCStr(const char *expected,const char *actual, long line, const char *file) 64 if (expected) { 65 el = stdimpl_strlen(expected); 68 expected = "null"; 94 stdimpl_strncat(buffer, expected, el);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
LocalePriorityListTest.java | 25 final String expected = "af, en, fr"; local 28 assertEquals(expected, list.toString()); 33 assertEquals(expected, list2.toString()); 41 assertEquals(expected, list3.toString()); 46 assertEquals(expected, list4.toString()); 53 private void assertEquals(Object expected, Object string) { 54 assertEquals("", expected, string);
|
/external/guava/guava-testlib/test/com/google/common/collect/testing/ |
MinimalIterableTest.java | 42 } catch (NoSuchElementException expected) { 47 } catch (IllegalStateException expected) { 60 } catch (NoSuchElementException expected) { 65 } catch (IllegalStateException expected) { 77 } catch (NoSuchElementException expected) { 82 } catch (IllegalStateException expected) { 95 } catch (UnsupportedOperationException expected) { 101 } catch (NoSuchElementException expected) { 106 } catch (IllegalStateException expected) {
|
/external/junit/src/org/junit/ |
Assert.java | 106 * <code>expected</code> and <code>actual</code> are <code>null</code>, 112 * @param expected 113 * expected value 117 static public void assertEquals(String message, Object expected, 119 if (expected == null && actual == null) 121 if (expected != null && isEquals(expected, actual)) 123 else if (expected instanceof String && actual instanceof String) { 125 throw new ComparisonFailure(cleanMessage, (String) expected, 128 failNotEquals(message, expected, actual) [all...] |
/external/skia/tests/ |
PathOpsBoundsTest.cpp | 52 SkPathOpsBounds expected; local 53 expected.set(0, 0, 3, 4); 54 REPORTER_ASSERT(reporter, bounds == expected); 59 REPORTER_ASSERT(reporter, bounds == expected); 63 REPORTER_ASSERT(reporter, bounds == expected); 68 expected.set(0, 0, 3, 4); 69 REPORTER_ASSERT(reporter, bounds == expected); 72 expected.set(0, 0, 5, 6); 73 REPORTER_ASSERT(reporter, bounds == expected);
|
/art/test/478-checker-inliner-nested-loop/src/ |
Main.java | 20 public static void assertIntEquals(int expected, int result) { 21 if (expected != result) { 22 throw new Error("Expected: " + expected + ", found: " + result);
|