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

Unified Diff: remoting/host/chromoting_host_context_unittest.cc

Issue 9582031: Don't crash in ~HostNPScriptObject() when the object wasn't initialized. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/chromoting_host_context.cc ('k') | remoting/host/host_mock_objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host_context_unittest.cc
diff --git a/remoting/host/chromoting_host_context_unittest.cc b/remoting/host/chromoting_host_context_unittest.cc
index 3d857b3302f6eb382ada3c88997bd3433b2e153b..cdd2477d9dfbd79d7f7821b6eb9324e4e9f6150b 100644
--- a/remoting/host/chromoting_host_context_unittest.cc
+++ b/remoting/host/chromoting_host_context_unittest.cc
@@ -20,11 +20,6 @@ TEST(ChromotingHostContextTest, StartAndStop) {
EXPECT_TRUE(context.jingle_thread());
EXPECT_TRUE(context.main_message_loop());
EXPECT_TRUE(context.encode_message_loop());
- context.Stop();
-
- // Expect all the threads are stopped.
- EXPECT_FALSE(context.main_thread_.IsRunning());
- EXPECT_FALSE(context.encode_thread_.IsRunning());
}
} // namespace remoting
« no previous file with comments | « remoting/host/chromoting_host_context.cc ('k') | remoting/host/host_mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698