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

Unified Diff: device/bluetooth/bluetooth_adapter_android_unittest.cc

Issue 1080593007: bluetooth: Stub out BluetoothAdapterAndroid (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
« no previous file with comments | « device/bluetooth/bluetooth_adapter_android.cc ('k') | device/device_tests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
new file mode 100644
index 0000000000000000000000000000000000000000..0a0c22ede885214c5bfd14c35b0a5d5551793021
--- /dev/null
+++ b/device/bluetooth/bluetooth_adapter_android_unittest.cc
@@ -0,0 +1,24 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "base/memory/ref_counted.h"
+#include "device/bluetooth/bluetooth_adapter_android.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+namespace device {
+
+class BluetoothAdapterAndroidTest : public testing::Test {
+ protected:
+ BluetoothAdapterAndroidTest() {
+ adapter_ = BluetoothAdapterAndroid::CreateAdapter().get();
+ }
+
+ scoped_refptr<BluetoothAdapter> adapter_;
+};
+
+TEST_F(BluetoothAdapterAndroidTest, Construct) {
+ EXPECT_TRUE(adapter_.get());
+}
+
+} // namespace device
« no previous file with comments | « device/bluetooth/bluetooth_adapter_android.cc ('k') | device/device_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698