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

Anil Saldhana Anil.Saldhana at redhat.com
Fri Mar 25 16:29:46 EDT 2011


The most heartburn was caused by the following 2 lines:
war.addResource(userProp, "/WEB-INF/classes/users.properties");
war.addResource(roleProp, "/WEB-INF/classes/roles.properties");

I could not figure out how to add two properties files into the war 
classpath. :)

I had to trace through shrinkwrap in eclipse to figure that out.

Also, http://anonsvn.jboss.org/repos/common/shrinkwrap/trunk/  is a 404.


On 03/25/2011 03:25 PM, Andrew Lee Rubinger wrote:
> Beautiful.
>
> S,
> ALR
>
> On 03/25/2011 04:21 PM, Anil Saldhana 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.




More information about the jboss-as7-dev mailing list