commit | ccdb949cc92febc9bb978f1a9210f39658948f4d | [log] [tgz] |
---|---|---|
author | Chun-Ku Lin <chunkulin@google.com> | Fri Oct 13 02:38:30 2023 +0000 |
committer | Chun-Ku Lin <chunkulin@google.com> | Fri Oct 13 02:44:12 2023 +0000 |
tree | bdbda1609ad1512532942f01c7004ed6b39be858 | |
parent | 780a0cb23097c33b2fc33641663b146cd4871278 [diff] |
Fix ToggleScreenMagnificationPreferenceFragmentTest **Root cause** ShadowFragment makes the test using an empty implementation of onCreate, hence the test execution throws SuperNotCalledException. ShadowFragment was accidentally added to this test when migrate to the latest Robolectric. Removing ShadowFragment in the config fixes the test. Fix: 300158627 Test: atest ToggleScreenMagnificationPreferenceFragmentTest Change-Id: I8782ac11a93c5f89b781dcca1713968ed18802cf