Hi Jan,

There is nothing officially downloadable but I created an "in process" 
isolation layer that I added to issue  270 : 
https://issues.apache.org/jira/browse/MUSE-270

Its a pretty good foundation for unit tests.  For the actual calling of your 
capabitilites you could make client proxies and use the "in process" soap 
client to make your calls.

As I know that you are using subscriptions you'll also have to make sure that 
you use the custom NotificationProducerClient from the tests as this uses the 
SoapClient from the environment (i.e. the "in process" one), whereas the 
default one will always try to create an http connection.

I also suspect the unit testing work for Muse 2.3 contains something similar 
but I've not checked.

cheers,
Chris

-----Original Message-----
From: Jan Torben Heuer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 28, 2008 11:52 AM
To: [email protected]
Subject: Junit Mock classes

Hi,

Are there Mock classes available or a short intro how to junit-test my own 
MyCapabilites class, etc. ?

Or is the Miniservlet the (only/easiest) way to start up a muse application?

Thanks,

Jan
-- 
Jan Torben Heuer                Institute for Geoinformatics
[EMAIL PROTECTED]       Robert-Koch-Strasse 26-28
+49 251 83-31960                48151 Münster, Germany

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to