• liyuqian's avatar
    Add LICENSE test to presubmit checks (#28369) · dd5559a5
    liyuqian authored
    ## Description
    
    Also update the existing dart files with missing licenses.
    
    Without the fix, we'll emit the following error message
    ```
    License headers cannot be found at the beginning of the following files.
    
    /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter/lib/src/animation/tween_sequence.dart
    /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter/test/material/raw_material_button_test.dart
    /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter/test/widgets/async_lifecycle_test.dart
    /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter/test/widgets/sliver_constraints_test.dart
    /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter/test/widgets/app_test.dart
    /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter/test/widgets/test_border.dart
    /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter/test/widgets/physical_model_test.dart
    /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter/test/widgets/inherited_model.dart
    /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter_tools/lib/src/base/user_messages.dart
    /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter_tools/test/src/pubspec_schema.dart
    /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter_tools/test/ios/simulators_test.dart
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    ```
    
    ## Related Issues
    
    Fixes https://github.com/flutter/flutter/issues/28368
    
    ## Checklist
    
    Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (`[x]`). This will ensure a smooth and quick review process.
    
    - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
    - [x] My PR includes tests for *all* changed/updated/fixed behaviors (See [Test Coverage]).
    - [x] All existing and new tests are passing.
    - [x] I updated/added relevant documentation (doc comments with `///`).
    - [x] The analyzer (`flutter analyze --flutter-repo`) does not report any problems on my PR.
    - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
    - [x] I signed the [CLA].
    - [x] I am willing to follow-up on review comments in a timely manner.
    
    ## Breaking Change
    
    Does your PR require Flutter developers to manually update their apps to accommodate your change?
    
    - [ ] Yes, this is a breaking change (Please read [Handling breaking changes]).
    - [x] No, this is *not* a breaking change.
    
    <!-- Links -->
    [issue database]: https://github.com/flutter/flutter/issues
    [Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
    [Test Coverage]: https://github.com/flutter/flutter/wiki/Test-coverage-for-package%3Aflutter
    [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
    [Features we expect every widget to implement]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
    [CLA]: https://cla.developers.google.com/
    [Handling breaking changes]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
    dd5559a5
Name
Last commit
Last update
..
about_test.dart Loading commit data...
animated_icons_private_test.dart Loading commit data...
animated_icons_test.dart Loading commit data...
app_bar_test.dart Loading commit data...
app_bar_theme_test.dart Loading commit data...
app_builder_test.dart Loading commit data...
app_test.dart Loading commit data...
arc_test.dart Loading commit data...
back_button_test.dart Loading commit data...
bottom_app_bar_test.dart Loading commit data...
bottom_app_bar_theme_test.dart Loading commit data...
bottom_navigation_bar_test.dart Loading commit data...
button_bar_test.dart Loading commit data...
button_theme_test.dart Loading commit data...
buttons_test.dart Loading commit data...
card_test.dart Loading commit data...
card_theme_test.dart Loading commit data...
checkbox_test.dart Loading commit data...
chip_test.dart Loading commit data...
chip_theme_test.dart Loading commit data...
circle_avatar_test.dart Loading commit data...
colors_test.dart Loading commit data...
control_list_tile_test.dart Loading commit data...
data_table_test.dart Loading commit data...
data_table_test_utils.dart Loading commit data...
date_picker_test.dart Loading commit data...
debug_test.dart Loading commit data...
dialog_test.dart Loading commit data...
dialog_theme_test.dart Loading commit data...
divider_test.dart Loading commit data...
drawer_test.dart Loading commit data...
dropdown_test.dart Loading commit data...
expand_icon_test.dart Loading commit data...
expansion_panel_test.dart Loading commit data...
expansion_tile_test.dart Loading commit data...
feedback_test.dart Loading commit data...
feedback_tester.dart Loading commit data...
flat_button_test.dart Loading commit data...
flexible_space_bar_collapse_mode_test.dart Loading commit data...
flexible_space_bar_test.dart Loading commit data...
floating_action_button_location_test.dart Loading commit data...
floating_action_button_test.dart Loading commit data...
grid_title_test.dart Loading commit data...
icon_button_test.dart Loading commit data...
icons.dart Loading commit data...
ink_paint_test.dart Loading commit data...
ink_splash_test.dart Loading commit data...
ink_well_test.dart Loading commit data...
input_decorator_test.dart Loading commit data...
list_tile_test.dart Loading commit data...
localizations_test.dart Loading commit data...
material_test.dart Loading commit data...
mergeable_material_test.dart Loading commit data...
modal_bottom_sheet_test.dart Loading commit data...
outline_button_test.dart Loading commit data...
page_selector_test.dart Loading commit data...
page_test.dart Loading commit data...
page_transitions_theme_test.dart Loading commit data...
paginated_data_table_test.dart Loading commit data...
persistent_bottom_sheet_test.dart Loading commit data...
popup_menu_test.dart Loading commit data...
progress_indicator_test.dart Loading commit data...
radio_test.dart Loading commit data...
raw_material_button_test.dart Loading commit data...
refresh_indicator_test.dart Loading commit data...
reorderable_list_test.dart Loading commit data...
scaffold_test.dart Loading commit data...
scrollbar_paint_test.dart Loading commit data...
scrollbar_test.dart Loading commit data...
search_test.dart Loading commit data...
slider_test.dart Loading commit data...
slider_theme_test.dart Loading commit data...
snack_bar_test.dart Loading commit data...
stepper_test.dart Loading commit data...
switch_list_tile_test.dart Loading commit data...
switch_test.dart Loading commit data...
tab_bar_theme_test.dart Loading commit data...
tabbed_scrollview_warp_test.dart Loading commit data...
tabs_test.dart Loading commit data...
text_field_focus_test.dart Loading commit data...
text_field_helper_text_test.dart Loading commit data...
text_field_splash_test.dart Loading commit data...
text_field_test.dart Loading commit data...
text_form_field_test.dart Loading commit data...
text_theme_test.dart Loading commit data...
theme_data_test.dart Loading commit data...
theme_defaults_test.dart Loading commit data...
theme_test.dart Loading commit data...
time_picker_test.dart Loading commit data...
time_test.dart Loading commit data...
tooltip_test.dart Loading commit data...
typography_test.dart Loading commit data...
user_accounts_drawer_header_test.dart Loading commit data...
will_pop_test.dart Loading commit data...