commit | f8881fee3d08cb50896b22adc0841223694d51d2 | [log] [tgz] |
---|---|---|
author | Arman Uguray <armansito@google.com> | Tue Aug 04 12:56:56 2015 -0700 |
committer | Arman Uguray <armansito@google.com> | Wed Aug 05 12:55:28 2015 -0700 |
tree | ec7ec9d59c690385ecb734a6b3ab7d29594eca51 | |
parent | 80caab275a4a0daface9d970e5cbc28896b64af3 [diff] |
service: Add Mock support for Daemon and CoreStack This patch turns the Daemon and CoreStack classes into abstract interfaces. Mock and real implementations are implemented in special subclasses and obtained via a factory method. Other test implementations (e.g. stub) can be provided in the future. Bug: 22532180 Change-Id: Ic3000518e5cef1c867dd803cd0bba6aab49dc596