Home
last modified time | relevance | path

Searched refs:metric_key (Results 1 – 5 of 5) sorted by relevance

/tools/test/connectivity/acts/framework/tests/metrics/loggers/
Dblackbox_test.py52 self.assertIsNone(logger.metric_key)
56 metric_key = Mock()
58 logger = BlackboxMetricLogger(metric_name, metric_key=metric_key)
60 self.assertEqual(logger.metric_key, metric_key)
90 self.assertEqual(result.metric_key,
121 metric_key = 'metric_key'
124 metric_key=metric_key)
132 expected_metric_key = '%s.%s' % (metric_key, self.TEST_METRIC_NAME)
133 self.assertEqual(result.metric_key, expected_metric_key)
215 self.assertEqual(metric.metric_key, 'MyTest#test_case.my_metric')
[all …]
/tools/test/connectivity/acts/framework/acts/metrics/loggers/
Dblackbox.py44 def __init__(self, metric_key=None, event=None): argument
53 self.metric_key = metric_key
65 if self.metric_key:
66 key = self.metric_key
115 result.metric_key = self._get_metric_key(metric_name)
140 def __init__(self, metric_name, metric_key=None, event=None): argument
149 super().__init__(metric_key=metric_key, event=event)
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiRvrTest.py804 for metric_key, metric_value in result['metrics'].items():
805 compiled_data[test_id]['metrics'][metric_key].append(
826 for metric_key, metric_value in test_data['metrics'].items():
827 metric_key = '{}.avg_{}'.format(metric_tag, metric_key)
830 metric_key, metric_value)
DWifiSensitivityTest.py248 metric_key = '{}.avg_sensitivity'.format(metric_tag)
250 self.testclass_metric_logger.add_metric(metric_key, metric_value)
/tools/test/connectivity/acts/framework/acts/metrics/loggers/protos/
Dacts_blackbox.proto25 required string metric_key = 3; field