diff options
author | Thiago Santos <ts.santos@sisa.samsung.com> | 2014-07-21 12:41:08 -0300 |
---|---|---|
committer | Thiago Santos <ts.santos@sisa.samsung.com> | 2014-07-21 12:44:40 -0300 |
commit | 0d5ddc96f214f41f10faf87bceeca0bb7b1ad93c (patch) | |
tree | 476ea29ef0e6a5324cf2c939b61d72db0f24172b | |
parent | 4f32a74dafcfab6aef007c1eae135f849cb5ffd0 (diff) |
Revert "tests: taglist: add basic test for taglists serialization"
This reverts commit 85d23d19b7de40541d63b0bc76d8b646c321af26.
There was already a gsttag.c tests file, this test has been merged
in it in the previous commit
-rw-r--r-- | tests/check/Makefile.am | 1 | ||||
-rw-r--r-- | tests/check/gst/gsttaglist.c | 58 |
2 files changed, 0 insertions, 59 deletions
diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am index 1980a9d08b..f188b1a12a 100644 --- a/tests/check/Makefile.am +++ b/tests/check/Makefile.am @@ -128,7 +128,6 @@ check_PROGRAMS = \ gst/gstclock \ gst/gststructure \ gst/gsttag \ - gst/gsttaglist \ gst/gsttagsetter \ gst/gsttask \ gst/gsttoc \ diff --git a/tests/check/gst/gsttaglist.c b/tests/check/gst/gsttaglist.c deleted file mode 100644 index d164f88027..0000000000 --- a/tests/check/gst/gsttaglist.c +++ /dev/null @@ -1,58 +0,0 @@ -/* GStreamer - * - * Copyright (C) 2014 Samsung Electronics. All rights reserved. - * Author: Thiago Santos <ts.santos@sisa.samsung.com> - * - * gsttaglist.c: Unit tests for GstTaglist - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ - - -#include <gst/gst.h> -#include <gst/check/gstcheck.h> - - -GST_START_TEST (test_no_tags_string_serialization) -{ - GstTagList *taglist, *taglist2; - gchar *str; - - taglist = gst_tag_list_new_empty (); - str = gst_tag_list_to_string (taglist); - taglist2 = gst_tag_list_new_from_string (str); - fail_if (taglist2 == NULL); - fail_unless (gst_tag_list_is_equal (taglist, taglist2)); - - gst_tag_list_unref (taglist); - gst_tag_list_unref (taglist2); - g_free (str); -} - -GST_END_TEST; - -static Suite * -gst_tag_list_suite (void) -{ - Suite *s = suite_create ("GstTaglist"); - TCase *tc_chain = tcase_create ("general"); - - suite_add_tcase (s, tc_chain); - tcase_add_test (tc_chain, test_no_tags_string_serialization); - return s; -} - -GST_CHECK_MAIN (gst_tag_list); |