aboutsummaryrefslogtreecommitdiff
path: root/src/ats/test_ats_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/test_ats_api.c')
-rw-r--r--src/ats/test_ats_api.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/ats/test_ats_api.c b/src/ats/test_ats_api.c
index f04b4b08b..bc703a111 100644
--- a/src/ats/test_ats_api.c
+++ b/src/ats/test_ats_api.c
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20/** 20/**
21 * @file ats/test_ats_api.c 21 * @file ats/test_ats_api.c
22 * @brief test ATS 22 * @brief test ATS
@@ -28,7 +28,7 @@
28/** 28/**
29 * Global timeout for the testcase. 29 * Global timeout for the testcase.
30 */ 30 */
31#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 3) 31#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 3)
32 32
33/** 33/**
34 * Definition of the test as a sequence of commands. 34 * Definition of the test as a sequence of commands.
@@ -89,7 +89,7 @@ static struct Command test_commands[] = {
89 .code = CMD_ADD_SESSION, 89 .code = CMD_ADD_SESSION,
90 .label = "add-session-0-0-1", 90 .label = "add-session-0-0-1",
91 .details.add_session = { 91 .details.add_session = {
92 .add_label ="add-address-0-0", 92 .add_label = "add-address-0-0",
93 .session = 1 93 .session = 1
94 } 94 }
95 }, 95 },
@@ -104,7 +104,7 @@ static struct Command test_commands[] = {
104 .code = CMD_CHANGE_PREFERENCE, 104 .code = CMD_CHANGE_PREFERENCE,
105 .details.change_preference = { 105 .details.change_preference = {
106 .pid = 0 106 .pid = 0
107 /* FIXME: preference details */ 107 /* FIXME: preference details */
108 } 108 }
109 }, 109 },
110 { 110 {
@@ -233,13 +233,13 @@ static struct Command test_commands[] = {
233 233
234 234
235int 235int
236main (int argc, 236main(int argc,
237 char *argv[]) 237 char *argv[])
238{ 238{
239 return TEST_ATS_run (argc, 239 return TEST_ATS_run(argc,
240 argv, 240 argv,
241 test_commands, 241 test_commands,
242 TIMEOUT); 242 TIMEOUT);
243} 243}
244 244
245 245