I am trying to pass an activation context to a page during unit
testing but It seems the documentation on:
http://tapestry.apache.org/tapestry5/guide/unit-testing-pages.html is
out of date. According to the page the code to  pass the context is as
follow:

        PageTester tester = new PageTester(appPackage, appName,
"src/main/webapp");
        Object[] context = new Object[]{ "abc", 123 };
        Document doc = tester.invoke(new ComponentInvocation(new
PageLinkTarget("MyPage"), context));

but neither the method invoice nor ComponentInvocation exist anymore
(Tapestry 5.1.0.5). I was trying to check the source code for examples
but i didn't find anything.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to