Home
last modified time | relevance | path

Searched refs:test_path (Results 1 – 25 of 62) sorted by relevance

123

/external/libchrome/base/files/
Dscoped_temp_dir_unittest.cc16 FilePath test_path; in TEST() local
18 &test_path); in TEST()
21 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
24 EXPECT_TRUE(dir.Set(test_path)); in TEST()
27 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
31 EXPECT_TRUE(dir.Set(test_path)); in TEST()
33 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
36 EXPECT_EQ(path.value(), test_path.value()); in TEST()
39 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
44 EXPECT_TRUE(dir.Set(test_path)); in TEST()
[all …]
/external/opencv3/modules/photo/test/
Dtest_hdr.cpp91 string test_path = string(cvtest::TS::ptr()->get_data_path()) + "hdr/tonemap/"; in TEST() local
94 loadImage(test_path + "image.hdr", img); in TEST()
99 loadImage(test_path + "linear.png", expected); in TEST()
105 loadImage(test_path + "drago.png", expected); in TEST()
111 loadImage(test_path + "durand.png", expected); in TEST()
117 loadImage(test_path + "reinhard.png", expected); in TEST()
123 loadImage(test_path + "mantiuk.png", expected); in TEST()
157 string test_path = string(cvtest::TS::ptr()->get_data_path()) + "hdr/"; in TEST() local
160 loadExposureSeq((test_path + "exposures/").c_str() , images); in TEST()
165 loadImage(test_path + "merge/mertens.png", expected); in TEST()
[all …]
/external/chromium-trace/catapult/dashboard/dashboard/
Dgraph_revisions.py41 test_path = self.request.get('test_path')
42 rows = namespaced_stored_object.Get(_CACHE_KEY % test_path)
44 rows = _UpdateCache(utils.TestKey(test_path))
48 def SetCache(test_path, rows): argument
56 namespaced_stored_object.Set(_CACHE_KEY % test_path, rows)
61 test = utils.TestKey(test_path).get()
63 namespaced_stored_object.SetExternal(_CACHE_KEY % test_path, rows)
66 def DeleteCache(test_path): argument
68 namespaced_stored_object.Delete(_CACHE_KEY % test_path)
120 test_path = utils.TestPath(test_key)
[all …]
Dmigrate_test_names_test.py56 test_path = 'ChromiumPerf/mac/SunSpider/Total/t'
57 test_key = utils.TestKey(test_path)
67 def _CheckRows(self, test_path, multiplier=2): argument
77 test_key = utils.TestKey(test_path)
85 def _CheckAnomalies(self, test_path, r1=15000, r2=15050): argument
93 key = utils.TestKey(test_path)
111 actual = [t.test_path for t in tests]
247 test_path = 'ChromiumPerf/mac/moz/read_op_b/r_op_b'
248 test = utils.TestKey(test_path).get()
256 test_path = 'ChromiumPerf/win7/moz/read_op_b/r_op_b'
[all …]
Ddebug_alert_test.py38 test_path = 'M/b/suite/foo'
40 testing_common.AddRows(test_path, rows_dict)
41 return utils.TestKey(test_path)
50 test_path = utils.TestPath(test_key)
51 response = self.testapp.get('/debug_alert?test_path=%s' % test_path)
57 test_path = utils.TestPath(test_key)
58 get_response = self.testapp.get('/debug_alert?test_path=%s' % test_path)
59 post_response = self.testapp.post('/debug_alert?test_path=%s' % test_path)
69 test_path = utils.TestPath(test_key)
72 (test_path, 305, 10, 5))
[all …]
Dgraph_json.py312 'path': test.test_path,
491 for test_path in test_path_dict:
492 parent_test_name = test_path.split('/')[-1]
493 selected_traces = test_path_dict[test_path]
495 sub_test_dict = _GetSubTestDict([test_path])
496 selected_traces = _GetTraces(test_path, sub_test_dict)
499 test_paths_with_rows.append(test_path)
501 test_paths_with_rows.append(test_path + '/' + trace)
519 for test_path in test_path_dict:
520 parent_test_name = test_path.split('/')[-1]
[all …]
Dchange_internal_only_test.py81 if (test.test_path.startswith('ChromiumPerf/win7') or
82 test.test_path.startswith('ChromiumGPU/mac')):
90 test_path = utils.TestPath(row.key.parent())
91 if (test_path.startswith('ChromiumPerf/win7') or
92 test_path.startswith('ChromiumGPU/mac')):
100 test_path = utils.TestPath(a.test)
101 if (test_path.startswith('ChromiumPerf/win7') or
102 test_path.startswith('ChromiumGPU/mac')):
Dutils.py93 def TestKey(test_path): argument
95 if test_path is None:
97 path_parts = test_path.split('/')
121 test_path = TestPath(test)
123 test_path = test.test_path
124 test_path_parts = test_path.split('/')
170 test_path = None
172 test_path = TestPath(test)
174 test_path = test.test_path
175 return ndb.Key('TestContainer', test_path)
Dcan_bisect.py48 def IsValidTestForBisect(test_path): argument
50 if not test_path:
52 path_parts = test_path.split('/')
59 if test_path.endswith('/ref') or test_path.endswith('_ref'):
Dfind_anomalies.py47 test.last_alerted_revision, highest_rev, test.test_path)
50 logging.error('No rows fetched for %s', test.test_path)
69 logging.info('Found at least one anomaly in: %s', test.test_path)
156 test_path = utils.TestPath(test_key)
162 test_path, c.x_value)
166 test_path, c.x_value)
172 test_path = utils.TestPath(test_key)
173 possible_ref_test_paths = [test_path + '_ref', test_path + '/ref']
Ddebug_alert.py73 'test_path': test.test_path,
83 'csv_url': _CsvUrl(test.test_path, rows),
93 test_path = self.request.get('test_path')
94 if not test_path:
96 test = utils.TestKey(test_path).get()
98 raise QueryParameterError('Test "%s" not found.' % test_path)
310 def _CsvUrl(test_path, rows): argument
313 params = [('test_path', test_path)]
327 ('tests', '/'.join(test.test_path.split('/')[2:])),
Demail_template.py231 def GetReportPageLink(test_path, rev=None, add_protocol_and_host=True): argument
233 path_parts = test_path.split('/')
235 logging.error('Could not make link, invalid test path: %s', test_path)
262 test_path = utils.TestPath(alert.test)
263 return GetReportPageLink(test_path, rev=alert.end_revision)
279 test_name = '/'.join(test.test_path.split('/')[2:])
Dgraph_csv.py32 test_path = self.request.get('test_path')
37 if not test_path:
41 logging.info('Got request to /graph_csv for test: "%s".', test_path)
43 test_key = utils.TestKey(test_path)
Dfind_anomalies_test.py127 test_path = 'ChromiumGPU/linux-release/scrolling_benchmark/ref'
128 test = utils.TestKey(test_path).get()
130 email='a@google.com', id='sheriff', patterns=[test_path]).put()
199 email='a@google.com', id='sheriff', patterns=[test.test_path]).put()
227 email='a@google.com', id='sheriff', patterns=[test.test_path]).put()
246 email='a@google.com', id='sheriff', patterns=[test.test_path]).put()
283 email='a@google.com', id='sheriff', patterns=[non_ref.test_path]).put()
308 email='a@google.com', id='sheriff', patterns=[ref.test_path]).put()
310 email='a@google.com', id='sheriff', patterns=[non_ref.test_path]).put()
328 email='a@google.com', id='sheriff', patterns=[ref.test_path]).put()
Dstart_try_job.py191 def _PrefillInfo(test_path): argument
202 if not test_path:
205 suite_path = '/'.join(test_path.split('/')[:3])
208 return {'error': 'Invalid test %s' % test_path}
210 graph_path = '/'.join(test_path.split('/')[:4])
240 info['default_metric'] = GuessMetric(test_path)
491 def GuessMetric(test_path): argument
505 parts = test_path.split('/')
509 elif len(parts) == 5 and _HasChildTest(test_path):
528 logging.error('Cannot guess metric for test %s', test_path)
[all …]
Dadd_point.py585 def _ValidateTestPath(test_path): argument
589 if len(test_path) > _MAX_TEST_PATH_LENGTH:
590 raise BadRequestError('Test path too long: %s' % test_path)
593 if '*' in test_path:
596 for name in test_path.split('/'):
623 test_path = '%s/%s/%s' % (master, bot, test)
624 last_row_id = test_map.get(test_path)
627 logging.warning('Test %s has no last added revision entry.', test_path)
/external/skia/tests/
DTessellatingPathRendererTests.cpp235 static void test_path(GrDrawTarget* dt, GrRenderTarget* rt, GrResourceProvider* rp, in test_path() function
269 test_path(dt, rt, rp, create_path_0()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
270 test_path(dt, rt, rp, create_path_1()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
271 test_path(dt, rt, rp, create_path_2()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
272 test_path(dt, rt, rp, create_path_3()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
273 test_path(dt, rt, rp, create_path_4()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
274 test_path(dt, rt, rp, create_path_5()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
275 test_path(dt, rt, rp, create_path_6()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
276 test_path(dt, rt, rp, create_path_7()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
277 test_path(dt, rt, rp, create_path_8()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
[all …]
/external/harfbuzz_ng/test/api/
Dhb-test.h163 hb_test_add_func (const char *test_path, in hb_test_add_func() argument
166 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_func()
173 hb_test_add_func_flavor (const char *test_path, in hb_test_add_func_flavor() argument
177 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_func_flavor()
184 hb_test_add_data_func (const char *test_path, in hb_test_add_data_func() argument
188 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_data_func()
195 hb_test_add_data_func_flavor (const char *test_path, in hb_test_add_data_func_flavor() argument
200 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_data_func_flavor()
208 hb_test_add_vtable (const char *test_path, in hb_test_add_vtable() argument
215 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_vtable()
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Dmd5sum_test.py42 test_path = '/test/host/file.dat'
47 out = md5sum.CalculateHostMd5Sums(test_path)
100 test_path = '/storage/emulated/legacy/test/file.dat'
110 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
118 test_path = ['/storage/emulated/legacy/test/file0.dat',
130 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
141 test_path = ('/storage/emulated/legacy/test/file%d.dat' % n
154 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
166 test_path = '/storage/emulated/legacy/test/file.dat'
179 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
[all …]
/external/chromium-trace/catapult/dashboard/dashboard/models/
Dstoppage_alert_test.py20 test_path = 'M/b/suite/foo'
21 test_key = utils.TestKey(test_path)
23 testing_common.AddRows(test_path, {100})
61 stoppage_alert.GetStoppageAlert(test.test_path, row.revision))
83 test_path = 'M/b/suite/another'
84 rows = testing_common.AddRows(test_path, [1])
85 test = utils.TestKey(test_path).get()
/external/autotest/server/cros/dynamic_suite/
Dcontrol_file_getter.py34 def get_control_file_contents(self, test_path): argument
178 def get_control_file_contents(self, test_path): argument
186 return utils.read_file(test_path)
188 msg = "Can't retrieve {0}: {1} ({2})".format(test_path,
241 def get_control_file_contents(self, test_path): argument
252 return self._dev_server.get_control_file(self._build, test_path)
/external/autotest/site_utils/
Drestart_latest.py93 test_path = os.path.join(build_path, test)
96 if not os.path.isdir(test_path) or not test.startswith('netbook_'):
99 print 'Removing lock %s' % test_path
100 os.rmdir(test_path)
/external/webrtc/webrtc/base/
Dfilerotatingstream_unittest.cc29 Pathname test_path; in Init() local
30 ASSERT_TRUE(Filesystem::GetAppTempFolder(&test_path)); in Init()
32 test_path.AppendFolder(dir_name); in Init()
33 ASSERT_TRUE(Filesystem::CreateFolder(test_path)); in Init()
34 dir_path_ = test_path.pathname(); in Init()
188 Pathname test_path; in Init() local
189 ASSERT_TRUE(Filesystem::GetAppTempFolder(&test_path)); in Init()
191 test_path.AppendFolder(dir_name); in Init()
192 ASSERT_TRUE(Filesystem::CreateFolder(test_path)); in Init()
193 dir_path_ = test_path.pathname(); in Init()
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
Dfunctional.rb18 File.basename( test_path, '.rb' )
22 File.dirname( test_path )
159 klass.test_path = call_stack[ 0 ].file
166 def test_path method in ANTLR3.Test.Functional
167 self.class.test_path
/external/v8/tools/ninja/
Dninja_output.py31 def is_release_newer(test_path): argument
33 debug_mtime = os.path.getmtime(os.path.join(debug_path, test_path))
37 rel_mtime = os.path.getmtime(os.path.join(release_path, test_path))

123