diff -r 08ffdc3938e7 -r 5b3ae17babdf dew/src/test/java/org/apidesign/bck2brwsr/dew/CompileTest.java --- a/dew/src/test/java/org/apidesign/bck2brwsr/dew/CompileTest.java Wed Jan 23 13:18:46 2013 +0100 +++ b/dew/src/test/java/org/apidesign/bck2brwsr/dew/CompileTest.java Mon Sep 23 00:59:14 2013 +0200 @@ -18,15 +18,17 @@ package org.apidesign.bck2brwsr.dew; import java.io.IOException; +import org.apidesign.bck2brwsr.vmtest.Compare; +import org.apidesign.bck2brwsr.vmtest.VMTest; import static org.testng.Assert.*; -import org.testng.annotations.Test; +import org.testng.annotations.Factory; /** * * @author Jaroslav Tulach */ public class CompileTest { - @Test public void testCompile() throws IOException { + @Compare public void testCompile() throws IOException { String html = "" + " " + ""; @@ -42,4 +44,8 @@ assertNotNull(result.get("x/y/z/X.class"), "Class X is compiled: " + result); assertNotNull(result.get("x/y/z/Index.class"), "Class Index is compiled: " + result); } + + @Factory public static Object[] create() { + return VMTest.create(CompileTest.class); + } }