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

Side by Side Diff: chrome/browser/usb/usb_service_unittest.cc

Issue 16316004: Separate usb device handle from usb device. (deprecate) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the threading mess Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/usb/usb_service.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « chrome/browser/usb/usb_service.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698