Update of /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/ts2-pm-cli-it-invoke/src/test/java/net/sf/ts2/pm/cli
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6526/ts2-pm-it/ts2-pm-cli-it-invoke/src/test/java/net/sf/ts2/pm/cli
Modified Files:
InvokeCliITTest.java
Log Message:
it test are now a part of the build process
the it test successfully failed as expected
Index: InvokeCliITTest.java
===================================================================
RCS file: /cvsroot/ts2-pm/ts2-pm/ts2-pm-it/ts2-pm-cli-it-invoke/src/test/java/net/sf/ts2/pm/cli/InvokeCliITTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** InvokeCliITTest.java 26 May 2005 23:39:09 -0000 1.1
--- InvokeCliITTest.java 27 May 2005 17:18:23 -0000 1.2
***************
*** 45,49 ****
public void testCLIInvocation()
{
! Commandline cl = new Commandline();
cl.setExecutable( "ts2-pm" );
--- 45,49 ----
public void testCLIInvocation()
{
! /* Commandline cl = new Commandline();
cl.setExecutable( "ts2-pm" );
***************
*** 63,66 ****
--- 63,70 ----
fail( "unexpected exception" );
}
+ */
+ String [] args = null;
+ int result = TS2PackageManagerCLI.main( args );
+ assertEquals( "Execution fail : non zero return", 0, result );
}
}
|