Home
last modified time | relevance | path

Searched refs:publisher (Results 1 – 8 of 8) sorted by relevance

/tools/test/connectivity/acts/framework/tests/metrics/
Dcore_test.py95 publisher = MetricPublisher(context)
97 self.assertEqual(publisher.context, context)
105 publisher = MetricPublisher(context)
107 self.assertRaises(NotImplementedError, lambda: publisher.publish(metrics))
121 publisher = ProtoMetricPublisher(
128 self.assertEqual(publisher.context, context)
129 self.assertEqual(publisher.publishes_binary, publishes_binary)
130 self.assertEqual(publisher.publishes_ascii, publishes_ascii)
131 self.assertEqual(publisher.publishes_descriptor_binary,
133 self.assertEqual(publisher.publishes_descriptor_ascii,
[all …]
Dlogger_test.py117 self.assertIsNone(logger.publisher)
121 publisher = Mock()
123 logger = MetricLogger(context=context, publisher=publisher)
126 self.assertEqual(logger.publisher, publisher)
132 publisher = Mock()
134 publisher_cls.return_value = publisher
142 self.assertEqual(logger.publisher, publisher)
/tools/test/connectivity/acts/framework/tests/metrics/loggers/
Dblackbox_test.py45 self.publisher = Mock()
77 self.assertIsNotNone(logger.publisher)
87 logger.publisher = self.publisher
109 logger.publisher = self.publisher
125 logger.publisher = self.publisher
145 logger.publisher = self.publisher
153 self.publisher.publish.assert_called_once_with(
/tools/test/connectivity/acts/framework/acts/metrics/
Dlogger.py149 def __init__(self, context=None, publisher=None, event=None): argument
165 self.publisher = publisher
189 if not self.publisher:
190 self.publisher = self._get_default_publisher(event)
/tools/test/connectivity/acts/framework/acts/test_utils/tel/loggers/
Dtelephony_metric_logger.py48 return self.publisher.publish(metric)
/tools/test/connectivity/acts/framework/acts/test_utils/power/loggers/
Dpower_metric_logger.py62 return self.publisher.publish(metric)
/tools/test/connectivity/acts/framework/acts/metrics/loggers/
Dblackbox.py127 return self.publisher.publish(metrics)
/tools/test/connectivity/acts/framework/acts/test_utils/bt/loggers/
Dbluetooth_metric_logger.py162 return self.publisher.publish(self.results)