tree: 8f622096f9e5a7c8857c619202827e4de5417b42 [path history] [tgz]
  1. agnostic/
  2. dartino/
  3. expression/
  4. extensions/
  5. general/
  6. general_nnbd_opt_out/
  7. implicit_getter_calls/
  8. incremental_initialize_from_dill/
  9. inference/
  10. inference_new/
  11. instantiate_to_bound/
  12. late_lowering/
  13. late_lowering_sentinel/
  14. new_const_insertion/
  15. nnbd/
  16. nnbd_mixed/
  17. no_such_method_forwarders/
  18. none/
  19. nonfunction_type_aliases/
  20. nonfunction_type_aliases_no_nnbd/
  21. rasta/
  22. regress/
  23. runtime_checks/
  24. runtime_checks_new/
  25. set_literals/
  26. static_field_lowering/
  27. triple_shift/
  28. unified_collections/
  29. value_class/
  30. variance/
  31. expression.status
  32. incremental.status
  33. incremental_bulk_compiler_full.status
  34. incremental_bulk_compiler_smoke.status
  35. outline.status
  36. README.md
  37. sdk.status
  38. strong.status
  39. text_serialization.status
  40. textual_outline.status
  41. weak.status
pkg/front_end/testcases/README.md

Overview

The testcases in this directory and its subdirectory are all compiled in various different configurations designed to test various aspects of Fasta (or more generally, package:front_end).

The configurations are described below.

The source of truth for these configurations is the file pkg/front_end/testing.json.

Dart 1.0 Compilation

./pkg/front_end/tool/fasta testing -DupdateExpectations=true compile/test1 compile/test2 ...

Dart 1.0 Outlines

./pkg/front_end/tool/fasta testing -DupdateExpectations=true outline/test1 outline/test2 ...

Dart 2.0 (strong mode)

./pkg/front_end/tool/fasta testing -DupdateExpectations=true -DupdateComments=true strong/test1 strong/test2 ...

Note: strong mode configuration additionally parses comments in the test file and can precisely match internal details of the compiler such as the inferred type of an expression or if a warning was emitted at a given location.