Skip to content

Null safety migration of packages/flutter_tools/test/general.shard, part 1/2#110711

Merged
liamappelbe merged 10 commits intoflutter:masterfrom
liamappelbe:null_migration_6
Sep 8, 2022
Merged

Null safety migration of packages/flutter_tools/test/general.shard, part 1/2#110711
liamappelbe merged 10 commits intoflutter:masterfrom
liamappelbe:null_migration_6

Conversation

@liamappelbe
Copy link
Contributor

Null safety migration of packages/flutter_tools/test/general.shard, part 1/2

@flutter-dashboard flutter-dashboard bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Aug 31, 2022
liamappelbe added a commit to liamappelbe/flutter that referenced this pull request Sep 7, 2022
@liamappelbe liamappelbe marked this pull request as ready for review September 7, 2022 19:53
@liamappelbe
Copy link
Contributor Author

Tests are passing

expect(lines[0], equals('All good.'));
});

testWithoutContext('Stdout printStatus handle null inputs on colored terminal', () async {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this no longer a legitimate test?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't pass null to Logger.printStatus anymore.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

Copy link
Contributor

@christopherfujino christopherfujino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@liamappelbe liamappelbe merged commit ec75399 into flutter:master Sep 8, 2022
@liamappelbe liamappelbe deleted the null_migration_6 branch September 8, 2022 22:25
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 9, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Sep 9, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Sep 9, 2022
liamappelbe added a commit that referenced this pull request Sep 12, 2022
* Migrate packages/flutter_tools/bin

* Fix NPE

* Fix test

* Fix test

* Fix l10n optionalParameters

* Fix ChromeTab nullability

* Fix another type cast error

* Fix another cast error

* Fix another cast error (copied from #110711)

* Fix NPE

* Fix another NPE

* Assert that testDirectory is not null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants