aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib/templates/test_sequence_XXX.c
blob: 6ff377e9455a43d068bf7380e5f035514be272bb (plain)
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
/*
    ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

#include "hal.h"
#include "ch_test.h"
#include "test_root.h"

/**
 * @page test_sequence_XXX Sequence brief description
 *
 * File: @ref test_sequence_XXX.c
 *
 * <h2>Description</h2>
 * Sequence detailed description.
 *
 * <h2>Test Cases</h2>
 * - @subpage test_XXX_000
 * .
 */

/****************************************************************************
 * Shared code.
 ****************************************************************************/


/****************************************************************************
 * Test cases.
 ****************************************************************************/

#if TEST_XXX_000_CONDITION || defined(__DOXYGEN__)
/**
 * @page test_XXX_000 Brief description
 *
 * <h2>Description</h2>
 * Detailed description.
 *
 * <h2>Conditions</h2>
 * This test is only executed if the following preprocessor condition
 * evaluates to true:
 * - TEST_XXX_000_CONDITION
 * .
 *
 * <h2>Test Steps</h2>
 * - Step description.
 * .
 */

static void test_XXX_000_setup(void) {

}

static void test_XXX_000_teardown(void) {

}

static void test_XXX_000_execute(void) {

  /* Step description.*/
  test_set_step(1);
  {
  }
}

static const testcase_t test_XXX_000 = {
  "Brief description",
  test_XXX_000_setup,
  test_XXX_000_teardown,
  test_XXX_000_execute
};
#endif /* TEST_XXX_000_CONDITION */

 /****************************************************************************
 * Exported data.
 ****************************************************************************/

/**
 * @brief   Sequence brief description.
 */
const testcase_t * const test_sequence_XXX[] = {
#if TEST_XXX_000_CONDITION || defined(__DOXYGEN__)
  &test_XXX_000,
#endif
  NULL
};