From 5539384c37f07bae8d26708b212bac4a3290a6ba Mon Sep 17 00:00:00 2001 From: hasufell Date: Sun, 11 May 2014 13:31:50 +0200 Subject: [PATCH] Fix doxygen for tests --- Doxyfile | 2 +- src/test/cunit.c | 6 ++++++ src/test/cunit.h | 7 +++++++ src/test/cunit_filereader.c | 7 +++++++ src/test/cunit_half_edge.c | 7 +++++++ src/test/cunit_vector.c | 7 +++++++ 6 files changed, 35 insertions(+), 1 deletion(-) diff --git a/Doxyfile b/Doxyfile index cbc2586..f998de5 100644 --- a/Doxyfile +++ b/Doxyfile @@ -668,7 +668,7 @@ WARN_LOGFILE = # directories like "/usr/src/myproject". Separate the files or directories # with spaces. -INPUT = src/ +INPUT = src/ src/test/ # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is diff --git a/src/test/cunit.c b/src/test/cunit.c index 6d96b8a..b8a4f29 100644 --- a/src/test/cunit.c +++ b/src/test/cunit.c @@ -16,6 +16,12 @@ * along with this program. If not, see . */ +/** + * @file cunit.c + * Main cunit file, registering the test suites. + * @brief test suite registration + */ + #include "cunit.h" #include diff --git a/src/test/cunit.h b/src/test/cunit.h index 06e1c29..18922d0 100644 --- a/src/test/cunit.h +++ b/src/test/cunit.h @@ -16,6 +16,13 @@ * along with this program. If not, see . */ +/** + * @file cunit.h + * Main cunit header, containing declarations + * of all test functions. + * @brief test function declarations + */ + /* * filereader tests */ diff --git a/src/test/cunit_filereader.c b/src/test/cunit_filereader.c index ff3a6fe..a196a70 100644 --- a/src/test/cunit_filereader.c +++ b/src/test/cunit_filereader.c @@ -16,6 +16,13 @@ * along with this program. If not, see . */ +/** + * @file cunit_filereader.c + * Test functions for the filereader, + * including various file formats. + * @brief file reader test functions + */ + #include "filereader.h" #include "half_edge.h" diff --git a/src/test/cunit_half_edge.c b/src/test/cunit_half_edge.c index dc1590b..89ca3c1 100644 --- a/src/test/cunit_half_edge.c +++ b/src/test/cunit_half_edge.c @@ -16,6 +16,13 @@ * along with this program. If not, see . */ +/** + * @file cunit_half_edge.c + * Test functions for the half edge data structure + * and operations based on it. + * @brief half-edge test functions + */ + #include "half_edge.h" #include diff --git a/src/test/cunit_vector.c b/src/test/cunit_vector.c index 8668f55..24fb6f5 100644 --- a/src/test/cunit_vector.c +++ b/src/test/cunit_vector.c @@ -16,6 +16,13 @@ * along with this program. If not, see . */ +/** + * @file cunit_vector.c + * Test functions for the vector data structure + * and operations based on it. + * @brief vector test functions + */ + #include "vector.h" #include