commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Heinz Marbaise <>
Subject [CLI2] Writing source code unit tests (CvsTest)
Date Tue, 31 Jul 2007 21:30:29 GMT
Hi there,

i have begun to write some Unit Tests (CvsTest in the Source-Code) to
understand the CLI2 correctly but now i have reached a point where i
can't get out....

May be someone can give me hint:


I would like to simulate the following command line of CVS:

cvs -d "Parameter" -nq update -d

The "-nq" global options are working, but the second "-d" seemed not to be.
Here extracted some parts of the Code to create the command and it's

//Global option
optiond = new DefaultOptionBuilder()
    .withArgument(new ArgumentBuilder()

updateCommand = new CommandBuilder().withName("update").create();
//update Command - Options
updateOptiond = new DefaultOptionBuilder().withName("d").create();

Group updateCommandOptions = GroupBuilder()

I'm not sure if i'm doing this correct...

Kind regards
Karl Heinz Marbaise
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 W├╝rselen                 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message