1.1 --- a/launcher/src/test/java/org/apidesign/bck2brwsr/dew/CompileTest.java Wed Jan 16 10:52:06 2013 +0100
1.2 +++ b/launcher/src/test/java/org/apidesign/bck2brwsr/dew/CompileTest.java Wed Jan 16 11:07:28 2013 +0100
1.3 @@ -1,11 +1,6 @@
1.4 -/*
1.5 - * To change this template, choose Tools | Templates
1.6 - * and open the template in the editor.
1.7 - */
1.8 package org.apidesign.bck2brwsr.dew;
1.9
1.10 import java.io.IOException;
1.11 -import java.util.Map;
1.12 import static org.testng.Assert.*;
1.13 import org.testng.annotations.Test;
1.14
1.15 @@ -24,7 +19,7 @@
1.16 + "class X { "
1.17 + " @OnClick(id=\"btn\") static void clcs() {}"
1.18 + "}";
1.19 - Map<String,byte[]> result = Compile.compile(html, java);
1.20 + Compile result = Compile.create(html, java);
1.21
1.22 assertNotNull(result.get("x/y/z/X.class"), "Class X is compiled: " + result);
1.23 assertNotNull(result.get("x/y/z/Index.class"), "Class Index is compiled: " + result);