Skip to content

Commit 784c37e

Browse files
ksperling-applewoody-apple
authored andcommitted
Switch data_model tests to pw_unit_test
1 parent 266417d commit 784c37e

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

src/controller/tests/data_model/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ chip_test_suite("data_model") {
3535
"${chip_root}/src/app/tests:helpers",
3636
"${chip_root}/src/app/util/mock:mock_ember",
3737
"${chip_root}/src/controller",
38+
"${chip_root}/src/lib/core:string-builder-adapters",
3839
"${chip_root}/src/messaging/tests:helpers",
3940
"${chip_root}/src/transport/raw/tests:helpers",
4041
]

src/controller/tests/data_model/TestCommands.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
*
2323
*/
2424

25-
#include <gtest/gtest.h>
25+
#include <lib/core/StringBuilderAdapters.h>
26+
#include <pw_unit_test/framework.h>
2627

2728
#include "app/data-model/NullObject.h"
2829
#include <app-common/zap-generated/cluster-objects.h>

src/controller/tests/data_model/TestRead.cpp

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

19-
#include <gtest/gtest.h>
19+
#include <lib/core/StringBuilderAdapters.h>
20+
#include <pw_unit_test/framework.h>
2021

2122
#include "system/SystemClock.h"
2223
#include "transport/SecureSession.h"

src/controller/tests/data_model/TestWrite.cpp

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

19-
#include <gtest/gtest.h>
19+
#include <lib/core/StringBuilderAdapters.h>
20+
#include <pw_unit_test/framework.h>
2021

2122
#include "app-common/zap-generated/ids/Clusters.h"
2223
#include <app-common/zap-generated/cluster-objects.h>

0 commit comments

Comments
 (0)