Context context = new Context();CarService carService = new CarService(context, R.string.car_json);List<Cars> cars = carService.getCars(
}assertThat(cars.size(), equalTo(10));
I am willing to do the code to support raw resources but I have some questions.
Should I create the issue and continue the discussion there or it's ok
to have it right here in the mailing list?
Thanks.
Context context = new Activity();
}assertThat(cars.size(), equalTo(10));
Am I missing something?
Thanks
Let me know what you think.
Thanks.
On Tue, Nov 23, 2010 at 6:18 PM, Christian Williams
java.lang.RuntimeException: Stub!at org.json.JSONObject.<init>(JSONObject.java:8)
now I should learn why:
initializationError(com.xtremelabs.robolectric.util.TestUtil)
is failing.
Thanks Christian!
On Wed, Nov 24, 2010 at 4:49 PM, Christian Williams