/external/chromium-trace/catapult/dashboard/dashboard/models/ |
graph_data_test.py | 8 from dashboard.models import graph_data namespace 14 master = graph_data.Master(id='M').put() 15 bot = graph_data.Bot(parent=master, id='b').put() 18 key = graph_data.Test(id='a', parent=bot, description=too_long).put()
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
list_monitored_tests.py | 12 from dashboard.models import graph_data namespace 34 sheriffed_query = graph_data.Test.query( 35 graph_data.Test.sheriff == sheriff, 36 graph_data.Test.has_rows == True)
|
list_monitored_tests_test.py | 13 from dashboard.models import graph_data namespace 28 master = graph_data.Master(id='TheMaster').put() 29 bot = graph_data.Bot(id='TheBot', parent=master).put() 30 suite1 = graph_data.Test(id='Suite1', parent=bot).put() 31 suite2 = graph_data.Test(id='Suite2', parent=bot).put() 32 graph_data.Test(id='aaa', parent=suite1, has_rows=True).put() 33 graph_data.Test(id='bbb', parent=suite1, has_rows=True).put() 34 graph_data.Test(id='ccc', parent=suite2, has_rows=True).put() 35 graph_data.Test(id='ddd', parent=suite2, has_rows=True).put()
|
add_point_queue_test.py | 10 from dashboard.models import graph_data namespace 21 master_key = graph_data.Master(id='ChromiumPerf', parent=None).put() 22 bot_key = graph_data.Bot(id='win7', parent=master_key).put() 23 suite_key = graph_data.Test(id='dromaeo', parent=bot_key).put() 24 subtest_key = graph_data.Test(id='dom', parent=suite_key).put() 25 graph_data.Test(id='modify', parent=subtest_key).put() 31 self.assertEqual(1, len(graph_data.Master.query().fetch())) 32 self.assertEqual(1, len(graph_data.Bot.query().fetch())) 33 self.assertEqual(3, len(graph_data.Test.query().fetch())) 40 created_masters = graph_data.Master.query().fetch( [all...] |
new_points_test.py | 16 from dashboard.models import graph_data namespace 46 mytest_row = graph_data.Row( 53 other_row = graph_data.Row( 62 master = graph_data.Master(id='XMaster').put() 63 bot = graph_data.Bot(id='x-bot', parent=master, internal_only=True).put() 64 test = graph_data.Test(id='xtest', parent=bot, internal_only=True).put() 67 graph_data.Row(parent=test_container_key, id=i + 1000, value=i + 1000, 114 master = graph_data.Master(id='XMaster').put() 115 bot = graph_data.Bot(id='x-bot', parent=master).put() 117 test = graph_data.Test(id='xtest-%d' % i, parent=bot).put( [all...] |
graph_csv.py | 14 from dashboard.models import graph_data namespace 48 q = graph_data.Row.query() 49 q = q.filter(graph_data.Row.parent_test == test_key) 51 q = q.filter(graph_data.Row.revision <= int(rev)) 52 q = q.order(-graph_data.Row.revision)
|
edit_config_handler_test.py | 14 from dashboard.models import graph_data namespace 31 master = graph_data.Master(id='TheMaster').put() 32 bot = graph_data.Bot(id='TheBot', parent=master).put() 33 suite1 = graph_data.Test(id='Suite1', parent=bot).put() 34 suite2 = graph_data.Test(id='Suite2', parent=bot).put() 35 graph_data.Test(id='aaa', parent=suite1, has_rows=True).put() 36 graph_data.Test(id='bbb', parent=suite1, has_rows=True).put() 37 graph_data.Test(id='ccc', parent=suite2, has_rows=True).put() 38 graph_data.Test(id='ddd', parent=suite2, has_rows=True).put()
|
graph_revisions_test.py | 16 from dashboard.models import graph_data namespace 30 master_key = graph_data.Master(id='ChromiumPerf').put() 32 bot_key = graph_data.Bot(id=bot_name, parent=master_key).put() 33 test_key = graph_data.Test(id='dromaeo', parent=bot_key).put() 34 subtest_key = graph_data.Test( 38 row = graph_data.Row(parent=test_container_key, 78 row1 = graph_data.Row(parent=test_container_key, 82 row2 = graph_data.Row(parent=test_container_key, 86 row3 = graph_data.Row(parent=test_container_key,
|
datastore_hooks_test.py | 12 from dashboard.models import graph_data namespace 78 graph_data.Row( 81 graph_data.Row( 98 bots = graph_data.Bot.query().fetch() 107 tests = graph_data.Test.query().fetch() 125 tests = graph_data.Test.query(ancestor=ndb.Key( 132 rows = graph_data.Row.query().fetch() 138 rows = graph_data.Row.query(ndb.OR( 139 graph_data.Row.revision < 20, graph_data.Row.revision > 70)).filter [all...] |
utils_test.py | 15 from dashboard.models import graph_data namespace 82 master = graph_data.Master(id='M').put() 83 bot = graph_data.Bot(parent=master, id='b').put() 85 graph_data.Test(id='a', parent=bot, internal_only=False).put(), 86 graph_data.Test(id='b', parent=bot, internal_only=False).put(), 87 graph_data.Test(id='c', parent=bot, internal_only=False).put(), 88 graph_data.Test(id='d', parent=bot, internal_only=False).put(), 94 master = graph_data.Master(id='M').put() 95 bot = graph_data.Bot(parent=master, id='b').put() 97 graph_data.Test(id='ax', parent=bot, internal_only=True).put() [all...] |
edit_anomaly_configs_test.py | 19 from dashboard.models import graph_data namespace 84 master = graph_data.Master(id='TheMaster').put() 85 bot = graph_data.Bot(id='TheBot', parent=master).put() 86 suite1 = graph_data.Test(id='Suite1', parent=bot).put() 87 suite2 = graph_data.Test(id='Suite2', parent=bot).put() 88 test_aaa = graph_data.Test(id='aaa', parent=suite1, has_rows=True).put() 89 test_bbb = graph_data.Test(id='bbb', parent=suite1, has_rows=True).put() 90 test_ccc = graph_data.Test(id='ccc', parent=suite1, has_rows=True).put() 91 test_ddd = graph_data.Test(id='ddd', parent=suite2, has_rows=True).put() 147 master = graph_data.Master(id='TheMaster').put( [all...] |
new_points.py | 10 from dashboard.models import graph_data namespace 32 query = graph_data.Row.query() 33 query = query.order(-graph_data.Row.timestamp) 62 query = query.filter(graph_data.Row.parent_test.IN(test_keys))
|
graph_csv_test.py | 16 from dashboard.models import graph_data namespace 28 master = graph_data.Master(id='ChromiumPerf').put() 31 bot = graph_data.Bot(id=name, parent=master).put() 33 test = graph_data.Test(id='dromaeo', parent=bot).put() 34 dom_test = graph_data.Test(id='dom', parent=test, has_rows=True).put() 37 graph_data.Row(parent=test_container_key, id=i, value=float(i * 2.5), 41 master = graph_data.Master(id='ChromiumPerf').put() 44 bot = graph_data.Bot(id=name, parent=master, internal_only=True).put() 46 test = graph_data.Test(id='dromaeo', parent=bot, internal_only=True).put() 47 dom_test = graph_data.Test [all...] |
change_internal_only_test.py | 14 from dashboard.models import graph_data namespace 70 bots = graph_data.Bot.query().fetch() 79 tests = graph_data.Test.query().fetch() 88 rows = graph_data.Row.query().fetch() 129 bots = graph_data.Bot.query().fetch() 132 tests = graph_data.Test.query().fetch() 135 rows = graph_data.Row.query().fetch()
|
mr.py | 31 from dashboard.models import graph_data namespace 66 'entity_kind': ('dashboard.models.graph_data.Test'), 99 query = graph_data.Row.query(graph_data.Row.parent_test == entity.key) 100 query = query.order(-graph_data.Row.timestamp) 159 layered_cache.Delete(graph_data.LIST_TESTS_SUBTEST_CACHE_KEY % ( 172 query = graph_data.Test.query(ancestor=test.key) 174 graph_data.Test.has_rows == True)
|
add_point_test.py | 26 from dashboard.models import graph_data namespace 185 rows = graph_data.Row.query().fetch(limit=_FETCH_LIMIT) 210 tests = graph_data.Test.query().fetch(limit=_FETCH_LIMIT) 245 bots = graph_data.Bot.query().fetch(limit=_FETCH_LIMIT) 250 masters = graph_data.Master.query().fetch(limit=_FETCH_LIMIT) 307 tests = graph_data.Test.query().fetch(limit=_FETCH_LIMIT) 317 tests = graph_data.Test.query().fetch(limit=_FETCH_LIMIT) 330 tests = graph_data.Test.query().fetch(limit=_FETCH_LIMIT) 358 @mock.patch.object(graph_data.Master, 'get_by_id') 417 row = graph_data.Row.query().get( [all...] |
send_stoppage_alert_emails_test.py | 13 from dashboard.models import graph_data namespace 42 row = graph_data.Row.query(graph_data.Row.parent_test == test.key).get()
|
edit_sheriffs_test.py | 18 from dashboard.models import graph_data namespace 36 master = graph_data.Master(id='TheMaster').put() 37 bot = graph_data.Bot(id='TheBot', parent=master).put() 38 suite1 = graph_data.Test(id='Suite1', parent=bot).put() 39 suite2 = graph_data.Test(id='Suite2', parent=bot).put() 40 graph_data.Test(id='aaa', parent=suite1, has_rows=True).put() 41 graph_data.Test(id='bbb', parent=suite1, has_rows=True).put() 42 graph_data.Test(id='ccc', parent=suite2, has_rows=True).put() 43 graph_data.Test(id='ddd', parent=suite2, has_rows=True).put()
|
list_tests.py | 19 from dashboard.models import graph_data namespace 107 query = graph_data.Test.query(ancestor=test_key) 108 query = query.filter(graph_data.Test.has_rows == True, 109 graph_data.Test.deprecated == deprecated) 165 return graph_data.LIST_TESTS_SUBTEST_CACHE_KEY % (master, bot, suite) 229 query = graph_data.Test.query() 232 graph_data.Test._properties[f[0]] == f[1]) # pylint: disable=protected-access 233 query = query.order(graph_data.Test.key) 236 graph_data.Test.has_rows == True)
|
dump_graph_json.py | 20 from dashboard.models import graph_data namespace 64 q = graph_data.Row.query() 65 q = q.filter(graph_data.Row.parent_test == test_key) 67 q = q.filter(graph_data.Row.revision <= int(end_rev)) 68 q = q.order(-graph_data.Row.revision) 143 q = graph_data.Row.query() 144 q = q.filter(graph_data.Row.parent_test == test_key) 145 q = q.order(-graph_data.Row.revision)
|
find_anomalies.py | 22 from dashboard.models import graph_data namespace 100 query = graph_data.Row.query(projection=['revision', 'value']) 101 query = query.filter(graph_data.Row.parent_test == test.key) 105 query = query.filter(graph_data.Row.revision > test.last_alerted_revision) 106 query = query.order(-graph_data.Row.revision) 114 query = graph_data.Row.query(graph_data.Row.parent_test == test_key) 115 query = query.order(-graph_data.Row.revision)
|
change_internal_only.py | 16 from dashboard.models import graph_data namespace 34 bots = graph_data.Bot.query().fetch() 126 test_query = graph_data.Test.query(ancestor=bot_key) 172 rows_query = graph_data.Row.query(graph_data.Row.parent_test == test_key)
|
debug_alert.py | 17 from dashboard.models import graph_data namespace 253 q = graph_data.Row.query(projection=['revision', 'value']) 254 q = q.filter(graph_data.Row.parent_test == test.key) 255 q = q.order(-graph_data.Row.revision) 275 query = graph_data.Row.query(projection=['revision', 'value']) 276 query = query.filter(graph_data.Row.parent_test == test.key) 278 before_query = query.filter(graph_data.Row.revision < revision) 279 before_query = before_query.order(-graph_data.Row.revision) 283 after_query = query.filter(graph_data.Row.revision >= revision) 284 after_query = after_query.order(graph_data.Row.revision [all...] |
mr_test.py | 15 from dashboard.models import graph_data namespace 73 graph_data.Row( 76 graph_data.Row( 96 last_b = graph_data.Row.query( 97 graph_data.Row.parent_test == trace_b.key, 98 graph_data.Row.revision == 4).get() 121 row_key = graph_data.Row(
|
testing_common.py | 23 from dashboard.models import graph_data namespace 175 master_key = graph_data.Master(id=master_name).put() 177 bot_key = graph_data.Bot(id=bot_name, parent=master_key).put() 179 test_key = graph_data.Test(id=test_name, parent=bot_key).put() 191 test_key = graph_data.Test(id=test_name, parent=parent_test_key).put() 217 graph_data.Row(id=int_id, parent=container_key, **row_dict[int_id])) 226 rows.append(graph_data.Row(id=int_id, parent=container_key, value=int_id))
|