Home
last modified time | relevance | path

Searched refs:test_map (Results 1 – 24 of 24) 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/tensorflow/tensorflow/compiler/xla/legacy_flags/
Ddebug_options_parsers_test.cc31 std::unordered_map<string, string> test_map; in TEST() local
33 impl::parse_xla_backend_extra_options(&test_map, test_string); in TEST()
34 EXPECT_EQ(test_map.size(), 4); in TEST()
35 EXPECT_EQ(test_map.at("aa"), "bb"); in TEST()
36 EXPECT_EQ(test_map.at("cc"), ""); in TEST()
37 EXPECT_EQ(test_map.at("dd"), ""); in TEST()
38 EXPECT_EQ(test_map.at("ee"), "ff=gg"); in TEST()
/external/autotest/server/cros/
Dgoofy_client.py259 test_map = collections.defaultdict(list)
261 test_map[names.split('.')[0]].append(names)
262 return test_map
375 test_map = self._get_test_map()
376 if test_map:
377 logging.info('About to execute tests: %s', test_map)
383 for current_suite in test_map.keys():
389 for test_names in test_map.get(current_suite):
/external/v8/tools/testrunner/network/
Dnetwork_execution.py180 data, test_map = packet.Pack(self.binaries)
193 test = test_map.pop(test_id)
227 if len(test_map) > 0:
229 print("\nNo results for %d tests, running them locally." % len(test_map))
230 self._EnqueueLocally(test_map)
232 def _EnqueueLocally(self, test_map): argument
234 for test in test_map:
235 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.py336 test_map = {}
341 test_map[test.id] = test
360 test = test_map[result.value[0]]
/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_style.py24 def test_map(self): member in StyleTest
/external/python/cpython3/Lib/tkinter/test/test_ttk/
Dtest_style.py24 def test_map(self): member in StyleTest
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py1502 msg.test_map.map_int32_int32[123] = 456
1512 msg.test_map.map_int32_int32[888] = 999
1517 msg.test_map.map_int32_int32.clear()
1524 msg.test_map.map_int32_foreign_message[123].c = 5
1534 msg.test_map.map_int32_foreign_message[888].c = 7
1539 msg.test_map.map_int32_foreign_message[888].MergeFrom(
1540 msg.test_map.map_int32_foreign_message[123])
1545 msg.test_map.map_int32_foreign_message.clear()
/external/protobuf/src/google/protobuf/
Dmap_unittest.proto66 TestMap test_map = 1; field
Dmap_unittest_proto3.proto71 TestMap test_map = 1; field
/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/python/cpython3/Lib/test/
Dtest_itertools.py1113 def test_map(self): member in TestBasicOps
1534 def test_map(self): member in TestExamples
1647 def test_map(self): member in TestGC
1844 def test_map(self): member in TestVariousIteratorArgs
Dtest_concurrent_futures.py405 def test_map(self): member in ExecutorTest
Dtest_builtin.py780 def test_map(self): member in BuiltinTest
D_test_multiprocessing.py1768 def test_map(self): member in _TestPool
/external/python/futures/
Dtest_futures.py483 def test_map(self): member in ExecutorTest
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc4329 map<int, std::string> test_map; in TEST() local
4330 test_map[0] = "aa"; in TEST()
4331 test_map[1] = "b"; in TEST()
4335 EXPECT_FALSE(m.Matches(test_map)); in TEST()
4339 Explain(m, test_map)); in TEST()
/external/v8/testing/gmock/test/
Dgmock-matchers_test.cc4291 map<int, std::string> test_map; in TEST() local
4292 test_map[0] = "aa"; in TEST()
4293 test_map[1] = "b"; in TEST()
4297 EXPECT_FALSE(m.Matches(test_map)); in TEST()
4301 Explain(m, test_map)); in TEST()
/external/python/cpython2/Lib/test/
Dtest_builtin.py724 def test_map(self): member in BuiltinTest
Dtest_multiprocessing.py1141 def test_map(self): member in _TestPool