[fshost] Refactor for testing; add unit tests.
Create an abstract "BlockDeviceInterface" class, and add unit tests for it. Change-Id: Ie61268a11a217a27e23fabfbdd5873d01e734a8a
Showing
- zircon/system/core/devmgr/fshost/BUILD.gn 44 additions, 10 deletionszircon/system/core/devmgr/fshost/BUILD.gn
- zircon/system/core/devmgr/fshost/block-device-interface.h 72 additions, 0 deletionszircon/system/core/devmgr/fshost/block-device-interface.h
- zircon/system/core/devmgr/fshost/block-device-test.cpp 180 additions, 0 deletionszircon/system/core/devmgr/fshost/block-device-test.cpp
- zircon/system/core/devmgr/fshost/block-device.cpp 441 additions, 0 deletionszircon/system/core/devmgr/fshost/block-device.cpp
- zircon/system/core/devmgr/fshost/block-device.h 44 additions, 0 deletionszircon/system/core/devmgr/fshost/block-device.h
- zircon/system/core/devmgr/fshost/block-watcher-test.cpp 261 additions, 0 deletionszircon/system/core/devmgr/fshost/block-watcher-test.cpp
- zircon/system/core/devmgr/fshost/block-watcher.cpp 15 additions, 385 deletionszircon/system/core/devmgr/fshost/block-watcher.cpp
- zircon/system/core/devmgr/fshost/block-watcher.h 0 additions, 43 deletionszircon/system/core/devmgr/fshost/block-watcher.h
- zircon/system/core/devmgr/fshost/filesystem-mounter.cpp 75 additions, 0 deletionszircon/system/core/devmgr/fshost/filesystem-mounter.cpp
- zircon/system/core/devmgr/fshost/filesystem-mounter.h 53 additions, 0 deletionszircon/system/core/devmgr/fshost/filesystem-mounter.h
- zircon/system/core/devmgr/fshost/fs-manager.cpp 10 additions, 0 deletionszircon/system/core/devmgr/fshost/fs-manager.cpp
- zircon/system/core/devmgr/fshost/fs-manager.h 2 additions, 0 deletionszircon/system/core/devmgr/fshost/fs-manager.h
- zircon/system/core/devmgr/fshost/pkgfs-launcher.h 1 addition, 1 deletionzircon/system/core/devmgr/fshost/pkgfs-launcher.h
- zircon/system/utest/BUILD.gn 1 addition, 0 deletionszircon/system/utest/BUILD.gn
Loading
Please register or sign in to comment