The problem. I hate the tab saying ‘Source not found’ when I debug my Android apps in Eclipse. If there’s no source code, I’m not interested. Leave me alone. These aren’t the classes you’re […]
I’ve been spending some time studying a tool for looking at the structure of code bases. After having tried out some of the more basic possibilities I wanted to go for the finer points […]
I had a junit test situation where I wanted to mock an Eclipse IResource instance but still be able to test a call-back implementation given as parameter to the mocked IResource.accept(IResourceVisitor visit) method. By default, mocking an interface gives you “call count” and expected return values but no code is executed. In order to test the implementation of IResourceVisitor, something more had to be done. Here is how I did it.