flutter/dev/bots/test
Greg Spencer 8b768de18f
Add lint check to make sure samples are linked and have tests (#130523)
## Description

This adds a checker that will check all of the API docs examples to make sure that they are linked from at least one source file in the packages.

It also checks to make sure that all of the examples have an associated test. Since there are a large number that don't have tests at the moment, there is also a large exception list that can be burned down (burn down list is in https://github.com/flutter/flutter/issues/130459).

Because there are missing links currently, this PR will only pass after https://github.com/flutter/flutter/pull/130521 is merged.

## Related Issues

- https://github.com/flutter/flutter/issues/129956
- https://github.com/flutter/flutter/issues/130459

## Tests

- Added test for the checker.
2023-07-18 15:26:09 +00:00
..
analyze-snippet-code-test-dart-ui Sync analysis_options.yaml & cleanups (#117327) 2022-12-20 14:15:39 -08:00
analyze-snippet-code-test-input Manually roll Flutter Engine from 0c41b02cd5a6 to c641f6307f08 (#127514) 2023-05-24 14:35:23 -07:00
analyze-test-input Add spaces after flow control statements (#126320) 2023-05-15 11:07:30 +02:00
analyze_snippet_code_test.dart Manually roll Flutter Engine from 0c41b02cd5a6 to c641f6307f08 (#127514) 2023-05-24 14:35:23 -07:00
analyze_test.dart Add spaces after flow control statements (#126320) 2023-05-15 11:07:30 +02:00
check_code_samples_test.dart Add lint check to make sure samples are linked and have tests (#130523) 2023-07-18 15:26:09 +00:00
common.dart
post_process_docs_test.dart Deprecate these old APIs (#116793) 2023-04-06 19:53:50 +00:00
prepare_package_test.dart Always use user-level pub cache (#121802) 2023-03-13 08:38:17 +01:00
sdk_directory_has_space_test.dart
test_test.dart Fix typos (#121171) 2023-02-23 19:43:21 +00:00
tool_subsharding_test.dart Parser machine logs (#118707) 2023-02-02 20:04:06 +00:00