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