diff -r 7efb52f76270 -r 9fb17a3cbbb6 vm/src/test/java/org/apidesign/vm4brwsr/InstanceTest.java --- a/vm/src/test/java/org/apidesign/vm4brwsr/InstanceTest.java Tue Sep 25 12:26:29 2012 +0200 +++ b/vm/src/test/java/org/apidesign/vm4brwsr/InstanceTest.java Wed Oct 10 16:49:45 2012 -0700 @@ -102,11 +102,15 @@ ); } - private static void assertExec(String msg, String methodName, Object expRes, Object... args) throws Exception { + protected String startCompilationWith() { + return "org/apidesign/vm4brwsr/Instance"; + } + + private void assertExec( + String msg, String methodName, Object expRes, Object... args + ) throws Exception { StringBuilder sb = new StringBuilder(); - Invocable i = StaticMethodTest.compileClass(sb, - "org/apidesign/vm4brwsr/Instance" - ); + Invocable i = StaticMethodTest.compileClass(sb, startCompilationWith()); Object ret = null; try {