diff -r b6fd8b9ccc7a -r 5f04bdbc6ee1 ko-archetype/src/main/resources/archetype-resources/src/test/java/IntegrationTest.java --- a/ko-archetype/src/main/resources/archetype-resources/src/test/java/IntegrationTest.java Mon May 13 11:39:33 2013 +0200 +++ b/ko-archetype/src/main/resources/archetype-resources/src/test/java/IntegrationTest.java Mon May 13 14:25:37 2013 +0200 @@ -1,6 +1,5 @@ package ${package}; -import org.apidesign.bck2brwsr.htmlpage.api.OnEvent; import org.apidesign.bck2brwsr.vmtest.BrwsrTest; import org.apidesign.bck2brwsr.vmtest.HtmlFragment; import org.apidesign.bck2brwsr.vmtest.VMTest; @@ -11,8 +10,6 @@ * and that is it. If your code references elements on the HTML page, * you can pass in an {@link org.apidesign.bck2brwsr.vmtest.HtmlFragment} which * will be made available on the page before your test starts. - * - * @author Jaroslav Tulach */ public class IntegrationTest { @@ -20,22 +17,10 @@ * Assert, as TestNG is not compiled with target 1.6 yet). */ @HtmlFragment( - "

Loading Bck2Brwsr's Hello World...

\n" + - "Your name: \n" + - "\n" + - "

\n" + - " \n" + - "

\n" + "

Put this snippet on the HTML page

\n" ) @BrwsrTest - public void modifyValueAssertChangeInModel() { - Index m = new Index(); - m.setName("Joe Hacker"); - m.applyBindings(); - assert "Joe Hacker".equals(m.input.getValue()) : "Value is really Joe Hacker: " + m.input.getValue(); - m.input.setValue("Happy Joe"); - m.triggerEvent(m.input, OnEvent.CHANGE); - assert "Happy Joe".equals(m.getName()) : "Name property updated to Happy Joe: " + m.getName(); + public void runThisTestInABrowser() { } @Factory