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

Side by Side Diff: remoting/base/breakpad_win_unittest.cc

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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 | « remoting/base/auto_thread_unittest.cc ('k') | remoting/base/compound_buffer.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <stdio.h> 5 #include <stdio.h>
6 #include <string> 6 #include <string>
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/environment.h" 9 #include "base/environment.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 namespace remoting { 65 namespace remoting {
66 66
67 void InitializeCrashReportingForTest(const wchar_t* pipe_name); 67 void InitializeCrashReportingForTest(const wchar_t* pipe_name);
68 68
69 class BreakpadWinDeathTest : public testing::Test { 69 class BreakpadWinDeathTest : public testing::Test {
70 public: 70 public:
71 BreakpadWinDeathTest(); 71 BreakpadWinDeathTest();
72 virtual ~BreakpadWinDeathTest(); 72 virtual ~BreakpadWinDeathTest();
73 73
74 virtual void SetUp() OVERRIDE; 74 virtual void SetUp() override;
75 75
76 protected: 76 protected:
77 scoped_ptr<google_breakpad::CrashGenerationServer> crash_server_; 77 scoped_ptr<google_breakpad::CrashGenerationServer> crash_server_;
78 scoped_ptr<MockCrashServerCallbacks> callbacks_; 78 scoped_ptr<MockCrashServerCallbacks> callbacks_;
79 std::wstring pipe_name_; 79 std::wstring pipe_name_;
80 }; 80 };
81 81
82 BreakpadWinDeathTest::BreakpadWinDeathTest() { 82 BreakpadWinDeathTest::BreakpadWinDeathTest() {
83 } 83 }
84 84
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 TEST_F(BreakpadWinDeathTest, TestDebugbreak) { 159 TEST_F(BreakpadWinDeathTest, TestDebugbreak) {
160 if (callbacks_.get()) { 160 if (callbacks_.get()) {
161 EXPECT_CALL(*callbacks_, OnClientDumpRequested()); 161 EXPECT_CALL(*callbacks_, OnClientDumpRequested());
162 } 162 }
163 163
164 // See if __debugbreak() is intercepted. 164 // See if __debugbreak() is intercepted.
165 ASSERT_DEATH(__debugbreak(), ""); 165 ASSERT_DEATH(__debugbreak(), "");
166 } 166 }
167 167
168 } // namespace remoting 168 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/base/auto_thread_unittest.cc ('k') | remoting/base/compound_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698