Feature Requests item #1383712, was opened at 2005-12-17 18:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1383712&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.2
Status: Open
Priority: 5
Submitted By: Ralf Ebert (dreivier)
Assigned to: Nobody/Anonymous (nobody)
Summary: Testing across multiple request cycles

Initial Comment:
I'm looking for a way to simulate multiple request cycles with an JUnit test 
including a way to trigger things that usally occur as result of event 
processing (like onclick handlers). I don't see a way to do this currently 
without setting up the appropriate request urls. It would be nice to do 
something like

application.setupRequestAndResponse();
application.processRequestCycle(new EventMock() {

        public void bla() {
                //this gets called in the same way event handlers call this
                //when processing a request cycle
                ((Link)getPage().get("testLink")).onLinkClicked();
                ((TextField)getPage().get("field")).setValue("xxx");
        }

})


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1383712&group_id=119783


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to