Add basic utils.muxer tests
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 10 Apr 2017 19:20:56 +0000 (15:20 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:41 +0000 (12:57 -0400)
commit8deeabc63f54ef7e479a0142c03270358c6671b6
tree527dc312e597136bbc71efcfd3c3920e7e250ba1
parent958f7d11c42386032407496d346a0fedf77d6950
Add basic utils.muxer tests

The tests in tests/plugins/test-utils-muxer.c create custom source and
sink components and connects them to a utils.muxer filter component
within a new graph.

The components do as follows:

* Source component: Depending on the current test, its notification
  iterators generate specific sequences of notifications.

* Sink component: For each notification, and some specific notification
  iterator statuses ("again", "end"), create a test event and append it
  to a global array of test events.

Each test creates a graph, runs it, and then compares the global array
of test events against a static list of expected test events.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
.gitignore
configure.ac
tests/Makefile.am
tests/plugins/Makefile.am [new file with mode: 0644]
tests/plugins/test-utils-muxer-complete.in [new file with mode: 0644]
tests/plugins/test-utils-muxer.c [new file with mode: 0644]
This page took 0.023966 seconds and 4 git commands to generate.