| Index: base/mac/mac_util_unittest.mm
|
| diff --git a/base/mac/mac_util_unittest.mm b/base/mac/mac_util_unittest.mm
|
| index dd860a66872930868b8dd12e856c57d50101696f..48b6fe87f42dd40660e27ebd165e5b6b368b610e 100644
|
| --- a/base/mac/mac_util_unittest.mm
|
| +++ b/base/mac/mac_util_unittest.mm
|
| @@ -161,6 +161,13 @@ TEST_F(MacUtilTest, NSObjectRetainRelease) {
|
| EXPECT_EQ(1U, [array retainCount]);
|
| }
|
|
|
| +// The test is somewhat silly, and just verifies that we return a hardware
|
| +// model name.
|
| +TEST_F(MacUtilTest, GetHardwareModelName) {
|
| + std::string hardware_model = GetHardwareModelName();
|
| + EXPECT_TRUE(!hardware_model.empty());
|
| +}
|
| +
|
| TEST_F(MacUtilTest, IsOSEllipsis) {
|
| int32 major, minor, bugfix;
|
| base::SysInfo::OperatingSystemVersionNumbers(&major, &minor, &bugfix);
|
|
|