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

Side by Side Diff: base/debug/debugger_unittest.cc

Issue 954003002: Revert of xp: copy dbghelp.dll to output dir and have base.isolate use it there (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/base.isolate ('k') | base/debug/stack_trace_unittest.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/debug/debugger.h" 5 #include "base/debug/debugger.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 namespace { 10 namespace {
(...skipping 13 matching lines...) Expand all
24 } // namespace 24 } // namespace
25 25
26 // Death tests misbehave on Android. 26 // Death tests misbehave on Android.
27 #if defined(GTEST_HAS_DEATH_TEST) && !defined(OS_ANDROID) 27 #if defined(GTEST_HAS_DEATH_TEST) && !defined(OS_ANDROID)
28 28
29 TEST(Debugger, CrashAtBreakpoint) { 29 TEST(Debugger, CrashAtBreakpoint) {
30 EXPECT_DEATH(CrashWithBreakDebugger(), ""); 30 EXPECT_DEATH(CrashWithBreakDebugger(), "");
31 } 31 }
32 32
33 #if defined(OS_WIN) 33 #if defined(OS_WIN)
34 TEST(Debugger, DoesntExecuteBeyondBreakpoint) { 34 // TODO(scottmg): http://crbug.com/461160
35 TEST(Debugger, DISABLED_DoesntExecuteBeyondBreakpoint) {
35 EXPECT_EXIT(CrashWithBreakDebugger(), 36 EXPECT_EXIT(CrashWithBreakDebugger(),
36 ::testing::ExitedWithCode(0x80000003), ""); 37 ::testing::ExitedWithCode(0x80000003), "");
37 } 38 }
38 #endif // defined(OS_WIN) 39 #endif // defined(OS_WIN)
39 40
40 #else // defined(GTEST_HAS_DEATH_TEST) && !defined(OS_ANDROID) 41 #else // defined(GTEST_HAS_DEATH_TEST) && !defined(OS_ANDROID)
41 TEST(Debugger, NoTest) { 42 TEST(Debugger, NoTest) {
42 } 43 }
43 #endif // defined(GTEST_HAS_DEATH_TEST) && !defined(OS_ANDROID) 44 #endif // defined(GTEST_HAS_DEATH_TEST) && !defined(OS_ANDROID)
OLDNEW
« no previous file with comments | « base/base.isolate ('k') | base/debug/stack_trace_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698