bt2: add `ComponentDescriptor` class and test
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 10 Aug 2019 18:53:32 +0000 (14:53 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 13 Aug 2019 00:28:02 +0000 (20:28 -0400)
commitf865c2aa246e2bd94037b02b7f3b23e4f59985f6
treed4292e0500dd2523555dfef4b9f3b64b2df6206e
parent00c988c958149f894567a1c41d480127425bfb3e
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.024714 seconds and 4 git commands to generate.