Recent Posts

Google Syntax Highlighter

less than 1 minute read

I’m just going to outline the three steps that are needed to enable the google syntax highlighter within blogger.com sites. A patched version of the ‘shCore....

Extending ANT JUnitTask

1 minute read

I needed to run the JUnitTask from code (since i needed to create a custom FileSet for the BatchTest). I started out with a plan Task, but while the code bel...

JMockit Non-public mock class

less than 1 minute read

Running a simple unit test, with the ‘new Object()’ syntax.public void test(){ Mockit.redefineMethods(emeraldjava.impl.ApplicationCase.class, new Object() {...

Blogger with Google Analytics & Sitemap

less than 1 minute read

Just a couple of quick links to two tutorials on setting your blog (or any website) up with statistics and indexing.Blogger And Analytics outlines how you c...

Blogger & Google Code Prettify

less than 1 minute read

I wanted to improve the look of my java source code examples that i have in my blog posts. I came across the google-code-prettify project. The main hassel is...

JMockit

less than 1 minute read

The business class we want to testpackage emeraldjava.jmockit;/*** Service.*/public class Service { public boolean doBusinessWork() throws Exception { Wo...

The story of the stolen bike

less than 1 minute read

Some mo-fo in sydney nicked my racer, when it was locked to a lamp-post, this caused a number of days of mass depression. Had to sort out a new set of wheels...