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

Issue 2260001: Adding a TearDown() method to class LiveSyncTest. (Closed)

Created:
10 years, 7 months ago by Raghu Simha
Modified:
9 years, 7 months ago
Reviewers:
ncarter (slow)
CC:
chromium-reviews
Visibility:
Public.

Description

Adding a TearDown() method to class LiveSyncTest. The LiveSyncTest class derives from InProcessBrowserTest and overrides the SetUp method to account for the case when a local sync server needs to be started. However, there isn't a corresponding override for the TearDown method that stops the local sync server. This changelist adds an overload for TearDown that stops the local sync server if one was started in SetUp. BUG=45181 TEST=sync_integration_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=48457

Patch Set 1 #

Total comments: 2

Patch Set 2 : Adding started_local_test_server_ member variable. #

Patch Set 3 : Fixing unintended whitespaces added by Visual Studio. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -1 line) Patch
M chrome/test/live_sync/live_sync_test.h View 1 2 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/test/live_sync/live_sync_test.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Raghu Simha
10 years, 7 months ago (2010-05-26 03:13:33 UTC) #1
ncarter (slow)
Nice find. http://codereview.chromium.org/2260001/diff/1/2 File chrome/test/live_sync/live_sync_test.h (right): http://codereview.chromium.org/2260001/diff/1/2#newcode70 chrome/test/live_sync/live_sync_test.h:70: ASCIIToWide(server_url)) Rather than checking the state of ...
10 years, 7 months ago (2010-05-27 00:17:05 UTC) #2
Raghu Simha
http://codereview.chromium.org/2260001/diff/1/2 File chrome/test/live_sync/live_sync_test.h (right): http://codereview.chromium.org/2260001/diff/1/2#newcode70 chrome/test/live_sync/live_sync_test.h:70: ASCIIToWide(server_url)) On 2010/05/27 00:17:06, nick wrote: > Rather than ...
10 years, 7 months ago (2010-05-27 04:00:56 UTC) #3
Raghu Simha
Adding BUG and TEST tags.
10 years, 7 months ago (2010-05-27 04:03:37 UTC) #4
Raghu Simha
10 years, 7 months ago (2010-05-27 04:42:32 UTC) #5
ncarter (slow)
10 years, 7 months ago (2010-05-27 23:47:55 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698