Will now DCHECK that test writers start the embedded server before using it.
One developer on my team was writing a browser test, but the test would just hang. Turns out he forgot to start the embedded test server. I think we can make the failure a lot clearer by adding a DCHECK which will clearly point out the problem. I know that GetURL doesn't mean the test makes a request to the server as such, but the returned URL will almost always be fed into a NavigateToUrl request, so checking for this here will probably be helpful in almost all cases. R=phajdan.jr@chromium.org BUG=301625 Review URL: https://codereview.chromium.org/25238003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226441 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment