Skip to content

Commit

Permalink
[Test] Rename tests from src/app/tests/suites to a less volatile name (
Browse files Browse the repository at this point in the history
…#8066)

* Update test names

* Update generated tests
  • Loading branch information
vivien-apple authored and pull[bot] committed Sep 9, 2021
1 parent bab3113 commit d20132b
Show file tree
Hide file tree
Showing 8 changed files with 168 additions and 168 deletions.
228 changes: 114 additions & 114 deletions examples/chip-tool/commands/tests/Commands.h

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions examples/chip-tool/templates/tests-commands.zapt
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@

#include "TestCommand.h"

{{>test_cluster tests="TestCluster, Test_3_1_1, Test_3_2_1, Test_3_2_2, Test_10_1_1, Test_TC_DM_3_1"}}
{{>test_cluster tests="TestCluster, Test_TC_OO_1_1, Test_TC_OO_2_1, Test_TC_OO_2_2, Test_TC_DM_1_1, Test_TC_DM_3_1"}}

void registerCommandsTests(Commands & commands)
{
const char * clusterName = "Tests";

commands_list clusterCommands = {
make_unique<TestCluster>(),
make_unique<Test_3_1_1>(),
make_unique<Test_3_2_1>(),
make_unique<Test_3_2_2>(),
make_unique<Test_10_1_1>(),
make_unique<Test_TC_OO_1_1>(),
make_unique<Test_TC_OO_2_1>(),
make_unique<Test_TC_OO_2_2>(),
make_unique<Test_TC_DM_1_1>(),
make_unique<Test_TC_DM_3_1>(),
};

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/templates/clusters-tests.zapt
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ CHIPDevice * GetPairedDevice(uint64_t deviceId)
[self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil];
}

{{>test_cluster tests="TestCluster, Test_3_1_1, Test_3_2_1, Test_3_2_2, Test_10_1_1, Test_TC_DM_3_1"}}
{{>test_cluster tests="TestCluster, Test_TC_OO_1_1, Test_TC_OO_2_1, Test_TC_OO_2_2, Test_TC_DM_1_1, Test_TC_DM_3_1"}}

{{#chip_client_clusters}}
{{#unless (isStrEqual "Test Cluster" name)}}
Expand Down
96 changes: 48 additions & 48 deletions src/darwin/Framework/CHIPTests/CHIPClustersTests.m

Large diffs are not rendered by default.

0 comments on commit d20132b

Please sign in to comment.