Skip to content

Commit

Permalink
Reordered the includes to match the standard "Related header, C syste…
Browse files Browse the repository at this point in the history
…m headers, C++ standard library headers, other libraries' headers, your project's headers"
  • Loading branch information
feasel0 committed May 6, 2024
1 parent 5b68902 commit d02d21c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
1 change: 1 addition & 0 deletions src/transport/raw/tests/TestMessageHeader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
*/

#include <gtest/gtest.h>

#include <lib/core/ErrorStr.h>
#include <lib/support/CHIPMem.h>
#include <lib/support/CodeUtils.h>
Expand Down
1 change: 1 addition & 0 deletions src/transport/raw/tests/TestPeerAddress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <string.h>

#include <gtest/gtest.h>

#include <inet/IPAddress.h>
#include <lib/core/DataModelTypes.h>
#include <lib/core/PeerId.h>
Expand Down
13 changes: 7 additions & 6 deletions src/transport/raw/tests/TestTCP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@

#include "NetworkTestHelpers.h"

#include <crypto/RandUtils.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <utility>

#include <gtest/gtest.h>

#include <crypto/RandUtils.h>
#include <lib/core/CHIPCore.h>
#include <lib/core/CHIPEncoding.h>
#include <lib/support/CHIPMem.h>
Expand All @@ -37,11 +43,6 @@
#endif // INET_CONFIG_ENABLE_TCP_ENDPOINT
#include <transport/raw/tests/TCPBaseTestAccess.h>

#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <utility>

using namespace chip;
using namespace chip::Test;
using namespace chip::Inet;
Expand Down
5 changes: 3 additions & 2 deletions src/transport/raw/tests/TestUDP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@

#include "NetworkTestHelpers.h"

#include <errno.h>

#include <gtest/gtest.h>

#include <lib/core/CHIPCore.h>
#include <lib/support/CodeUtils.h>
#include <transport/TransportMgr.h>
#include <transport/raw/UDP.h>

#include <errno.h>

using namespace chip;
using namespace chip::Test;
using namespace chip::Inet;
Expand Down

0 comments on commit d02d21c

Please sign in to comment.