| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2013 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 "chrome/browser/usb/usb_service.h" |
| 6 #include "testing/gtest/include/gtest/gtest.h" |
| 7 #include "testing/platform_test.h" |
| 8 |
| 9 namespace { |
| 10 |
| 11 class UsbServiceTest : public PlatformTest { |
| 12 protected: |
| 13 UsbServiceTest() {} |
| 14 virtual ~UsbServiceTest() {} |
| 15 }; |
| 16 |
| 17 } // namespace |
| 18 |
| 19 #if defined(OS_LINUX) |
| 20 #define MAYBE_Create DISABLED_Create |
| 21 #else |
| 22 #define MAYBE_Create Create |
| 23 #endif // defined(OS_LINUX) |
| 24 |
| 25 TEST_F(UsbServiceTest, MAYBE_Create) { |
| 26 UsbService* service = new UsbService(); |
| 27 service->Shutdown(); |
| 28 delete service; |
| 29 } |
| OLD | NEW |