Skip to content

Commit 570ed23

Browse files
committedMay 6, 2024
Reordered includes to be consistent with the standard.
1 parent 38806bd commit 570ed23

6 files changed

+20
-19
lines changed
 

‎src/transport/tests/TestCryptoContext.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
* limitations under the License.
1717
*/
1818

19-
#include <gtest/gtest.h>
2019
#include <inttypes.h>
2120

21+
#include <gtest/gtest.h>
22+
2223
#include <crypto/CHIPCryptoPAL.h>
2324
#include <lib/core/CHIPCore.h>
2425
#include <lib/support/CHIPMem.h>
25-
2626
#include <transport/CryptoContext.h>
2727

2828
using namespace chip;

‎src/transport/tests/TestGroupMessageCounter.cpp

+3-4
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,14 @@
2121
* This file implements unit tests for the SessionManager implementation.
2222
*/
2323

24+
#include <errno.h>
25+
#include <gtest/gtest.h>
26+
2427
#include <lib/support/DefaultStorageKeyAllocator.h>
2528
#include <lib/support/TestPersistentStorageDelegate.h>
2629
#include <transport/GroupPeerMessageCounter.h>
2730
#include <transport/PeerMessageCounter.h>
2831

29-
#include <gtest/gtest.h>
30-
31-
#include <errno.h>
32-
3332
namespace {
3433

3534
using namespace chip;

‎src/transport/tests/TestPeerConnections.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@
2222
* the SecureSessionTable class within the transport layer
2323
*
2424
*/
25+
26+
#include <gtest/gtest.h>
27+
2528
#include <lib/core/ErrorStr.h>
2629
#include <lib/support/CodeUtils.h>
2730
#include <transport/SecureSessionTable.h>
2831

29-
#include <gtest/gtest.h>
30-
3132
namespace {
3233

3334
using namespace chip;

‎src/transport/tests/TestPeerMessageCounter.cpp

+5-4
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@
2121
* This file implements unit tests for the SessionManager implementation.
2222
*/
2323

24-
#include <transport/MessageCounter.h>
25-
#include <transport/PeerMessageCounter.h>
26-
2724
#include <errno.h>
28-
#include <gtest/gtest.h>
2925
#include <vector>
3026

27+
#include <gtest/gtest.h>
28+
29+
#include <transport/MessageCounter.h>
30+
#include <transport/PeerMessageCounter.h>
31+
3132
namespace {
3233

3334
using namespace chip;

‎src/transport/tests/TestSecureSession.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
*/
2323

2424
#include <errno.h>
25+
#include <stdarg.h>
26+
2527
#include <gtest/gtest.h>
2628

2729
#include <crypto/DefaultSessionKeystore.h>
2830
#include <lib/core/CHIPCore.h>
2931
#include <lib/support/CodeUtils.h>
3032
#include <transport/CryptoContext.h>
3133

32-
#include <stdarg.h>
33-
3434
using namespace chip;
3535
using namespace Crypto;
3636

‎src/transport/tests/TestSecureSessionTable.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@
2121
* This file implements unit tests for the SessionManager implementation.
2222
*/
2323

24+
#include <errno.h>
25+
#include <vector>
26+
27+
#include <gtest/gtest.h>
28+
2429
#include "system/SystemClock.h"
2530
#include <lib/core/CHIPCore.h>
2631
#include <lib/support/CodeUtils.h>
2732
#include <transport/SecureSessionTable.h>
2833
#include <transport/SessionHolder.h>
2934

30-
#include <gtest/gtest.h>
31-
32-
#include <errno.h>
33-
#include <vector>
34-
3535
namespace chip {
3636
namespace Transport {
3737

0 commit comments

Comments
 (0)