Cleanup the NetworkDeviceHandler tests.
commit00080a95c82f556eaf716f82e753101e1c5482ca
authorpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 11 Dec 2013 11:37:41 +0000 (11 11:37 +0000)
committerpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 11 Dec 2013 11:37:41 +0000 (11 11:37 +0000)
treed6397b12855e615684bc23aa08a04786c13112fe
parent7e5437c329a3e701aca48870578bfa543a4877db
Cleanup the NetworkDeviceHandler tests.

Removes the need for a *ForTest function and friend declarations in NetworkDeviceHandler.
Fixes the tests for error_callback invocation, which weren't correctly tested before.
While there, does some other minor cleanups.

BUG=323537

Review URL: https://codereview.chromium.org/107693003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240079 0039d316-1c4b-4281-b951-d872f2087c98
chromeos/dbus/fake_shill_device_client.cc
chromeos/network/network_device_handler.cc
chromeos/network/network_device_handler.h
chromeos/network/network_device_handler_unittest.cc