OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include <windows.h> | 4 #include <windows.h> |
5 #include <objbase.h> | 5 #include <objbase.h> |
6 #include <dbghelp.h> | 6 #include <dbghelp.h> |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 EXPECT_FALSE(DumpHasStream(HandleOperationListStream)); | 426 EXPECT_FALSE(DumpHasStream(HandleOperationListStream)); |
427 EXPECT_FALSE(DumpHasStream(TokenStream)); | 427 EXPECT_FALSE(DumpHasStream(TokenStream)); |
428 } | 428 } |
429 | 429 |
430 } // namespace | 430 } // namespace |
431 | 431 |
432 int main(int argc, char** argv) { | 432 int main(int argc, char** argv) { |
433 testing::InitGoogleTest(&argc, argv); | 433 testing::InitGoogleTest(&argc, argv); |
434 CommandLine::Init(argc, argv); | 434 CommandLine::Init(argc, argv); |
435 | 435 |
436 logging::InitLogging( | 436 logging::InitLogging(L"CON", |
437 L"CON", | 437 logging::LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG, |
438 logging::LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG, | 438 logging::DONT_LOCK_LOG_FILE, |
439 logging::DONT_LOCK_LOG_FILE, | 439 logging::APPEND_TO_OLD_LOG_FILE); |
440 logging::APPEND_TO_OLD_LOG_FILE, | |
441 logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS); | |
442 return RUN_ALL_TESTS(); | 440 return RUN_ALL_TESTS(); |
443 } | 441 } |
OLD | NEW |