Skip to content

Commit 6fd991a

Browse files
[CodeDrivenClusters] Use UpperCamelCaseCluster naming for general-diagnostics-server (project-chip#42172)
* Rename files to use UpperCamelCaseCluster/Logic for general-diagnostics-server * Fix build failure for general-diagnostics-server --------- Co-authored-by: Andrei Litvin <[email protected]>
1 parent a4e4588 commit 6fd991a

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

examples/all-devices-app/all-devices-common/devices/root-node/RootNodeDevice.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <app/clusters/basic-information/BasicInformationCluster.h>
2222
#include <app/clusters/general-commissioning-server/BreadCrumbTracker.h>
2323
#include <app/clusters/general-commissioning-server/GeneralCommissioningCluster.h>
24-
#include <app/clusters/general-diagnostics-server/general-diagnostics-cluster.h>
24+
#include <app/clusters/general-diagnostics-server/GeneralDiagnosticsCluster.h>
2525
#include <app/clusters/group-key-mgmt-server/GroupKeyManagementCluster.h>
2626
#include <app/clusters/network-commissioning/NetworkCommissioningCluster.h>
2727
#include <app/clusters/operational-credentials-server/OperationalCredentialsCluster.h>

examples/platform/infineon/cyw30739/matter_config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#ifdef BOARD_ENABLE_I2C
3737
#include "wiced_hal_i2c.h"
3838
#endif
39-
#include <app/clusters/general-diagnostics-server/general-diagnostics-cluster.h>
39+
#include <app/clusters/general-diagnostics-server/GeneralDiagnosticsCluster.h>
4040
#include <app/clusters/network-commissioning/network-commissioning.h>
4141
#include <app/clusters/ota-requestor/OTATestEventTriggerHandler.h>
4242
#include <app/server/Server.h>

src/app/GenericEventManagementTestEventTriggerHandler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#pragma once
2020

2121
#include <app/TestEventTriggerDelegate.h>
22-
#include <app/clusters/general-diagnostics-server/general-diagnostics-cluster.h>
22+
#include <app/clusters/general-diagnostics-server/GeneralDiagnosticsCluster.h>
2323

2424
namespace chip {
2525
namespace app {

src/app/clusters/general-diagnostics-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("general-diagnostics-server") {
1818
sources = [
19-
"general-diagnostics-cluster.cpp",
20-
"general-diagnostics-cluster.h",
19+
"GeneralDiagnosticsCluster.cpp",
20+
"GeneralDiagnosticsCluster.h",
2121
]
2222

2323
public_deps = [

src/app/clusters/general-diagnostics-server/CodegenIntegration.cpp

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

1818
#include <app/clusters/general-diagnostics-server/CodegenIntegration.h>
19-
#include <app/clusters/general-diagnostics-server/general-diagnostics-cluster.h>
19+
#include <app/clusters/general-diagnostics-server/GeneralDiagnosticsCluster.h>
2020
#include <app/static-cluster-config/GeneralDiagnostics.h>
2121
#include <app/util/config.h>
2222
#include <app/util/util.h>

src/app/clusters/general-diagnostics-server/CodegenIntegration.h

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

18-
#include <app/clusters/general-diagnostics-server/general-diagnostics-cluster.h>
18+
#include <app/clusters/general-diagnostics-server/GeneralDiagnosticsCluster.h>
1919

2020
namespace chip::app::Clusters::GeneralDiagnostics {
2121
void GlobalNotifyDeviceReboot(GeneralDiagnostics::BootReasonEnum bootReason);

src/app/clusters/general-diagnostics-server/general-diagnostics-cluster.cpp renamed to src/app/clusters/general-diagnostics-server/GeneralDiagnosticsCluster.cpp

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

1818
#include <app-common/zap-generated/cluster-objects.h>
19-
#include <app/clusters/general-diagnostics-server/general-diagnostics-cluster.h>
19+
#include <app/clusters/general-diagnostics-server/GeneralDiagnosticsCluster.h>
2020
#include <app/server-cluster/AttributeListBuilder.h>
2121
#include <app/server-cluster/DefaultServerCluster.h>
2222
#include <app/server/Server.h>

src/app/clusters/general-diagnostics-server/app_config_dependent_sources.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ TARGET_SOURCES(
2424
TARGET_SOURCES(
2525
${APP_TARGET}
2626
PRIVATE
27-
"${CLUSTER_DIR}/general-diagnostics-cluster.h"
28-
"${CLUSTER_DIR}/general-diagnostics-cluster.cpp"
27+
"${CLUSTER_DIR}/GeneralDiagnosticsCluster.h"
28+
"${CLUSTER_DIR}/GeneralDiagnosticsCluster.cpp"
2929
)

src/app/clusters/general-diagnostics-server/tests/TestGeneralDiagnosticsCluster.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <pw_unit_test/framework.h>
1717

1818
#include <app-common/zap-generated/cluster-objects.h>
19-
#include <app/clusters/general-diagnostics-server/general-diagnostics-cluster.h>
19+
#include <app/clusters/general-diagnostics-server/GeneralDiagnosticsCluster.h>
2020
#include <app/clusters/testing/AttributeTesting.h>
2121
#include <app/clusters/testing/ClusterTester.h>
2222
#include <app/clusters/testing/ValidateGlobalAttributes.h>

0 commit comments

Comments
 (0)