Fail UDP socket unittests early if the socket cannot be bound.
commitd72a14fb905a315395b0df8b007c9e13c3671b16
authordroger@chromium.org <droger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 11 Sep 2012 16:27:11 +0000 (11 16:27 +0000)
committerdroger@chromium.org <droger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 11 Sep 2012 16:27:11 +0000 (11 16:27 +0000)
tree3779f54ca070c23d5f7d137e423dad47259ffebb
parentb73a829262709b78f31a30b4815a3e877dd85bcc
Fail UDP socket unittests early if the socket cannot be bound.

This CL replaces some EXPECT_EQs by ASSERT_EQs, as there is no point in running
the test if the socket cannot be bound.

BUG=None

Review URL: https://chromiumcodereview.appspot.com/10913192

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156023 0039d316-1c4b-4281-b951-d872f2087c98
net/udp/udp_socket_unittest.cc