commit | ee4eb706eb532786fec913e434dada040b5d7b77 | [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 | 163201bd74ffcd60ba134af52835c12bd5051fb7 [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