On 8/2/05, David Thielen <[EMAIL PROTECTED]> wrote:
> I figure a mock world always has limitations - but better a workable return
> than an exception.
>
In tonight's (20050803) nightly build, you'll find a new
setDocumentRoot(File) method on MockServletContext. This allows you
to establish the
> Hi;
>
>
>
> Since everyone is being so nice about this, even though it's not a shale
> problem, I figured I'd ask here.
>
>
>
> In my hibernate setup, I have a HibernateUtil class with some static
> initialization code. That code sets a static final variable with my
> SessionFactory.
Hi;
Since everyone is being so nice about this, even though it's not a shale
problem, I figured I'd ask here.
In my hibernate setup, I have a HibernateUtil class with some static
initialization code. That code sets a static final variable with my
SessionFactory.
This is a great way to d
Mailing List
Subject: Re: [shale] shale test framework
>Hi;
>For those that hit the same problem - you need to call super.setUp() and
>super.tearDown() in your setUp/tearDown.
Yeap, that's where the heavy lifting is done.
http://svn.apache.org/viewcvs.cgi/struts/shale/trunk/test
On 8/2/05, David Thielen <[EMAIL PROTECTED]> wrote:
> Hi;
>
>
>
> For those that hit the same problem - you need to call super.setUp() and
> super.tearDown() in your setUp/tearDown.
>
Yep ... if you're extending the abstract base classes you definitely
want this. We should make that clearer i
>Hi;
>For those that hit the same problem - you need to call super.setUp() and
>super.tearDown() in your setUp/tearDown.
Yeap, that's where the heavy lifting is done.
http://svn.apache.org/viewcvs.cgi/struts/shale/trunk/test-framework/src/java/org/apache/shale/test/base/AbstractJsfTestCase.java?
ath).getAbsolutePath();
}
}
David Thielen
303-499-2544
www.windwardreports.com
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 02, 2005 3:21 PM
To: user@struts.apache.org
Subject: [shale] shale test framework
Hi;
For those that hit th
Hi;
For those that hit the same problem - you need to call super.setUp() and
super.tearDown() in your setUp/tearDown.
Also, servletContext.getRealPath() is not implemented in the mock objects.
Is there a reason why it doesn't return the default directory?
Finally, I need to determine at
8 matches
Mail list logo