
This makes it a lot easier to setup all the testing stuff. Mostly, I'm tired of fighting Android Studio's fragility, so I want to remove as much non-standardness as possible in the hopes of improving that situation. closes #534 https://gitlab.com/fdroid/fdroidclient/issues/534
15 lines
410 B
Java
15 lines
410 B
Java
package mock;
|
|
|
|
/**
|
|
* As more components are required to test different parts of F-Droid, we can
|
|
* create them and add them here (and accessors to the parent class).
|
|
*/
|
|
public class MockContextEmptyComponents extends MockContextSwappableComponents {
|
|
|
|
public MockContextEmptyComponents() {
|
|
setPackageManager(new MockEmptyPackageManager());
|
|
setResources(new MockEmptyResources());
|
|
}
|
|
|
|
}
|