Skip to content

Conversation

@scheglov
Copy link
Contributor

@scheglov scheglov commented Apr 3, 2018

@scheglov scheglov requested a review from devoncarew April 4, 2018 05:13
Copy link
Contributor

@devoncarew devoncarew left a 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.

Copy link
Contributor

@devoncarew devoncarew left a 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

@scheglov scheglov merged commit 4658ec0 into flutter:master Apr 4, 2018
@scheglov scheglov deleted the doctor-android-studio-plugins branch April 4, 2018 17:48
teriyakijack pushed a commit to teriyakijack/flutter that referenced this pull request Apr 5, 2018
* 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 {
Copy link
Contributor

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!

Copy link
Contributor

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.

Copy link
Contributor

Choose a reason for hiding this comment

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

Filed #16339

DaveShuckerow pushed a commit to DaveShuckerow/flutter that referenced this pull request May 14, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants