Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Unified Diff: device/bluetooth/bluetooth_adapter_android_unittest.cc

Issue 1119113002: bluetooth: Initial JNI setup for device/bluetooth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698