tree: 71eb33a0c16a8174623bad9bac51f105d9ae83fe [path history] [tgz]
  1. dartino/
  2. inference/
  3. inference_new/
  4. instantiate_to_bound/
  5. rasta/
  6. regress/
  7. runtime_checks/
  8. runtime_checks_new/
  9. shaker/
  10. accessors.dart
  11. accessors.dart.direct.expect
  12. accessors.dart.outline.expect
  13. ambiguous_exports.dart
  14. ambiguous_exports.dart.direct.expect
  15. ambiguous_exports.dart.outline.expect
  16. ambiguous_exports.dart.strong.expect
  17. annotation_eof.dart
  18. annotation_eof.dart.direct.expect
  19. annotation_eof.dart.outline.expect
  20. annotation_eof.dart.strong.expect
  21. annotation_top.dart
  22. annotation_top.dart.direct.expect
  23. annotation_top.dart.outline.expect
  24. annotation_top.dart.strong.expect
  25. argument.dart
  26. argument.dart.direct.expect
  27. argument.dart.outline.expect
  28. argument.dart.strong.expect
  29. argument_mismatch.dart
  30. argument_mismatch.dart.direct.expect
  31. argument_mismatch.dart.outline.expect
  32. argument_mismatch.dart.strong.expect
  33. arithmetic.dart
  34. arithmetic.dart.direct.expect
  35. arithmetic.dart.outline.expect
  36. arithmetic.dart.strong.expect
  37. arrow_function.dart
  38. arrow_function.dart.direct.expect
  39. arrow_function.dart.outline.expect
  40. arrow_function.dart.strong.expect
  41. ast_builder.status
  42. async_function.dart
  43. async_function.dart.direct.expect
  44. async_function.dart.outline.expect
  45. async_function.dart.strong.expect
  46. await.dart
  47. await.dart.direct.expect
  48. await.dart.outline.expect
  49. bad_setter_abstract.dart
  50. bad_setter_abstract.dart.direct.expect
  51. bad_setter_abstract.dart.outline.expect
  52. bad_setter_abstract.dart.strong.expect
  53. bad_store.dart
  54. bad_store.dart.direct.expect
  55. bad_store.dart.outline.expect
  56. bad_store.dart.strong.expect
  57. bug21938.dart
  58. bug21938.dart.direct.expect
  59. bug21938.dart.outline.expect
  60. bug21938.dart.strong.expect
  61. bug30695.dart
  62. bug30695.dart.direct.expect
  63. bug30695.dart.outline.expect
  64. bug30695.dart.strong.expect
  65. bug31124.dart
  66. bug31124.dart.direct.expect
  67. bug31124.dart.outline.expect
  68. bug31124.dart.strong.expect
  69. bug32426.dart
  70. bug32426.dart.direct.expect
  71. bug32426.dart.outline.expect
  72. bug32426.dart.strong.expect
  73. call.dart
  74. call.dart.direct.expect
  75. call.dart.outline.expect
  76. call.dart.strong.expect
  77. cascade.dart
  78. cascade.dart.direct.expect
  79. cascade.dart.outline.expect
  80. casts.dart
  81. casts.dart.direct.expect
  82. casts.dart.outline.expect
  83. check_deferred_allocation.dart
  84. check_deferred_allocation.dart.direct.expect
  85. check_deferred_allocation.dart.outline.expect
  86. check_deferred_allocation.dart.strong.expect
  87. check_deferred_as_check.dart
  88. check_deferred_as_check.dart.direct.expect
  89. check_deferred_as_check.dart.outline.expect
  90. check_deferred_as_check.dart.strong.expect
  91. check_deferred_before_args.dart
  92. check_deferred_before_args.dart.direct.expect
  93. check_deferred_before_args.dart.outline.expect
  94. check_deferred_before_args.dart.strong.expect
  95. check_deferred_before_args2.dart
  96. check_deferred_before_args2.dart.direct.expect
  97. check_deferred_before_args2.dart.outline.expect
  98. check_deferred_before_args2.dart.strong.expect
  99. check_deferred_before_call.dart
  100. check_deferred_before_call.dart.direct.expect
  101. check_deferred_before_call.dart.outline.expect
  102. check_deferred_before_call.dart.strong.expect
  103. check_deferred_before_write.dart
  104. check_deferred_before_write.dart.direct.expect
  105. check_deferred_before_write.dart.outline.expect
  106. check_deferred_before_write.dart.strong.expect
  107. check_deferred_is_check.dart
  108. check_deferred_is_check.dart.direct.expect
  109. check_deferred_is_check.dart.outline.expect
  110. check_deferred_is_check.dart.strong.expect
  111. check_deferred_read.dart
  112. check_deferred_read.dart.direct.expect
  113. check_deferred_read.dart.outline.expect
  114. check_deferred_read.dart.strong.expect
  115. check_deferred_read_static_field.dart
  116. check_deferred_read_static_field.dart.direct.expect
  117. check_deferred_read_static_field.dart.outline.expect
  118. check_deferred_read_static_field.dart.strong.expect
  119. check_deferred_read_type.dart
  120. check_deferred_read_type.dart.direct.expect
  121. check_deferred_read_type.dart.outline.expect
  122. check_deferred_read_type.dart.strong.expect
  123. check_deferred_static_method_call.dart
  124. check_deferred_static_method_call.dart.direct.expect
  125. check_deferred_static_method_call.dart.outline.expect
  126. check_deferred_static_method_call.dart.strong.expect
  127. check_deferred_type_declaration.dart
  128. check_deferred_type_declaration.dart.direct.expect
  129. check_deferred_type_declaration.dart.outline.expect
  130. check_deferred_type_declaration.dart.strong.expect
  131. classes.dart
  132. classes.dart.direct.expect
  133. classes.dart.outline.expect
  134. closure.dart
  135. closure.dart.direct.expect
  136. closure.dart.outline.expect
  137. closure.dart.strong.expect
  138. co19_language_metadata_syntax_t04.dart
  139. co19_language_metadata_syntax_t04.dart.direct.expect
  140. co19_language_metadata_syntax_t04.dart.outline.expect
  141. co19_language_metadata_syntax_t04.dart.strong.expect
  142. compile.status
  143. covariant_generic.dart
  144. covariant_generic.dart.direct.expect
  145. covariant_generic.dart.outline.expect
  146. covariant_generic.dart.strong.expect
  147. cycles.dart
  148. cycles.dart.direct.expect
  149. cycles.dart.outline.expect
  150. default_values.dart
  151. default_values.dart.direct.expect
  152. default_values.dart.outline.expect
  153. deferred_lib.dart
  154. DeltaBlue.dart
  155. DeltaBlue.dart.direct.expect
  156. DeltaBlue.dart.outline.expect
  157. DeltaBlue.dart.strong.expect
  158. duplicated_named_args_3.dart
  159. duplicated_named_args_3.dart.direct.expect
  160. duplicated_named_args_3.dart.outline.expect
  161. duplicated_named_args_3.dart.strong.expect
  162. dynamic_and_void.dart
  163. dynamic_and_void.dart.direct.expect
  164. dynamic_and_void.dart.outline.expect
  165. dynamic_and_void.dart.strong.expect
  166. escape.dart
  167. escape.dart.direct.expect
  168. escape.dart.outline.expect
  169. escape.dart.strong.expect
  170. export_main.dart
  171. export_main.dart.direct.expect
  172. export_main.dart.outline.expect
  173. export_main.dart.strong.expect
  174. export_test.dart
  175. export_test.dart.direct.expect
  176. export_test.dart.outline.expect
  177. export_test.dart.strong.expect
  178. expressions.dart
  179. expressions.dart.direct.expect
  180. expressions.dart.outline.expect
  181. expressions.dart.strong.expect
  182. external.dart
  183. external.dart.direct.expect
  184. external.dart.outline.expect
  185. external.dart.strong.expect
  186. external_import.dart
  187. external_import.dart.direct.expect
  188. external_import.dart.outline.expect
  189. external_import.dart.strong.expect
  190. fallthrough.dart
  191. fallthrough.dart.direct.expect
  192. fallthrough.dart.outline.expect
  193. fallthrough.dart.strong.expect
  194. fibonacci.dart
  195. fibonacci.dart.direct.expect
  196. fibonacci.dart.outline.expect
  197. for_in_scope.dart
  198. for_in_scope.dart.direct.expect
  199. for_in_scope.dart.outline.expect
  200. function_in_field.dart
  201. function_in_field.dart.direct.expect
  202. function_in_field.dart.outline.expect
  203. function_type_is_check.dart
  204. function_type_is_check.dart.direct.expect
  205. function_type_is_check.dart.outline.expect
  206. function_type_is_check.dart.strong.expect
  207. function_type_recovery.dart
  208. function_type_recovery.dart.outline.expect
  209. functions.dart
  210. functions.dart.direct.expect
  211. functions.dart.outline.expect
  212. future_or_test.dart
  213. future_or_test.dart.direct.expect
  214. future_or_test.dart.outline.expect
  215. future_or_test.dart.strong.expect
  216. hello.dart
  217. hello.dart.direct.expect
  218. hello.dart.outline.expect
  219. illegal_named_function_expression.dart
  220. illegal_named_function_expression.dart.direct.expect
  221. illegal_named_function_expression.dart.outline.expect
  222. illegal_named_function_expression.dart.strong.expect
  223. illegal_named_function_expression_scope.dart
  224. illegal_named_function_expression_scope.dart.direct.expect
  225. illegal_named_function_expression_scope.dart.outline.expect
  226. illegal_named_function_expression_scope.dart.strong.expect
  227. implicit_new.dart
  228. implicit_new.dart.direct.expect
  229. implicit_new.dart.outline.expect
  230. implicit_new.dart.strong.expect
  231. implicit_scope_test.dart
  232. implicit_scope_test.dart.direct.expect
  233. implicit_scope_test.dart.outline.expect
  234. implicit_scope_test.dart.strong.expect
  235. implicit_this.dart
  236. implicit_this.dart.direct.expect
  237. implicit_this.dart.outline.expect
  238. incomplete_field_formal_parameter.dart
  239. incremental.status
  240. invalid_assignment.dart
  241. invalid_assignment.dart.direct.expect
  242. invalid_assignment.dart.outline.expect
  243. invalid_assignment.dart.strong.expect
  244. invalid_cast.dart
  245. invalid_cast.dart.direct.expect
  246. invalid_cast.dart.outline.expect
  247. invalid_cast.dart.strong.expect
  248. invocations.dart
  249. invocations.dart.direct.expect
  250. invocations.dart.outline.expect
  251. literals.dart
  252. literals.dart.direct.expect
  253. literals.dart.outline.expect
  254. local_generic_function.dart
  255. local_generic_function.dart.direct.expect
  256. local_generic_function.dart.outline.expect
  257. local_generic_function.dart.strong.expect
  258. magic_const.dart
  259. magic_const.dart.direct.expect
  260. magic_const.dart.outline.expect
  261. magic_const.dart.strong.expect
  262. map.dart
  263. map.dart.direct.expect
  264. map.dart.outline.expect
  265. metadata_enum.dart
  266. metadata_enum.dart.direct.expect
  267. metadata_enum.dart.outline.expect
  268. metadata_enum.dart.strong.expect
  269. metadata_named_mixin_application.dart
  270. metadata_named_mixin_application.dart.direct.expect
  271. metadata_named_mixin_application.dart.outline.expect
  272. metadata_named_mixin_application.dart.strong.expect
  273. micro.dart
  274. micro.dart.direct.expect
  275. micro.dart.outline.expect
  276. micro.dart.strong.expect
  277. minimum_int.dart
  278. minimum_int.dart.direct.expect
  279. minimum_int.dart.outline.expect
  280. minimum_int.dart.strong.expect
  281. mixin.dart
  282. mixin.dart.direct.expect
  283. mixin.dart.outline.expect
  284. mixin.dart.strong.expect
  285. mixin_inherited_setter_for_mixed_in_field.dart
  286. mixin_inherited_setter_for_mixed_in_field.dart.direct.expect
  287. mixin_inherited_setter_for_mixed_in_field.dart.direct.transformed.expect
  288. mixin_inherited_setter_for_mixed_in_field.dart.outline.expect
  289. mixin_inherited_setter_for_mixed_in_field.dart.strong.expect
  290. mixin_inherited_setter_for_mixed_in_field.dart.strong.transformed.expect
  291. mixin_super_repeated.dart
  292. mixin_super_repeated.dart.direct.expect
  293. mixin_super_repeated.dart.outline.expect
  294. mixin_super_repeated.dart.strong.expect
  295. named_parameters.dart
  296. named_parameters.dart.direct.expect
  297. named_parameters.dart.outline.expect
  298. named_parameters.dart.strong.expect
  299. native_as_name.dart
  300. native_as_name.dart.direct.expect
  301. native_as_name.dart.outline.expect
  302. native_as_name.dart.strong.expect
  303. null_aware.dart
  304. null_aware.dart.direct.expect
  305. null_aware.dart.outline.expect
  306. null_aware.dart.strong.expect
  307. operators.dart
  308. operators.dart.direct.expect
  309. operators.dart.outline.expect
  310. optional.dart
  311. optional.dart.direct.expect
  312. optional.dart.outline.expect
  313. optional.dart.strong.expect
  314. outline.status
  315. override.dart
  316. override.dart.direct.expect
  317. override.dart.outline.expect
  318. override.dart.strong.expect
  319. override_check_accessor_after_inference.dart
  320. override_check_accessor_after_inference.dart.direct.expect
  321. override_check_accessor_after_inference.dart.outline.expect
  322. override_check_accessor_after_inference.dart.strong.expect
  323. override_check_accessor_basic.dart
  324. override_check_accessor_basic.dart.direct.expect
  325. override_check_accessor_basic.dart.outline.expect
  326. override_check_accessor_basic.dart.strong.expect
  327. override_check_accessor_with_covariant_modifier.dart
  328. override_check_accessor_with_covariant_modifier.dart.direct.expect
  329. override_check_accessor_with_covariant_modifier.dart.outline.expect
  330. override_check_accessor_with_covariant_modifier.dart.strong.expect
  331. override_check_after_inference.dart
  332. override_check_after_inference.dart.direct.expect
  333. override_check_after_inference.dart.outline.expect
  334. override_check_after_inference.dart.strong.expect
  335. override_check_basic.dart
  336. override_check_basic.dart.direct.expect
  337. override_check_basic.dart.outline.expect
  338. override_check_basic.dart.strong.expect
  339. override_check_two_substitutions.dart
  340. override_check_two_substitutions.dart.direct.expect
  341. override_check_two_substitutions.dart.outline.expect
  342. override_check_two_substitutions.dart.strong.expect
  343. override_check_with_covariant_modifier.dart
  344. override_check_with_covariant_modifier.dart.direct.expect
  345. override_check_with_covariant_modifier.dart.outline.expect
  346. override_check_with_covariant_modifier.dart.strong.expect
  347. platform.dart
  348. platform.dart.direct.expect
  349. platform.dart.outline.expect
  350. prefer_baseclass.dart
  351. prefer_baseclass.dart.direct.expect
  352. prefer_baseclass.dart.outline.expect
  353. prefer_baseclass.dart.strong.expect
  354. qualified.dart
  355. qualified.dart.direct.expect
  356. qualified.dart.outline.expect
  357. qualified.dart.strong.expect
  358. qualified_lib.dart
  359. qualified_part.dart
  360. README.md
  361. redirecting_constructor.dart
  362. redirecting_constructor.dart.direct.expect
  363. redirecting_constructor.dart.outline.expect
  364. redirecting_factory.dart
  365. redirecting_factory.dart.direct.expect
  366. redirecting_factory.dart.outline.expect
  367. redirecting_factory.dart.strong.expect
  368. redirecting_factory_chain_test.dart
  369. redirecting_factory_chain_test.dart.direct.expect
  370. redirecting_factory_chain_test.dart.outline.expect
  371. redirecting_factory_chain_test.dart.strong.expect
  372. redirecting_factory_simple_test.dart
  373. redirecting_factory_simple_test.dart.direct.expect
  374. redirecting_factory_simple_test.dart.outline.expect
  375. redirecting_factory_simple_test.dart.strong.expect
  376. redirecting_factory_typeargs_test.dart
  377. redirecting_factory_typeargs_test.dart.direct.expect
  378. redirecting_factory_typeargs_test.dart.outline.expect
  379. redirecting_factory_typeargs_test.dart.strong.expect
  380. redirecting_factory_typeparam_test.dart
  381. redirecting_factory_typeparam_test.dart.direct.expect
  382. redirecting_factory_typeparam_test.dart.outline.expect
  383. redirecting_factory_typeparam_test.dart.strong.expect
  384. redirecting_factory_typeparambounds_test.dart
  385. redirecting_factory_typeparambounds_test.dart.direct.expect
  386. redirecting_factory_typeparambounds_test.dart.outline.expect
  387. redirecting_factory_typeparambounds_test.dart.strong.expect
  388. redirecting_initializer_arguments_assignable_test.dart
  389. redirecting_initializer_arguments_assignable_test.dart.direct.expect
  390. redirecting_initializer_arguments_assignable_test.dart.outline.expect
  391. redirecting_initializer_arguments_assignable_test.dart.strong.expect
  392. redirecting_initializer_arguments_test.dart
  393. redirecting_initializer_arguments_test.dart.direct.expect
  394. redirecting_initializer_arguments_test.dart.outline.expect
  395. redirecting_initializer_arguments_test.dart.strong.expect
  396. redirection_chain_type_arguments.dart
  397. redirection_chain_type_arguments.dart.direct.expect
  398. redirection_chain_type_arguments.dart.outline.expect
  399. redirection_chain_type_arguments.dart.strong.expect
  400. redirection_chain_type_arguments_subst.dart
  401. redirection_chain_type_arguments_subst.dart.direct.expect
  402. redirection_chain_type_arguments_subst.dart.outline.expect
  403. redirection_chain_type_arguments_subst.dart.strong.expect
  404. redirection_type_arguments.dart
  405. redirection_type_arguments.dart.direct.expect
  406. redirection_type_arguments.dart.outline.expect
  407. redirection_type_arguments.dart.strong.expect
  408. reorder_super.dart
  409. reorder_super.dart.direct.expect
  410. reorder_super.dart.outline.expect
  411. reorder_super.dart.strong.expect
  412. return_with_unknown_type_in_context.dart
  413. return_with_unknown_type_in_context.dart.direct.expect
  414. return_with_unknown_type_in_context.dart.outline.expect
  415. return_with_unknown_type_in_context.dart.strong.expect
  416. sdk.status
  417. shaker.status
  418. statements.dart
  419. statements.dart.direct.expect
  420. statements.dart.outline.expect
  421. static_setter.dart
  422. static_setter.dart.direct.expect
  423. static_setter.dart.outline.expect
  424. static_setter.dart.strong.expect
  425. store_load.dart
  426. store_load.dart.direct.expect
  427. store_load.dart.outline.expect
  428. store_load.dart.strong.expect
  429. stringliteral.dart
  430. stringliteral.dart.direct.expect
  431. stringliteral.dart.outline.expect
  432. stringliteral.dart.strong.expect
  433. strong.status
  434. super_call.dart
  435. super_call.dart.direct.expect
  436. super_call.dart.outline.expect
  437. super_call.dart.strong.expect
  438. super_rasta_copy.dart
  439. super_rasta_copy.dart.direct.expect
  440. super_rasta_copy.dart.outline.expect
  441. super_rasta_copy.dart.strong.expect
  442. top_level_accessors.dart
  443. top_level_accessors.dart.direct.expect
  444. top_level_accessors.dart.outline.expect
  445. top_level_accessors_part.dart
  446. type_variable_as_super.dart
  447. type_variable_as_super.dart.direct.expect
  448. type_variable_as_super.dart.outline.expect
  449. type_variable_prefix.dart
  450. type_variable_prefix.dart.direct.expect
  451. type_variable_prefix.dart.outline.expect
  452. type_variable_prefix.dart.strong.expect
  453. typedef.dart
  454. typedef.dart.direct.expect
  455. typedef.dart.outline.expect
  456. undefined.dart
  457. undefined.dart.direct.expect
  458. undefined.dart.outline.expect
  459. undefined.dart.strong.expect
  460. undefined_getter_in_compound_assignment.dart
  461. undefined_getter_in_compound_assignment.dart.direct.expect
  462. undefined_getter_in_compound_assignment.dart.outline.expect
  463. undefined_getter_in_compound_assignment.dart.strong.expect
  464. uninitialized_fields.dart
  465. uninitialized_fields.dart.direct.expect
  466. uninitialized_fields.dart.outline.expect
  467. uninitialized_fields.dart.strong.expect
  468. unused_methods.dart
  469. unused_methods.dart.direct.expect
  470. unused_methods.dart.outline.expect
  471. unused_methods.dart.strong.expect
  472. void_methods.dart
  473. void_methods.dart.direct.expect
  474. void_methods.dart.outline.expect
  475. void_methods.dart.strong.expect
  476. warn_unresolved_sends.dart
  477. warn_unresolved_sends.dart.direct.expect
  478. warn_unresolved_sends.dart.outline.expect
  479. warn_unresolved_sends.dart.strong.expect
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.

ast_builder

This configuration doesn‘t have expectations as it doesn’t produce Kernel AST nodes.

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 ...

Tree Shaking

./pkg/front_end/tool/fasta testing -DupdateExpectations=true shaker/test1 shaker/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.