Searched refs:publisher (Results 1 – 8 of 8) sorted by relevance
/tools/test/connectivity/acts/framework/tests/metrics/ |
D | core_test.py | 95 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 …]
|
D | logger_test.py | 117 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/ |
D | blackbox_test.py | 45 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/ |
D | logger.py | 149 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/ |
D | telephony_metric_logger.py | 48 return self.publisher.publish(metric)
|
/tools/test/connectivity/acts/framework/acts/test_utils/power/loggers/ |
D | power_metric_logger.py | 62 return self.publisher.publish(metric)
|
/tools/test/connectivity/acts/framework/acts/metrics/loggers/ |
D | blackbox.py | 127 return self.publisher.publish(metrics)
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/loggers/ |
D | bluetooth_metric_logger.py | 162 return self.publisher.publish(self.results)
|