[jsfunit-dev] Help for JSFUnit

Anil Langote Anil.Langote at mscsoftware.com
Wed Sep 24 05:37:16 EDT 2008


Hi All,

 

I am using JSFUnit to testing in my product. I want to get the requested
URL for eg
(http://localhost:8000/Facelets_R4/ServletTestRunner?suite=com.test.MyJS
FUnitTest&xsl=cactus-report.xsl)

I want this URL to do decide whether it is an JSFUnit request or other
request.

I tried same through FacesContext object like 

String reqPath =
FacesContext.getCurrentInstance().getExternalContext().getRequestServlet
Path();

I am getting different string is there any way to get the following
string

"ServletTestRunner suite=com.test.MyJSFUnitTest&xsl=cactus-report.xsl"

 

Any thoughts?

 

Thanks

Anil

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jsfunit-dev/attachments/20080924/9aa3999f/attachment.html 


More information about the jsfunit-dev mailing list