tree: de59fe39d76c67e702fc18e1666bc869573499bb [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. new_const_insertion/
  14. nnbd/
  15. nnbd_mixed/
  16. no_such_method_forwarders/
  17. nonfunction_type_aliases/
  18. old_dills/
  19. rasta/
  20. regress/
  21. runtime_checks/
  22. runtime_checks_new/
  23. set_literals/
  24. triple_shift/
  25. unified_collections/
  26. variance/
  27. expression.status
  28. incremental.status
  29. incremental_bulk_compiler_full.status
  30. incremental_bulk_compiler_smoke.status
  31. outline.status
  32. README.md
  33. sdk.status
  34. strong.status
  35. text_serialization.status
  36. textual_outline.status
  37. top_level_variance_test.dart
  38. top_level_variance_test.dart.hierarchy.expect
  39. top_level_variance_test.dart.legacy.expect
  40. top_level_variance_test.dart.legacy.transformed.expect
  41. top_level_variance_test.dart.outline.expect
  42. top_level_variance_test.dart.strong.expect
  43. top_level_variance_test.dart.strong.transformed.expect
  44. top_level_variance_test.dart.textual_outline.expect
  45. top_level_variance_test.dart.textual_outline_modelled.expect
  46. top_level_variance_test.dart.weak.expect
  47. top_level_variance_test.dart.weak.transformed.expect
  48. 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.