diff -r 5df0a239ebeb -r a0d8b5ab79a2 vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/impl/Bck2BrwsrCase.java --- a/vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/impl/Bck2BrwsrCase.java Tue Jan 22 11:59:25 2013 +0100 +++ b/vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/impl/Bck2BrwsrCase.java Tue Jan 22 19:16:38 2013 +0100 @@ -40,20 +40,20 @@ private final String type; private final boolean fail; Object value; - private static final Map compiled = new WeakHashMap<>(); - private Object inst; + private final String html; - Bck2BrwsrCase(Method m, String type, Launcher l, boolean fail) { + Bck2BrwsrCase(Method m, String type, Launcher l, boolean fail, String html) { this.l = l; this.m = m; this.type = type; this.fail = fail; + this.html = html; } @Test(groups = "run") public void executeCode() throws Throwable { if (l != null) { - MethodInvocation c = l.invokeMethod(m.getDeclaringClass(), m.getName()); + MethodInvocation c = l.invokeMethod(m.getDeclaringClass(), m.getName(), html); String res = c.toString(); value = res; if (fail) {