[xiph-commits] r16124 - branches/theora-thusnelda/tests

giles at svn.xiph.org giles at svn.xiph.org
Sun Jun 14 03:09:53 PDT 2009


Author: giles
Date: 2009-06-14 03:09:53 -0700 (Sun, 14 Jun 2009)
New Revision: 16124

Modified:
   branches/theora-thusnelda/tests/noop.c
Log:
Group the comments noop test with the info struct test.

Also print status messages for this test.

Modified: branches/theora-thusnelda/tests/noop.c
===================================================================
--- branches/theora-thusnelda/tests/noop.c	2009-06-14 10:09:50 UTC (rev 16123)
+++ branches/theora-thusnelda/tests/noop.c	2009-06-14 10:09:53 UTC (rev 16124)
@@ -34,6 +34,20 @@
 }
 
 static int
+noop_test_comments ()
+{
+  th_comment tc;
+
+  INFO ("+ Initializing th_comment struct");
+  th_comment_init (&tc);
+
+  INFO ("+ Clearing empty th_comment struct")
+  th_comment_clear (&tc);
+
+  return 0;
+}
+
+static int
 noop_test_encode ()
 {
   th_info ti;
@@ -65,24 +79,13 @@
   return 0;
 }
 
-static int
-noop_test_comments ()
-{
-  th_comment tc;
-
-  th_comment_init (&tc);
-  th_comment_clear (&tc);
-
-  return 0;
-}
-
 int main(int argc, char *argv[])
 {
   noop_test_info ();
 
+  noop_test_comments ();
+
   noop_test_encode ();
 
-  noop_test_comments ();
-
   exit (0);
 }



More information about the commits mailing list