I have a class name String and a String which containing the class code. For example, "Example" is the name of the class, and The class code. I lo ...
I have a class name String and a String which containing the class code. For example, "Example" is the name of the class, and The class code. I lo ...
I'm getting the following crashing during an instrumentation test ONLY on emulators running API v19. If I run on newer versions everything works fine. ...
So I have a Database class that has a dependency that extends SQLOpenHelper and I am testing using Android instrumented tests and Mockito to mock depe ...
Currently work on a fork of https://github.com/lucasr/probe. Just getting into the start, but for some reason, when I try to build it I get this error ...
I want to spy the Linkedlist in android. However, the exception occured. The dependencies of libs are Even I update mockito-core-1.10.19.jar ...
When I mock an object with Mockito.mock(), I expect the object to have stubbed out methods that return null, 0, false, et al, without having any of th ...
I am trying to incorporate Powermock as a dependency for my Android tests using the following build.gradle configuration: However, the compiler is ...
I have some android-tests that crash hard when run on android versions under 4.4 / Kitkat. These are the libraries I have in my build.gradle The t ...
I'm trying to create automated tests for Android which would emulate Bluetooth communication. Mockito and DexMaker are working ok but not in this ca ...
I'm trying to run unit test on Android Library project and using mockito 1.9.5 with dexmaker 1.0 & dexmaker -mockito-1.0 jar files. I am using An ...
I want to write an ORM for Android as my final project. My first idea is to inject code for each get and set. Unfortunately I found a lot of posts say ...
Like many others I was excited to hear that Mockito now works with Android and followed this tutorial to see it with my own eyes. Everything seemed fa ...
Trying to do a partial mock of an activity using Mockito.spy after its instrumented on the Android VM (Emulator 4.1). Here is the error I get I've ...
I am trying to get Mockito (1.9.5 rc1) working in my Android tests (using Robotium). For making it run on the DVM I put dexmaker.jar and the dexmaker- ...
I am trying to use Mockito in my Android project. I have found very nice tutorial that deals with it: http://www.paulbutcher.com/2012/05/mockito-on-an ...