DescriptionWill 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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226441
Patch Set 1 #Patch Set 2 : Fixing tests which did not init embedded test server #
Messages
Total messages: 6 (0 generated)
|