Home
last modified time | relevance | path

Searched refs:test_map (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium_org/net/quic/congestion_control/
Dquic_max_sized_map_test.cc16 QuicMaxSizedMap<int, int> test_map(100); in TEST_F() local
17 EXPECT_EQ(100u, test_map.MaxSize()); in TEST_F()
18 EXPECT_EQ(0u, test_map.Size()); in TEST_F()
19 test_map.Insert(1, 2); in TEST_F()
20 test_map.Insert(1, 3); in TEST_F()
21 EXPECT_EQ(100u, test_map.MaxSize()); in TEST_F()
22 EXPECT_EQ(2u, test_map.Size()); in TEST_F()
23 test_map.RemoveAll(); in TEST_F()
24 EXPECT_EQ(100u, test_map.MaxSize()); in TEST_F()
25 EXPECT_EQ(0u, test_map.Size()); in TEST_F()
[all …]
/external/webrtc/src/system_wrappers/test/map/
Dmap.cc61 MapWrapper test_map; in main() local
64 test_map.Insert(i,(void*)&element_array[i]); in main()
67 MapItem* remove_item = test_map.Find(2); in main()
69 FailTest(test_map.Erase(remove_item) != 0); in main()
70 FailTest(test_map.Find(2) != NULL); in main()
72 FailTest(test_map.Erase(remove_item) != -1); in main()
74 FailTest(test_map.Erase(1) != 0); in main()
75 FailTest(test_map.Find(1) != NULL); in main()
76 FailTest(test_map.Erase(1) != -1); in main()
78 FailTest(test_map.Size() != kNumberOfElements - 2); in main()
[all …]
/external/chromium_org/v8/tools/testrunner/network/
Dnetwork_execution.py180 data, test_map = packet.Pack(self.binaries)
193 test = test_map.pop(test_id)
228 if len(test_map) > 0:
230 print("\nNo results for %d tests, running them locally." % len(test_map))
231 self._EnqueueLocally(test_map)
233 def _EnqueueLocally(self, test_map): argument
235 for test in test_map:
236 self.tests.append(test_map[test])
/external/chromium_org/v8/tools/testrunner/objects/
Dworkpacket.py63 test_map = {}
65 test_map[t.id] = t
75 return result, test_map
/external/chromium_org/content/common/
Dsandbox_mac_unittest_helper.mm37 static SandboxTestMap test_map;
38 return test_map;
42 SandboxTestMap& test_map = GetSandboxTestMap();
43 if (test_map.find(test_name) != test_map.end()) {
47 test_map[test_name] = test_class;
/external/chromium_org/v8/tools/testrunner/local/
Dexecution.py99 test_map = {}
104 test_map[test.id] = test
137 test = test_map[test_id]
/external/chromium_org/media/tools/layout_tests/
Dlayouttest_analyzer.py313 test_map = {}
316 test_map[test_name] = value['desc']
335 data_map[test_group] = (test_map, anno, links)
337 data_map[test_group] = (test_map, anno, simple_rev_str)
/external/stlport/test/eh/
Dhp.mak18 test_deque.cpp test_set.cpp test_map.cpp \
25 test_deque.o test_set.o test_map.o \
DTests.h26 void test_map();
Dexport28 test_map.cpp
Ddescrip.mms19 test_deque.obj,test_set.obj,test_map.obj,-
Dcray.mak14 test_deque_cray.o test_set.o test_map.o \
Dcomo-linux.mak19 test_deque.cpp test_set.cpp test_map.cpp \
Dintel.mak28 test_hash_map.obj test_hash_set.obj test_list.obj test_map.obj test_rope.obj test_set.obj \
Dsgi_mipspro.mak20 test_deque.o test_set.o test_map.o \
Dbcb.mak30 test_map.obj \
Ddeccxx.mak21 test_deque.o test_set.o test_map.o \
Dcomo.mak16 test_deque.cpp test_set.cpp test_map.cpp \
Dkai.mak13 test_deque.cpp test_set.cpp test_map.cpp \
Dtest_map.cpp98 void test_map() in test_map() function
Degcs.mak16 test_deque.cpp test_set.cpp test_map.cpp \
Dsunpro-64.mak18 test_deque.cpp test_set.cpp test_map.cpp \
Dsunpro.mak18 test_deque.cpp test_set.cpp test_map.cpp \
Dsunpro42.mak21 test_deque.cpp test_set.cpp test_map.cpp \
Dgcc7.mak16 test_deque.cpp test_set.cpp test_map.cpp \

12