Skip to Content.
Sympa Menu

notify-dpml - r867 - trunk/main/depot/core/console/src/test/net/dpml/depot

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r867 - trunk/main/depot/core/console/src/test/net/dpml/depot
  • Date: Sat, 7 Jan 2006 17:20:08 +0100

Author: mcconnell
Date: 2006-01-07 17:20:08 +0100 (Sat, 07 Jan 2006)
New Revision: 867

Modified:

trunk/main/depot/core/console/src/test/net/dpml/depot/CLIHelperTestCase.java
Log:
cleanup testcase

Modified:
trunk/main/depot/core/console/src/test/net/dpml/depot/CLIHelperTestCase.java
===================================================================
---
trunk/main/depot/core/console/src/test/net/dpml/depot/CLIHelperTestCase.java
2006-01-06 21:32:54 UTC (rev 866)
+++
trunk/main/depot/core/console/src/test/net/dpml/depot/CLIHelperTestCase.java
2006-01-07 16:20:08 UTC (rev 867)
@@ -20,8 +20,6 @@

import junit.framework.TestCase;

-import net.dpml.depot.CLIHelper;
-
/**
* Test utility functions in the CLIHelper class.
*
@@ -30,7 +28,9 @@
public class CLIHelperTestCase extends TestCase
{
/**
- * Test the conslidation of a single argument value.
+ * Test the conslidation of a single argument value whereby
+ * a supplied argument is removed from an args sequence.
+ * @exception Exception if the test fails
*/
public void testConsolidation() throws Exception
{
@@ -43,6 +43,9 @@

/**
* Test the conslidation of a single argument and parameter.
+ * The int parameter dictates the number of additional arguments to
+ * remove from the array following the parameter value.
+ * @exception Exception if the test fails
*/
public void testConsolidationWithOffset() throws Exception
{
@@ -54,6 +57,7 @@

/**
* Test the conslidation of a single argument and two parameters.
+ * @exception Exception if the test fails
*/
public void testConsolidationWithNoRemainder() throws Exception
{
@@ -64,6 +68,7 @@

/**
* Test the conslidation of a single that is not the inital argument and
one parameters.
+ * @exception Exception if the test fails
*/
public void testConsolidationInterim() throws Exception
{
@@ -75,6 +80,7 @@

/**
* Test the conslidation of a single that is not the inital argument and
one parameters.
+ * @exception Exception if the test fails
*/
public void testIsOptionPresent() throws Exception
{
@@ -86,6 +92,7 @@

/**
* Test the conslidation of a single that is not the inital argument and
one parameters.
+ * @exception Exception if the test fails
*/
public void testGetOption() throws Exception
{




  • r867 - trunk/main/depot/core/console/src/test/net/dpml/depot, mcconnell at BerliOS, 01/07/2006

Archive powered by MHonArc 2.6.24.

Top of Page