5bf858c360
This introduces a new library to write fine-grain requirements in individual language tests. Each requirement is based on potential variations in behavior from existing Dart implementations and testing configurations. This list will eventually be aligned with the list of requirements exposed in as features in the '// Requirements=' comment. Change-Id: I320fc5037e2466724441b38a5b951999b58dafce Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/346909 Reviewed-by: Kallen Tu <kallentu@google.com> Commit-Queue: Sigmund Cherem <sigmund@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.