Home
last modified time | relevance | path

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

/external/google-breakpad/src/processor/
Daddress_map_unittest.cc79 TestMap test_map; in DoAddressMapTest() local
84 ASSERT_FALSE(test_map.Retrieve(0, &entry, &address)); in DoAddressMapTest()
85 ASSERT_FALSE(test_map.Retrieve(INT_MIN, &entry, &address)); in DoAddressMapTest()
86 ASSERT_FALSE(test_map.Retrieve(INT_MAX, &entry, &address)); in DoAddressMapTest()
90 ASSERT_TRUE(test_map.Store(1, in DoAddressMapTest()
92 ASSERT_TRUE(test_map.Retrieve(1, &entry, &address)); in DoAddressMapTest()
94 test_map.Clear(); in DoAddressMapTest()
98 ASSERT_FALSE(test_map.Retrieve(0, &entry, &address)); in DoAddressMapTest()
99 ASSERT_FALSE(test_map.Retrieve(INT_MIN, &entry, &address)); in DoAddressMapTest()
100 ASSERT_FALSE(test_map.Retrieve(INT_MAX, &entry, &address)); in DoAddressMapTest()
[all …]
Dstatic_map_unittest.cc94 TestMap test_map; member in TestInvalidMap
99 test_map = TestMap(data); in TEST_F()
100 ASSERT_FALSE(test_map.ValidateInMemoryStructure()); in TEST_F()
111 test_map = TestMap(data); in TEST_F()
112 ASSERT_FALSE(test_map.ValidateInMemoryStructure()); in TEST_F()
116 test_map = TestMap(data); in TEST_F()
117 ASSERT_FALSE(test_map.ValidateInMemoryStructure()); in TEST_F()
134 test_map = TestMap(data); in TEST_F()
135 ASSERT_FALSE(test_map.ValidateInMemoryStructure()); in TEST_F()
147 test_map[testcase] = TestMap(map_data[testcase]); in SetUp()
[all …]
Dstatic_contained_range_map_unittest.cc242 scoped_ptr<TestMap> test_map(new TestMap(serialized_data.get())); in TEST_F() local
248 ASSERT_FALSE(test_map->RetrieveRange(-1, entry_test)); in TEST_F()
249 ASSERT_FALSE(test_map->RetrieveRange(0, entry_test)); in TEST_F()
250 ASSERT_FALSE(test_map->RetrieveRange(10, entry_test)); in TEST_F()
262 scoped_ptr<TestMap> test_map(new TestMap(serialized_data.get())); in TEST_F() local
268 ASSERT_FALSE(test_map->RetrieveRange(-1, entry_test)); in TEST_F()
269 ASSERT_FALSE(test_map->RetrieveRange(0, entry_test)); in TEST_F()
270 ASSERT_TRUE(test_map->RetrieveRange(10, entry_test)); in TEST_F()
272 ASSERT_TRUE(test_map->RetrieveRange(13, entry_test)); in TEST_F()
Dstatic_address_map_unittest.cc82 test_map[testcase] = TestMap(map_data[testcase]); in SetUp()
104 test_map[testcase].Retrieve(target, entry_cstring, &address_test); in CompareRetrieveResult()
149 TestMap test_map[kNumberTestCases]; member in TestStaticAddressMap
/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/skia/samplecode/
DSampleSkLayer.cpp39 static void test_map(SkScalar x0, SkScalar y0, SkScalar z0, in test_map() function
88 test_map(1, 0, 0, m0, 1, 0, 0); in test44()
89 test_map(0, 1, 0, m0, 0, 1, 0); in test44()
90 test_map(0, 0, 1, m0, 0, 0, 1); in test44()
92 test_map(1, 0, 0, m0, 2, 0, 0); in test44()
93 test_map(0, 1, 0, m0, 0, 3, 0); in test44()
94 test_map(0, 0, 1, m0, 0, 0, 4); in test44()
96 test_map(0, 0, 0, m0, 2, 3, 4); in test44()
98 test_map(1, 0, 0, m0, 7, 3, 4); in test44()
99 test_map(0, 1, 0, m0, 2, 9, 4); in test44()
[all …]
/external/v8/tools/testrunner/network/
Dnetwork_execution.py182 data, test_map = packet.Pack(self.binaries)
195 test = test_map.pop(test_id)
230 if len(test_map) > 0:
232 print("\nNo results for %d tests, running them locally." % len(test_map))
233 self._EnqueueLocally(test_map)
235 def _EnqueueLocally(self, test_map): argument
237 for test in test_map:
238 self.tests.append(test_map[test])
/external/v8/tools/testrunner/objects/
Dworkpacket.py63 test_map = {}
65 test_map[t.id] = t
75 return result, test_map
/external/v8/tools/testrunner/local/
Dexecution.py209 test_map = {}
217 test_map[test.id] = test
228 test = test_map[result[0]]
/external/chromium-trace/trace-viewer/third_party/Paste/tests/
Dtest_urlmap.py15 def test_map(): function
/external/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc3741 map<int, std::string> test_map; in TEST() local
3742 test_map[0] = "aa"; in TEST()
3743 test_map[1] = "b"; in TEST()
3747 EXPECT_FALSE(m.Matches(test_map)); in TEST()
3751 Explain(m, test_map)); in TEST()
/external/chromium-trace/trace-viewer/third_party/six/
Dtest_six.py210 def test_map(): function