From: David C. <dav...@sh...> - 2003-05-07 15:59:23
|
I am testing a custom jsp tag which uses the pageContext.getAttribute(...) methods to find its data. Looking at the source of MockPageContext at Sourceforge, very few methods are implemented. Even verify() does nothing! Is this by design? It seems as though MockPageContext should have hashes for the different scopes(page,req,session,app). Then the rest of the methods in PageContext could be implemented, and my tests would run. Is there another way I should approach testing this tag? Should these methods be implemented? Should I just extend this class for now? Thanks! David Carlson |