summaryrefslogtreecommitdiff
path: root/tests/check/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-04-07 20:29:10 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-04-07 20:29:10 +0300
commitc78ff47a87e4274fca902d2086052a2adc9677a8 (patch)
tree1b8085b5ad81c7c82d2ba283d657b8479e7c3499 /tests/check/gst
parente1f4c2ce61d9ef7739db10851b448e47751b7fda (diff)
tests: Add C++ tests for the other INIT macros we have
Diffstat (limited to 'tests/check/gst')
-rw-r--r--tests/check/gst/gstcpp.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/check/gst/gstcpp.cc b/tests/check/gst/gstcpp.cc
index 829654e56..a96667a42 100644
--- a/tests/check/gst/gstcpp.cc
+++ b/tests/check/gst/gstcpp.cc
@@ -23,9 +23,10 @@
GST_START_TEST (test_init_macros)
{
GstMapInfo map = GST_MAP_INFO_INIT;
+ GstPollFD poll_fd = GST_POLL_FD_INIT;
fail_unless_equals_int (map.size, 0);
-
+ fail_unless_equals_int (poll_fd.fd, -1);
}
GST_END_TEST;