Blame view

RIOT/tests/unittests/tests-core/tests-core.h 1.93 KB
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
  /*
   * Copyright (C) 2014 Martine Lenders <mlenders@inf.fu-berlin.de>
   *
   * This file is subject to the terms and conditions of the GNU Lesser
   * General Public License v2.1. See the file LICENSE in the top level
   * directory for more details.
   */
  
  /**
   * @addtogroup  unittests
   * @{
   *
   * @file
   * @brief       Unittests for the ``core`` module
   *
   * @author      Martine Lenders <mlenders@inf.fu-berlin.de>
   */
  #ifndef TESTS_CORE_H
  #define TESTS_CORE_H
  
  #include "embUnit.h"
  
  #ifdef __cplusplus
  extern "C" {
  #endif
  
  /**
   * @brief   The entry point of this test suite.
   */
  void tests_core(void);
  
  /**
   * @brief   Generates tests for atomic.h
   *
   * @return  embUnit tests if successful, NULL if not.
   */
  Test *tests_core_atomic_tests(void);
  
  /**
   * @brief   Generates tests for bitarithm.h
   *
   * @return  embUnit tests if successful, NULL if not.
   */
  Test *tests_core_bitarithm_tests(void);
  
  /**
   * @brief   Generates tests for cib.h
   *
   * @return  embUnit tests if successful, NULL if not.
   */
  Test *tests_core_cib_tests(void);
  
  /**
   * @brief   Generates tests for clist.h
   *
   * @return  embUnit tests if successful, NULL if not.
   */
  Test *tests_core_clist_tests(void);
  
  /**
   * @brief   Generates tests for lifo.h
   *
   * @return  embUnit tests if successful, NULL if not.
   */
  Test *tests_core_lifo_tests(void);
  
  /**
   * @brief   Generates tests for list.h
   *
   * @return  embUnit tests if successful, NULL if not.
   */
  Test *tests_core_list_tests(void);
  
  /**
   * @brief   Generates tests for priority_queue.h
   *
   * @return  embUnit tests if successful, NULL if not.
   */
  Test *tests_core_priority_queue_tests(void);
  
  /**
   * @brief   Generates tests for byteorder.h
   *
   * @return  embUnit tests if successful, NULL if not.
   */
  Test *tests_core_byteorder_tests(void);
  
  /**
   * @brief   Generates tests for ringbuffer.h
   *
   * @return  embUnit tests if successful, NULL if not.
   */
  Test *tests_core_ringbuffer_tests(void);
  
  #ifdef __cplusplus
  }
  #endif
  
  #endif /* TESTS_CORE_H */
  /** @} */