[jboss-as7-dev] Writing a test case in AS7 testsuite module

Vladimir Ralev vladimir.ralev at gmail.com
Fri Mar 25 17:13:32 EDT 2011


Hi all,

Is there any plan to support junit assertions from inside the container
(different threads)?

For example:

*protected* *void* doGet(HttpServletRequest req, HttpServletResponse
resp) *throws* ServletException, IOException {
        assertNotNull(req);
        Writer writer = resp.getWriter();
        writer.write("GOOD");
    }




On Fri, Mar 25, 2011 at 10:21 PM, Anil Saldhana <Anil.Saldhana at redhat.com>wrote:

> http://community.jboss.org/wiki/WritingaAS7TestCaseintestsuitemodule
>
> I had a lot of heartburn and uncertainty amidst short duration of
> nastiness/swearing sessions before I could get my test case working
> perfectly in the AS7 integration test suite.
>
> For this reason, I created a doc that may save the same trauma for
> contributors.
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110325/5764e207/attachment.html 


More information about the jboss-as7-dev mailing list