ef42a0b110
Closes https://github.com/dart-lang/sdk/pull/50860 GitOrigin-RevId: b27066c37f93c8c6d1123d6ebd6a4c0afcf59844 Change-Id: I15fa4aea1dad45daf168e34d1c4450320ec9b40a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277742 Commit-Queue: Alexander Thomas <athom@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Alexander Thomas <athom@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 message 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.