tree: 76448794db5f76a8e00be6f5a5f44c2dc0bdbd03 [path history] [tgz]
  1. BUILD.gn
  2. OWNERS
  3. README.md
  4. data/
  5. generate_web_runner_tests.gni
  6. meta/
  7. mock_get.cc
  8. mock_get.h
  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.