Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Use config to set land qualifiers#31853

Merged
zanderso merged 1 commit intoflutter:mainfrom
utzcoz:improve-robolectric-tests
Mar 9, 2022
Merged

Use config to set land qualifiers#31853
zanderso merged 1 commit intoflutter:mainfrom
utzcoz:improve-robolectric-tests

Conversation

@utzcoz
Copy link
Contributor

@utzcoz utzcoz commented Mar 5, 2022

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on
    writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

This PR uses qualifiers in Config(http://robolectric.org/using-qualifiers/) of Robolectric to set landscape resource qualifier to replace current RuntimeEnvironment#setQualifiers calling. This replacing can help to improve the introductoryness of the test code.

@utzcoz
Copy link
Contributor Author

utzcoz commented Mar 5, 2022

Hi @zanderso, could you help to review this PR? Looks like luci-engine job failed because of broken tree. Thanks.

@zanderso
Copy link
Member

zanderso commented Mar 5, 2022

Please add more details to the PR description and/or link to the github issue that this solves.

@utzcoz
Copy link
Contributor Author

utzcoz commented Mar 6, 2022

Please add more details to the PR description and/or link to the github issue that this solves.

I have updated PR description with extra link.

Copy link

@blasten blasten left a comment

Choose a reason for hiding this comment

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

LGTM

@blasten blasten added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Mar 8, 2022
@fluttergithubbot
Copy link
Contributor

This pull request is not suitable for automatic merging in its current state.

  • Please get at least one approved review if you are already a member or two member reviews if you are not a member before re-applying this label. Reviewers: If you left a comment approving, please use the "approve" review action instead.

@fluttergithubbot fluttergithubbot removed the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Mar 8, 2022
@blasten
Copy link

blasten commented Mar 8, 2022

@jason-simmons It needs your approval

@utzcoz
Copy link
Contributor Author

utzcoz commented Mar 9, 2022

@jason-simmons It needs your approval

Friendly ping @jason-simmons , could you help to review this PR? Thanks.

@zanderso zanderso merged commit bfaaf8b into flutter:main Mar 9, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 9, 2022
@utzcoz utzcoz deleted the improve-robolectric-tests branch March 10, 2022 00:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants