Look at the tearDown method on the contribution-multiple itest below. This might give you some ideas.
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/itest/contribution-multiple/src/test/java/test/ContributionTestCase.java On Wed, Apr 16, 2008 at 1:38 PM, Yee-Kang Chang <[EMAIL PROTECTED]> wrote: > I'm trying to test ServiceUnavailableException (as part of vtest) -- to > simulate that a service is unavailable and the Exception will be thrown. > The current idea is to have a service "started", invoke some operation, > "stop" it, and then invoke some other operation to see if a > ServiceUnavailableException will be thrown. Is there a way for us to > "stop" a service in Tuscany? > > Or, there's better ways for us to "test" ServiceUnavailableException? > > Thank you! -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
