bt2: add `ComponentDescriptor` class and test
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 10 Aug 2019 18:53:32 +0000 (14:53 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 4 Sep 2019 15:58:21 +0000 (11:58 -0400)
commit71e8e5c5b3784d0ec462f443d6bae629bb942fc2
tree7f4770786f93fbc8f51db18c6641b87add00eec6
parentcae164a6d277c44eba67c2bd5ff2955a23241fb6
bt2: add `ComponentDescriptor` class and test

The goal of a `ComponentDescriptor` object is to eventually be used
within an array of descriptors passed to a function which computes an
effective message interchange protocol version with the help of version
support component class methods.

I choose not to wrap the `bt_component_descriptor_set` API as this is
so simple and will be used at a single location.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ifef9b4fb0a7cf0278dbf8bed2d18d0b47934a272
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1873
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
src/bindings/python/bt2/Makefile.am
src/bindings/python/bt2/bt2/__init__.py
src/bindings/python/bt2/bt2/component_descriptor.py [new file with mode: 0644]
tests/bindings/python/bt2/test_component_descriptor.py [new file with mode: 0644]
tests/bindings/python/bt2/test_package.py
This page took 0.025342 seconds and 4 git commands to generate.