diff -r 000000000000 -r aa69b1387624 launcher/src/test/java/org/apidesign/bck2brwsr/dew/CompileTest.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/launcher/src/test/java/org/apidesign/bck2brwsr/dew/CompileTest.java Tue Jan 15 22:48:17 2013 +0100 @@ -0,0 +1,28 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ +package org.apidesign.bck2brwsr.dew; + +import java.io.IOException; +import java.util.Map; +import static org.testng.Assert.*; +import org.testng.annotations.Test; + +/** + * + * @author Jaroslav Tulach + */ +public class CompileTest { + @Test public void testCompile() throws IOException { + String html = "" + + " " + + ""; + String java = "package x.y.z;" + + "class X {" + + "}"; + Map result = Compile.compile(html, java); + + assertNotNull(result.get("x/y/z/X.class"), "Class X is compiled: " + result); + } +}