summaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-08-02 01:40:00 +0200
committerTianjie Xu <xunchang@google.com>2018-08-06 21:17:50 +0200
commit69ffa15338503376c2dad1e33d23ebb42fba60d1 (patch)
treeec8de3151e9a221a500ede59dc7fc2fb380e4d53 /tests/unit
parentMerge "minadbd: avoid overrriding services_to_fd." (diff)
downloadandroid_bootable_recovery-69ffa15338503376c2dad1e33d23ebb42fba60d1.tar
android_bootable_recovery-69ffa15338503376c2dad1e33d23ebb42fba60d1.tar.gz
android_bootable_recovery-69ffa15338503376c2dad1e33d23ebb42fba60d1.tar.bz2
android_bootable_recovery-69ffa15338503376c2dad1e33d23ebb42fba60d1.tar.lz
android_bootable_recovery-69ffa15338503376c2dad1e33d23ebb42fba60d1.tar.xz
android_bootable_recovery-69ffa15338503376c2dad1e33d23ebb42fba60d1.tar.zst
android_bootable_recovery-69ffa15338503376c2dad1e33d23ebb42fba60d1.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) {