Skip to content

Commit b996dbf

Browse files
authored
[CodeDrivenClusters] Use UpperCamelCaseCluster naming for soil-measurement-server (project-chip#42179)
* Rename files to use UpperCamelCaseCluster/Logic for soil-measurement-server * Fix include path for soil-measurement-stub.h
1 parent 10a22c9 commit b996dbf

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

examples/all-clusters-app/all-clusters-common/include/soil-measurement-stub.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#pragma once
2020

21-
#include <app/clusters/soil-measurement-server/soil-measurement-cluster.h>
21+
#include <app/clusters/soil-measurement-server/SoilMeasurementCluster.h>
2222

2323
namespace chip::app::Clusters::SoilMeasurement {
2424

src/app/clusters/soil-measurement-server/BUILD.gn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import("//build_overrides/chip.gni")
1616

1717
source_set("soil-measurement-server") {
1818
sources = [
19-
"soil-measurement-cluster.cpp",
20-
"soil-measurement-cluster.h",
19+
"SoilMeasurementCluster.cpp",
20+
"SoilMeasurementCluster.h",
2121
]
2222

2323
public_deps = [

src/app/clusters/soil-measurement-server/soil-measurement-cluster.cpp renamed to src/app/clusters/soil-measurement-server/SoilMeasurementCluster.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
#include "soil-measurement-cluster.h"
17+
#include "SoilMeasurementCluster.h"
1818
#include <app/server-cluster/AttributeListBuilder.h>
1919
#include <clusters/SoilMeasurement/Metadata.h>
2020

src/app/clusters/soil-measurement-server/app_config_dependent_sources.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
TARGET_SOURCES(
1717
${APP_TARGET}
1818
PRIVATE
19-
"${CLUSTER_DIR}/soil-measurement-cluster.cpp"
20-
"${CLUSTER_DIR}/soil-measurement-cluster.h"
19+
"${CLUSTER_DIR}/SoilMeasurementCluster.cpp"
20+
"${CLUSTER_DIR}/SoilMeasurementCluster.h"
2121
)

src/app/clusters/soil-measurement-server/tests/TestSoilMeasurementCluster.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#include <pw_unit_test/framework.h>
1818

19-
#include <app/clusters/soil-measurement-server/soil-measurement-cluster.h>
19+
#include <app/clusters/soil-measurement-server/SoilMeasurementCluster.h>
2020
#include <app/clusters/testing/AttributeTesting.h>
2121
#include <app/clusters/testing/ClusterTester.h>
2222
#include <app/server-cluster/AttributeListBuilder.h>

0 commit comments

Comments
 (0)