[gstreamermm] Tests: Add simple buffer list iterator test.
- From: José Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gstreamermm] Tests: Add simple buffer list iterator test.
- Date: Fri, 15 Oct 2010 20:25:20 +0000 (UTC)
commit cf3a5d65ea1e3ca94463135d50544e6788e1f360
Author: José Alburquerque <jaalburqu svn gnome org>
Date: Fri Oct 15 15:30:42 2010 -0400
Tests: Add simple buffer list iterator test.
* tests/Makefile.am:
* tests/test-buffer-list-iterator.cc: Add a simple test just to
confirm the successful creation/destruction of a BufferListIterator.
ChangeLog | 8 ++++++++
tests/Makefile.am | 4 +++-
tests/test-buffer-list-iterator.cc | 8 ++++++++
3 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a91e458..833abc4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2010-10-15 José Alburquerque <jaalburqu svn gnome org>
+ Tests: Add simple buffer list iterator test.
+
+ * tests/Makefile.am:
+ * tests/test-buffer-list-iterator.cc: Add a simple test just to
+ confirm the successful creation/destruction of a BufferListIterator.
+
+2010-10-15 José Alburquerque <jaalburqu svn gnome org>
+
BufferList: Wrap the iterate() method.
* gstreamer/src/bufferlist.ccg:
diff --git a/tests/Makefile.am b/tests/Makefile.am
index b8d79ae..0f04966 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -27,7 +27,8 @@ check_PROGRAMS = test-caps test-create-element test-pipeline-add-element \
test-create-bus test-taglist test-tagsetter test-pad \
test-ghost-pad test-init-check test-init \
test-init-check-noargs test-init-noargs test-iterator \
- test-property-caps test-plugin-gen test-plugin-signals
+ test-property-caps test-plugin-gen test-plugin-signals \
+ test-buffer-list-iterator
# Include run of test programs in check:
TESTS = $(check_PROGRAMS)
@@ -57,3 +58,4 @@ test_iterator_SOURCES = test-iterator.cc
test_property_caps_SOURCES = test-property-caps.cc
test_plugin_gen_SOURCES = test-plugin-gen.cc
test_plugin_signals_SOURCES = test-plugin-signals.cc
+test_buffer_list_iterator_SOURCES = test-buffer-list-iterator.cc
diff --git a/tests/test-buffer-list-iterator.cc b/tests/test-buffer-list-iterator.cc
new file mode 100644
index 0000000..2d674d7
--- /dev/null
+++ b/tests/test-buffer-list-iterator.cc
@@ -0,0 +1,8 @@
+#include <gstreamermm.h>
+
+int main(int, char**)
+{
+ Glib::RefPtr<Gst::BufferList> list = Gst::BufferList::create();
+ Gst::BufferListIterator test;
+ list->iterate(test);
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]