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

/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
H A Dtest_memorizingfile.py47 def check(self, memorizing_file, num_read, expected_list):
51 self.assertEqual(len(expected_list), len(actual_list))
52 for expected, actual in zip(expected_list, actual_list):
55 def check_with_size(self, memorizing_file, read_size, expected_list):
71 self.assertEqual(len(expected_list), len(actual_list))
72 self.assertEqual(len(expected_list), len(read_list))
73 for expected, actual, read in zip(expected_list, actual_list,
H A Dtest_handshake.py144 def _verify_extension_list(self, expected_list, actual_list):
146 same members as extension definitions in expected_list. Extension
151 self.assertEqual(len(expected_list), len(actual_list))
152 for expected, actual in zip(expected_list, actual_list):
/external/chromium_org/net/spdy/
H A Dspdy_priority_tree_test.cc257 PriorityList expected_list; local
291 expected_list.push_back(PriorityNode(3, 1.0/2.0));
292 expected_list.push_back(PriorityNode(2, 1.0/3.0));
293 expected_list.push_back(PriorityNode(1, 1.0/6.0));
295 EXPECT_EQ(expected_list, priority_list);
299 expected_list.clear();
300 expected_list.push_back(PriorityNode(3, 1.0/2.0));
301 expected_list.push_back(PriorityNode(2, 1.0/3.0));
302 expected_list.push_back(PriorityNode(5, 0.9*1.0/6.0));
303 expected_list
363 PriorityList expected_list; local
[all...]
/external/chromium_org/extensions/browser/api/web_request/
H A Dupload_data_presenter_unittest.cc61 base::ListValue expected_list; local
63 keys::kRequestBodyRawBytesKey, expected_a.release(), &expected_list);
65 keys::kRequestBodyRawFileKey, expected_b.release(), &expected_list);
67 keys::kRequestBodyRawBytesKey, expected_c.release(), &expected_list);
78 EXPECT_TRUE(result->Equals(&expected_list));
/external/chromium_org/base/prefs/
H A Dpref_member_unittest.cc192 base::ListValue expected_list; local
198 EXPECT_TRUE(expected_list.Equals(prefs.GetList(kStringListPref)));
203 expected_list.AppendString("foo");
207 EXPECT_TRUE(expected_list.Equals(prefs.GetList(kStringListPref)));
212 expected_list.AppendString("bar");
214 prefs.Set(kStringListPref, expected_list);
216 EXPECT_TRUE(expected_list.Equals(prefs.GetList(kStringListPref)));
221 expected_list.Remove(0, NULL);
223 prefs.Set(kStringListPref, expected_list);
225 EXPECT_TRUE(expected_list
[all...]
/external/chromium_org/components/policy/core/common/
H A Dregistry_dict_win_unittest.cc240 scoped_ptr<base::ListValue> expected_list(new base::ListValue());
241 expected_list->Append(string_value.DeepCopy());
242 expected.Set("dict-to-list", expected_list.release());
248 expected_list.reset(new base::ListValue());
249 expected_list->Append(new base::StringValue("value"));
251 expected_subdict->Set("key", expected_list.release());
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Djsc_view_test.py185 expected_list = [
235 self.assertEquals(model._GetIntroTableList(), expected_list)
248 expected_list[1] = {
258 self.assertEquals(model._GetIntroTableList(), expected_list)
H A Dcompiled_file_system_test.py56 def CheckNamespace(expected_file, expected_list, fs):
58 self.assertEqual(expected_list, fs._list_object_store.namespace)
/external/chromium_org/cc/quads/
H A Drender_pass_unittest.cc36 static void CompareRenderPassLists(const RenderPassList& expected_list, argument
38 EXPECT_EQ(expected_list.size(), actual_list.size());
40 RenderPass* expected = expected_list[i];
/external/chromium_org/chrome/browser/chromeos/settings/
H A Dcros_settings_unittest.cc150 base::ListValue* expected_list = whitelist.DeepCopy(); local
159 AddExpectation(kAccountsPrefUsers, expected_list);
/external/chromium_org/chrome/browser/password_manager/
H A Dnative_backend_gnome_x_unittest.cc284 void CheckPasswordChanges(const PasswordStoreChangeList& expected_list, argument
286 ASSERT_EQ(expected_list.size(), actual_list.size());
287 for (size_t i = 0; i < expected_list.size(); ++i) {
288 EXPECT_EQ(expected_list[i].type(), actual_list[i].type());
289 const PasswordForm& expected = expected_list[i].form();
/external/chromium_org/cc/output/
H A Doverlay_unittest.cc190 static void CompareRenderPassLists(const RenderPassList& expected_list, argument
192 EXPECT_EQ(expected_list.size(), actual_list.size());
194 RenderPass* expected = expected_list[i];
/external/chromium_org/content/renderer/
H A Dv8_value_converter_impl_unittest.cc644 base::ListValue expected_list; local
645 expected_list.Append(base::Value::CreateNullValue());
652 EXPECT_TRUE(expected_list.Equals(actual_list.get()));

Completed in 1823 milliseconds