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 in my app, earlier I used org.robolectric.shadows.ShadowVibrator but now I am n
Solution 1:
Have a look at RoboVibrator
RoboVibrator vibrator = (RoboVibrator) RuntimeEnvironment.application.getSystemService(Context.VIBRATOR_SERVICE);
Post a Comment for "Robolectric 3.0 Testing Vibrator Service"