X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_component.py;fp=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_component.py;h=69e5617b33808245ea0502f327fd699b1248da81;hb=a01b452be2f3ec30264a06cb1e3da09a5fe124e9;hp=4384c6654c8c951fad3545ebda3f2fceb89f7fed;hpb=a0cdfce8f136c825d057433ee6cf5b42b3421d3a;p=babeltrace.git diff --git a/tests/bindings/python/bt2/test_component.py b/tests/bindings/python/bt2/test_component.py index 4384c665..69e5617b 100644 --- a/tests/bindings/python/bt2/test_component.py +++ b/tests/bindings/python/bt2/test_component.py @@ -40,6 +40,9 @@ class UserComponentTestCase(unittest.TestCase): def _consume(self): pass + def _graph_is_configured(self): + pass + comp = self._create_comp(MySink, 'yaes') def test_logging_level(self): @@ -50,6 +53,9 @@ class UserComponentTestCase(unittest.TestCase): def _consume(self): pass + def _graph_is_configured(self): + pass + comp = self._create_comp(MySink, 'yaes', bt2.LoggingLevel.INFO) def test_class(self): @@ -60,6 +66,9 @@ class UserComponentTestCase(unittest.TestCase): def _consume(self): pass + def _graph_is_configured(self): + pass + self._create_comp(MySink) def test_addr(self): @@ -71,6 +80,9 @@ class UserComponentTestCase(unittest.TestCase): def _consume(self): pass + def _graph_is_configured(self): + pass + self._create_comp(MySink) def test_finalize(self): @@ -80,6 +92,9 @@ class UserComponentTestCase(unittest.TestCase): def _consume(self): pass + def _graph_is_configured(self): + pass + def _finalize(comp_self): nonlocal finalized finalized = True @@ -107,6 +122,9 @@ class GenericComponentTestCase(unittest.TestCase): def _consume(self): pass + def _graph_is_configured(self): + pass + comp = self._create_comp(MySink, 'yaes') self.assertEqual(comp.name, 'yaes') @@ -115,6 +133,9 @@ class GenericComponentTestCase(unittest.TestCase): def _consume(self): pass + def _graph_is_configured(self): + pass + comp = self._create_comp(MySink, 'yaes', bt2.LoggingLevel.WARNING) self.assertEqual(comp.logging_level, bt2.LoggingLevel.WARNING) @@ -123,6 +144,9 @@ class GenericComponentTestCase(unittest.TestCase): def _consume(self): pass + def _graph_is_configured(self): + pass + comp = self._create_comp(MySink) self.assertEqual(comp.cls, MySink) @@ -131,6 +155,9 @@ class GenericComponentTestCase(unittest.TestCase): def _consume(self): pass + def _graph_is_configured(self): + pass + comp = self._create_comp(MySink) self.assertIsInstance(comp.addr, int) self.assertNotEqual(comp.addr, 0)