Chrome Release Bot (LUCI) 4762b62e7d Publish DEPS for 106.0.5249.13 | il y a 1 an | |
---|---|---|
.. | ||
client | il y a 1 an | |
compression | il y a 1 an | |
encryption | il y a 1 an | |
health | il y a 1 an | |
metrics | il y a 1 an | |
proto | il y a 1 an | |
resources | il y a 1 an | |
storage | il y a 1 an | |
storage_selector | il y a 1 an | |
util | il y a 1 an | |
DIR_METADATA | il y a 1 an | |
OWNERS | il y a 1 an | |
README.md | il y a 1 an |
The Encrypted Reporting Pipeline (ERP) provides a universal method for upload of data for enterprise customers.
The code structure looks like this: Chrome:
If you’d like to begin using ERP within Chrome please check the comment in //components/reporting/client/report_queue_provider.h.
To run the unit tests for this directory, after having configured Chromium’s build environment:
Run autoninja -C out/Default components_unittests
to build the components
unit test executable.
Then, run out/Default/components_unittests --gtest_filter='<target tests>'
to run relevant tests. Here, <target tests>
is a wildcard pattern (refer to
the document of gtest for more details). For example, to run all tests for
StorageQueue
, run
$ out/Default/components_unittests –gtest_filter=’/StorageQueueTest.‘
For another example, to run all tests in this directory, run
$ tools/autotest.py -C out/Default --run_all components/reporting
You can also append a filter such as --gtest_filter='*/StorageQueueTest.*'
to the line above.
Another useful flag for dealing with flaky tests is --gtest_repeat=
, which
repeats tests for multiple times.
For more gtest features, check out the gtest document.