OSDN Git Service

adjusted the link.
authortsntsumi <tsntsumi@users.sourceforge.jp>
Sun, 22 Aug 2010 07:12:43 +0000 (07:12 +0000)
committertsntsumi <tsntsumi@users.sourceforge.jp>
Sun, 22 Aug 2010 07:12:43 +0000 (07:12 +0000)
doc/cookbook.dox

index 60b649a..f11d8df 100644 (file)
@@ -66,18 +66,19 @@ To make a simple test, here is what you do:
      @endif
 </li>
 <li> @english When you want to check a value, call
-     @link CCUNIT_ASSERT() CCUNIT_ASSERT(bool) @endlink
+     @link CCUNIT_ASSERT(bool) @endlink
      and pass a bool that is true if the test succeeds
 
      ASSERT macro is listed in others as well in
-     @ref Assertions.
+     @link Assertions Assert Macros@endlink.
      @japanese
      Ãͤò¥Á¥§¥Ã¥¯¤·¤¿¤¤¾ì¹ç¤Ï¡¢
-     @link CCUNIT_ASSERT() CCUNIT_ASSERT(bool) @endlink
+     @link CCUNIT_ASSERT(bool) @endlink
      ¤ò¸Æ¤Ó½Ð¤·¤Æ¡¢
      ¥Æ¥¹¥È¤¬À®¸ù¤¹¤ë¤Ê¤é¿¿¤òÊÖ¤¹¤è¤¦¤Ê¿¿µ¶ÃͤòÅϤ·¤Þ¤¹¡£
 
-     ASSERT ´Ø·¸¤Î¥Þ¥¯¥í¤Ï¾¤Ë¤â@ref Assertions¤Ë¥ê¥¹¥È¤·¤Æ¤¢¤ê¤Þ¤¹¡£
+     ASSERT ´Ø·¸¤Î¥Þ¥¯¥í¤Ï¾¤Ë¤â
+     @link Assertions ASSERT ¥Þ¥¯¥í@endlink¤Ë¥ê¥¹¥È¤·¤Æ¤¢¤ê¤Þ¤¹¡£
      @endif
 </li>
 </ol>
@@ -99,8 +100,7 @@ and tow complex numbers are equal.
 @dontinclude complex/testComplex.c
 
 @skip test_complex_new
-@until }
-@skip test_complex_equals
+@until test_complex_equals
 @until }
 
 @english
@@ -203,7 +203,7 @@ no diagnostics will be displayed.  One will normally use a
 @english
 How do you run your tests and collect their results?
 The TestCase store result of own tests into
-the @link CCUnitTestResult TestResult @endlink.
+the @link CCUnitTestResult TestResult@endlink.
 @japanese
 ¥Æ¥¹¥È¤ò¼Â¹Ô¤·¤¿¤È¤­¤Ë¡¢¤É¤¦¤ä¤Ã¤Æ¤½¤Î·ë²Ì¤ò½¸¤á¤¿¤éÎɤ¤¤Ç¤·¤ç¤¦¤«¡£
 ¥Æ¥¹¥È¥±¡¼¥¹¤Ï¥Æ¥¹¥È´Ø¿ô¤Î¼Â¹Ô·ë²Ì
@@ -216,15 +216,16 @@ the @link CCUnitTestResult TestResult @endlink.
 @dot
 digraph TestResult {
   node [ fontsize=9, fontname=Helvetica ]
-  TestRunner
-  { rank=same;
-    edge [ fontsize=9, fontname=Courier ]
-    TestCase -> TestResult [ label="TestFailure", style=dotted, arrowhead=vee ];
-  }
   edge [ fontsize=9, dir=back ]
   TestRunner -> TestCase [ label="Notify", fontname=Times, 
                           style=dotted, arrowhead=vee ];
   TestRunner -> TestResult [ arrowtail=none ];
+  { rank=same;
+    TestCase -> TestResult [
+      label="TestFailure", fontname=Courier,
+      dir=forward, style=dotted, arrowhead=vee
+    ];
+  }
   TestCase -> "TestFunc 1..n";
   TestResult -> "TestFailure 0..m" [ arrowtail=diamond ];
 }