Chromium Code Reviews
DescriptionFlesh out MojoUrlRedirector apptests
This CL adds the following tests of the MojoUrlRedirector:
- When asked for an app whose location file is missing, produces 404 response.
- When asked for an app on a known platform, returns a redirect to the location
contained in the app's location file for that platform.
To implement these tests, the MojoUrlRedirector now allows for parameterizing
the address that it asks for apps' location files from. The test spins up an
HttpServer on localhost, registers an HttpHandler that processes requests for
app location files, and instructs the MojoUrlRedirector to talk to that server
to obtain app location files.
R=ppi@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/b1c5dd67e3d3b64fccaac879ab33d4ab703a240a
Patch Set 1 #Patch Set 2 : Cleanup pass #Patch Set 3 : Update args #
Total comments: 3
Messages
Total messages: 6 (2 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||