Index: device/bluetooth/bluetooth_adapter_android_unittest.cc |
diff --git a/device/bluetooth/bluetooth_adapter_android_unittest.cc b/device/bluetooth/bluetooth_adapter_android_unittest.cc |
index 0a0c22ede885214c5bfd14c35b0a5d5551793021..0939154442a51136b602908b8a9e68071857c5e2 100644 |
--- a/device/bluetooth/bluetooth_adapter_android_unittest.cc |
+++ b/device/bluetooth/bluetooth_adapter_android_unittest.cc |
@@ -14,11 +14,11 @@ class BluetoothAdapterAndroidTest : public testing::Test { |
adapter_ = BluetoothAdapterAndroid::CreateAdapter().get(); |
} |
- scoped_refptr<BluetoothAdapter> adapter_; |
+ scoped_refptr<BluetoothAdapterAndroid> adapter_; |
}; |
TEST_F(BluetoothAdapterAndroidTest, Construct) { |
- EXPECT_TRUE(adapter_.get()); |
armansito
2015/05/06 01:57:06
Add ASSERT_TRUE(adapter_.get()); or even better AS
scheib
2015/05/06 04:30:15
Done. (_NE .. NULL is tricky with types, gets verb
|
+ EXPECT_FALSE(adapter_->has_bluetooth_permission()); |
} |
} // namespace device |