Home
last modified time | relevance | path

Searched refs:status_idx (Results 1 – 11 of 11) sorted by relevance

/external/autotest/tko/
Ddisplay.py141 def grade_from_status(status_idx, status): argument
148 if status == status_idx['GOOD']:
154 def average_grade_from_status_count(status_idx, status_count): argument
158 if key not in (status_idx['TEST_NA'], status_idx['RUNNING']):
159 average_grade += (grade_from_status(status_idx, key)
169 def shade_from_status_count(status_idx, status_count): argument
178 average_grade = average_grade_from_status_count(status_idx, status_count)
203 test_na = db.status_idx['TEST_NA']
204 running = db.status_idx['RUNNING']
205 good = db.status_idx['GOOD']
[all …]
Ddb.py30 self.status_idx = {}
34 self.status_idx[s[1]] = s[0]
428 'status':self.status_idx[test.status],
/external/autotest/frontend/health/
Dcomplete_failures_functional_test.py31 ERROR_STATUS = models.Status(status_idx=2, word='ERROR')
32 ABORT_STATUS = models.Status(status_idx=3, word='ABORT')
33 FAIL_STATUS = models.Status(status_idx=4, word='FAIL')
34 WARN_STATUS = models.Status(status_idx=5, word='WARN')
35 GOOD_STATUS = models.Status(status_idx=6, word='GOOD')
36 ALERT_STATUS = models.Status(status_idx=7, word='ALERT')
102 success_status = models.Status(status_idx=GOOD_STATUS_IDX)
103 fail_status = models.Status(status_idx=FAIL_STATUS_IDX)
Dutils_unittest.py20 ERROR_STATUS = models.Status(status_idx=2, word='ERROR')
21 ABORT_STATUS = models.Status(status_idx=3, word='ABORT')
22 FAIL_STATUS = models.Status(status_idx=4, word='FAIL')
23 WARN_STATUS = models.Status(status_idx=5, word='WARN')
24 GOOD_STATUS = models.Status(status_idx=6, word='GOOD')
25 ALERT_STATUS = models.Status(status_idx=7, word='ALERT')
Dpassing_experimental_functional_test.py82 tko_models.Status(status_idx=6, word='GOOD').save()
87 success_status = tko_models.Status(status_idx=GOOD_STATUS_IDX)
88 fail_status = tko_models.Status(status_idx=FAIL_STATUS_IDX)
Dmanual_check_passing_experimental.py51 tko_models.Status(status_idx=6, word='GOOD').save()
56 success_status = tko_models.Status(status_idx=GOOD_STATUS_IDX)
Dcomplete_failures_unittest.py172 success_status = models.Status(status_idx=GOOD_STATUS_IDX)
199 success_status = models.Status(status_idx=GOOD_STATUS_IDX)
/external/autotest/cli/
Dcompose_query45 good_status = db.status_idx['GOOD']
/external/autotest/contrib/
Dalways_failing_tests.py45 statuses = {s.status_idx: s.word for s in tko_models.Status.objects.all()}
/external/autotest/database/
Dschema_051.sql1069 `status_idx` int(10) unsigned NOT NULL auto_increment,
1071 PRIMARY KEY (`status_idx`),
1268 …CONSTRAINT `tko_tests_ibfk_2` FOREIGN KEY (`status`) REFERENCES `tko_status` (`status_idx`) ON DEL…
/external/autotest/frontend/tko/
Dmodels.py162 status_idx = dbmodels.AutoField(primary_key=True) variable in Status
723 status_idx = dbmodels.IntegerField('status index') variable in TestView