shill: move ip address parsing tests

Move IP address parsing tests from wifi_unittest.cc to
ip_address_unittest.cc, and reduce number of test cases
to more precisely test the IPAddress constructor that
takes a string as its only argument.

BUG=chromium:404837
TEST='P2_TEST_FILTER="shill::*" FEATURES="test" emerge-squawks
platform2' succeeds

Change-Id: I2d2156197ac263d09bc6e739d516549c5520e52f
Reviewed-on: https://chromium-review.googlesource.com/214384
Tested-by: Samuel Tan <samueltan@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Samuel Tan <samueltan@chromium.org>
2 files changed