You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship" <hl...@attbi.com> on 2003/04/21 17:53:27 UTC
The Big Mix
MindBridge's, Geoffs and my changes all seem to mesh correctly.
I just put in some code to check that a super-class implementation is
invoked. Current checks are for IPage.validate() and IPage.detach(), but
we'll probably add more. It's based on a global variable, a ThreadLocal.
It looks like this:
Tapestry.clearMethodInvocations();
foo.doSomething();
Tapestry.checkMethodInvocation(DO_SOMETHING_METHOD_ID, "doSomething()",
foo);
Foo's doSomething()
{
Tapestry.addMethodInvocation(DO_SOMETHING_METHOD_ID);
...
}
Code coverage is still good: 82.6% on 25,167 NCLOC (Non commenting lines of
code)
--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/tapestry