b453c6bcba
Fix the test so it reports that mirrors are not supported in aot configuration. Fixes https://github.com/dart-lang/sdk/issues/48125 Change-Id: I07fceebf8cbee8048988c8bd5287c8aec1bb8f0e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/227582 Reviewed-by: Lasse Nielsen <lrn@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Alexander Aprelev <aam@google.com>
The loader_test folder contains a folder per test.
Each test is focusing on part of the features of how tests folders are
recognized and turned into a modular test specification by our libraries. Note
that all .dart source files in these tests are empty because we ignore their
contents.
Each folder contains a file named expectation.txt which shows a plain text
summary of what we expect to extract or report from the test:
-
for invalid inputs it shows the error mesage produced by the modular_test loader logic
-
for valid inputs it shows the test layout, highlighting what each module contents and dependencies are.
In the future, modular tests will be written in the style of the non-error test cases.