OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "base/memory/ref_counted.h" |
| 6 #include "device/bluetooth/bluetooth_adapter_android.h" |
| 7 #include "testing/gtest/include/gtest/gtest.h" |
| 8 |
| 9 namespace device { |
| 10 |
| 11 class BluetoothAdapterAndroidTest : public testing::Test { |
| 12 protected: |
| 13 BluetoothAdapterAndroidTest() { |
| 14 adapter_ = BluetoothAdapterAndroid::CreateAdapter().get(); |
| 15 } |
| 16 |
| 17 scoped_refptr<BluetoothAdapter> adapter_; |
| 18 }; |
| 19 |
| 20 TEST_F(BluetoothAdapterAndroidTest, Construct) { |
| 21 EXPECT_TRUE(adapter_.get()); |
| 22 } |
| 23 |
| 24 } // namespace device |
OLD | NEW |