Descriptiongoogle_apis: Add GetURL() to test_server::HttpServer
Add GetURL() and remove the return value from Register* functions,
as using GetURL() at the call sites of URLFetcher makes the code
clearer about target URLs.
Along the way, add tests for GetBaseURL(), GetURL(),
RegisterDefaultResponse(), RegisterFileResponse(), as well as
concurrent fetches.
BUG=148710
TEST=none; just changing test utils.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=168482
Patch Set 1 #
Total comments: 21
Patch Set 2 : address comments #Patch Set 3 : diff against the correct branch. #Patch Set 4 : fix win test failure #
Total comments: 2
Patch Set 5 : rebase #Patch Set 6 : fix android #
Messages
Total messages: 10 (0 generated)
|