jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: what is the location of data files for testing?
Date Sat, 19 Jun 2004 13:49:29 GMT
Hi Mark,

The setUp() method is executed in the server side classpath. Are you
sure you do not want to use a begin() method instead? (see
http://jakarta.apache.org/cactus/writing/howto_testcase.html).

-Vincent

> -----Original Message-----
> From: Mark Slater [mailto:mark@analogsoftware.com]
> Sent: 19 June 2004 09:58
> To: cactus-user@jakarta.apache.org
> Subject: what is the location of data files for testing?
> 
> I'm sure this is documented all over the place, but for the life of
me,
> I couldn't find it after looking for the two hours or so.  I'm using
> the maven plugin to run my cactus tests. In the setUp() method, I'd
> like to load a couple of image files to use in the testing. Where in
> the directory structure would I put those files so the are accessible
> with getClass().getResource("image.jpg") inside the setUp() method?
> 
> Thanks!
> 
> Mark
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



Mime
View raw message