I tried according to the example using a
ServletTestSuite() and I get this
|java.lang.ExceptionInInitializerError
at
br.com.rgarquivo.persistence.TestSqlMapsConfig.testGetSqlMapInstance(TestSqlMapsConfig.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
I'll try something different |
Vincent Massol wrote:
Hi Kelly,
-----Original Message-----
From: Kelly C. Goedert [mailto:[EMAIL PROTECTED]
Sent: jeudi 26 ao�t 2004 18:56
To: Cactus Users List
Subject: testing a POJO
How can I test a POJO that is on the server side, that is not a servlet
or EJB but is inside the container?
I tried using ServletTestCase, but it didn't work out.
You can use use any Cactus TestCase (ServletTestCase, JspTestCase,
FilterTestCase). You can also use a ServletTestSuite() as described in
option B of step 2 in
http://jakarta.apache.org/cactus/writing/howto_testcase.html.
Any ideas?
What didn't work?
-Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]