Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Later
-
1.5-RC7
-
None
-
None
Description
Currently WicketTester setups custom IPageManager (MockPageManager) which has several problems:
1) it saves stateless pages - touchPage(statelessPage) shouldn't be stored
2) it calls #detach() for all pages ever stored in the map. it should call it only on the pages stored in the last request.
If we fix these problems then we are going to reimplement the default IPageManager (StorePageManager). So I suggest to drop MockPageManager and setup inmemory IPageStore behind it instead. This way we can test PageStoreBehavior as well.
Attachments
Attachments
Issue Links
- is duplicated by
-
WICKET-4376 MockPageManager touchPage: no guts, no glory
- Resolved