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

Unified Diff: remoting/host/security_key/remote_security_key_ipc_server_unittest.cc

Issue 2003753002: Fix remoting_unittests that are failing on 32-bit linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed g_type_init changes Created 4 years, 7 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/security_key/remote_security_key_ipc_constants.cc ('k') | remoting/remoting_test.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/security_key/remote_security_key_ipc_server_unittest.cc
diff --git a/remoting/host/security_key/remote_security_key_ipc_server_unittest.cc b/remoting/host/security_key/remote_security_key_ipc_server_unittest.cc
index d18706f89122947bc45e1cb9af4e867c18a3a92f..dbe9b7bedb4b561b8e471759565e95f89220c5b8 100644
--- a/remoting/host/security_key/remote_security_key_ipc_server_unittest.cc
+++ b/remoting/host/security_key/remote_security_key_ipc_server_unittest.cc
@@ -14,6 +14,7 @@
#include "base/run_loop.h"
#include "ipc/ipc_channel.h"
#include "remoting/host/security_key/fake_remote_security_key_ipc_client.h"
+#include "remoting/host/security_key/remote_security_key_ipc_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
@@ -98,10 +99,8 @@ void RemoteSecurityKeyIpcServerTest::SendRequestToClient(
}
std::string RemoteSecurityKeyIpcServerTest::GetUniqueTestChannelName() {
- std::string channel_name("Super_Awesome_Test_Channel.");
- channel_name.append(IPC::Channel::GenerateUniqueRandomChannelID());
-
- return channel_name;
+ return GetChannelNamePathPrefixForTest() + "Super_Awesome_Test_Channel." +
+ IPC::Channel::GenerateUniqueRandomChannelID();
}
TEST_F(RemoteSecurityKeyIpcServerTest, HandleSingleGnubbyRequest) {
« no previous file with comments | « remoting/host/security_key/remote_security_key_ipc_constants.cc ('k') | remoting/remoting_test.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698