[jsfunit-dev] Help for JSFUnit

Stan Silvert ssilvert at redhat.com
Wed Sep 24 07:54:18 EDT 2008


Hi Anil,

This mailing list is for development discussions of the JSFUnit tool itself.

Please post your user question to the forum at 
http://www.jboss.com/index.html?module=bb&op=viewforum&f=269

I'll be glad to answer it there.

Stan

Anil Langote wrote:
>
> 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.MyJSFUnitTest&xsl=cactus-report.xsl 
> <http://localhost:8000/Facelets_R4/ServletTestRunner?suite=com.test.MyJSFUnitTest&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().getRequestServletPath();
>
> 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
>
>  
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> jsfunit-dev mailing list
> jsfunit-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jsfunit-dev
>   

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


More information about the jsfunit-dev mailing list