Skip to content Skip to sidebar Skip to footer
Showing posts with the label Robolectric

Mockito Runnable: Wanted But Not Invoked?

I want to make sure I'm not doing something terribly wrong before I submit a bug report. This … Read more Mockito Runnable: Wanted But Not Invoked?

Robolectric 3.0 Testing Vibrator Service

I am in process of migrating my test cases to latest Robolectric 3.0. To test the viberator service… Read more Robolectric 3.0 Testing Vibrator Service

Junit Testing With Gradle For An Android Project

I am trying to get tests ( junit and robolectric ) working in an Android project but am totally stu… Read more Junit Testing With Gradle For An Android Project

Could Not Find Any Version That Matches Org.robolectric:robolectric:2.3.+

When syncing my Gradle project in Android Studio, I get the following error: Error:Could not find … Read more Could Not Find Any Version That Matches Org.robolectric:robolectric:2.3.+

Robolectric Issue With Progressbar

I keep getting a RuntimeException from Robolectric when it tries to invoke an onCreate for an activ… Read more Robolectric Issue With Progressbar

Robolectric Unit Test Failing With Android Studio 2.3 Updates

All my Unit Test started throwing this error: No such manifest file: build\intermediates\bundles\de… Read more Robolectric Unit Test Failing With Android Studio 2.3 Updates

Robolectric "warning: Unable To Find Path To Android Sdk"

I am using Robolectric without using maven to build, meaning I am using the Robolectric-with-depend… Read more Robolectric "warning: Unable To Find Path To Android Sdk"

Osx Maven Running Tests Exception: Java.lang.outofmemoryerror Thrown From The Uncaughtexceptionhandler In Thread "main"

I have been trying to run on mac a ready maven project which works under linux. When calling mvn cl… Read more Osx Maven Running Tests Exception: Java.lang.outofmemoryerror Thrown From The Uncaughtexceptionhandler In Thread "main"

How To Mock Dagger Activity Object Graphs?

I'm using Dagger in an android app to provide application and activity scope graphs. And I'… Read more How To Mock Dagger Activity Object Graphs?

Using Powermock And Robolectric - Incompatibleclasschangeerror

I'm trying to use PowerMockito to mock some static methods in Android Robolectric tests. I'… Read more Using Powermock And Robolectric - Incompatibleclasschangeerror

Shadowing Getfilesdir() In Robolectric 3

I'd like to shadow Context.getFilesDir() in order to 'virtualize' the filesystem my ap… Read more Shadowing Getfilesdir() In Robolectric 3

Writing Android Acceptance Tests With Robolectric: How Could It Be Done?

Can Android acceptance tests be written using Robolectric? It seems to be classed only as a unit-te… Read more Writing Android Acceptance Tests With Robolectric: How Could It Be Done?

Shadowing GetFilesDir() In Robolectric 3

I'd like to shadow Context.getFilesDir() in order to 'virtualize' the filesystem my ap… Read more Shadowing GetFilesDir() In Robolectric 3