summaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-08-07 00:19:04 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-08-07 00:19:04 +0200
commitdbe44203257917d2610a3fc3f0e9e84ec49e6b34 (patch)
tree2a3c4b55ada448fa197aca768032532160c25fbb /tests/unit
parentMerge "Dynamically load device-specific recovery UI lib." (diff)
parentAdd an updater function to compute hash tree (diff)
downloadandroid_bootable_recovery-dbe44203257917d2610a3fc3f0e9e84ec49e6b34.tar
android_bootable_recovery-dbe44203257917d2610a3fc3f0e9e84ec49e6b34.tar.gz
android_bootable_recovery-dbe44203257917d2610a3fc3f0e9e84ec49e6b34.tar.bz2
android_bootable_recovery-dbe44203257917d2610a3fc3f0e9e84ec49e6b34.tar.lz
android_bootable_recovery-dbe44203257917d2610a3fc3f0e9e84ec49e6b34.tar.xz
android_bootable_recovery-dbe44203257917d2610a3fc3f0e9e84ec49e6b34.tar.zst
android_bootable_recovery-dbe44203257917d2610a3fc3f0e9e84ec49e6b34.zip
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/commands_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/commands_test.cpp b/tests/unit/commands_test.cpp
index 3daa58f33..9679a9e73 100644
--- a/tests/unit/commands_test.cpp
+++ b/tests/unit/commands_test.cpp
@@ -30,6 +30,7 @@ TEST(CommandsTest, ParseType) {
ASSERT_EQ(Command::Type::IMGDIFF, Command::ParseType("imgdiff"));
ASSERT_EQ(Command::Type::STASH, Command::ParseType("stash"));
ASSERT_EQ(Command::Type::FREE, Command::ParseType("free"));
+ ASSERT_EQ(Command::Type::COMPUTE_HASH_TREE, Command::ParseType("compute_hash_tree"));
}
TEST(CommandsTest, ParseType_InvalidCommand) {