commit | 0e8fd7b4e5e1e8b0930ed9f48105ea201ef33f90 | [log] [tgz] |
---|---|---|
author | Chris Mumford <cmumford@google.com> | Mon Apr 24 14:04:54 2023 -0700 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Thu Apr 27 13:29:31 2023 +0000 |
tree | bc69c3ecd891297c61ef3218cae79309a2885a60 | |
parent | b33e4642724b2fd375a41fc8eca9a47e7075f093 [diff] |
Add unit tests for PRESUBMIT.py Add a unit test program, and mocks, for PRESUBMIT.py. Additionally add unit tests for two newly added presubmit checks which landed in http://review.skia.org/668416. These tests also identified a bug in _CheckReleaseNotesForPublicAPI. That fix is also in this change. Bug: skia:14276 Change-Id: I90d86e4d5216067484340e85e31f5a33a3eeba3a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/680017 Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Chris Mumford <cmumford@google.com> Reviewed-by: Kevin Lubick <kjlubick@google.com>