Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and mwswartwout committed Feb 16, 2024
1 parent 3855b65 commit 6735353
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/app/tests/TestConcreteAttributePath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,23 @@ void TestConcreteAttributePathInequalityDifferentAttributeId(nlTestSuite * aSuit
NL_TEST_ASSERT(aSuite, path_one != path_two);
}

void TestConcreteDataAttributePathMatchesConcreteAttributePathEquality(nlTestSuite* aSuite, void* aContext) {
void TestConcreteDataAttributePathMatchesConcreteAttributePathEquality(nlTestSuite * aSuite, void * aContext)
{
ConcreteAttributePath path(/*aEndpointId=*/1, /*aClusterId=*/2, /*aAttributeId=*/3);
ConcreteDataAttributePath data_path(/*aEndpointId=*/1, /*aClusterId=*/2, /*aAttributeId=*/3);
ConcreteDataAttributePath data_path_with_version(/*aEndpointId=*/1, /*aClusterId=*/2, /*aAttributeId=*/3, /*aDataVersion=*/MakeOptional(4U));
ConcreteDataAttributePath data_path_with_list(/*aEndpointId=*/1, /*aClusterId=*/2, /*aAttributeId=*/3, /*aListOp=*/ ConcreteDataAttributePath::ListOperation::ReplaceAll, /*aListIndex=*/ 5U);
ConcreteDataAttributePath data_path_with_version(/*aEndpointId=*/1, /*aClusterId=*/2, /*aAttributeId=*/3,
/*aDataVersion=*/MakeOptional(4U));
ConcreteDataAttributePath data_path_with_list(/*aEndpointId=*/1, /*aClusterId=*/2, /*aAttributeId=*/3,
/*aListOp=*/ConcreteDataAttributePath::ListOperation::ReplaceAll,
/*aListIndex=*/5U);

NL_TEST_ASSERT(aSuite, data_path.MatchesConcreteAttributePath(path));
NL_TEST_ASSERT(aSuite, data_path_with_version.MatchesConcreteAttributePath(path));
NL_TEST_ASSERT(aSuite, data_path_with_list.MatchesConcreteAttributePath(path));
}

void TestConcreteDataAttributePathMatchesConcreteAttributePathInequality(nlTestSuite* aSuite, void* aContext) {
void TestConcreteDataAttributePathMatchesConcreteAttributePathInequality(nlTestSuite * aSuite, void * aContext)
{
ConcreteAttributePath path(/*aEndpointId=*/1, /*aClusterId=*/2, /*aAttributeId=*/3);
ConcreteDataAttributePath data_path(/*aEndpointId=*/1, /*aClusterId=*/2, /*aAttributeId=*/4);

Expand Down

0 comments on commit 6735353

Please sign in to comment.