Add test for new DashboardFragment and PreferenceController

Also added a FakeFeatureFactory to make it easier to mock different
FeatureProviders.

Bug: 31781480
Test: make RunSettingsRoboTests
Change-Id: Ie45db601e0bec951d7ef983ec2e3ca747ec1c3af
This commit is contained in:
Fan Zhang
2016-10-04 17:48:32 -07:00
parent 0cff709a0d
commit e6c60c24a8
8 changed files with 444 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ import android.view.View;
import android.view.ViewGroup;
import com.android.settings.TestConfig;
import com.android.settings.shadow.ShadowTextUtils;
import com.android.settings.testutils.shadow.ShadowTextUtils;
import org.junit.Before;
import org.junit.Test;