This file describes the scripts in
The new implementation of
traffic_annotation_auditor. It is meant as a drop-in replacement, i.e. you can call it with the same command-line arguments and it should give similar output.
Runs traffic annotation tests on the changed files or all repository. The tests are run in error resilient mode. Requires a compiled build directory to run.
Runs tests to ensure traffic_annotation_auditor is performing as expected. Tests include:
Provides tools for annotation test scripts.
This script updates the Google sheet that presents all network traffic annotations.
Scans through a set of specified C++ files to detect existing traffic annotations in code. It uses regex expressions on source files.
Unit tests for extractor.py.
Updates the Chrome Browser Network Traffic Annotations document that presents all network traffic annotations specified within
hidden="true"attribute within a group to suppress the group and its nested senders and annotations from appearing in the document.
hidden="true"attribute within the annotations in
grouping.xmlto suppress them from appearing in the document.
grouping.xmlneedn't be organized in alphabetical order, the script automatically places them in alphabetical order.
Unit tests for update_annotations_doc.py.
annotations.tsv files to provide
update_annotations_doc.py with the annotations and their relevant information, e.g. unique_id, data, trigger, etc. Also includes methods to parse the json object returned by the Google Docs API
Unit tests for generator_utils.py.