Add basic `sink.text.details` tests
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 20 Sep 2019 09:18:36 +0000 (05:18 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 25 Sep 2019 02:36:57 +0000 (22:36 -0400)
This patch adds very basic `sink.text.details` tests to at least keep
track of the generated text's format. The tests test each initialization
parameter individually, and some combined with `compact=yes`.

As of this patch, all tests pass `with-stream-name=no` to initialize the
`sink.text.details` component because the `src.ctf.fs` component uses
absolute paths to set stream names and this is not compatible with
static expectation files.

Future tests should use a custom source to check how `sink.text.details`
writes the stream name property.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I79c4956e5d67dd922130443992de9daef2974f4e
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2075
CI-Build: Simon Marchi <simon.marchi@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>

No differences found
This page took 0.023865 seconds and 4 git commands to generate.