New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 738597 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
not available
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

LocalRobolectricTestRunner should clear shared preference

Project Member Reported by changwan@chromium.org, Jun 30 2017

Issue description

This was found in https://chromium-review.googlesource.com/c/557925 .

If we remove FeatureUtilities.cacheChromeHomeEnabled() from setUp(),
one test fails. But we get a failure only when you run the entire junit_chrome, and we don't get into any error if we run NewTabPageAdapterTest only.

I suspect that shared preference set from previous test run affects the current test.

Is there any way to clear it on each test case run?

 
Cc: yolandyan@chromium.org
Owner: ----
Owner: yolandyan@chromium.org
Status: Assigned (was: Available)

Sign in to add a comment