tests/check/libs/controller.c: This test should return TRUE now as syncing an uncontr...
authorSebastian Dröge <slomo@circular-chaos.org>
Tue, 9 Dec 2008 10:58:01 +0000 (10:58 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Tue, 9 Dec 2008 10:58:01 +0000 (10:58 +0000)
Original commit message from CVS:
* tests/check/libs/controller.c: (GST_START_TEST):
This test should return TRUE now as syncing an uncontrolled
object will succeed now (there's nothing to sync).

ChangeLog
tests/check/libs/controller.c

index 7f3d0c0..98c1937 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
+
+       * tests/check/libs/controller.c: (GST_START_TEST):
+       This test should return TRUE now as syncing an uncontrolled
+       object will succeed now (there's nothing to sync).
+
 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
 
        * libs/gst/controller/gstcontroller.c:
@@ -9,7 +15,6 @@
 
        * libs/gst/controller/gsthelper.c:
          Fix return code and comment.
-         
 
 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
 
index e194a22..fa3998b 100644 (file)
@@ -1901,7 +1901,8 @@ GST_START_TEST (controller_helper_any_gobject)
 
   /* that element is not controllable */
   res = gst_object_sync_values (G_OBJECT (elem), 0LL);
-  fail_unless (res == FALSE, NULL);
+  /* Syncing should still succeed as there's nothing to sync */
+  fail_unless (res == TRUE, NULL);
 
   gst_object_unref (elem);
 }