[iOS][EG2]Run TestCase +setUp at next launch after app crashes.
After app unexpectedly crashes in EG2 test, it is relaunched at -setUp of next testMethod. Currently in this situation, |appNeedsLaunching| is judged false and app is launched without TestCase +setUps at |activate| method, which will cause DCHECK failures at +tearDown. This change makes |appNeedsLaunching| judged true in this situation and run TestCase +setUps after the relaunch to prevent DCHECK failures. Bug: 1023911 Change-Id: I83bd06df7afdf2402fbb0593a6825910107534f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2037852Reviewed-by:Eugene But <eugenebut@chromium.org> Commit-Queue: Zhaoyang Li <zhaoyangli@chromium.org> Cr-Commit-Position: refs/heads/master@{#739118}
Showing
Please register or sign in to comment