[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [stellation-res] Unit testing?
|
On Mon, Jul 22, 2002 at 12:05:03PM -0500, Florin Iucha wrote:
> I think we can start by wrapping org.eclipse.stellation.workspace.Svc
> into a test case. See attached jar for an example.
>
> I will create a test case that simulates the first steps in the
> tutorial.
I haven't got that far as the tutorial, but I wrote a test for create
and another one for connect. They are in the attached jar file.
The tests require a change to the Svc class: all the "System.exit"s have
to be replaced with "return rc;", so one can programatically call the
Svc "run" method.
I will post more tests as I write them. I will try to follow your tests
written in shell scripts.
florin
--
"If it's not broken, let's fix it till it is."
41A9 2BDE 8E11 F1C5 87A6 03EE 34B3 E075 3B90 DFE4
Attachment:
svc_test.jar
Description: application/java-archive
Attachment:
pgpXslioJU2pr.pgp
Description: PGP signature