-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Extract checking IntelliJ packages into a helper and use for Android Studio. #16198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract checking IntelliJ packages into a helper and use for Android Studio. #16198
Conversation
devoncarew
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add tests for this - specifically IntelliJPlugins.validatepackage()? There are some tests in commands/doctor_test.dart which already test things in a similar way.
devoncarew
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm once the buildbots are happy
* upstream/master: Run test coverage in dart2 again (flutter#15932) Roll engine to 23c0b7b (flutter#16254) fix date/time picker borders (flutter#16240) Revert "Roll engine to version 58d6ea3 (flutter#16236)" (flutter#16252) Roll engine to version 58d6ea3 (flutter#16236) Add disable Cupertino Switch example (flutter#15853) Roll engine to ac40891 (flutter#16232) re-enable verify only test failure and update deps. (flutter#16090) Extract checking IntelliJ packages into a helper and use for Android Studio. (flutter#16198) Remove DevToolsSecurity check from initial flutter doctor (flutter#16007) export RawKeyEvent from RawKeyboardListener (flutter#15956) Revert "Adds Java EE module to SDK manager calls" (flutter#16227) update intellij metadata in template files (flutter#16211) Add _PointerState#toString (flutter#16197) add a period after xcode build done (flutter#16209)
| void main() { | ||
| group('IntelliJ', () { | ||
| group('plugins', () { | ||
| testUsingContext('found', () async { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test isn't hermetic and is subject to flakiness. We try to ensure that all new tests are hermetic by using MemoryFileSystem, FakePlatform, and a mocked ProcessManager where need be (using context overrides).
Please update this test such that it is hermetic.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that this test also fails inside Google (which is how this surfaced) because hermeticity is required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filed #16339
flutter/flutter-intellij#1438