commit | 59ade871f8fddbf8b3ea6fe6308d6122ec88c103 | [log] [tgz] |
---|---|---|
author | Hugo Benichi <hugobenichi@google.com> | Mon Apr 24 16:19:58 2017 +0900 |
committer | Hugo Benichi <hugobenichi@google.com> | Thu Apr 27 16:35:30 2017 +0900 |
tree | 3264fc7dd25b060ec43ea7de63441722ed291ba5 | |
parent | 0f0ab71fb1e407d52068316e2064ff76c9488e41 [diff] |
NsdService: disentangle NativeDaemonConnector from ctor This patch disentangles the creation of NativeDaemonConnector from the creation of NsdService by introducing a wrapper type DaemonConnection. This allows to mock this dependency in unit tests. Test: enhanced previously introduced new tests. Bug: 37013369, 33298084 Change-Id: I894b7cddfc509f86d0134d214c88c063b81b5e0a