-
I didn't see any unit tests for the `Fragments`. How do you inject a mock`Presenter` into your fragment to test it?
-
Hello,
The "Custom Device" feature allows you to control automation devices (eg. shutters) but you have to create a separate device for opening, closing and stopping the shutter, which is not very co…
-
I've been thinking a dependency injection container would be very helpful. Particularly given all the singletons we have floating around. In triplea-test it was recommended to use Dagger2. So far it l…
-
The following three libraries I think will need to be added very soon:
- guava
- mockito
- hamcrest-all (contains additional hamcrest matchers)
Down the road I think we'll be adding the jars for:
- d…
-
My NoteView activity in onCreate uses a helper class. I want to test that it calls the helper class correctly. How do I write a robospock test for it? My best shot is:
```
def "should ..."() {
…
-
Until 3.0-rc2 I was able to use a custom runner which has overriden createSetup to return a custom InstrumentingClassLoaderConfig (formerly Setup) that overrides shouldInstrument
```
public boolean s…
-
```
*What steps will reproduce the problem?
1.Start MTG Familiar
2.Open the Life Counter
*What is the expected output? What do you see instead?
What I see..
a) In portrait view: For each player the +…
-
I was creating a mock API Client using Dagger & Retrofit and though it may be useful to be able to return a mock RetrofitError in my callbacks but, unfortunately, it's private. Is there another way th…
-
(3.0-snapshot) If you try to load thumbnails from the gallery, then Robolectric throws an exception.
I have [a sample app](https://github.com/nolanlawson/demo-robolectric-1664) to demonstrate. Note t…
-
``` java
@Singleton
@Component(modules = AppModule.class)
public interface AppComponent {
void inject(MainActivity x);
SharedPreferences getSharedPreferences();
}
```
Why not just generate `g…