| 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
|
|
|