[kazehakase-svn] [3569] added a test.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
Mon Jan 26 09:47:17 JST 2009


Revision: 3569
          http://svn.sourceforge.jp/view?root=kazehakase&view=rev&rev=3569
Author:   ikezoe
Date:     2009-01-26 09:47:17 +0900 (Mon, 26 Jan 2009)

Log Message:
-----------
added a test.

Modified Paths:
--------------
    kazehakase/trunk/test/test-bookmark.c

Modified: kazehakase/trunk/test/test-bookmark.c
===================================================================
--- kazehakase/trunk/test/test-bookmark.c	2009-01-26 00:34:41 UTC (rev 3568)
+++ kazehakase/trunk/test/test-bookmark.c	2009-01-26 00:47:17 UTC (rev 3569)
@@ -7,6 +7,7 @@
 void test_new_with_attrs (void);
 void test_title (void);
 void test_id (void);
+void test_description (void);
 void test_document_title (void);
 void test_last_modified (void);
 void test_added_time (void);
@@ -55,6 +56,14 @@
 }
 
 void
+test_description (void)
+{
+    cut_trace(test_new_with_attrs());
+    kz_bookmark_set_description(bookmark, "description");
+    cut_assert_equal_string("description", kz_bookmark_get_description(bookmark));
+}
+
+void
 test_document_title (void)
 {
     cut_trace(test_new_with_attrs());



More information about the Kazehakase-cvs mailing list
Back to archive index