Make uf2reset available across nRF52 CLI roles
This commit is contained in:
1 parent
e36b092aa3
commit
65a53285d9
14 files changed
+154
-34
No files matched your search
@@ -719,6 +719,15 @@ TEST(CLICommandUtils, MatchesDiscoverNeighborsWithoutPrefixCollisions) {
|
||||
"discover.neighbors.extra", "discover.neighbors"));
|
||||
}
|
||||
|
||||
TEST(CLICommandUtils, MatchesOnlyACompleteUf2ResetCommand) {
|
||||
EXPECT_TRUE(mesh::cli::isUf2ResetCommand("uf2reset"));
|
||||
EXPECT_TRUE(mesh::cli::isUf2ResetCommand("uf2reset "));
|
||||
EXPECT_FALSE(mesh::cli::isUf2ResetCommand("uf2reset now"));
|
||||
EXPECT_FALSE(mesh::cli::isUf2ResetCommand("uf2reset.extra"));
|
||||
EXPECT_FALSE(mesh::cli::isUf2ResetCommand("uf2"));
|
||||
EXPECT_FALSE(mesh::cli::isUf2ResetCommand(nullptr));
|
||||
}
|
||||
|
||||
TEST(CLICommandUtils, ParsesRecentRepeaterListAndPageQueries) {
|
||||
using mesh::cli::RecentRepeaterGetMatch;
|
||||
mesh::cli::RecentRepeaterGetQuery query;
|
||||
|
||||
Reference in new issue
Block a user