Home
last modified time | relevance | path

Searched refs:expected_list (Results 1 – 13 of 13) sorted by relevance

/external/autotest/client/cros/cellular/
Dsms.py112 def compare_list(self, expected_list, got_list): argument
113 if len(expected_list) != len(got_list):
116 for (expected,got) in zip(expected_list, got_list):
148 def test_list(self, expected_list): argument
150 if self.compare_list(expected_list, sms_list) == False:
151 logging.info('Got %s, expected %s' % (sms_list, expected_list))
/external/libchrome/components/policy/core/common/
Dregistry_dict_unittest.cc232 auto expected_list = std::make_unique<base::ListValue>(); in TEST() local
233 expected_list->Append(std::make_unique<base::Value>(string_value.Clone())); in TEST()
234 expected.Set("dict-to-list", std::move(expected_list)); in TEST()
240 expected_list = std::make_unique<base::ListValue>(); in TEST()
241 expected_list->Append(std::make_unique<base::Value>("value")); in TEST()
243 expected_subdict->Set("key", std::move(expected_list)); in TEST()
276 std::unique_ptr<base::ListValue> expected_list(new base::ListValue()); in TEST() local
277 expected_list->Append(base::Value("1").CreateDeepCopy()); in TEST()
278 expected_list->Append(base::Value("2").CreateDeepCopy()); in TEST()
279 expected_list->Append(base::Value("4").CreateDeepCopy()); in TEST()
[all …]
/external/tensorflow/tensorflow/python/saved_model/
Dnested_structure_coder_test.py88 expected_list = expected.list_value
89 expected_tensor_shape = expected_list.values.add().tensor_shape_value
93 expected_tensor_shape = expected_list.values.add().string_value = "hello"
169 expected_list = expected.list_value
170 expected_tensor_spec = expected_list.values.add().tensor_spec_value
185 expected_list = expected.list_value
186 expected_tensor_spec = expected_list.values.add().tensor_spec_value
284 expected_list = expected.list_value
285 expected_tensor_spec = expected_list.values.add().bounded_tensor_spec_value
307 expected_list = expected.list_value
[all …]
/external/minijail/test/
Dlibminijail_test.cpp67 bool check_groups(size_t expected_size, gid_t* expected_list) { in check_groups() argument
82 if (expected_list[i] == actual_list[j]) { in check_groups()
89 LOG(ERROR) << "Expected GID " << expected_list[i] << " not found."; in check_groups()
/external/llvm-project/lldb/test/API/tools/lldb-vscode/completions/
DTestVSCode_completions.py18 def verify_completions(self, actual_list, expected_list, not_expected_list=[]): argument
19 for expected_item in expected_list:
/external/python/cpython2/Lib/test/
Dtest_pyexpat.py435 self.assertTrue(self.upto < len(self.expected_list),
437 expected = self.expected_list[self.upto]
447 self.expected_list = [('s', 0, 1, 0), ('s', 5, 2, 1), ('s', 11, 3, 2),
/external/python/cpython3/Lib/test/
Dtest_pyexpat.py486 self.assertTrue(self.upto < len(self.expected_list),
488 expected = self.expected_list[self.upto]
498 self.expected_list = [('s', 0, 1, 0), ('s', 5, 2, 1), ('s', 11, 3, 2),
Dtest_bdb.py178 self.expected_list = list(islice(self.expect_set, 0, None, 2))
243 self.expect = self.expected_list.pop(0)
/external/dagger2/tools/
Dmaven.bzl296 def _validate_list(name, actual_list, expected_list, banned_list = []):
297 missing = sorted(['"{}",'.format(x) for x in actual_list if x not in expected_list])
301 extra = sorted(['"{}",'.format(x) for x in expected_list if x not in actual_list])
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py542 expected_list = list(sequence)
543 self.assertEqual(expected_list, sequence)
545 self.assertEqual(len(sequence), len(expected_list)) # Iterable
560 expected_list[0] = 'change value'
561 self.assertNotEqual(expected_list, sequence)
/external/autotest/site_utils/
Dgs_offloader_unittest.py1271 def _run_get_directories(self, cls, expected_list): argument
1280 self.assertEqual(set(dirlist), set(expected_list))
/external/python/mock/mock/tests/
Dtestmock.py1252 expected_list = [((1,), dict(a=3)), ((2,), dict(b=4))]
1253 for expected, call_args in zip(expected_list, mock.call_args_list):
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmock.py1259 expected_list = [((1,), dict(a=3)), ((2,), dict(b=4))]
1260 for expected, call_args in zip(expected_list, mock.call_args_list):