1.1 --- a/vm/src/test/java/org/apidesign/vm4brwsr/InstanceTest.java Tue Sep 25 12:26:29 2012 +0200
1.2 +++ b/vm/src/test/java/org/apidesign/vm4brwsr/InstanceTest.java Wed Oct 10 16:49:45 2012 -0700
1.3 @@ -102,11 +102,15 @@
1.4 );
1.5 }
1.6
1.7 - private static void assertExec(String msg, String methodName, Object expRes, Object... args) throws Exception {
1.8 + protected String startCompilationWith() {
1.9 + return "org/apidesign/vm4brwsr/Instance";
1.10 + }
1.11 +
1.12 + private void assertExec(
1.13 + String msg, String methodName, Object expRes, Object... args
1.14 + ) throws Exception {
1.15 StringBuilder sb = new StringBuilder();
1.16 - Invocable i = StaticMethodTest.compileClass(sb,
1.17 - "org/apidesign/vm4brwsr/Instance"
1.18 - );
1.19 + Invocable i = StaticMethodTest.compileClass(sb, startCompilationWith());
1.20
1.21 Object ret = null;
1.22 try {