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

Unified Diff: chrome/browser/extensions/api/messaging/native_message_process_host_unittest_posix.cc

Issue 10952014: Speculatively disable POSIX NativeMessagingTests all together to fix random unit_tests hangs. (Closed) Base URL: svn://chrome-svn/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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/messaging/native_message_process_host_unittest_posix.cc
===================================================================
--- chrome/browser/extensions/api/messaging/native_message_process_host_unittest_posix.cc (revision 157446)
+++ chrome/browser/extensions/api/messaging/native_message_process_host_unittest_posix.cc (working copy)
@@ -113,7 +113,7 @@
};
// Read a single message from a local file (single_message_response.msg).
-TEST_F(NativeMessagingTest, SingleSendMessageRead) {
+TEST_F(NativeMessagingTest, DISABLED_SingleSendMessageRead) {
FilePath temp_file;
file_util::CreateTemporaryFile(&temp_file);
FakeLauncher launcher(GetTestDir().AppendASCII("single_message_response.msg"),
@@ -133,7 +133,7 @@
// Tests sending a single message. The message should get written to
// |temp_file| and should match the contents of single_message_request.msg.
-TEST_F(NativeMessagingTest, SingleSendMessageWrite) {
+TEST_F(NativeMessagingTest, DISABLED_SingleSendMessageWrite) {
FilePath temp_file;
file_util::CreateTemporaryFile(&temp_file);
FakeLauncher launcher(GetTestDir().AppendASCII("single_message_response.msg"),
@@ -154,7 +154,7 @@
// Test send message with a real client. The client just echo's back the text
// it recieved.
-TEST_F(NativeMessagingTest, EchoConnect) {
+TEST_F(NativeMessagingTest, DISABLED_EchoConnect) {
NativeMessageProcessHost::Create(
AsWeakPtr(), "echo.py", "{\"text\": \"Hello.\"}", 0,
NativeMessageProcessHost::TYPE_CONNECT, base::Bind(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698