Modified settings tests to use custom test runner
The custom test runner lets us use resources from multiple projects which resolves many ResourceNotFound errors that would come up when people who made changes wrote tests. Test: make RunSettingsRoboTests Bug: 32180625 Change-Id: I71f30eecc1164b117351a74b3ea0533625feae5b
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.android.settings;
|
||||
|
||||
import java.util.List;
|
||||
import org.junit.runners.model.InitializationError;
|
||||
import org.robolectric.RobolectricTestRunner;
|
||||
import org.robolectric.annotation.Config;
|
||||
@@ -22,8 +23,6 @@ import org.robolectric.manifest.AndroidManifest;
|
||||
import org.robolectric.res.Fs;
|
||||
import org.robolectric.res.ResourcePath;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Custom test runner for the testing of BluetoothPairingDialogs. This is needed because the
|
||||
* default behavior for robolectric is just to grab the resource directory in the target package.
|
||||
|
Reference in New Issue
Block a user