tree: 5233b9d4a3a5846eeef4518a6e908ce324aebdf2 [path history] [tgz]
  1. dartino/
  2. expression/
  3. extensions/
  4. general/
  5. general_nnbd_opt_out/
  6. incremental_initialize_from_dill/
  7. inference/
  8. inference_new/
  9. instantiate_to_bound/
  10. late_lowering/
  11. new_const_insertion/
  12. nnbd/
  13. no_such_method_forwarders/
  14. old_dills/
  15. rasta/
  16. regress/
  17. runtime_checks/
  18. runtime_checks_new/
  19. set_literals/
  20. unified_collections/
  21. variance/
  22. expression.status
  23. incremental.status
  24. incremental_bulk_compiler_full.status
  25. incremental_bulk_compiler_smoke.status
  26. outline.status
  27. README.md
  28. sdk.status
  29. strong.status
  30. text_serialization.status
  31. top_level_variance_test.dart
  32. top_level_variance_test.dart.hierarchy.expect
  33. top_level_variance_test.dart.legacy.expect
  34. top_level_variance_test.dart.legacy.transformed.expect
  35. top_level_variance_test.dart.outline.expect
  36. top_level_variance_test.dart.strong.expect
  37. top_level_variance_test.dart.strong.transformed.expect
  38. top_level_variance_test.dart.weak.expect
  39. top_level_variance_test.dart.weak.transformed.expect
  40. 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.