[rygel] tests: Enable object creator test
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tests: Enable object creator test
- Date: Sat, 27 Feb 2016 06:19:45 +0000 (UTC)
commit 3eb395b71f888ae09751542632fbde5e865c6064
Author: Jens Georg <mail jensge org>
Date: Fri Feb 26 22:04:41 2016 +0100
tests: Enable object creator test
Signed-off-by: Jens Georg <mail jensge org>
tests/Makefile.am | 41 +++++++++----------
tests/object-creator/rygel-dlna-profile.vala | 1 +
tests/object-creator/rygel-logical-expression.vala | 1 +
tests/object-creator/rygel-m3u-playlist.vala | 1 +
tests/object-creator/rygel-object-creator.vala | 1 +
.../rygel-relational-expression.vala | 1 +
.../rygel-search-criteria-parser.vala | 1 +
tests/object-creator/rygel-search-expression.vala | 1 +
tests/object-creator/rygel-serializer.vala | 1 +
tests/object-creator/rygel-state-machine.vala | 1 +
.../test.vala} | 11 -----
tests/rygel-data-sink_http-response.vala | 1 -
tests/rygel-data-source.vala | 1 -
tests/rygel-data-source_http-response.vala | 1 -
tests/rygel-dlna-profile.vala | 1 -
tests/rygel-http-byte-seek.vala | 1 -
tests/rygel-http-byte-seek_http-get.vala | 1 -
tests/rygel-http-get.vala | 1 -
tests/rygel-http-item-uri.vala | 1 -
tests/rygel-http-item-uri_http-get.vala | 1 -
tests/rygel-http-item-uri_http-post.vala | 1 -
tests/rygel-http-post.vala | 1 -
tests/rygel-http-request_http-get.vala | 1 -
tests/rygel-http-request_http-post.vala | 1 -
tests/rygel-http-response.vala | 1 -
tests/rygel-http-seek.vala | 1 -
tests/rygel-http-seek_http-get.vala | 1 -
tests/rygel-http-seek_object-creator.vala | 1 -
tests/rygel-http-seek_time-seek.vala | 1 -
tests/rygel-http-time-seek.vala | 1 -
tests/rygel-http-time-seek_http-get.vala | 1 -
tests/rygel-icon-info.vala | 1 -
tests/rygel-logical-expression.vala | 1 -
tests/rygel-m3u-playlist_object-creator.vala | 1 -
tests/rygel-object-creator.vala | 1 -
tests/rygel-relational-expression.vala | 1 -
tests/rygel-search-criteria-parser.vala | 1 -
tests/rygel-search-expression.vala | 1 -
tests/rygel-searchable-container.vala | 1 -
tests/rygel-serializer_object-creator.vala | 1 -
tests/rygel-state-machine_http-get.vala | 1 -
tests/rygel-state-machine_http-post.vala | 1 -
tests/rygel-state-machine_http-response.vala | 1 -
tests/rygel-state-machine_object-creator.vala | 1 -
tests/rygel-thumbnail.vala | 1 -
45 files changed, 28 insertions(+), 67 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 3bd1167..7393c90 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -9,13 +9,13 @@ AUTOMAKE_OPTIONS = subdir-objects
# rygel-http-get-test \
# rygel-http-post-test \
# rygel-searchable-container-test \
-# rygel-object-creator-test \
# rygel-user-config-test \
# rygel-regression \
# rygel-media-engine-test
check_PROGRAMS = rygel-regression \
- rygel-user-config-test
+ rygel-user-config-test \
+ rygel-object-creator-test
TESTS = $(check_PROGRAMS)
@@ -128,26 +128,23 @@ test_server_libs = \
#rygel_searchable_container_test_LDADD = \
# $(test_libs)
#
-#rygel_object_creator_test_SOURCES = rygel-object-creator-test.vala \
-# rygel-object-creator.vala \
-# rygel-data-source.vala \
-# rygel-dlna-profile.vala \
-# rygel-http-seek_object-creator.vala \
-# rygel-state-machine_object-creator.vala \
-# rygel-relational-expression.vala \
-# rygel-logical-expression.vala \
-# rygel-search-expression.vala \
-# rygel-search-criteria-parser.vala \
-# rygel-serializer_object-creator.vala \
-# rygel-m3u-playlist_object-creator.vala
-#rygel_object_creator_test_VALAFLAGS = \
-# $(test_valaflags) \
-# --pkg uuid
-#rygel_object_creator_test_CFLAGS = \
-# $(test_cflags)
-#rygel_object_creator_test_LDADD = \
-# $(test_libs)
-#
+rygel_object_creator_test_SOURCES = object-creator/test.vala \
+ object-creator/rygel-object-creator.vala \
+ object-creator/rygel-dlna-profile.vala \
+ object-creator/rygel-serializer.vala \
+ object-creator/rygel-m3u-playlist.vala \
+ object-creator/rygel-state-machine.vala \
+ object-creator/rygel-search-expression.vala \
+ object-creator/rygel-relational-expression.vala \
+ object-creator/rygel-logical-expression.vala \
+ object-creator/rygel-search-criteria-parser.vala
+rygel_object_creator_test_VALAFLAGS = \
+ $(test_valaflags)
+rygel_object_creator_test_CFLAGS = \
+ $(test_cflags)
+rygel_object_creator_test_LDADD = \
+ $(test_libs)
+
rygel_user_config_test_SOURCES = rygel-configuration.vala \
rygel-user-config.vala \
rygel-user-config-test.vala
diff --git a/tests/object-creator/rygel-dlna-profile.vala b/tests/object-creator/rygel-dlna-profile.vala
new file mode 120000
index 0000000..59afe74
--- /dev/null
+++ b/tests/object-creator/rygel-dlna-profile.vala
@@ -0,0 +1 @@
+../../src/librygel-core/rygel-dlna-profile.vala
\ No newline at end of file
diff --git a/tests/object-creator/rygel-logical-expression.vala
b/tests/object-creator/rygel-logical-expression.vala
new file mode 120000
index 0000000..a8442a8
--- /dev/null
+++ b/tests/object-creator/rygel-logical-expression.vala
@@ -0,0 +1 @@
+../../src/librygel-server/rygel-logical-expression.vala
\ No newline at end of file
diff --git a/tests/object-creator/rygel-m3u-playlist.vala b/tests/object-creator/rygel-m3u-playlist.vala
new file mode 120000
index 0000000..ff1932a
--- /dev/null
+++ b/tests/object-creator/rygel-m3u-playlist.vala
@@ -0,0 +1 @@
+../../src/librygel-server/rygel-m3u-playlist.vala
\ No newline at end of file
diff --git a/tests/object-creator/rygel-object-creator.vala b/tests/object-creator/rygel-object-creator.vala
new file mode 120000
index 0000000..0d8e028
--- /dev/null
+++ b/tests/object-creator/rygel-object-creator.vala
@@ -0,0 +1 @@
+../../src/librygel-server/rygel-object-creator.vala
\ No newline at end of file
diff --git a/tests/object-creator/rygel-relational-expression.vala
b/tests/object-creator/rygel-relational-expression.vala
new file mode 120000
index 0000000..542d716
--- /dev/null
+++ b/tests/object-creator/rygel-relational-expression.vala
@@ -0,0 +1 @@
+../../src/librygel-server/rygel-relational-expression.vala
\ No newline at end of file
diff --git a/tests/object-creator/rygel-search-criteria-parser.vala
b/tests/object-creator/rygel-search-criteria-parser.vala
new file mode 120000
index 0000000..f94f212
--- /dev/null
+++ b/tests/object-creator/rygel-search-criteria-parser.vala
@@ -0,0 +1 @@
+../../src/librygel-server/rygel-search-criteria-parser.vala
\ No newline at end of file
diff --git a/tests/object-creator/rygel-search-expression.vala
b/tests/object-creator/rygel-search-expression.vala
new file mode 120000
index 0000000..5d005ff
--- /dev/null
+++ b/tests/object-creator/rygel-search-expression.vala
@@ -0,0 +1 @@
+../../src/librygel-server/rygel-search-expression.vala
\ No newline at end of file
diff --git a/tests/object-creator/rygel-serializer.vala b/tests/object-creator/rygel-serializer.vala
new file mode 120000
index 0000000..272b681
--- /dev/null
+++ b/tests/object-creator/rygel-serializer.vala
@@ -0,0 +1 @@
+../../src/librygel-server/rygel-serializer.vala
\ No newline at end of file
diff --git a/tests/object-creator/rygel-state-machine.vala b/tests/object-creator/rygel-state-machine.vala
new file mode 120000
index 0000000..e881e9f
--- /dev/null
+++ b/tests/object-creator/rygel-state-machine.vala
@@ -0,0 +1 @@
+../../src/librygel-core/rygel-state-machine.vala
\ No newline at end of file
diff --git a/tests/rygel-object-creator-test.vala b/tests/object-creator/test.vala
similarity index 96%
rename from tests/rygel-object-creator-test.vala
rename to tests/object-creator/test.vala
index 69aad3f..a0198d8 100644
--- a/tests/rygel-object-creator-test.vala
+++ b/tests/object-creator/test.vala
@@ -21,17 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-/* This is not used.
-[CCode (cname = "uuid_generate", cheader_filename = "uuid/uuid.h")]
-internal extern static void uuid_generate ([CCode (array_length = false)]
- uchar[] uuid);
-[CCode (cname = "uuid_unparse", cheader_filename = "uuid/uuid.h")]
-internal extern static void uuid_unparse ([CCode (array_length = false)]
- uchar[] uuid,
- [CCode (array_length = false)]
- uchar[] output);
-*/
-
public const string DIDL_ITEM = """<?xml version="1.0" encoding="UTF-8"?>
<DIDL-Lite
xmlns:dc="http://purl.org/dc/elements/1.1/"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]