ClassNotFoundException for inner class

58 views
Skip to first unread message

sdp...@gmail.com

unread,
Feb 23, 2012, 4:46:36 PM2/23/12
to Android Mock Discussion
Here http://code.google.com/p/android-mock/source/detail?r=24 it says
that support for inner classes was added. I was going to ask why it
wasn't working for me, but then realized that AndroidMock1.1.1 was
released in January of last year, not a month ago as I had thought.
So my question changes to asking if the change committed in August
will be in an upcoming release and if so when might that be?

I put the inner class in its own file and made it public, and things
work as expected, but there's no reason to do so other than satisfying
this limitation. It's not a public class and this required allowing
access to members in its ex-parent that shouldn't be exposed. Doing
so for other classes I need to test may end up being more work than
looking into another framework.



Reply all
Reply to author
Forward
0 new messages