Add bt_graph_add_simple_sink_component() tests
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 5 Aug 2019 22:01:09 +0000 (18:01 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 6 Aug 2019 20:17:13 +0000 (16:17 -0400)
commit8c20dd54512444781307a70f88c51ab60ba6cb2d
tree9506fbc009aeed94b8675f169a3ad378cf6007a0
parent0439079563d4c56d3aa93ffe7d4a721d761a3a23
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.025013 seconds and 4 git commands to generate.