| Index: chrome/browser/usb/usb_service_unittest.cc
|
| diff --git a/chrome/browser/usb/usb_service_unittest.cc b/chrome/browser/usb/usb_service_unittest.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4d9dcaf69c35aa660fd8e88cea7ec9ce05e2d875
|
| --- /dev/null
|
| +++ b/chrome/browser/usb/usb_service_unittest.cc
|
| @@ -0,0 +1,29 @@
|
| +// Copyright (c) 2013 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 "chrome/browser/usb/usb_service.h"
|
| +#include "testing/gtest/include/gtest/gtest.h"
|
| +#include "testing/platform_test.h"
|
| +
|
| +namespace {
|
| +
|
| +class UsbServiceTest : public PlatformTest {
|
| + protected:
|
| + UsbServiceTest() {}
|
| + virtual ~UsbServiceTest() {}
|
| +};
|
| +
|
| +} // namespace
|
| +
|
| +#if defined(OS_LINUX)
|
| +#define MAYBE_Create DISABLED_Create
|
| +#else
|
| +#define MAYBE_Create Create
|
| +#endif // defined(OS_LINUX)
|
| +
|
| +TEST_F(UsbServiceTest, MAYBE_Create) {
|
| + UsbService* service = new UsbService();
|
| + service->Shutdown();
|
| + delete service;
|
| +}
|
|
|