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

Side by Side Diff: base/wmi_util_unittest.cc

Issue 42011: Normalize end of file newlines in base/. All files end in a single newline. (Closed)
Patch Set: Revert changed to third_party. Created 11 years, 9 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
« no previous file with comments | « base/wmi_util.cc ('k') | base/word_iterator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <windows.h> 5 #include <windows.h>
6 6
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 #include "base/wmi_util.h" 8 #include "base/wmi_util.h"
9 9
10 TEST(WMIUtilTest, TestLocalConnectionSecurityBlanket) { 10 TEST(WMIUtilTest, TestLocalConnectionSecurityBlanket) {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // Creates an instance of cmd which executes 'echo' and exits immediately. 47 // Creates an instance of cmd which executes 'echo' and exits immediately.
48 TEST(WMIUtilTest, TestLaunchProcess) { 48 TEST(WMIUtilTest, TestLaunchProcess) {
49 ::CoInitialize(NULL); 49 ::CoInitialize(NULL);
50 int pid = 0; 50 int pid = 0;
51 bool result = WMIProcessUtil::Launch(L"cmd.exe /c echo excelent!", &pid); 51 bool result = WMIProcessUtil::Launch(L"cmd.exe /c echo excelent!", &pid);
52 EXPECT_TRUE(result); 52 EXPECT_TRUE(result);
53 EXPECT_GT(pid, 0); 53 EXPECT_GT(pid, 0);
54 ::CoUninitialize(); 54 ::CoUninitialize();
55 } 55 }
56
OLDNEW
« no previous file with comments | « base/wmi_util.cc ('k') | base/word_iterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698