summaryrefslogtreecommitdiffstats
path: root/tests/unit/fuse_sideload_test.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-06-21 19:14:10 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-06-21 19:14:10 +0200
commit090b62832f1e4507a864373b3e393aaa021a1f12 (patch)
tree79e1d688513da13dcb08a551fa689b17a1b7f2e3 /tests/unit/fuse_sideload_test.cpp
parentMerge "Implement the TargetFile and BuildInfo" (diff)
parentSupport starting fuse from a block map (diff)
downloadandroid_bootable_recovery-090b62832f1e4507a864373b3e393aaa021a1f12.tar
android_bootable_recovery-090b62832f1e4507a864373b3e393aaa021a1f12.tar.gz
android_bootable_recovery-090b62832f1e4507a864373b3e393aaa021a1f12.tar.bz2
android_bootable_recovery-090b62832f1e4507a864373b3e393aaa021a1f12.tar.lz
android_bootable_recovery-090b62832f1e4507a864373b3e393aaa021a1f12.tar.xz
android_bootable_recovery-090b62832f1e4507a864373b3e393aaa021a1f12.tar.zst
android_bootable_recovery-090b62832f1e4507a864373b3e393aaa021a1f12.zip
Diffstat (limited to 'tests/unit/fuse_sideload_test.cpp')
-rw-r--r--tests/unit/fuse_sideload_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/fuse_sideload_test.cpp b/tests/unit/fuse_sideload_test.cpp
index 6add99f41..ea895038c 100644
--- a/tests/unit/fuse_sideload_test.cpp
+++ b/tests/unit/fuse_sideload_test.cpp
@@ -40,6 +40,10 @@ class FuseTestDataProvider : public FuseDataProvider {
bool ReadBlockAlignedData(uint8_t*, uint32_t, uint32_t) const override {
return true;
}
+
+ bool Valid() const override {
+ return true;
+ }
};
TEST(SideloadTest, run_fuse_sideload_wrong_parameters) {