Skip to content

[shared_preferences] Remove duplicate integration test #9368

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

Merged

Conversation

stuartmorgan-g
Copy link
Contributor

We accidentally enteded up with two identical, but differently named, Android integration test harness files in shared_preferences, causing CI to run the integration tests twice. This removes the MainActivityTest.java version, leaving the better-named FlutterActivityTest.java (there is no MainActivity in the app, it uses FlutterActivity directly).

Fixes flutter/flutter#162266

Pre-Review Checklist

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

We accidentally enteded up with two identical, but differently named,
Android integration test harness files in `shared_preferences`, causing
CI to run the integration tests twice. This removes the
MainActivityTest.java version, leaving the better-named
FlutterActivityTest.java (there is no MainActivity in the app, it uses
FlutterActivity directly).

Fixes flutter/flutter#162266
@stuartmorgan-g stuartmorgan-g added the override: no changelog needed Override the check requiring CHANGELOG updates for most changes label Jun 3, 2025
@stuartmorgan-g
Copy link
Contributor Author

Verified that CI is still showing that the integration tests are run—but only once now, as desired.

@stuartmorgan-g stuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 3, 2025
@auto-submit auto-submit bot merged commit 83256f0 into flutter:main Jun 3, 2025
80 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 4, 2025
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Jun 4, 2025
flutter/packages@1765c95...2bac766

2025-06-03 [email protected] [in_app_purchase_android]
GooglePlayPurchaseParam add possibility set selected offerToken
(flutter/packages#8452)
2025-06-03 [email protected] [camera] 🐛 Fix toggles overflow in the
camera example (flutter/packages#9274)
2025-06-03 [email protected] [shared_preferences] Remove duplicate
integration test (flutter/packages#9368)
2025-06-03 [email protected] [pointer_interceptor_web]
Fix unresponsive input above PointerInterceptor on Safari and Firefox.
(flutter/packages#9362)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Ortes pushed a commit to Ortes/packages that referenced this pull request Jun 25, 2025
We accidentally enteded up with two identical, but differently named, Android integration test harness files in `shared_preferences`, causing CI to run the integration tests twice. This removes the MainActivityTest.java version, leaving the better-named FlutterActivityTest.java (there is no MainActivity in the app, it uses FlutterActivity directly).

Fixes flutter/flutter#162266

## Pre-Review Checklist

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App override: no changelog needed Override the check requiring CHANGELOG updates for most changes p: shared_preferences platform-android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[shared_preferences] Android integration tests running twice
2 participants