commit | 1fac3191c7ba7921724530ac38c07cb95263a635 | [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 | ee06f6515be242c8f15a4d8c9685ce3d77b21b3b | |
parent | 7ca060aa95ce8425b8d69d8dee3a472c968f28e0 [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