DescriptionSessions sync integration tests: check all windows and tabs when searching for a URL.
This patch modifies LiveSessionsSyncTest::ModelAssociatorHasTabWithUrl so that it is no longer hard-coded to check only windows[0]->tabs[0]. With this change, it iterates through all windows and all tabs, so it will return true if any tab in the given profile has the specified URL.
This change has no immediate effect, but it is intended to be one step towards eventually adding tab/session sync performance tests.
I also added LiveSessionsSyncTest::GetLocalSession to eliminate a little bit of repeated code.
BUG=
TEST=sync_integration_tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95357
Patch Set 1 #
Total comments: 6
Patch Set 2 : Review fixes #Patch Set 3 : typos #
Messages
Total messages: 4 (0 generated)
|