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

Unified Diff: remoting/host/chromoting_host_unittest.cc

Issue 10915264: [remoting_unittests] Moving the variable used to mock VideoFrameCapturer::size_most_recent() to the… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/client_session_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host_unittest.cc
diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc
index e75a1cbb32f4b84e241eff2dbeb005c8bacde310..ec3cd52345b83ca63657e9f529b94853d61df52c 100644
--- a/remoting/host/chromoting_host_unittest.cc
+++ b/remoting/host/chromoting_host_unittest.cc
@@ -260,6 +260,11 @@ class ChromotingHostTest : public testing::Test {
get_client(connection_index) = client;
}
+ virtual void TearDown() OVERRIDE {
+ // Make sure that the host has been properly deleted.
+ DCHECK(host_.get() == NULL);
+ }
+
// Change the session route for |client1_|.
void ChangeSessionRoute(const std::string& channel_name,
const protocol::TransportRoute& route) {
« no previous file with comments | « no previous file | remoting/host/client_session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698