tree: 7e5f2c5dc39f034cc050f5addceec4440a571710 [path history] [tgz]
  1. data/
  2. meta/
  3. BUILD.gn
  4. generate_web_runner_tests.gni
  5. mock_get.cc
  6. mock_get.h
  7. OWNERS
  8. README.md
  9. test_server.cc
  10. test_server.h
  11. web_context.cc
  12. web_context.h
  13. web_runner_integration_tests.cc
  14. web_runner_pixel_tests.cc
src/chromium/web_runner_tests/README.md

web_runner_tests

Contains integration tests to ensure that Chromium is compatible with Fuchsia.

Build the test

$ fx set <product>.<arch> --with //src/chromium/web_runner_tests:tests
$ fx build

Run the test

Remember to kill a running Scenic before starting the test. In particular, the pixel tests must be run on a product without a graphical interface, such as core. (If the zircon console is running, you don't need to do this.)

$ fx shell killall scenic.cmx

To run all the tests, use this fx invocation:

$ fx test web_runner_tests

To run individual test suites, use these fx invocations:

fx test web_runner_tests -t -- --gtest_filter="WebRunnerIntegrationTest.*"
fx test web_runner_tests -t -- --gtest_filter="WebRunnerPixelTest.*"
fx test web_runner_tests -t -- --gtest_filter="WebPixelTest.*"

For more information about the individual tests, see their respective file comments.