]> granicus.if.org Git - check/commitdiff
Remove documentation at top of check.h.in
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 16 Feb 2014 04:58:55 +0000 (04:58 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 16 Feb 2014 04:58:55 +0000 (04:58 +0000)
This documentation is captured better in other places, including
Check's documentation and examples.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1114 64e312b2-a51f-0410-8e61-82d0ca0eb02a

src/check.h.in

index a8aa571e0cbaf61718b54c23ed4e1d30c480d5e7..3eafbb623f2dac5194219bbfae0031e0d2b5bd78 100644 (file)
 
 #include <check_stdint.h>
 
-/* Check: a unit test framework for C
-
-   Check is a unit test framework for C. It features a simple
-   interface for defining unit tests, putting little in the way of the
-   developer. Tests are run in a separate address space, so Check can
-   catch both assertion failures and code errors that cause
-   segmentation faults or other signals. The output from unit tests
-   can be used within source code editors and IDEs.
-
-   Unit tests are created with the START_TEST/END_TEST macro
-   pair. The mark_point macro is useful for trapping the location 
-   of signals and/or early exits. The following calls are used for
-   creating checks within unit tests, where ... represents arguments
-   given to a printf:
-      Asserting an expression:
-         ck_assert(expr)
-         ck_assert_msg(expr, ...)
-      Aborting a test:
-         ck_abort()
-         ck_abort_msg(...)
-      Check the relationship between two integers:
-         ck_assert_int_eq
-         ck_assert_int_ne
-         ck_assert_int_lt
-         ck_assert_int_le
-         ck_assert_int_gt
-         ck_assert_int_ge
-      Check the relationship between two strings:
-         ck_assert_str_eq
-         ck_assert_str_ne
-         ck_assert_str_lt
-         ck_assert_str_le
-         ck_assert_str_gt
-         ck_assert_str_ge
-      Check the relationship between two pointers:
-         ck_assert_ptr_eq
-         ck_assert_ptr_ne
-
-   Test cases are created with tcase_create, unit tests are added
-   with tcase_add_test
-
-
-   Suites are created with suite_create; test cases are added
-   with suite_add_tcase
-
-   Suites are run through an SRunner, which is created with
-   srunner_create. Additional suites can be added to an SRunner with
-   srunner_add_suite. An SRunner is freed with srunner_free, which also
-   frees all suites added to the runner. 
-
-   Use srunner_run_all to run a suite and print results.
-
+/*
    Macros and functions starting with _ (underscore) are internal and
    may change without notice. You have been warned!.
-
 */