Skip to content

Commit c45afcd

Browse files
author
Arto Kinnunen
authored
Use Mbed OS coding style (ARMmbed#113)
Adjust also cpp-files, they were missing from the previous commit.
1 parent 07e26bf commit c45afcd

File tree

8 files changed

+12
-20
lines changed

8 files changed

+12
-20
lines changed

test/coap-service/unittest/coap_connection_handler/coap_connection_handlertest.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@
1919

2020
TEST_GROUP(coap_connection_handler)
2121
{
22-
void setup()
23-
{
22+
void setup() {
2423
}
2524

26-
void teardown()
27-
{
25+
void teardown() {
2826
}
2927
};
3028

test/coap-service/unittest/coap_connection_handler/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "CppUTest/TestPlugin.h"
2020
#include "CppUTest/TestRegistry.h"
2121
#include "CppUTestExt/MockSupportPlugin.h"
22-
int main(int ac, char** av)
22+
int main(int ac, char **av)
2323
{
2424
return CommandLineTestRunner::RunAllTests(ac, av);
2525
}

test/coap-service/unittest/coap_message_handler/coap_message_handlertest.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@
1919

2020
TEST_GROUP(coap_message_handler)
2121
{
22-
void setup()
23-
{
22+
void setup() {
2423
}
2524

26-
void teardown()
27-
{
25+
void teardown() {
2826
}
2927
};
3028

test/coap-service/unittest/coap_message_handler/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "CppUTest/TestPlugin.h"
2020
#include "CppUTest/TestRegistry.h"
2121
#include "CppUTestExt/MockSupportPlugin.h"
22-
int main(int ac, char** av)
22+
int main(int ac, char **av)
2323
{
2424
return CommandLineTestRunner::RunAllTests(ac, av);
2525
}

test/coap-service/unittest/coap_security_handler/coap_security_handlertest.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,12 @@
2121

2222
TEST_GROUP(coap_security_handler)
2323
{
24-
void setup()
25-
{
24+
void setup() {
2625
nsdynmemlib_stub.returnCounter = 0;
2726
mbedtls_stub.useCounter = false;
2827
}
2928

30-
void teardown()
31-
{
29+
void teardown() {
3230
}
3331
};
3432

test/coap-service/unittest/coap_security_handler/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "CppUTest/TestPlugin.h"
2020
#include "CppUTest/TestRegistry.h"
2121
#include "CppUTestExt/MockSupportPlugin.h"
22-
int main(int ac, char** av)
22+
int main(int ac, char **av)
2323
{
2424
return CommandLineTestRunner::RunAllTests(ac, av);
2525
}

test/coap-service/unittest/coap_service_api/coap_service_apitest.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@
1919

2020
TEST_GROUP(coap_service_api)
2121
{
22-
void setup()
23-
{
22+
void setup() {
2423
}
2524

26-
void teardown()
27-
{
25+
void teardown() {
2826
}
2927
};
3028

test/coap-service/unittest/coap_service_api/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "CppUTest/TestPlugin.h"
2020
#include "CppUTest/TestRegistry.h"
2121
#include "CppUTestExt/MockSupportPlugin.h"
22-
int main(int ac, char** av)
22+
int main(int ac, char **av)
2323
{
2424
return CommandLineTestRunner::RunAllTests(ac, av);
2525
}

0 commit comments

Comments
 (0)