| getFormById() can only find forms that are on the current page
Let me see if I can duplicate the scenario, then see if we can find a solution we both like. Thanks for the report (BTW, could you file an issue -- defect or enhancement is fine -- for this?)
|
FacesTester
» General Discussion
|
July 28, 2009 14:41
by: IngoHofmann
|
| MockServletContext does not implement getContextPath() !?
Filter support was just committed. I have tests that I hope correctly test the support. Feedback welcome. :)
|
FacesTester
» General Discussion
|
June 04, 2009 14:46
by: IngoHofmann
|
| MockServletContext does not implement getContextPath() !?
Listeners, specifically, context and request listeners, are now supported. You should be able to get to that when the java.net Maven repo catches up with the 0.3-SNAPSHOT I just published. Next up is . . .
|
FacesTester
» General Discussion
|
June 04, 2009 14:46
by: IngoHofmann
|
| "Reset" the faces context
That makes sense. Listeners and filters are next on the list. :)
|
FacesTester
» General Discussion
|
May 29, 2009 07:22
by: IngoHofmann
|
| Download demo exception
Wow. March 19. Sorry about the REALLY late response. I don't get notified of forum postings, so I have to remember to check the site periodically. At any rate, I don't typically test the JSP dem . . .
|
Mojarra Scales
» General Discussion
|
May 28, 2009 15:50
by: Jason Lee
|
| "Reset" the faces context
Fair enough. Can you explain (if you have time ;) how that's not suitable? I'd like to understand your situation to see if we can come up with a better solution WRT the FacesTester code. Thanks! :)
|
FacesTester
» General Discussion
|
May 29, 2009 07:22
by: IngoHofmann
|
| MockServletContext does not implement getContextPath() !?
I'll override that method as well. I've been doing some experimenting with custom API impls (and removing the Spring mock objects), but I'm running into some odd issues where I'm not getting my JSF en . . .
|
FacesTester
» General Discussion
|
June 04, 2009 14:46
by: IngoHofmann
|
| Another application of FacesTester
Wow. That's a very interesting use of the system. Kinda cool, really. I've "abused" other testing tools (HttpUnit, for example) to automate interactions for certain web sites. :)
|
FacesTester
» General Discussion
|
May 28, 2009 13:56
by: Jason Lee
|
| "Reset" the faces context
I typically create a new FacesTester object for each test. The Mojarra initialization is done only on the first instantiation, so subsequent creations are very quick: "..code.." Seems to do the tr . . .
|
FacesTester
» General Discussion
|
May 29, 2009 07:22
by: IngoHofmann
|
| MockServletContext does not implement getContextPath() !?
Also committed: http://kenai.com/projects/facestester/lists/commits/archive/2009-05/message/4 Complete with unit test. ;)
|
FacesTester
» General Discussion
|
June 04, 2009 14:46
by: IngoHofmann
|