Skip to content

Commit

Permalink
Use Mbed OS coding style (ARMmbed#113)
Browse files Browse the repository at this point in the history
Adjust also cpp-files, they were missing from the previous commit.
  • Loading branch information
Arto Kinnunen authored Nov 9, 2018
1 parent 07e26bf commit c45afcd
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@

TEST_GROUP(coap_connection_handler)
{
void setup()
{
void setup() {
}

void teardown()
{
void teardown() {
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "CppUTest/TestPlugin.h"
#include "CppUTest/TestRegistry.h"
#include "CppUTestExt/MockSupportPlugin.h"
int main(int ac, char** av)
int main(int ac, char **av)
{
return CommandLineTestRunner::RunAllTests(ac, av);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@

TEST_GROUP(coap_message_handler)
{
void setup()
{
void setup() {
}

void teardown()
{
void teardown() {
}
};

Expand Down
2 changes: 1 addition & 1 deletion test/coap-service/unittest/coap_message_handler/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "CppUTest/TestPlugin.h"
#include "CppUTest/TestRegistry.h"
#include "CppUTestExt/MockSupportPlugin.h"
int main(int ac, char** av)
int main(int ac, char **av)
{
return CommandLineTestRunner::RunAllTests(ac, av);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@

TEST_GROUP(coap_security_handler)
{
void setup()
{
void setup() {
nsdynmemlib_stub.returnCounter = 0;
mbedtls_stub.useCounter = false;
}

void teardown()
{
void teardown() {
}
};

Expand Down
2 changes: 1 addition & 1 deletion test/coap-service/unittest/coap_security_handler/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "CppUTest/TestPlugin.h"
#include "CppUTest/TestRegistry.h"
#include "CppUTestExt/MockSupportPlugin.h"
int main(int ac, char** av)
int main(int ac, char **av)
{
return CommandLineTestRunner::RunAllTests(ac, av);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@

TEST_GROUP(coap_service_api)
{
void setup()
{
void setup() {
}

void teardown()
{
void teardown() {
}
};

Expand Down
2 changes: 1 addition & 1 deletion test/coap-service/unittest/coap_service_api/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "CppUTest/TestPlugin.h"
#include "CppUTest/TestRegistry.h"
#include "CppUTestExt/MockSupportPlugin.h"
int main(int ac, char** av)
int main(int ac, char **av)
{
return CommandLineTestRunner::RunAllTests(ac, av);
}
Expand Down

0 comments on commit c45afcd

Please sign in to comment.