soylent r253 - trunk/libsoylent/test



Author: svenp
Date: Wed Jul 30 16:37:26 2008
New Revision: 253
URL: http://svn.gnome.org/viewvc/soylent?rev=253&view=rev

Log:
added more attribute tests

Modified:
   trunk/libsoylent/test/test-playground.c

Modified: trunk/libsoylent/test/test-playground.c
==============================================================================
--- trunk/libsoylent/test/test-playground.c	(original)
+++ trunk/libsoylent/test/test-playground.c	Wed Jul 30 16:37:26 2008
@@ -63,10 +63,10 @@
   sl_attribute_add (attr, "http://www.kalterregen.de";);
   sl_attribute_add (attr, "http://planet.gnome.org";);
   
-  /*if (!sl_attribute_set_at (attr, 0, "http://www.firefox.com";))
+  if (!sl_attribute_set_at (attr, 0, "http://www.firefox.com";))
     {
       test_fail ("couldn't set value at a given index");
-    }*/
+    }
   
   sl_entity_add_attribute (SL_ENTITY (person_joe), attr);
   g_object_unref (attr);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]