From 32057a8c46f9f5f3e5bdf03a0032aacb9639cec1 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 1 Jun 2018 15:04:44 +0200 Subject: [PATCH] tests: fix doxygen grouping --- tests/driver_kw2xrf/kw2xrf_params.h | 2 +- tests/fault_handler/main.c | 2 +- tests/gnrc_sock_ip/constants.h | 5 ++--- tests/gnrc_sock_ip/main.c | 2 +- tests/gnrc_sock_ip/stack.h | 5 ++--- tests/gnrc_sock_udp/constants.h | 5 ++--- tests/gnrc_sock_udp/stack.c | 5 ++--- tests/gnrc_sock_udp/stack.h | 5 ++--- tests/lwip_sock_ip/constants.h | 5 ++--- tests/lwip_sock_ip/main.c | 2 +- tests/lwip_sock_ip/stack.c | 4 ++-- tests/lwip_sock_ip/stack.h | 5 ++--- tests/lwip_sock_tcp/constants.h | 5 ++--- tests/lwip_sock_tcp/stack.c | 3 +-- tests/lwip_sock_tcp/stack.h | 5 ++--- tests/lwip_sock_udp/constants.h | 5 ++--- tests/lwip_sock_udp/stack.c | 3 +-- tests/lwip_sock_udp/stack.h | 5 ++--- tests/minimal/main.c | 2 +- tests/pkg_cayenne-lpp/main.c | 2 +- tests/pkg_minmea/main.c | 2 +- tests/thread_race/main.c | 2 +- tests/unittests/tests-ecc/tests-ecc.c | 2 +- 23 files changed, 35 insertions(+), 48 deletions(-) diff --git a/tests/driver_kw2xrf/kw2xrf_params.h b/tests/driver_kw2xrf/kw2xrf_params.h index f763375546..6d97054de5 100644 --- a/tests/driver_kw2xrf/kw2xrf_params.h +++ b/tests/driver_kw2xrf/kw2xrf_params.h @@ -8,7 +8,7 @@ */ /** - * @ingroup tests_kw2xrf + * @ingroup tests * @brief generic kw2xrf pin config * * Copyright (C) 2014 PHYTEC Messtechnik GmbH diff --git a/tests/fault_handler/main.c b/tests/fault_handler/main.c index d561847565..5a2a52fb31 100644 --- a/tests/fault_handler/main.c +++ b/tests/fault_handler/main.c @@ -7,7 +7,7 @@ */ /** - * @ingroup test + * @ingroup tests * @{ * * @file diff --git a/tests/gnrc_sock_ip/constants.h b/tests/gnrc_sock_ip/constants.h index 0f70829540..0f26b7cecc 100644 --- a/tests/gnrc_sock_ip/constants.h +++ b/tests/gnrc_sock_ip/constants.h @@ -7,8 +7,7 @@ */ /** - * @defgroup - * @ingroup + * @ingroup tests * @brief * @{ * @@ -16,6 +15,7 @@ * @brief * * @author Martine Lenders + * @} */ #ifndef CONSTANTS_H #define CONSTANTS_H @@ -40,4 +40,3 @@ extern "C" { #endif #endif /* CONSTANTS_H */ -/** @} */ diff --git a/tests/gnrc_sock_ip/main.c b/tests/gnrc_sock_ip/main.c index 29d3b49f47..cf3591e7ef 100644 --- a/tests/gnrc_sock_ip/main.c +++ b/tests/gnrc_sock_ip/main.c @@ -7,7 +7,7 @@ */ /** - * @ingroup examples + * @ingroup tests * @{ * * @file diff --git a/tests/gnrc_sock_ip/stack.h b/tests/gnrc_sock_ip/stack.h index f5ab509da9..88b9849d03 100644 --- a/tests/gnrc_sock_ip/stack.h +++ b/tests/gnrc_sock_ip/stack.h @@ -7,8 +7,7 @@ */ /** - * @defgroup - * @ingroup + * @ingroup tests * @brief * @{ * @@ -16,6 +15,7 @@ * @brief * * @author Martine Lenders + * @} */ #ifndef STACK_H #define STACK_H @@ -87,4 +87,3 @@ bool _check_packet(const ipv6_addr_t *src, const ipv6_addr_t *dst, #endif #endif /* STACK_H */ -/** @} */ diff --git a/tests/gnrc_sock_udp/constants.h b/tests/gnrc_sock_udp/constants.h index 9e9c2fa3d0..87fba4c4a9 100644 --- a/tests/gnrc_sock_udp/constants.h +++ b/tests/gnrc_sock_udp/constants.h @@ -7,8 +7,7 @@ */ /** - * @defgroup - * @ingroup + * @ingroup tests * @brief * @{ * @@ -16,6 +15,7 @@ * @brief * * @author Martine Lenders + * @} */ #ifndef CONSTANTS_H #define CONSTANTS_H @@ -41,4 +41,3 @@ extern "C" { #endif #endif /* CONSTANTS_H */ -/** @} */ diff --git a/tests/gnrc_sock_udp/stack.c b/tests/gnrc_sock_udp/stack.c index 00134a3733..177fb30132 100644 --- a/tests/gnrc_sock_udp/stack.c +++ b/tests/gnrc_sock_udp/stack.c @@ -7,10 +7,12 @@ */ /** + * @ingroup tests * @{ * * @file * @author Martine Lenders + * @} */ @@ -167,6 +169,3 @@ bool _check_packet(const ipv6_addr_t *src, const ipv6_addr_t *dst, (data_len == udp->next->size) && (memcmp(data, udp->next->data, data_len) == 0)); } - - -/** @} */ diff --git a/tests/gnrc_sock_udp/stack.h b/tests/gnrc_sock_udp/stack.h index 8f83392f79..d38f314103 100644 --- a/tests/gnrc_sock_udp/stack.h +++ b/tests/gnrc_sock_udp/stack.h @@ -7,8 +7,7 @@ */ /** - * @defgroup - * @ingroup + * @ingroup tests * @brief * @{ * @@ -16,6 +15,7 @@ * @brief * * @author Martine Lenders + * @} */ #ifndef STACK_H #define STACK_H @@ -92,4 +92,3 @@ bool _check_packet(const ipv6_addr_t *src, const ipv6_addr_t *dst, #endif #endif /* STACK_H */ -/** @} */ diff --git a/tests/lwip_sock_ip/constants.h b/tests/lwip_sock_ip/constants.h index 4ddf627149..b6a6565414 100644 --- a/tests/lwip_sock_ip/constants.h +++ b/tests/lwip_sock_ip/constants.h @@ -7,8 +7,7 @@ */ /** - * @defgroup - * @ingroup + * @ingroup tests * @brief * @{ * @@ -16,6 +15,7 @@ * @brief * * @author Martine Lenders + * @} */ #ifndef CONSTANTS_H #define CONSTANTS_H @@ -45,4 +45,3 @@ extern "C" { #endif #endif /* CONSTANTS_H */ -/** @} */ diff --git a/tests/lwip_sock_ip/main.c b/tests/lwip_sock_ip/main.c index 3b64aed557..c0e95dc9bb 100644 --- a/tests/lwip_sock_ip/main.c +++ b/tests/lwip_sock_ip/main.c @@ -7,7 +7,7 @@ */ /** - * @ingroup examples + * @ingroup tests * @{ * * @file diff --git a/tests/lwip_sock_ip/stack.c b/tests/lwip_sock_ip/stack.c index 23ee9cabf9..7f49aecdc1 100644 --- a/tests/lwip_sock_ip/stack.c +++ b/tests/lwip_sock_ip/stack.c @@ -7,10 +7,12 @@ */ /** + * @ingroup tests * @{ * * @file * @author Martine Lenders + * @} */ @@ -369,5 +371,3 @@ bool _check_6packet(const ipv6_addr_t *src, const ipv6_addr_t *dst, return false; #endif } - -/** @} */ diff --git a/tests/lwip_sock_ip/stack.h b/tests/lwip_sock_ip/stack.h index bdbac98ebb..0985026f74 100644 --- a/tests/lwip_sock_ip/stack.h +++ b/tests/lwip_sock_ip/stack.h @@ -7,8 +7,7 @@ */ /** - * @defgroup - * @ingroup + * @ingroup tests * @brief * @{ * @@ -16,6 +15,7 @@ * @brief * * @author Martine Lenders + * @} */ #ifndef STACK_H #define STACK_H @@ -120,4 +120,3 @@ bool _check_6packet(const ipv6_addr_t *src, const ipv6_addr_t *dst, #endif #endif /* STACK_H */ -/** @} */ diff --git a/tests/lwip_sock_tcp/constants.h b/tests/lwip_sock_tcp/constants.h index d6637689c0..1b99b16950 100644 --- a/tests/lwip_sock_tcp/constants.h +++ b/tests/lwip_sock_tcp/constants.h @@ -7,8 +7,7 @@ */ /** - * @defgroup - * @ingroup + * @ingroup tests * @brief * @{ * @@ -16,6 +15,7 @@ * @brief * * @author Martine Lenders + * @} */ #ifndef CONSTANTS_H #define CONSTANTS_H @@ -46,4 +46,3 @@ extern "C" { #endif #endif /* CONSTANTS_H */ -/** @} */ diff --git a/tests/lwip_sock_tcp/stack.c b/tests/lwip_sock_tcp/stack.c index 879f751b21..d736f7e5f8 100644 --- a/tests/lwip_sock_tcp/stack.c +++ b/tests/lwip_sock_tcp/stack.c @@ -11,6 +11,7 @@ * * @file * @author Martine Lenders + * @} */ @@ -26,5 +27,3 @@ void _net_init(void) xtimer_init(); lwip_bootstrap(); } - -/** @} */ diff --git a/tests/lwip_sock_tcp/stack.h b/tests/lwip_sock_tcp/stack.h index c3fccf8e22..81af52fe9b 100644 --- a/tests/lwip_sock_tcp/stack.h +++ b/tests/lwip_sock_tcp/stack.h @@ -7,8 +7,7 @@ */ /** - * @defgroup - * @ingroup + * @ingroup tests * @brief * @{ * @@ -16,6 +15,7 @@ * @brief * * @author Martine Lenders + * @} */ #ifndef STACK_H #define STACK_H @@ -34,4 +34,3 @@ void _net_init(void); #endif #endif /* STACK_H */ -/** @} */ diff --git a/tests/lwip_sock_udp/constants.h b/tests/lwip_sock_udp/constants.h index f3e251766e..4a15841a44 100644 --- a/tests/lwip_sock_udp/constants.h +++ b/tests/lwip_sock_udp/constants.h @@ -7,8 +7,7 @@ */ /** - * @defgroup - * @ingroup + * @ingroup tests * @brief * @{ * @@ -16,6 +15,7 @@ * @brief * * @author Martine Lenders + * @} */ #ifndef CONSTANTS_H #define CONSTANTS_H @@ -46,4 +46,3 @@ extern "C" { #endif #endif /* CONSTANTS_H */ -/** @} */ diff --git a/tests/lwip_sock_udp/stack.c b/tests/lwip_sock_udp/stack.c index cdde693b29..5ee8a581df 100644 --- a/tests/lwip_sock_udp/stack.c +++ b/tests/lwip_sock_udp/stack.c @@ -11,6 +11,7 @@ * * @file * @author Martine Lenders + * @} */ @@ -412,5 +413,3 @@ bool _check_6packet(const ipv6_addr_t *src, const ipv6_addr_t *dst, return false; #endif } - -/** @} */ diff --git a/tests/lwip_sock_udp/stack.h b/tests/lwip_sock_udp/stack.h index c428faeb04..4a98fa88d2 100644 --- a/tests/lwip_sock_udp/stack.h +++ b/tests/lwip_sock_udp/stack.h @@ -7,8 +7,7 @@ */ /** - * @defgroup - * @ingroup + * @ingroup tests * @brief * @{ * @@ -16,6 +15,7 @@ * @brief * * @author Martine Lenders + * @} */ #ifndef STACK_H #define STACK_H @@ -130,4 +130,3 @@ bool _check_6packet(const ipv6_addr_t *src, const ipv6_addr_t *dst, #endif #endif /* STACK_H */ -/** @} */ diff --git a/tests/minimal/main.c b/tests/minimal/main.c index 529075c38d..93d25571ec 100644 --- a/tests/minimal/main.c +++ b/tests/minimal/main.c @@ -7,7 +7,7 @@ */ /** - * @ingroup test + * @ingroup tests * @{ * * @file diff --git a/tests/pkg_cayenne-lpp/main.c b/tests/pkg_cayenne-lpp/main.c index aea933fd0b..97acd139ef 100644 --- a/tests/pkg_cayenne-lpp/main.c +++ b/tests/pkg_cayenne-lpp/main.c @@ -7,7 +7,7 @@ */ /** - * @ingroup test + * @ingroup tests * @{ * * @file diff --git a/tests/pkg_minmea/main.c b/tests/pkg_minmea/main.c index 5381bfb822..f4ca2de0e1 100644 --- a/tests/pkg_minmea/main.c +++ b/tests/pkg_minmea/main.c @@ -7,7 +7,7 @@ */ /** - * @ingroup test + * @ingroup tests * @{ * * @file diff --git a/tests/thread_race/main.c b/tests/thread_race/main.c index 72b9ccb63d..eb0f3332a0 100644 --- a/tests/thread_race/main.c +++ b/tests/thread_race/main.c @@ -7,7 +7,7 @@ */ /** - * @ingroup test + * @ingroup tests * @{ * * @file diff --git a/tests/unittests/tests-ecc/tests-ecc.c b/tests/unittests/tests-ecc/tests-ecc.c index 8069d3e1c2..23aace76c2 100644 --- a/tests/unittests/tests-ecc/tests-ecc.c +++ b/tests/unittests/tests-ecc/tests-ecc.c @@ -7,7 +7,7 @@ */ /** - * @ingroup fs + * @ingroup unittests * @brief * @{ *