/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cgi.py | 129 for orig, expect in parse_strict_test_cases: 132 self.assertEqual(d, expect, "Error parsing %s" % repr(orig)) 134 self.assertEqual(d, expect, "Error parsing %s" % repr(orig)) 140 if isinstance(expect, dict): 142 self.assertEqual(len(expect), len(fcd)) 143 self.assertItemsEqual(expect.keys(), fcd.keys()) 144 self.assertItemsEqual(expect.values(), fcd.values()) 145 self.assertItemsEqual(expect.items(), fcd.items()) 151 for key in expect.keys(): 152 expect_val = expect[key [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cgi.py | 129 for orig, expect in parse_strict_test_cases: 132 self.assertEqual(d, expect, "Error parsing %s" % repr(orig)) 134 self.assertEqual(d, expect, "Error parsing %s" % repr(orig)) 140 if isinstance(expect, dict): 142 self.assertEqual(len(expect), len(fcd)) 143 self.assertItemsEqual(expect.keys(), fcd.keys()) 144 self.assertItemsEqual(expect.values(), fcd.values()) 145 self.assertItemsEqual(expect.items(), fcd.items()) 151 for key in expect.keys(): 152 expect_val = expect[key [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ConcurrentHashMultisetTest.java | 26 import static org.easymock.EasyMock.expect; 60 expect(backingMap.isEmpty()).andReturn(true); 70 expect(backingMap.get(KEY)).andReturn(new AtomicInteger(COUNT)); 78 expect(backingMap.get(KEY)).andReturn(null); 88 expect(backingMap.get(KEY)).andReturn(new AtomicInteger(INITIAL_COUNT)); 97 expect(backingMap.get(KEY)).andReturn(null); 98 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(null); 110 expect(backingMap.get(KEY)).andReturn(initial); 122 expect(backingMap.get(KEY)).andReturn(new AtomicInteger(INITIAL_COUNT)); 145 expect(backingMap.get(KEY)).andReturn(null) [all...] |
/external/chromium_org/v8/test/mjsunit/ |
math-floor-part1.js | 32 function testFloor(expect, input) { 35 assertEquals(expect, test(input)); 36 assertEquals(expect, test(input)); 37 assertEquals(expect, test(input)); 39 assertEquals(expect, test(input)); 44 assertEquals(expect, test_double_output(input)); 45 assertEquals(expect, test_double_output(input)); 46 assertEquals(expect, test_double_output(input)); 48 assertEquals(expect, test_double_output(input));
|
math-floor-part2.js | 32 function testFloor(expect, input) { 35 assertEquals(expect, test(input)); 36 assertEquals(expect, test(input)); 37 assertEquals(expect, test(input)); 39 assertEquals(expect, test(input)); 44 assertEquals(expect, test_double_output(input)); 45 assertEquals(expect, test_double_output(input)); 46 assertEquals(expect, test_double_output(input)); 48 assertEquals(expect, test_double_output(input));
|
math-floor-part3.js | 32 function testFloor(expect, input) { 35 assertEquals(expect, test(input)); 36 assertEquals(expect, test(input)); 37 assertEquals(expect, test(input)); 39 assertEquals(expect, test(input)); 44 assertEquals(expect, test_double_output(input)); 45 assertEquals(expect, test_double_output(input)); 46 assertEquals(expect, test_double_output(input)); 48 assertEquals(expect, test_double_output(input));
|
math-floor-part4.js | 32 function testFloor(expect, input) { 35 assertEquals(expect, test(input)); 36 assertEquals(expect, test(input)); 37 assertEquals(expect, test(input)); 39 assertEquals(expect, test(input)); 44 assertEquals(expect, test_double_output(input)); 45 assertEquals(expect, test_double_output(input)); 46 assertEquals(expect, test_double_output(input)); 48 assertEquals(expect, test_double_output(input));
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
AtomicLongFieldUpdater.java | 69 * @param expect the expected value 75 public abstract boolean compareAndSet(T obj, long expect, long update); 89 * @param expect the expected value 95 public abstract boolean weakCompareAndSet(T obj, long expect, long update); 292 public boolean compareAndSet(T obj, long expect, long update) { 294 return unsafe.compareAndSwapLong(obj, offset, expect, update); 297 public boolean weakCompareAndSet(T obj, long expect, long update) { 299 return unsafe.compareAndSwapLong(obj, offset, expect, update); 386 public boolean compareAndSet(T obj, long expect, long update) { 390 if (v != expect) [all...] |
AtomicReferenceArray.java | 146 * @param expect the expected value 151 public final boolean compareAndSet(int i, E expect, E update) { 152 return compareAndSetRaw(checkedByteOffset(i), expect, update); 155 private boolean compareAndSetRaw(long offset, E expect, E update) { 156 return unsafe.compareAndSwapObject(array, offset, expect, update); 168 * @param expect the expected value 172 public final boolean weakCompareAndSet(int i, E expect, E update) { 173 return compareAndSet(i, expect, update);
|
/libcore/luni/src/main/java/libcore/reflect/ |
GenericSignatureParser.java | 255 expect('>'); 269 expect(':'); 305 expect('L'); 332 expect(';'); 348 expect('>'); 380 expect('T'); 382 expect(';'); 416 expect('('); 420 expect(')'); 469 void expect(char c) method in class:GenericSignatureParser [all...] |
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
MockTransport.java | 83 return "Expect the client to close"; 85 return "Expect IOException"; 87 return "Expect StartTls"; 108 public void expect(String pattern) { method in class:MockTransport 109 expect(pattern, (String[]) null); method 117 public void expect(String pattern, String response) { method in class:MockTransport 118 expect(pattern, (response == null) ? null : new String[] {response}); method 126 public void expect(String pattern, String[] responses) { method in class:MockTransport 132 * Same as {@link #expect(String, String[])}, but the first arg is taken literally, rather than 136 expect("^" + Pattern.quote(literal) + "$", responses) 192 Transaction expect = mPairs.remove(0); local 284 Transaction expect = mPairs.remove(0); local [all...] |
/external/chromium_org/net/spdy/fuzzing/ |
hpack_fuzz_util_test.cc | 106 std::map<string, string> expect; local 107 expect[":method"] = "GET"; 108 expect[":scheme"] = "http"; 109 expect[":path"] = "/"; 110 expect[":authority"] = "www.example.com"; 111 EXPECT_EQ(expect, context.third_stage->decoded_block());
|
/external/chromium_org/tools/idl_parser/ |
idl_parser_test.py | 39 key, expect = value.split('=') 41 msg = 'Mismatched property %s: %s vs %s.\n' % (key, expect, actual) 42 self.assertEqual(expect, actual, msg) 81 key, expect = value.split('=') 84 filename, key, expect, actual) 85 self.assertEqual(expect, actual, msg)
|
/external/lldb/test/functionalities/breakpoint/breakpoint_ignore_count/ |
TestBreakpointIgnoreCount.py | 65 self.expect("process status", PROCESS_STOPPED, 69 self.expect("breakpoint list -f", BREAKPOINT_HIT_THRICE, 75 self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT_IGNORE_COUNT, 85 self.expect("process status", PROCESS_STOPPED, 89 self.expect("breakpoint list -f", BREAKPOINT_HIT_THRICE, 95 self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT_IGNORE_COUNT,
|
/external/lldb/test/lang/cpp/stl/ |
TestSTL.py | 73 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, 78 self.expect("breakpoint list -f", BREAKPOINT_HIT_ONCE, 87 self.expect('expr associative_array.size()', 89 self.expect('expr associative_array.count(hello_world)', 91 self.expect('expr associative_array[hello_world]', 93 self.expect('expr associative_array["hello"]', 128 # We expect the template arguments to contain at least 'string' and 'int'.
|
/external/lldb/test/source-manager/ |
TestSourceManager.py | 76 self.expect(stream.GetData(), "Source code displayed correctly", 104 self.expect("settings show target.source-map", 108 self.expect("source list -n main", SOURCE_DISPLAYED_CORRECTLY, 121 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, 127 self.expect("source list -f main.c -l %d" % self.line, SOURCE_DISPLAYED_CORRECTLY, 137 # If the breakpoint set command succeeded, we should expect a positive number 181 self.expect("source list -f main.c -l %d" % self.line, SOURCE_DISPLAYED_CORRECTLY,
|
/external/lldb/utils/test/ |
disasm.py | 38 gdb.expect(gdb_prompt) 43 gdb.expect(gdb_prompt) 47 gdb.expect(gdb_prompt) 51 gdb.expect(gdb_prompt) 91 gdb.expect(gdb_prompt) 106 gdb.expect(pexpect.EOF)
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
ImapStoreUnitTests.java | 215 mockTransport.expect( 243 // Strings we'll expect to find: 397 // Because we split at quotes, we expect to find: 491 // Prime the expects pump as if the server wants IMAP ID, but we should not actually expect 496 mockTransport.expect(null, "* oK Imap 2000 Ready To Assist You"); 502 mockTransport.expect(getNextTag(false) + " LOGIN user \"password\"", 613 mockTransport.expect( 638 mockTransport.expect(null, "* oK Imap 2000 Ready To Assist You"); 644 mockTransport.expect(getNextTag(false) + " STARTTLS", 658 mockTransport.expect(getNextTag(false) + " ID \\(.*\\)", imapIdResponse) [all...] |
/external/lldb/test/expression_command/issue_11588/ |
Test11588.py | 48 self.expect("expr --show-types -- *((StgClosure*)(r14-1))", 66 self.expect("register read r14", 68 self.expect("expr --show-types -- *(StgClosure*)$r14",
|
/external/lldb/test/functionalities/set-data/ |
TestSetData.py | 32 self.expect("p myFoo.x", VARIABLES_DISPLAYED_CORRECTLY, 47 self.expect("p myFoo.x", VARIABLES_DISPLAYED_CORRECTLY, 63 self.expect("fr var -d run-target string", VARIABLES_DISPLAYED_CORRECTLY,
|
/external/lldb/test/lang/cpp/unique-types/ |
TestUniqueTypes.py | 49 self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, 60 self.expect(x, "Expect type 'long'", exe=False, 70 self.expect(x, "Expect type 'short'", exe=False,
|
/external/lldb/test/lang/objc/rdar-10967107/ |
TestRdar10967107.py | 50 self.expect("frame variable cf_greg_date --raw", substrs = ['year','month','day','hour','minute','second']) 51 self.expect("frame variable cf_range --raw", substrs = ['location','length']) 53 self.expect("frame variable --raw", substrs = ['year','month','day','hour','minute','second','location','length'])
|
/ndk/build/core/ |
definitions-graph.mk | 59 $(call test-expect,,$(call -ndk-mod-filter,,-local-func))\ 60 $(call test-expect,foo,$(call -ndk-mod-filter,foo,-local-func))\ 61 $(call test-expect,foo,$(call -ndk-mod-filter,foo bar,-local-func))\ 62 $(call test-expect,foo foo,$(call -ndk-mod-filter,aaa foo bar foo,-local-func))\ 64 $(call test-expect,,$(call -ndk-mod-filter,,-local-func))\ 65 $(call test-expect,,$(call -ndk-mod-filter,foo,-local-func))\ 66 $(call test-expect,bar,$(call -ndk-mod-filter,foo bar,-local-func))\ 67 $(call test-expect,aaa bar,$(call -ndk-mod-filter,aaa foo bar,-local-func)) 84 $(call test-expect,,$(call -ndk-mod-filter-out,,-local-func))\ 85 $(call test-expect,,$(call -ndk-mod-filter-out,foo,-local-func)) [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
cpdtrtst.h | 51 void expect(const CompoundTransliterator& t,
|
incaltst.h | 42 void simpleTest(const Locale& loc, const UnicodeString& expect, UDate expectDate, UErrorCode& status);
|