Bluetooth: test device connection during discovery
Some Bluetooth devices connect back to the host during discovery in
order to obtain host SDP information; we had a bug where we would
remove the objects for them rather than reverting back from a connected
to discovered device.
Add unit tests to verify that this bug is fixed.
BUG=chromium-os:31629
TEST=unit_tests
Review URL: https://chromiumcodereview.appspot.com/
10988007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158631 0039d316-1c4b-4281-b951-d872f2087c98