Skip to content

Commit 1d8d99a

Browse files
committed
Renaming OTATestData.h/.cpp to OTATestDataGenerator.h/.cpp
1 parent c9d7d27 commit 1d8d99a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

extras/test/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ set(TEST_SRCS
4343
src/test_readOnly.cpp
4444
src/test_writeOnly.cpp
4545

46-
src/util/OTATestData.cpp
46+
src/util/OTATestDataGenerator.cpp
4747
src/util/TestUtil.cpp
4848

4949
../../src/utility/ota/crc.cpp

extras/test/include/util/OTATestData.h renamed to extras/test/include/util/OTATestDataGenerator.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* Copyright (c) 2020 Arduino. All rights reserved.
33
*/
44

5-
#ifndef OTA_TEST_DATA_H_
6-
#define OTA_TEST_DATA_H_
5+
#ifndef OTA_TEST_DATA_GENERATOR_H_
6+
#define OTA_TEST_DATA_GENERATOR_H_
77

88
/**************************************************************************************
99
INCLUDE
@@ -34,4 +34,4 @@ void generate_valid_ota_data(OTAData & ota_data);
3434
void generate_invalid_ota_data_crc_wrong(OTAData & ota_data);
3535

3636

37-
#endif /* OTA_TEST_DATA_H_ */
37+
#endif /* OTA_TEST_DATA_GENERATOR_H_ */

extras/test/src/test_OTALogic.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <catch.hpp>
1313
#include <fakeit.hpp>
1414

15-
#include <util/OTATestData.h>
15+
#include <util/OTATestDataGenerator.h>
1616

1717
#include <OTALogic.h>
1818
#include <OTAStorage.h>

extras/test/src/util/OTATestData.cpp renamed to extras/test/src/util/OTATestDataGenerator.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
INCLUDE
77
**************************************************************************************/
88

9-
#include <util/OTATestData.h>
9+
#include <util/OTATestDataGenerator.h>
1010

1111
#include <algorithm>
1212

0 commit comments

Comments
 (0)