Add bt_graph_add_simple_sink_component() tests
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 5 Aug 2019 22:01:09 +0000 (18:01 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Aug 2019 18:05:21 +0000 (14:05 -0400)
commit117d027c7e6b403fcca97236be1cbbcf53b843c7
treedd143ad0c6dad8afc92070e8631610e406f34535
parentbbaccdaea6eb3f4f74a4ae023755293c959dff8a
Add bt_graph_add_simple_sink_component() tests

As of this patch, the tests are basic and only check that the statuses
returned by the user functions are correctly translated and returned by
bt_graph_run_once(). The user initialization function status is not
returned by bt_graph_add_simple_sink_component() because the
initialization function is called within the sink component's "graph is
configured" method.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Id8ccfd7df4e4a8f0a39af386ed4ad13fe657f86a
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1830
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
.gitignore
tests/Makefile.am
tests/lib/Makefile.am
tests/lib/test_simple_sink.c [new file with mode: 0644]
This page took 0.025753 seconds and 4 git commands to generate.