47e3ad7f1f
Allows tests to define generation files that are expected to be rejected as invalid for hot reload. Tests generation files now support the extension `.reject.dart` to signal a rejection is expected. A corresponding rejection error message should be added to the map in the config.json file. - Add new rejection logic to the file discovery and config file parsing. - Add new reload receipts that are output by the runtime utils when running hot reload tests. These receipts are used to verify that each file generation was visited (not necessarily accepted) at runtime. Change-Id: Ifee698f0d6502ecfceba2d5c733a2c88fb5daf7c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/394564 Commit-Queue: Nicholas Shahan <nshahan@google.com> Reviewed-by: Nate Biggs <natebiggs@google.com>