Home
last modified time | relevance | path

Searched refs:test_map (Results 1 – 22 of 22) 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/
Ddebug_options_parsers_test.cc29 std::unordered_map<string, string> test_map; in TEST() local
31 parse_xla_backend_extra_options(&test_map, test_string); in TEST()
32 EXPECT_EQ(test_map.size(), 4); in TEST()
33 EXPECT_EQ(test_map.at("aa"), "bb"); in TEST()
34 EXPECT_EQ(test_map.at("cc"), ""); in TEST()
35 EXPECT_EQ(test_map.at("dd"), ""); in TEST()
36 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/tensorflow/tensorflow/python/saved_model/model_utils/
Dmode_keys_test.py27 def test_map(self): member in ModeKeyMapTest
/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.py1133 def test_map(self): member in TestBasicOps
1572 def test_map(self): member in TestExamples
1727 def test_map(self): member in TestGC
1924 def test_map(self): member in TestVariousIteratorArgs
Dtest_concurrent_futures.py662 def test_map(self): member in ExecutorTest
Dtest_builtin.py796 def test_map(self): member in BuiltinTest
D_test_multiprocessing.py2250 def test_map(self): member in _TestPool
/external/python/futures/
Dtest_futures.py483 def test_map(self): member in ExecutorTest
/external/python/six/
Dtest_six.py230 def test_map(): function
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc4997 map<int, std::string> test_map; in TEST() local
4998 test_map[0] = "aa"; in TEST()
4999 test_map[1] = "b"; in TEST()
5003 EXPECT_FALSE(m.Matches(test_map)); in TEST()
5007 Explain(m, test_map)); in TEST()
/external/python/cpython2/Lib/test/
Dtest_builtin.py724 def test_map(self): member in BuiltinTest
Dtest_multiprocessing.py1195 def test_map(self): member in _TestPool