Searched refs:test_utils (Results 1 - 25 of 53) sorted by relevance

123

/external/chromium-trace/trace-viewer/src/tracing/
H A Dfilter_test.js8 base.require('tracing.test_utils');
16 var s0 = tracing.test_utils.newSliceNamed('a', 1, 3);
22 var s1 = tracing.test_utils.newSliceNamed('ba', 1, 3);
27 var s2 = tracing.test_utils.newSliceNamed('Ca', 1, 3);
32 var c0 = tracing.test_utils.newCounterNamed(null, 'a');
38 var c1 = tracing.test_utils.newCounterNamed(null, 'ba');
43 var c2 = tracing.test_utils.newCounterNamed(null, 'cA');
50 var sNoCategory = tracing.test_utils.newSliceNamed('a', 1, 3);
54 var s0 = tracing.test_utils.newSlice(1, 3);
58 var s1 = tracing.test_utils
[all...]
H A Dtrace_model_test.js7 base.require('tracing.test_utils');
19 cpu.slices.push(tracing.test_utils.newSlice(1, 3));
24 t.asyncSliceGroup.push(tracing.test_utils.newAsyncSlice(0, 1, t, t));
100 cpu.slices.push(tracing.test_utils.newSlice(1, 3));
109 cpu.slices.push(tracing.test_utils.newSlice(1, 3));
170 var s0 = tracing.test_utils.newSlice(1, 3);
176 var s1 = tracing.test_utils.newSliceNamed('ba', 1, 3);
/external/chromium_org/chromeos/network/onc/
H A Donc_normalizer_unittest.cc20 test_utils::ReadTestDictionary("settings_with_normalization.json"));
29 EXPECT_TRUE(test_utils::Equals(expected_normalized, actual_normalized.get()));
H A Donc_translator_unittest.cc27 test_utils::ReadTestDictionary(source_onc_filename));
30 test_utils::ReadTestDictionary(result_shill_filename));
35 EXPECT_TRUE(test_utils::Equals(expected_shill_network.get(),
74 test_utils::ReadTestDictionary(source_shill_filename));
78 test_utils::ReadTestDictionary(result_onc_filename));
83 EXPECT_TRUE(test_utils::Equals(expected_onc_network.get(),
H A Donc_utils_unittest.cc19 test_utils::ReadTestDictionary("broken-encrypted-iterations.onc");
29 test_utils::ReadTestDictionary("broken-encrypted-zero-iterations.onc");
40 test_utils::ReadTestDictionary("encrypted.onc");
42 test_utils::ReadTestDictionary("decrypted.onc");
49 EXPECT_TRUE(test_utils::Equals(expected_decrypted_onc.get(),
79 test_utils::ReadTestDictionary("valid_openvpn.onc");
92 test_utils::ReadTestDictionary("wifi_clientcert_with_cert_pems.onc");
105 test_utils::ReadTestDictionary(
134 EXPECT_TRUE(test_utils::Equals(expected_resolved_onc,
H A Donc_test_utils.h20 namespace test_utils { namespace in namespace:chromeos::onc
32 // EXPECT_TRUE(test_utils::Equals(expected, actual));
36 } // namespace test_utils
H A Donc_test_utils.cc17 namespace test_utils { namespace in namespace:chromeos::onc
28 if (!chromeos::test_utils::GetTestDataPath(kNetworkComponentDirectory,
44 if (!chromeos::test_utils::GetTestDataPath(kNetworkComponentDirectory,
81 } // namespace test_utils
H A Donc_merger_unittest.cc58 policy_ = test_utils::ReadTestDictionary("managed_vpn.onc");
60 test_utils::ReadTestDictionary("managed_vpn_without_recommended.onc");
61 user_ = test_utils::ReadTestDictionary("user.onc");
62 device_policy_ = test_utils::ReadTestDictionary("device_policy.onc");
116 EXPECT_TRUE(test_utils::Equals(user_.get(), merged.get()));
125 EXPECT_TRUE(test_utils::Equals(policy_without_recommended_.get(),
129 EXPECT_TRUE(test_utils::Equals(policy_without_recommended_.get(),
148 test_utils::ReadTestDictionary("augmented_merge.json");
152 EXPECT_TRUE(test_utils::Equals(expected_augmented.get(), merged.get()));
/external/chromium_org/chrome/test/functional/
H A Dpasswords.py11 import test_utils namespace
132 test_utils.GoogleAccountsLogin(self, username, password)
138 'accept', infobar_index=test_utils.WaitForInfobarTypeAndGetIndex(
143 test_utils.VerifyGoogleAccountCredsFilled(self, username, password,
151 test_utils.GoogleAccountsLogin(
154 'accept', infobar_index=test_utils.WaitForInfobarTypeAndGetIndex(
159 test_utils.GoogleAccountsLogin(
163 'cancel', infobar_index=test_utils.WaitForInfobarTypeAndGetIndex(
179 test_utils.GoogleAccountsLogin(self, username, password)
181 'accept', infobar_index=test_utils
[all...]
H A Dchromeos_crosh.py10 import test_utils namespace
24 test_utils.OpenCroshVerification(self)
45 test_utils.OpenCroshVerification(self)
63 test_utils.OpenCroshVerification(self)
86 test_utils.OpenCroshVerification(self)
102 test_utils.OpenCroshVerification(self)
121 test_utils.OpenCroshVerification(self)
144 test_utils.OpenCroshVerification(self)
H A Domnibox.py15 import test_utils namespace
44 matches = test_utils.GetOmniboxMatchesFor(
74 matches_description = test_utils.GetOmniboxMatchesFor(
107 matches = test_utils.GetOmniboxMatchesFor(self, 'file://')
123 matches = test_utils.GetOmniboxMatchesFor(self, 'goog')
171 matches = test_utils.GetOmniboxMatchesFor(self,
183 matches = test_utils.GetOmniboxMatchesFor(self, 'apple')
198 matches = test_utils.GetOmniboxMatchesFor(self, search_string)
210 matches = test_utils.GetOmniboxMatchesFor(self, search_string)
216 matches = test_utils
[all...]
H A Dinfobars.py12 import test_utils namespace
192 test_utils.GoogleAccountsLogin(self, username, password, tab_index, windex)
211 infobar_index = test_utils.WaitForInfobarTypeAndGetIndex(
224 lambda: test_utils.GetInfobarIndexByType(
251 test_utils.WaitForInfobarTypeAndGetIndex(self, self.PW_INFOBAR_TYPE)
252 test_utils.AssertInfobarTypeDoesNotAppear(self, self.OC_INFOBAR_TYPE)
257 test_utils.AssertInfobarTypeDoesNotAppear(self, self.OC_INFOBAR_TYPE)
272 test_utils.WaitForInfobarTypeAndGetIndex(self, self.OC_INFOBAR_TYPE)
273 test_utils.AssertInfobarTypeDoesNotAppear(self, self.PW_INFOBAR_TYPE)
300 test_utils
[all...]
H A Dmemory.py12 import test_utils namespace
23 system for process memory usage info (test_utils.GetMemoryUsageOfProcess()).
95 usage = test_utils.GetMemoryUsageOfProcess(pid)
125 usage = test_utils.GetMemoryUsageOfProcess(pid)
H A Dchromeos_browser.py8 import test_utils namespace
32 test_utils.CrashBrowser(self)
H A Dtest_clean_exit.py15 import test_utils namespace
/external/chromium_org/chromeos/
H A Dchromeos_test_utils.h15 namespace test_utils { namespace in namespace:chromeos
22 } // namespace test_utils
H A Dchromeos_test_utils.cc12 namespace test_utils { namespace in namespace:chromeos
31 } // namespace test_utils
/external/chromium-trace/trace-viewer/src/tracing/trace_model/
H A Dcpu_test.js7 base.require('tracing.test_utils');
22 cpu.slices.push(tracing.test_utils.newSlice(1, 3));
38 cpu.slices.push(tracing.test_utils.newSlice(1, 3));
44 cpu.slices.push(tracing.test_utils.newSlice(1, 3));
H A Dasync_slice_group_test.js7 base.require('tracing.test_utils');
15 var newAsyncSlice = tracing.test_utils.newAsyncSlice;
H A Dthread_test.js7 base.require('tracing.test_utils');
14 var newSliceNamed = tracing.test_utils.newSliceNamed;
15 var newAsyncSlice = tracing.test_utils.newAsyncSlice;
/external/chromium_org/chromeos/app_mode/
H A Dkiosk_oem_manifest_parser_unittest.cc17 ASSERT_TRUE(chromeos::test_utils::GetTestDataPath(
/external/chromium_org/chromeos/network/
H A Dnetwork_ui_data_unittest.cc85 namespace test_utils = onc::test_utils;
87 test_utils::ReadTestDictionary(GetParam().first);
90 test_utils::ReadTestDictionary(GetParam().second);
99 EXPECT_TRUE(test_utils::Equals(&actual_uidata_dict, expected_uidata.get()));
H A Dmanaged_network_configuration_handler_unittest.cc35 namespace test_utils = ::chromeos::onc::test_utils;
218 test_utils::ReadTestDictionary(path_to_shill_json);
229 policy = test_utils::ReadTestDictionary(path_to_onc);
281 test_utils::ReadTestDictionary(
302 test_utils::ReadTestDictionary(
324 test_utils::ReadTestDictionary(
390 test_utils::ReadTestDictionary(
423 test_utils::ReadTestDictionary(
454 test_utils
[all...]
/external/chromium_org/chrome/browser/chromeos/net/
H A Donc_utils_unittest.cc42 EXPECT_TRUE(test_utils::Equals(expected_proxy_config,
/external/chromium-trace/trace-viewer/src/tracing/tracks/
H A Dthread_track_test.js7 base.require('tracing.test_utils');
19 var newAsyncSlice = tracing.test_utils.newAsyncSlice;
20 var newAsyncSliceNamed = tracing.test_utils.newAsyncSliceNamed;
21 var newSliceNamed = tracing.test_utils.newSliceNamed;

Completed in 1216 milliseconds

123