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

Unified Diff: chrome_frame/test/mock_ie_event_sink_test.cc

Issue 10868027: Attempt to fix flake in FullTabModeIE_TestPostReissue by avoiding loopback address. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another try with net tests Created 8 years, 4 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 | chrome_frame/test/net/fake_external_tab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/mock_ie_event_sink_test.cc
diff --git a/chrome_frame/test/mock_ie_event_sink_test.cc b/chrome_frame/test/mock_ie_event_sink_test.cc
index 49d6840464be0330b79ec98a963f8b707809fad6..60aa19508b2b74aac1cf9ae7dda0e759448311c2 100644
--- a/chrome_frame/test/mock_ie_event_sink_test.cc
+++ b/chrome_frame/test/mock_ie_event_sink_test.cc
@@ -178,8 +178,9 @@ void MockIEEventSink::ExpectDocumentReadystate(int ready_state) {
}
// MockIEEventSinkTest methods
-MockIEEventSinkTest::MockIEEventSinkTest() : server_mock_(1337, L"127.0.0.1",
- GetTestDataFolder()) {
+MockIEEventSinkTest::MockIEEventSinkTest()
+ : server_mock_(1337, ASCIIToWide(chrome_frame_test::GetLocalIPv4Address()),
+ GetTestDataFolder()) {
loop_.set_snapshot_on_timeout(true);
EXPECT_CALL(server_mock_, Get(_, StrCaseEq(L"/favicon.ico"), _))
.WillRepeatedly(SendFast("HTTP/1.1 404 Not Found", ""));
« no previous file with comments | « no previous file | chrome_frame/test/net/fake_external_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698