| Index: content/browser/geolocation/wifi_data_provider_common_unittest.cc
|
| diff --git a/content/browser/geolocation/wifi_data_provider_common_unittest.cc b/content/browser/geolocation/wifi_data_provider_common_unittest.cc
|
| index 664421d899ce44883a5ede711276c41ae4380a55..538fbf1b4b3a7a5769a999b056d287408f9d0bfe 100644
|
| --- a/content/browser/geolocation/wifi_data_provider_common_unittest.cc
|
| +++ b/content/browser/geolocation/wifi_data_provider_common_unittest.cc
|
| @@ -134,6 +134,13 @@ class GeolocationWifiDataProviderCommonTest : public testing::Test {
|
| MockPollingPolicy* polling_policy_;
|
| };
|
|
|
| +TEST_F(GeolocationWifiDataProviderCommonTest, MacAddressString) {
|
| + uint8 mac[6] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
|
| + string16 actual = MacAddressAsString16(mac);
|
| + string16 expected = ASCIIToUTF16("ff-ff-ff-ff-ff-ff");
|
| + EXPECT_EQ(expected, actual);
|
| +}
|
| +
|
| TEST_F(GeolocationWifiDataProviderCommonTest, CreateDestroy) {
|
| // Test fixture members were SetUp correctly.
|
| EXPECT_EQ(&main_message_loop_, MessageLoop::current());
|
|
|