You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2005/08/12 17:23:08 UTC

svn commit: r232310 [76/92] - in /beehive/trunk/controls/test: common/ infra/gtlf/ infra/gtlf/xsl/ infra/mantis/ infra/tch/ infra/tch/messages/ infra/tch/runtime/ infra/tch/schema/ perf/ perf/bin/ perf/cases/ perf/ctlsrc/org/apache/beehive/controls/per...

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SCMOperationException.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SCMOperationException.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SCMOperationException.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SCMOperationException.java Fri Aug 12 08:12:28 2005
@@ -1,44 +1,44 @@
-package org.apache.beehive.test.tools.tch.scm;
-
-import org.apache.beehive.test.tools.tch.util.NestedException;
-
-/**
- * Created on Mar 7, 2004
- */
-public class SCMOperationException extends NestedException
-{
-
-  /**
-   * @param inMessage
-   */
-  public SCMOperationException(String inMessage)
-  {
-    super(inMessage);
-  }
-
-  /**
-   * @param in
-   */
-  public SCMOperationException(Throwable in)
-  {
-    super(in);
-  }
-
-  /**
-   * @param inTh
-   * @param inMessage
-   */
-  public SCMOperationException(Throwable inTh, String inMessage)
-  {
-    super(inTh, inMessage);
-  }
-
-  /**
-   * 
-   */
-  public SCMOperationException()
-  {
-    super();
-  }
-
-}
+package org.apache.beehive.test.tools.tch.scm;
+
+import org.apache.beehive.test.tools.tch.util.NestedException;
+
+/**
+ * Created on Mar 7, 2004
+ */
+public class SCMOperationException extends NestedException
+{
+
+  /**
+   * @param inMessage
+   */
+  public SCMOperationException(String inMessage)
+  {
+    super(inMessage);
+  }
+
+  /**
+   * @param in
+   */
+  public SCMOperationException(Throwable in)
+  {
+    super(in);
+  }
+
+  /**
+   * @param inTh
+   * @param inMessage
+   */
+  public SCMOperationException(Throwable inTh, String inMessage)
+  {
+    super(inTh, inMessage);
+  }
+
+  /**
+   * 
+   */
+  public SCMOperationException()
+  {
+    super();
+  }
+
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SCMOperationException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SCMRuntimeException.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SCMRuntimeException.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SCMRuntimeException.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SCMRuntimeException.java Fri Aug 12 08:12:28 2005
@@ -1,36 +1,36 @@
-package org.apache.beehive.test.tools.tch.scm;
-
-import org.apache.beehive.test.tools.tch.util.NestedRuntimeException;
-
-/**
- * Created on Mar 7, 2004
- */
-public class SCMRuntimeException extends NestedRuntimeException
-{
-
-  /**
-   * @param inMessage
-   */
-  public SCMRuntimeException(String inMessage)
-  {
-    super(inMessage);
-  }
-
-  /**
-   * @param in
-   */
-  public SCMRuntimeException(Throwable in)
-  {
-    super(in);
-  }
-
-  /**
-   * @param inTh
-   * @param inMessage
-   */
-  public SCMRuntimeException(Throwable inTh, String inMessage)
-  {
-    super(inTh, inMessage);
-  }
-
-}
+package org.apache.beehive.test.tools.tch.scm;
+
+import org.apache.beehive.test.tools.tch.util.NestedRuntimeException;
+
+/**
+ * Created on Mar 7, 2004
+ */
+public class SCMRuntimeException extends NestedRuntimeException
+{
+
+  /**
+   * @param inMessage
+   */
+  public SCMRuntimeException(String inMessage)
+  {
+    super(inMessage);
+  }
+
+  /**
+   * @param in
+   */
+  public SCMRuntimeException(Throwable in)
+  {
+    super(in);
+  }
+
+  /**
+   * @param inTh
+   * @param inMessage
+   */
+  public SCMRuntimeException(Throwable inTh, String inMessage)
+  {
+    super(inTh, inMessage);
+  }
+
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SCMRuntimeException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SourceControlManager.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SourceControlManager.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SourceControlManager.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SourceControlManager.java Fri Aug 12 08:12:28 2005
@@ -1,14 +1,14 @@
-package org.apache.beehive.test.tools.tch.scm;
-
-import java.io.File;
-
-/**
- * Published interface for scm operations.
- * 
- * Created on Mar 7, 2004
- */
-public interface SourceControlManager
-{
-  public void checkout(File f) throws SCMOperationException;
-  public void checkout(File[] f) throws SCMOperationException;
-}
+package org.apache.beehive.test.tools.tch.scm;
+
+import java.io.File;
+
+/**
+ * Published interface for scm operations.
+ * 
+ * Created on Mar 7, 2004
+ */
+public interface SourceControlManager
+{
+  public void checkout(File f) throws SCMOperationException;
+  public void checkout(File[] f) throws SCMOperationException;
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SourceControlManager.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SourceControlManagerFactory.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SourceControlManagerFactory.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SourceControlManagerFactory.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SourceControlManagerFactory.java Fri Aug 12 08:12:28 2005
@@ -1,37 +1,37 @@
-package org.apache.beehive.test.tools.tch.scm;
-
-/**
- * Created on Mar 7, 2004
- */
-public abstract class SourceControlManagerFactory
-{
-
-  // scoped by tch for now, but is tch independent
-  private static final String SCM_CLASS_PROPERTY_NAME = "tch.scm.SCMImpl";
-  private static final String SCM_CLASS_DEFAULT =
-    "org.apache.beehive.test.tools.tch.scm.perforce.SourceControlManagerImpl";
-
-  private static ExtendedSourceControlManager scm = null;
-  
-  public static synchronized SourceControlManager getSCM()
-  {
-    if (scm == null)
-    {
-      String className =
-        System.getProperty(SCM_CLASS_PROPERTY_NAME, SCM_CLASS_DEFAULT);
-      try
-      {
-        scm = (ExtendedSourceControlManager)Class.forName(className).newInstance();
-        
-        // need to make sure we don't instantiate more than one logger. 
-        // does not matter for now since Logger does not do anything.
-        scm.setLogger(new Logger());
-      }
-      catch (Exception ex)
-      {
-        throw new SCMRuntimeException(ex); 
-      }
-    }
-    return scm;
-  }
-}
+package org.apache.beehive.test.tools.tch.scm;
+
+/**
+ * Created on Mar 7, 2004
+ */
+public abstract class SourceControlManagerFactory
+{
+
+  // scoped by tch for now, but is tch independent
+  private static final String SCM_CLASS_PROPERTY_NAME = "tch.scm.SCMImpl";
+  private static final String SCM_CLASS_DEFAULT =
+    "org.apache.beehive.test.tools.tch.scm.perforce.SourceControlManagerImpl";
+
+  private static ExtendedSourceControlManager scm = null;
+  
+  public static synchronized SourceControlManager getSCM()
+  {
+    if (scm == null)
+    {
+      String className =
+        System.getProperty(SCM_CLASS_PROPERTY_NAME, SCM_CLASS_DEFAULT);
+      try
+      {
+        scm = (ExtendedSourceControlManager)Class.forName(className).newInstance();
+        
+        // need to make sure we don't instantiate more than one logger. 
+        // does not matter for now since Logger does not do anything.
+        scm.setLogger(new Logger());
+      }
+      catch (Exception ex)
+      {
+        throw new SCMRuntimeException(ex); 
+      }
+    }
+    return scm;
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/SourceControlManagerFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/perforce/SourceControlManagerImpl.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/perforce/SourceControlManagerImpl.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/perforce/SourceControlManagerImpl.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/perforce/SourceControlManagerImpl.java Fri Aug 12 08:12:28 2005
@@ -1,60 +1,60 @@
-package org.apache.beehive.test.tools.tch.scm.perforce;
-
-import java.io.File;
-import java.io.IOException;
-
-import org.apache.beehive.test.tools.tch.api.CommandLineRunner;
-import org.apache.beehive.test.tools.tch.scm.ExtendedSourceControlManager;
-import org.apache.beehive.test.tools.tch.scm.Logger;
-import org.apache.beehive.test.tools.tch.scm.SCMOperationException;
-import org.apache.beehive.test.tools.tch.scm.SourceControlManager;
-import org.apache.beehive.test.tools.tch.scm.SourceControlManagerFactory;
-
-/**
- * Instantiate using SourceControlManagerFactory only.
- * 
- * Created on Mar 7, 2004
- */
-public class SourceControlManagerImpl implements ExtendedSourceControlManager
-{
-  private static final String P4_EDIT_COMMAND = "p4 edit ";
-  
-  private Logger logger = null;
-	
-  public void checkout(File f) throws SCMOperationException
-  {
-    checkout(new File[]{f});   	
-  }
-
-  public void checkout(File[] files) throws SCMOperationException
-  {
-  	StringBuffer sb = new StringBuffer(P4_EDIT_COMMAND);
-  	for (int i = 0; i < files.length; i++)
-  	{
-  	  try
-  	  {
-  	    sb.append(files[i].getCanonicalPath());
-  	  } catch (IOException ex)
-  	  {
-  	    throw new SCMOperationException(ex);
-  	  }
-  	  if (i < (files.length - 1))
-  	    sb.append(" ");
-  	}
-  	
-  	//logger.log("p4 command: " + sb.toString(), this.getClass());
-    CommandLineRunner runner = new CommandLineRunner(sb.toString());
-    runner.run();
-    logger.log(runner.getProcessOutput(), this.getClass());
-  }
-
-  public void setLogger(Logger in) 
-  {
-    logger = in;
-  }
-  
-  public static void main(String args[]) throws SCMOperationException
-  {
-  }
-  
-}
+package org.apache.beehive.test.tools.tch.scm.perforce;
+
+import java.io.File;
+import java.io.IOException;
+
+import org.apache.beehive.test.tools.tch.api.CommandLineRunner;
+import org.apache.beehive.test.tools.tch.scm.ExtendedSourceControlManager;
+import org.apache.beehive.test.tools.tch.scm.Logger;
+import org.apache.beehive.test.tools.tch.scm.SCMOperationException;
+import org.apache.beehive.test.tools.tch.scm.SourceControlManager;
+import org.apache.beehive.test.tools.tch.scm.SourceControlManagerFactory;
+
+/**
+ * Instantiate using SourceControlManagerFactory only.
+ * 
+ * Created on Mar 7, 2004
+ */
+public class SourceControlManagerImpl implements ExtendedSourceControlManager
+{
+  private static final String P4_EDIT_COMMAND = "p4 edit ";
+  
+  private Logger logger = null;
+	
+  public void checkout(File f) throws SCMOperationException
+  {
+    checkout(new File[]{f});   	
+  }
+
+  public void checkout(File[] files) throws SCMOperationException
+  {
+  	StringBuffer sb = new StringBuffer(P4_EDIT_COMMAND);
+  	for (int i = 0; i < files.length; i++)
+  	{
+  	  try
+  	  {
+  	    sb.append(files[i].getCanonicalPath());
+  	  } catch (IOException ex)
+  	  {
+  	    throw new SCMOperationException(ex);
+  	  }
+  	  if (i < (files.length - 1))
+  	    sb.append(" ");
+  	}
+  	
+  	//logger.log("p4 command: " + sb.toString(), this.getClass());
+    CommandLineRunner runner = new CommandLineRunner(sb.toString());
+    runner.run();
+    logger.log(runner.getProcessOutput(), this.getClass());
+  }
+
+  public void setLogger(Logger in) 
+  {
+    logger = in;
+  }
+  
+  public static void main(String args[]) throws SCMOperationException
+  {
+  }
+  
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/scm/perforce/SourceControlManagerImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/AbstractTask.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/AbstractTask.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/AbstractTask.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/AbstractTask.java Fri Aug 12 08:12:28 2005
@@ -1,60 +1,60 @@
-package org.apache.beehive.test.tools.tch.task;
-
-/**
- * Deals with the more mundane aspects of being a Task. 
- *  
- */
-public abstract class AbstractTask 
-  implements Task
-{
-
-  // ============================================================
-  // Variables
-
-  private String mName = null;
-
-  // ============================================================
-  // Constructors
-
-  protected AbstractTask()
-  {
-    this("Unnamed");
-  }
-
-  protected AbstractTask(String inName) 
-  {
-    mName = inName.trim();
-  }
-  
-  // ============================================================
-  // Partial Task implementation
-
-  public String getName() 
-  {
-    return (mName == null) ? this.toString() : mName;
-  }
-
-  public void run() 
-  {
-    try {
-      runtask(new BasicTaskContext());
-    } catch (TaskException ex) 
-    {
-      throw new TaskRuntimeException(ex);
-    }
-  }
-  
-  // ============================================================
-  // Cloneable implementation
-
-  public Object clone() throws java.lang.CloneNotSupportedException {
-    try {
-      return super.clone();
-    } catch(CloneNotSupportedException cnse) {
-      return null;
-    }
-  }
-}
-
-
-
+package org.apache.beehive.test.tools.tch.task;
+
+/**
+ * Deals with the more mundane aspects of being a Task. 
+ *  
+ */
+public abstract class AbstractTask 
+  implements Task
+{
+
+  // ============================================================
+  // Variables
+
+  private String mName = null;
+
+  // ============================================================
+  // Constructors
+
+  protected AbstractTask()
+  {
+    this("Unnamed");
+  }
+
+  protected AbstractTask(String inName) 
+  {
+    mName = inName.trim();
+  }
+  
+  // ============================================================
+  // Partial Task implementation
+
+  public String getName() 
+  {
+    return (mName == null) ? this.toString() : mName;
+  }
+
+  public void run() 
+  {
+    try {
+      runtask(new BasicTaskContext());
+    } catch (TaskException ex) 
+    {
+      throw new TaskRuntimeException(ex);
+    }
+  }
+  
+  // ============================================================
+  // Cloneable implementation
+
+  public Object clone() throws java.lang.CloneNotSupportedException {
+    try {
+      return super.clone();
+    } catch(CloneNotSupportedException cnse) {
+      return null;
+    }
+  }
+}
+
+
+

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/AbstractTask.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/BasicTaskContext.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/BasicTaskContext.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/BasicTaskContext.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/BasicTaskContext.java Fri Aug 12 08:12:28 2005
@@ -1,78 +1,78 @@
-package org.apache.beehive.test.tools.tch.task;
-
-import java.io.Serializable;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Common implementation of TaskContext.
- *
- */
-
-public class BasicTaskContext 
-implements TaskContext 
-{
-  // ============================================================
-  // Variables
-
-  // we maintain two HashMaps, one for objects which should be passed around
-  // to different VMs and another for those which should not.  note, however, 
-  // that these function as a single table, as any key added to one is removed
-  // from another, and gets look in both tables.
-  private Map mTable;
-  private transient Map mTransientTable = null;
-  
-  // ============================================================
-  // Constructors
-
-  public BasicTaskContext() {
-    mTable = new HashMap();
-  }
-  
-  // ============================================================
-  // Public methods
-
-  public String toString() {
-    return mTable.toString();
-  }
-
-  // ============================================================
-  // TaskContext implementation
-
-  public void put(Serializable inKey, Serializable inValue) {
-    getTransients().remove(inKey);
-    mTable.put(inKey,inValue);
-  }
-
-  public void putTransient(Object inKey, Object inValue) {
-    mTable.remove(inKey);
-    getTransients().put(inKey,inValue);
-  }
-
-  public Object get(Object inKey) {
-    Object ret = mTable.get(inKey);
-    if (ret != null) {
-      return ret;
-    } else {
-      return getTransients().get(inKey);
-    }
-  }
-
-  public void setNonTransients(HashMap inTable) {
-    mTable = inTable;
-  }
-
-  public Map getNonTransients() {
-    return mTable;
-  }
-
-  // ============================================================
-  // Private methods
-
-  private Map getTransients() {
-    if (mTransientTable == null) {
-      mTransientTable = new HashMap();
-    }
-    return mTransientTable;
-  }
-}
+package org.apache.beehive.test.tools.tch.task;
+
+import java.io.Serializable;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Common implementation of TaskContext.
+ *
+ */
+
+public class BasicTaskContext 
+implements TaskContext 
+{
+  // ============================================================
+  // Variables
+
+  // we maintain two HashMaps, one for objects which should be passed around
+  // to different VMs and another for those which should not.  note, however, 
+  // that these function as a single table, as any key added to one is removed
+  // from another, and gets look in both tables.
+  private Map mTable;
+  private transient Map mTransientTable = null;
+  
+  // ============================================================
+  // Constructors
+
+  public BasicTaskContext() {
+    mTable = new HashMap();
+  }
+  
+  // ============================================================
+  // Public methods
+
+  public String toString() {
+    return mTable.toString();
+  }
+
+  // ============================================================
+  // TaskContext implementation
+
+  public void put(Serializable inKey, Serializable inValue) {
+    getTransients().remove(inKey);
+    mTable.put(inKey,inValue);
+  }
+
+  public void putTransient(Object inKey, Object inValue) {
+    mTable.remove(inKey);
+    getTransients().put(inKey,inValue);
+  }
+
+  public Object get(Object inKey) {
+    Object ret = mTable.get(inKey);
+    if (ret != null) {
+      return ret;
+    } else {
+      return getTransients().get(inKey);
+    }
+  }
+
+  public void setNonTransients(HashMap inTable) {
+    mTable = inTable;
+  }
+
+  public Map getNonTransients() {
+    return mTable;
+  }
+
+  // ============================================================
+  // Private methods
+
+  private Map getTransients() {
+    if (mTransientTable == null) {
+      mTransientTable = new HashMap();
+    }
+    return mTransientTable;
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/BasicTaskContext.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/ExampleTask.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/ExampleTask.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/ExampleTask.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/ExampleTask.java Fri Aug 12 08:12:28 2005
@@ -1,25 +1,25 @@
-package org.apache.beehive.test.tools.tch.task;
-
-public class ExampleTask extends AbstractTask
-{
-  public static final String KEY_TO_SET_KEY = "key-to-set",
-    VALUE_TO_SET_KEY = "value-to-set";
-
-  public ExampleTask(String in)
-  {
-    super(in);
-  }
-
-  public TaskContext runtask(TaskContext inContext) throws TaskException
-  {
-    System.out.println("Hello from ExampleTask");
-    TaskContext returnContext = new BasicTaskContext();
-    returnContext.put("foo-key", "foo-value");
-    if (inContext.get(KEY_TO_SET_KEY) != null
-      && inContext.get(VALUE_TO_SET_KEY) != null)
-      returnContext.put(
-        (String)inContext.get(KEY_TO_SET_KEY),
-        (String)inContext.get(VALUE_TO_SET_KEY));
-    return returnContext;
-  }
-}
+package org.apache.beehive.test.tools.tch.task;
+
+public class ExampleTask extends AbstractTask
+{
+  public static final String KEY_TO_SET_KEY = "key-to-set",
+    VALUE_TO_SET_KEY = "value-to-set";
+
+  public ExampleTask(String in)
+  {
+    super(in);
+  }
+
+  public TaskContext runtask(TaskContext inContext) throws TaskException
+  {
+    System.out.println("Hello from ExampleTask");
+    TaskContext returnContext = new BasicTaskContext();
+    returnContext.put("foo-key", "foo-value");
+    if (inContext.get(KEY_TO_SET_KEY) != null
+      && inContext.get(VALUE_TO_SET_KEY) != null)
+      returnContext.put(
+        (String)inContext.get(KEY_TO_SET_KEY),
+        (String)inContext.get(VALUE_TO_SET_KEY));
+    return returnContext;
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/ExampleTask.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/MessageTask.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/MessageTask.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/MessageTask.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/MessageTask.java Fri Aug 12 08:12:28 2005
@@ -1,30 +1,30 @@
-package org.apache.beehive.test.tools.tch.task;
-
-public class MessageTask extends AbstractTask
-{
-  public static final String MESSAGE_KEY = "message-key",
-    STDERR_ENABLED_KEY = "stderr-enabled";
-
-  public MessageTask(String in)
-  {
-    super(in);
-  }
-
-  /**
-   * Write message to stdout, and maybe to stderr if enabled. 
-   * Flush streams just in case.
-   */
-  public TaskContext runtask(TaskContext inContext) throws TaskException
-  {
-    System.out.println(inContext.get(MESSAGE_KEY));
-    System.out.flush();
-
-    if ("true"
-      .equalsIgnoreCase(String.valueOf(inContext.get(STDERR_ENABLED_KEY))))
-    {
-      System.err.println(inContext.get(MESSAGE_KEY));
-      System.err.flush();
-    }
-    return inContext;
-  }
-}
+package org.apache.beehive.test.tools.tch.task;
+
+public class MessageTask extends AbstractTask
+{
+  public static final String MESSAGE_KEY = "message-key",
+    STDERR_ENABLED_KEY = "stderr-enabled";
+
+  public MessageTask(String in)
+  {
+    super(in);
+  }
+
+  /**
+   * Write message to stdout, and maybe to stderr if enabled. 
+   * Flush streams just in case.
+   */
+  public TaskContext runtask(TaskContext inContext) throws TaskException
+  {
+    System.out.println(inContext.get(MESSAGE_KEY));
+    System.out.flush();
+
+    if ("true"
+      .equalsIgnoreCase(String.valueOf(inContext.get(STDERR_ENABLED_KEY))))
+    {
+      System.err.println(inContext.get(MESSAGE_KEY));
+      System.err.flush();
+    }
+    return inContext;
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/MessageTask.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/RemoteTaskRunner.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/RemoteTaskRunner.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/RemoteTaskRunner.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/RemoteTaskRunner.java Fri Aug 12 08:12:28 2005
@@ -1,21 +1,21 @@
-package org.apache.beehive.test.tools.tch.task;
-
-import java.rmi.Remote;
-import java.rmi.RemoteException;
-
-/**
- * Interface for remote objects which can perform Tasks.
- *  
- */
-
-public interface RemoteTaskRunner 
-  extends Remote
-{
-  public TaskContext runTask(Task inTask) 
-    throws TaskException, RemoteException;
-  public TaskContext runTask(Task inTask, TaskContext inContext)
-    throws TaskException, RemoteException;
-}
-
-
-    
+package org.apache.beehive.test.tools.tch.task;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ * Interface for remote objects which can perform Tasks.
+ *  
+ */
+
+public interface RemoteTaskRunner 
+  extends Remote
+{
+  public TaskContext runTask(Task inTask) 
+    throws TaskException, RemoteException;
+  public TaskContext runTask(Task inTask, TaskContext inContext)
+    throws TaskException, RemoteException;
+}
+
+
+    

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/RemoteTaskRunner.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/Task.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/Task.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/Task.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/Task.java Fri Aug 12 08:12:28 2005
@@ -1,18 +1,18 @@
-package org.apache.beehive.test.tools.tch.task;
-
-import java.io.Serializable;
-
-/**
- * Interface for objects which describe some action to be performed.  
- * Tasks can be serialized and run by any object which implements TaskRunner.  
- * This mechanism is very useful for constructing and coordinating activities 
- * on multiple processes from a central location.
- *  
- */
-
-public interface Task extends Serializable, Cloneable, Runnable
-{
-  public String getName();
-  public TaskContext runtask(TaskContext inContext) throws TaskException;
-  public Object clone() throws CloneNotSupportedException;
-}
+package org.apache.beehive.test.tools.tch.task;
+
+import java.io.Serializable;
+
+/**
+ * Interface for objects which describe some action to be performed.  
+ * Tasks can be serialized and run by any object which implements TaskRunner.  
+ * This mechanism is very useful for constructing and coordinating activities 
+ * on multiple processes from a central location.
+ *  
+ */
+
+public interface Task extends Serializable, Cloneable, Runnable
+{
+  public String getName();
+  public TaskContext runtask(TaskContext inContext) throws TaskException;
+  public Object clone() throws CloneNotSupportedException;
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/Task.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskContext.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskContext.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskContext.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskContext.java Fri Aug 12 08:12:28 2005
@@ -1,41 +1,41 @@
-package org.apache.beehive.test.tools.tch.task;
-
-import java.io.Serializable;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Mechanism by which tasks can receive parameters and store results.
- *  
- */
-
-public interface TaskContext 
-  extends Serializable 
-{
-  /**
-   * Puts an object into the context that will be serialized out to other VMs
-   * along with TaskContext if necessary.
-   */
-  public void put(Serializable inKey, Serializable inValue);
-
-
-  /**
-   * Puts a transient object into the context - it will not be sent on to 
-   * other VMs.
-   */
-  public void putTransient(Object inKey, Object inValue);
-
-
-  /**
-   * Gets an named object out of the context.
-   */
-  public Object get(Object inKey);
-
-  public void setNonTransients(HashMap inTable);
-
-  public Map getNonTransients();
-}
-
-
-
-
+package org.apache.beehive.test.tools.tch.task;
+
+import java.io.Serializable;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Mechanism by which tasks can receive parameters and store results.
+ *  
+ */
+
+public interface TaskContext 
+  extends Serializable 
+{
+  /**
+   * Puts an object into the context that will be serialized out to other VMs
+   * along with TaskContext if necessary.
+   */
+  public void put(Serializable inKey, Serializable inValue);
+
+
+  /**
+   * Puts a transient object into the context - it will not be sent on to 
+   * other VMs.
+   */
+  public void putTransient(Object inKey, Object inValue);
+
+
+  /**
+   * Gets an named object out of the context.
+   */
+  public Object get(Object inKey);
+
+  public void setNonTransients(HashMap inTable);
+
+  public Map getNonTransients();
+}
+
+
+
+

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskContext.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskException.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskException.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskException.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskException.java Fri Aug 12 08:12:28 2005
@@ -1,22 +1,22 @@
-package org.apache.beehive.test.tools.tch.task;
-
-import org.apache.beehive.test.tools.tch.util.NestedException;
-
-public class TaskException
-  extends NestedException
-{
-  public TaskException(String message)
-  {
-    super(message);
-  }
-
-  public TaskException(Exception ex)
-  {
-    super(ex);
-  }
-
-  public TaskException(Exception ex, String message)
-  {
-    super(ex, message);
-  }
-}
+package org.apache.beehive.test.tools.tch.task;
+
+import org.apache.beehive.test.tools.tch.util.NestedException;
+
+public class TaskException
+  extends NestedException
+{
+  public TaskException(String message)
+  {
+    super(message);
+  }
+
+  public TaskException(Exception ex)
+  {
+    super(ex);
+  }
+
+  public TaskException(Exception ex, String message)
+  {
+    super(ex, message);
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskRunner.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskRunner.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskRunner.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskRunner.java Fri Aug 12 08:12:28 2005
@@ -1,17 +1,17 @@
-package org.apache.beehive.test.tools.tch.task;
-
-/**
- * Interface for objects which can perform Tasks.
- *  
- */
-
-public interface TaskRunner 
-{
-  public TaskContext runTask(Task inTask) 
-    throws TaskException;
-  public TaskContext runTask(Task inTask, TaskContext inContext)
-    throws TaskException;
-}
-
-
-    
+package org.apache.beehive.test.tools.tch.task;
+
+/**
+ * Interface for objects which can perform Tasks.
+ *  
+ */
+
+public interface TaskRunner 
+{
+  public TaskContext runTask(Task inTask) 
+    throws TaskException;
+  public TaskContext runTask(Task inTask, TaskContext inContext)
+    throws TaskException;
+}
+
+
+    

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskRunner.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskRuntimeException.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskRuntimeException.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskRuntimeException.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskRuntimeException.java Fri Aug 12 08:12:28 2005
@@ -1,22 +1,22 @@
-package org.apache.beehive.test.tools.tch.task;
-
-import org.apache.beehive.test.tools.tch.util.NestedRuntimeException;
-
-public class TaskRuntimeException
-  extends NestedRuntimeException
-{
-  public TaskRuntimeException(String message)
-  {
-    super(message);
-  }
-
-  public TaskRuntimeException(Exception ex)
-  {
-    super(ex);
-  }
-
-  public TaskRuntimeException(Exception ex, String message)
-  {
-    super(ex, message);
-  }
-}
+package org.apache.beehive.test.tools.tch.task;
+
+import org.apache.beehive.test.tools.tch.util.NestedRuntimeException;
+
+public class TaskRuntimeException
+  extends NestedRuntimeException
+{
+  public TaskRuntimeException(String message)
+  {
+    super(message);
+  }
+
+  public TaskRuntimeException(Exception ex)
+  {
+    super(ex);
+  }
+
+  public TaskRuntimeException(Exception ex, String message)
+  {
+    super(ex, message);
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskRuntimeException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskTransportException.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskTransportException.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskTransportException.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskTransportException.java Fri Aug 12 08:12:28 2005
@@ -1,22 +1,22 @@
-package org.apache.beehive.test.tools.tch.task;
-
-import org.apache.beehive.test.tools.tch.util.NestedException;
-
-public class TaskTransportException
-  extends NestedException
-{
-  public TaskTransportException(String message)
-  {
-    super(message);
-  }
-
-  public TaskTransportException(Throwable ex)
-  {
-    super(ex);
-  }
-
-  public TaskTransportException(Throwable ex, String message)
-  {
-    super(ex, message);
-  }
-}
+package org.apache.beehive.test.tools.tch.task;
+
+import org.apache.beehive.test.tools.tch.util.NestedException;
+
+public class TaskTransportException
+  extends NestedException
+{
+  public TaskTransportException(String message)
+  {
+    super(message);
+  }
+
+  public TaskTransportException(Throwable ex)
+  {
+    super(ex);
+  }
+
+  public TaskTransportException(Throwable ex, String message)
+  {
+    super(ex, message);
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/task/TaskTransportException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/AbortTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/AbortTest.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/AbortTest.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/AbortTest.java Fri Aug 12 08:12:28 2005
@@ -1,38 +1,38 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-
-public class AbortTest extends AutoTest
-{
-
-  public AbortTest(TestContext tc)
-  {
-    super(tc);
-  }
-
-  public boolean testFoo()
-  {
-    System.out.println("Running testFoo");
-    return success("Succeeded.");
-  }
-
-  public boolean testFooSleep()
-    throws InterruptedException
-  {
-    System.out.println("Running testFooSleep");
-    int time = getTestContext().getParameters().getInt("tch.test-timeout-seconds", 10);
-    Thread.sleep((time+1)*1000); //Make this timeout
-    return abort(
-      "Aborted",
-      new Exception("Wanted to abort for test purposes."));
-  }
-
-  public boolean testFooAbort()
-  {
-    System.out.println("Running testFooAbort");
-    return abort(
-      "Aborted",
-      new Exception("Wanted to abort for test purposes."));
-  }
-}
+package org.apache.beehive.test.tools.tch.test;
+
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+
+public class AbortTest extends AutoTest
+{
+
+  public AbortTest(TestContext tc)
+  {
+    super(tc);
+  }
+
+  public boolean testFoo()
+  {
+    System.out.println("Running testFoo");
+    return success("Succeeded.");
+  }
+
+  public boolean testFooSleep()
+    throws InterruptedException
+  {
+    System.out.println("Running testFooSleep");
+    int time = getTestContext().getParameters().getInt("tch.test-timeout-seconds", 10);
+    Thread.sleep((time+1)*1000); //Make this timeout
+    return abort(
+      "Aborted",
+      new Exception("Wanted to abort for test purposes."));
+  }
+
+  public boolean testFooAbort()
+  {
+    System.out.println("Running testFooAbort");
+    return abort(
+      "Aborted",
+      new Exception("Wanted to abort for test purposes."));
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/AbortTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/CheckPropTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/CheckPropTest.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/CheckPropTest.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/CheckPropTest.java Fri Aug 12 08:12:28 2005
@@ -1,23 +1,23 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-
-public class CheckPropTest
-  extends AutoTest 
-{
-  
-  public CheckPropTest(TestContext tc) 
-  {
-    super(tc);
-  } 
-
-  public boolean testCheckProp() 
-  {
-    System.out.println("CheckPropTest is running");
-    String propName = getTestContext().getParameters().getString("prop-name");
-    if (System.getProperty(propName) != null)
-      return success(propName + " is set");
-    return failure(propName + " not set");
-  }
-}
+package org.apache.beehive.test.tools.tch.test;
+
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+
+public class CheckPropTest
+  extends AutoTest 
+{
+  
+  public CheckPropTest(TestContext tc) 
+  {
+    super(tc);
+  } 
+
+  public boolean testCheckProp() 
+  {
+    System.out.println("CheckPropTest is running");
+    String propName = getTestContext().getParameters().getString("prop-name");
+    if (System.getProperty(propName) != null)
+      return success(propName + " is set");
+    return failure(propName + " not set");
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/CheckPropTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/DebugLevelTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/DebugLevelTest.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/DebugLevelTest.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/DebugLevelTest.java Fri Aug 12 08:12:28 2005
@@ -1,30 +1,30 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-
-public class DebugLevelTest
-  extends AutoTest {
-  
-  public DebugLevelTest(TestContext tc) {
-    super(tc);
-  } 
-
-  public boolean testDebugLevel() {
-    System.out.println("foo1");   
-    inform("Will test the debug levels");
-    debugMostVisible("This is a most debug (1) level");
-    debugHalfVisible("This is a half debug (2) level");
-    debugLeastVisible("This is a least debug (3) level");
-    debug(1, "This is level 1");
-    debug(2, "This is level 2");
-    debug(3, "This is level 3");
-    // 0 is invalid, but will still print, but with a warning
-    inform("The following are invalid, but should still print with a warning.");
-    debug(0, "This is level 0");
-    debug(4, "This is level 4");
-    debug(-100, "This is level -100");
-    debug(100, "This is level 100");
-    return success("Debug level test done.");
-  }
-}
+package org.apache.beehive.test.tools.tch.test;
+
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+
+public class DebugLevelTest
+  extends AutoTest {
+  
+  public DebugLevelTest(TestContext tc) {
+    super(tc);
+  } 
+
+  public boolean testDebugLevel() {
+    System.out.println("foo1");   
+    inform("Will test the debug levels");
+    debugMostVisible("This is a most debug (1) level");
+    debugHalfVisible("This is a half debug (2) level");
+    debugLeastVisible("This is a least debug (3) level");
+    debug(1, "This is level 1");
+    debug(2, "This is level 2");
+    debug(3, "This is level 3");
+    // 0 is invalid, but will still print, but with a warning
+    inform("The following are invalid, but should still print with a warning.");
+    debug(0, "This is level 0");
+    debug(4, "This is level 4");
+    debug(-100, "This is level -100");
+    debug(100, "This is level 100");
+    return success("Debug level test done.");
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/DebugLevelTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/DurationTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/DurationTest.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/DurationTest.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/DurationTest.java Fri Aug 12 08:12:28 2005
@@ -1,44 +1,44 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-
-public class DurationTest
-  extends AutoTest 
-{
-  
-  public DurationTest(TestContext tc) 
-  {
-    super(tc);
-  } 
-
-  public boolean test2Seconds() 
-    throws Exception
-  {
-    Thread.sleep(2000);
-    return success("");
-  }
-
-  public boolean test3Seconds() 
-    throws Exception
-  {
-    require("5Seconds");
-    Thread.sleep(3000);
-    return success("");
-  }
-
-  public boolean test4Seconds() 
-    throws Exception
-  {
-    Thread.sleep(4000);
-    return success("");
-  }
-
-  public boolean test5Seconds() 
-    throws Exception
-  {
-    require("4Seconds");
-    Thread.sleep(5000);
-    return success("");
-  }
-}
+package org.apache.beehive.test.tools.tch.test;
+
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+
+public class DurationTest
+  extends AutoTest 
+{
+  
+  public DurationTest(TestContext tc) 
+  {
+    super(tc);
+  } 
+
+  public boolean test2Seconds() 
+    throws Exception
+  {
+    Thread.sleep(2000);
+    return success("");
+  }
+
+  public boolean test3Seconds() 
+    throws Exception
+  {
+    require("5Seconds");
+    Thread.sleep(3000);
+    return success("");
+  }
+
+  public boolean test4Seconds() 
+    throws Exception
+  {
+    Thread.sleep(4000);
+    return success("");
+  }
+
+  public boolean test5Seconds() 
+    throws Exception
+  {
+    require("4Seconds");
+    Thread.sleep(5000);
+    return success("");
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/DurationTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ErrorNameTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ErrorNameTest.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ErrorNameTest.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ErrorNameTest.java Fri Aug 12 08:12:28 2005
@@ -1,31 +1,31 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-
-public class ErrorNameTest extends AutoTest
-{
-  public ErrorNameTest(TestContext tc)
-  {
-    super(tc);
-  }
-
-  public boolean testWithPassedErrorName()
-  {
-    setErrorName(
-      getTestContext().getParameters().getString(
-        "error-name",
-        "default-error-name"));
-    return failure("Should see error name", new Throwable());
-  }
-
-  public boolean testWithExceptionErrorName()
-  {
-    return failure("Should see throwable as error name", new Throwable());
-  }
-
-  public boolean testWithoutErrorName()
-  {
-    return failure("Should see no error name");
-  }
-}
+package org.apache.beehive.test.tools.tch.test;
+
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+
+public class ErrorNameTest extends AutoTest
+{
+  public ErrorNameTest(TestContext tc)
+  {
+    super(tc);
+  }
+
+  public boolean testWithPassedErrorName()
+  {
+    setErrorName(
+      getTestContext().getParameters().getString(
+        "error-name",
+        "default-error-name"));
+    return failure("Should see error name", new Throwable());
+  }
+
+  public boolean testWithExceptionErrorName()
+  {
+    return failure("Should see throwable as error name", new Throwable());
+  }
+
+  public boolean testWithoutErrorName()
+  {
+    return failure("Should see no error name");
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ErrorNameTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ExceptionTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ExceptionTest.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ExceptionTest.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ExceptionTest.java Fri Aug 12 08:12:28 2005
@@ -1,37 +1,37 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-
-public class ExceptionTest
-  extends AutoTest {
-  
-  public ExceptionTest(TestContext tc) {
-    super(tc);
-    throw new RuntimeException("FOOF");
-  } 
-  
-  public boolean testEchoProcessEngine()
-  {
-  	inform("Process engine is: " + getTestContext().getProcessEngine());
-  	return success("");
-  }
-
-  public boolean testRuntimeException() {
-  	System.out.println("TEST_RUNTIME EXCEPTION");
-    Object o = null;
-    o.toString();
-    return success("threw runtime exception, so you will never see this");
-  }
-
-  public boolean testException() 
-    throws FileNotFoundException {
-	System.out.println("TEST EXCEPTION");
-    new FileInputStream(new File("blah"));
-    return success("blah does not exist, so you will never see this either");
-  }
-}
+package org.apache.beehive.test.tools.tch.test;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+
+public class ExceptionTest
+  extends AutoTest {
+  
+  public ExceptionTest(TestContext tc) {
+    super(tc);
+    throw new RuntimeException("FOOF");
+  } 
+  
+  public boolean testEchoProcessEngine()
+  {
+  	inform("Process engine is: " + getTestContext().getProcessEngine());
+  	return success("");
+  }
+
+  public boolean testRuntimeException() {
+  	System.out.println("TEST_RUNTIME EXCEPTION");
+    Object o = null;
+    o.toString();
+    return success("threw runtime exception, so you will never see this");
+  }
+
+  public boolean testException() 
+    throws FileNotFoundException {
+	System.out.println("TEST EXCEPTION");
+    new FileInputStream(new File("blah"));
+    return success("blah does not exist, so you will never see this either");
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ExceptionTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ExecProcessTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ExecProcessTest.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ExecProcessTest.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ExecProcessTest.java Fri Aug 12 08:12:28 2005
@@ -1,44 +1,44 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-import org.apache.beehive.test.tools.tch.core.process.ProcessHandler;
-import org.apache.beehive.test.tools.tch.extension.process.exec.ExecProcessHandler;
-
-public class ExecProcessTest
-  extends AutoTest {
-  
-  public ExecProcessTest(TestContext tc) {
-    super(tc);
-  } 
-
-  public boolean testGetProcessOutput()
-    throws Exception
-  {
-    ProcessHandler ph = 
-      getTestContext().getProcessEngine().getProcessHandler("my-process");
-    inform("Process name is:  " + ph.getName());
-    inform("Cmd is: " + ((ExecProcessHandler)ph).getCmd());
-    inform("home is: " + ((ExecProcessHandler)ph).getHome());
-    ph.startup(); 
-    ((ExecProcessHandler)ph).waitForProcessExit();
-    inform("Process output is: " + ((ExecProcessHandler)ph).getProcessOutput());
-    return failure("failing test on purpose, process output should also go to .debug-all file");
-  }
-
-  public boolean testKillProcess()
-    throws Exception
-  {
-    ProcessHandler ph = 
-      getTestContext().getProcessEngine().getProcessHandler("sleep-process");
-    inform("Process name is:  " + ph.getName());
-    inform("Starting it...");
-    ph.startup();
-    inform("Should be up, sleeping for 5 seconds");
-    Thread.sleep(5000);
-    inform("Now shutting it down");
-    ph.shutdown();
-    return success("Was able to start process, wait, and shut it down");
-  }
-}
-
+package org.apache.beehive.test.tools.tch.test;
+
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+import org.apache.beehive.test.tools.tch.core.process.ProcessHandler;
+import org.apache.beehive.test.tools.tch.extension.process.exec.ExecProcessHandler;
+
+public class ExecProcessTest
+  extends AutoTest {
+  
+  public ExecProcessTest(TestContext tc) {
+    super(tc);
+  } 
+
+  public boolean testGetProcessOutput()
+    throws Exception
+  {
+    ProcessHandler ph = 
+      getTestContext().getProcessEngine().getProcessHandler("my-process");
+    inform("Process name is:  " + ph.getName());
+    inform("Cmd is: " + ((ExecProcessHandler)ph).getCmd());
+    inform("home is: " + ((ExecProcessHandler)ph).getHome());
+    ph.startup(); 
+    ((ExecProcessHandler)ph).waitForProcessExit();
+    inform("Process output is: " + ((ExecProcessHandler)ph).getProcessOutput());
+    return failure("failing test on purpose, process output should also go to .debug-all file");
+  }
+
+  public boolean testKillProcess()
+    throws Exception
+  {
+    ProcessHandler ph = 
+      getTestContext().getProcessEngine().getProcessHandler("sleep-process");
+    inform("Process name is:  " + ph.getName());
+    inform("Starting it...");
+    ph.startup();
+    inform("Should be up, sleeping for 5 seconds");
+    Thread.sleep(5000);
+    inform("Now shutting it down");
+    ph.shutdown();
+    return success("Was able to start process, wait, and shut it down");
+  }
+}
+

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ExecProcessTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/FailureTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/FailureTest.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/FailureTest.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/FailureTest.java Fri Aug 12 08:12:28 2005
@@ -1,18 +1,18 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-
-public class FailureTest
-  extends AutoTest {
-  
-  public FailureTest(TestContext tc) {
-    super(tc);
-  } 
-
-  public boolean testFailure() {
-    System.out.println("Running testFailure");
-    inform("p3 " + getTestContext().getParameters().getString("p3"));
-    return failure("Failed");
-  }
-}
+package org.apache.beehive.test.tools.tch.test;
+
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+
+public class FailureTest
+  extends AutoTest {
+  
+  public FailureTest(TestContext tc) {
+    super(tc);
+  } 
+
+  public boolean testFailure() {
+    System.out.println("Running testFailure");
+    inform("p3 " + getTestContext().getParameters().getString("p3"));
+    return failure("Failed");
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/FailureTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/InfiniteLoop.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/InfiniteLoop.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/InfiniteLoop.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/InfiniteLoop.java Fri Aug 12 08:12:28 2005
@@ -1,39 +1,39 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import org.apache.beehive.test.tools.tch.util.GeneralUtil;
-
-public class InfiniteLoop
-{
-  public static void main(String args[])
-    throws Exception
-  {
-    addShutdownHook();
-    String identifier = GeneralUtil.getValueFor(args, 
-                                                "-identifier",
-                                                "InfiniteLoop");
-    int counter = 0;
-    while(true)
-    {
-      System.out.println("[" + identifier + "] " + counter++);
-      Thread.sleep(1000);
-    }
-  }
-
-  private static void addShutdownHook()
-  {
-    System.out.println("Adding shutdown hook2");
-    Runtime.getRuntime().addShutdownHook(new Thread()
-    {
-      public void run()
-      {
-        try
-        {
-          System.out.println("======== SHUTDOWN HOOK RUNNING");
-          System.out.flush();
-          Thread.sleep(1000);
-        } catch (Exception ex){ex.printStackTrace();}
-      }
-    });
-  }
-}
-
+package org.apache.beehive.test.tools.tch.test;
+
+import org.apache.beehive.test.tools.tch.util.GeneralUtil;
+
+public class InfiniteLoop
+{
+  public static void main(String args[])
+    throws Exception
+  {
+    addShutdownHook();
+    String identifier = GeneralUtil.getValueFor(args, 
+                                                "-identifier",
+                                                "InfiniteLoop");
+    int counter = 0;
+    while(true)
+    {
+      System.out.println("[" + identifier + "] " + counter++);
+      Thread.sleep(1000);
+    }
+  }
+
+  private static void addShutdownHook()
+  {
+    System.out.println("Adding shutdown hook2");
+    Runtime.getRuntime().addShutdownHook(new Thread()
+    {
+      public void run()
+      {
+        try
+        {
+          System.out.println("======== SHUTDOWN HOOK RUNNING");
+          System.out.flush();
+          Thread.sleep(1000);
+        } catch (Exception ex){ex.printStackTrace();}
+      }
+    });
+  }
+}
+

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/InfiniteLoop.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/LockTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/LockTest.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/LockTest.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/LockTest.java Fri Aug 12 08:12:28 2005
@@ -1,31 +1,31 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-
-public class LockTest
-  extends AutoTest {
-  
-  public static final Object lock = new Object();
-
-  public LockTest(TestContext tc) {
-    super(tc);
-  } 
-
-  public boolean testLock() 
-  {
-    synchronized(lock)
-    {
-      try
-      {
-        int sleep = (int) (Math.random() * 10000);
-        inform("Going to sleep for " + sleep + " milli-seconds");
-        Thread.sleep(sleep);
-      } catch (InterruptedException ex)
-      {
-        ex.printStackTrace();
-      }
-      return success("Slept well");
-    }
-  }
-}
+package org.apache.beehive.test.tools.tch.test;
+
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+
+public class LockTest
+  extends AutoTest {
+  
+  public static final Object lock = new Object();
+
+  public LockTest(TestContext tc) {
+    super(tc);
+  } 
+
+  public boolean testLock() 
+  {
+    synchronized(lock)
+    {
+      try
+      {
+        int sleep = (int) (Math.random() * 10000);
+        inform("Going to sleep for " + sleep + " milli-seconds");
+        Thread.sleep(sleep);
+      } catch (InterruptedException ex)
+      {
+        ex.printStackTrace();
+      }
+      return success("Slept well");
+    }
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/LockTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ParameterTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ParameterTest.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ParameterTest.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ParameterTest.java Fri Aug 12 08:12:28 2005
@@ -1,18 +1,18 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-
-public class ParameterTest
-  extends AutoTest {
-  
-  public ParameterTest(TestContext tc) {
-    super(tc);
-  } 
-
-  public boolean testParams() 
-  {
-    System.out.println("Here are the available params:  "+tc.getParameters());
-    return success("This is lame.  Succeeded!!!");
-  }
-}
+package org.apache.beehive.test.tools.tch.test;
+
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+
+public class ParameterTest
+  extends AutoTest {
+  
+  public ParameterTest(TestContext tc) {
+    super(tc);
+  } 
+
+  public boolean testParams() 
+  {
+    System.out.println("Here are the available params:  "+tc.getParameters());
+    return success("This is lame.  Succeeded!!!");
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ParameterTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ParameterUsageTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ParameterUsageTest.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ParameterUsageTest.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ParameterUsageTest.java Fri Aug 12 08:12:28 2005
@@ -1,36 +1,36 @@
-/*
- * Created on Jul 18, 2003
- *
- * To change this generated comment go to 
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.apache.beehive.test.tools.tch.test;
-
-import java.util.Properties;
-
-import org.apache.beehive.test.tools.tch.compose.Parameters;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-;
-
-/**
- *
- * To change this generated comment go to 
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class ParameterUsageTest extends AutoTest
-{
-  public ParameterUsageTest(TestContext tc)
-  {
-    super(tc);
-  }
-
-  public boolean testParams()
-  {
-    Parameters params = tc.getParameters();
-    Properties props = params.getAll();
-
-    System.out.println("Here are the available params:  " + tc.getParameters());
-    return success("This is lame.  Succeeded!!!");
-  }
-}
+/*
+ * Created on Jul 18, 2003
+ *
+ * To change this generated comment go to 
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+package org.apache.beehive.test.tools.tch.test;
+
+import java.util.Properties;
+
+import org.apache.beehive.test.tools.tch.compose.Parameters;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+;
+
+/**
+ *
+ * To change this generated comment go to 
+ * Window>Preferences>Java>Code Generation>Code and Comments
+ */
+public class ParameterUsageTest extends AutoTest
+{
+  public ParameterUsageTest(TestContext tc)
+  {
+    super(tc);
+  }
+
+  public boolean testParams()
+  {
+    Parameters params = tc.getParameters();
+    Properties props = params.getAll();
+
+    System.out.println("Here are the available params:  " + tc.getParameters());
+    return success("This is lame.  Succeeded!!!");
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ParameterUsageTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ProcessStateTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ProcessStateTest.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ProcessStateTest.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ProcessStateTest.java Fri Aug 12 08:12:28 2005
@@ -1,37 +1,37 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-import org.apache.beehive.test.tools.tch.core.process.test.TestProcessHandler;
-
-public class ProcessStateTest
-  extends AutoTest {
-
-  private String processName = "my-process";
-
-  public ProcessStateTest(TestContext tc) {
-    super(tc);
-    processName = getTestContext().getParameters().getString("process-name", 
-                                                             processName);
-    inform("process-name param is: " + processName);
-  } 
-
-  public boolean testDummy()
-    throws Exception
-  {
-    System.out.println("Inside ProcessTest.testDummy");
-    TestProcessHandler ph = (TestProcessHandler)
-      getTestContext().getProcessEngine().getProcessHandler(processName);
-    if (!ph.isAlive())
-    {
-      inform("Staring " + ph.getName());
-      ph.ensureAlive();
-    }
-    else
-    {
-      inform(ph.getName() + " is already up");
-    }
-    return success("Completed as expected");
-  }
-}
-
+package org.apache.beehive.test.tools.tch.test;
+
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+import org.apache.beehive.test.tools.tch.core.process.test.TestProcessHandler;
+
+public class ProcessStateTest
+  extends AutoTest {
+
+  private String processName = "my-process";
+
+  public ProcessStateTest(TestContext tc) {
+    super(tc);
+    processName = getTestContext().getParameters().getString("process-name", 
+                                                             processName);
+    inform("process-name param is: " + processName);
+  } 
+
+  public boolean testDummy()
+    throws Exception
+  {
+    System.out.println("Inside ProcessTest.testDummy");
+    TestProcessHandler ph = (TestProcessHandler)
+      getTestContext().getProcessEngine().getProcessHandler(processName);
+    if (!ph.isAlive())
+    {
+      inform("Staring " + ph.getName());
+      ph.ensureAlive();
+    }
+    else
+    {
+      inform(ph.getName() + " is already up");
+    }
+    return success("Completed as expected");
+  }
+}
+

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ProcessStateTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ProcessTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ProcessTest.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ProcessTest.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ProcessTest.java Fri Aug 12 08:12:28 2005
@@ -1,48 +1,48 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-import org.apache.beehive.test.tools.tch.core.process.ProcessHandler;
-
-public class ProcessTest
-  extends AutoTest {
-  
-  public ProcessTest(TestContext tc) 
-  {
-    super(tc);
-  } 
-
-  public boolean testInformProcessName()
-    throws Exception
-  {
-    System.out.println("Inside ProcessTest.testDummy");
-    String processName = 
-      getTestContext().getParameters().getString("process-name");
-    inform("Trying to get process handler with name: " + processName);
-    ProcessHandler ph = 
-      getTestContext().getProcessEngine().getProcessHandler(processName);
-    inform("Process name is:  " + ph.getName());
-    //ph.startup(); 
-    return success("Completed as expected");
-  }
-
-  public boolean testInformDefaultProcess()
-    throws Exception
-  {
-    //This one uses the default process
-    inform("Trying to get default process");
-    ProcessHandler ph = getTestContext().getProcessEngine().getProcessHandler();
-    inform("Process name is:  " + ph.getName());
-    //ph.startup(); 
-    return success("Completed as expected");
-  }
-  
-  public boolean testInformProcessEngine()
-    throws Exception
-    {
-      inform("Process Engine is");
-      inform(getTestContext().getProcessEngine().toString());
-      return success("");
-    }
-}
-
+package org.apache.beehive.test.tools.tch.test;
+
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+import org.apache.beehive.test.tools.tch.core.process.ProcessHandler;
+
+public class ProcessTest
+  extends AutoTest {
+  
+  public ProcessTest(TestContext tc) 
+  {
+    super(tc);
+  } 
+
+  public boolean testInformProcessName()
+    throws Exception
+  {
+    System.out.println("Inside ProcessTest.testDummy");
+    String processName = 
+      getTestContext().getParameters().getString("process-name");
+    inform("Trying to get process handler with name: " + processName);
+    ProcessHandler ph = 
+      getTestContext().getProcessEngine().getProcessHandler(processName);
+    inform("Process name is:  " + ph.getName());
+    //ph.startup(); 
+    return success("Completed as expected");
+  }
+
+  public boolean testInformDefaultProcess()
+    throws Exception
+  {
+    //This one uses the default process
+    inform("Trying to get default process");
+    ProcessHandler ph = getTestContext().getProcessEngine().getProcessHandler();
+    inform("Process name is:  " + ph.getName());
+    //ph.startup(); 
+    return success("Completed as expected");
+  }
+  
+  public boolean testInformProcessEngine()
+    throws Exception
+    {
+      inform("Process Engine is");
+      inform(getTestContext().getProcessEngine().toString());
+      return success("");
+    }
+}
+

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ProcessTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ProcessUtility.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ProcessUtility.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ProcessUtility.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ProcessUtility.java Fri Aug 12 08:12:28 2005
@@ -1,31 +1,31 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-
-public class ProcessUtility
-  extends AutoTest
-{
-
-  public ProcessUtility(TestContext tc)
-  {
-    super(tc);
-  }
-  
-  public boolean utilityFoo() 
-  {
-    System.out.println("Inside utility foo");
-    System.out.println("ProcessEngine is: " + getTestContext().getProcessEngine());
-    System.out.println("Getting parameter foo: " + getTestContext()
-                       .getParameters().getString("foo"));
-    return success("foofofofo");
-  }
-
-  public boolean utilityFooWithException() 
-  {
-    if (true)
-      throw new RuntimeException("");
-    return success("foofofofo");
-  }
-}
-
+package org.apache.beehive.test.tools.tch.test;
+
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+
+public class ProcessUtility
+  extends AutoTest
+{
+
+  public ProcessUtility(TestContext tc)
+  {
+    super(tc);
+  }
+  
+  public boolean utilityFoo() 
+  {
+    System.out.println("Inside utility foo");
+    System.out.println("ProcessEngine is: " + getTestContext().getProcessEngine());
+    System.out.println("Getting parameter foo: " + getTestContext()
+                       .getParameters().getString("foo"));
+    return success("foofofofo");
+  }
+
+  public boolean utilityFooWithException() 
+  {
+    if (true)
+      throw new RuntimeException("");
+    return success("foofofofo");
+  }
+}
+

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ProcessUtility.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/RandomTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/RandomTest.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/RandomTest.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/RandomTest.java Fri Aug 12 08:12:28 2005
@@ -1,31 +1,31 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import java.io.File;
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-
-public class RandomTest
-  extends AutoTest 
-{
-  
-  public RandomTest(TestContext tc) 
-  {
-    super(tc);
-  } 
-
-  public boolean testFile()
-  {
-    inform("abs is: " + new File("foo").getAbsolutePath());
-    return success("");
-  }
-
-  public boolean testDummy() {
-    inform("param1 is set to: " + 
-           getTestContext().getParameters().getString("param1", "default"));
-    System.out.println("System.out from testDummy");
-    if (Math.random() > 0.5) 
-      return success("Succeeded randomly");
-    else
-      return failure("Failed randomly");
-  }
-}
+package org.apache.beehive.test.tools.tch.test;
+
+import java.io.File;
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+
+public class RandomTest
+  extends AutoTest 
+{
+  
+  public RandomTest(TestContext tc) 
+  {
+    super(tc);
+  } 
+
+  public boolean testFile()
+  {
+    inform("abs is: " + new File("foo").getAbsolutePath());
+    return success("");
+  }
+
+  public boolean testDummy() {
+    inform("param1 is set to: " + 
+           getTestContext().getParameters().getString("param1", "default"));
+    System.out.println("System.out from testDummy");
+    if (Math.random() > 0.5) 
+      return success("Succeeded randomly");
+    else
+      return failure("Failed randomly");
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/RandomTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ScratchTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ScratchTest.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ScratchTest.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ScratchTest.java Fri Aug 12 08:12:28 2005
@@ -1,34 +1,34 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-
-public class ScratchTest
-  extends AutoTest 
-{  
-  public ScratchTest(TestContext tc) 
-  {
-    super(tc);
-    throw new RuntimeException("thrown out of constructor");
-  } 
-
-  public boolean testA() 
-  {
-    return success("will never be run");
-  }
-
-  public boolean testB() 
-  {
-    return success("will never be run");
-  }
-
-  public boolean testC() 
-  {
-    return success("will never be run");
-  }
-
-  public boolean testD() 
-  {
-    return success("will never be run");
-  }
-}
+package org.apache.beehive.test.tools.tch.test;
+
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+
+public class ScratchTest
+  extends AutoTest 
+{  
+  public ScratchTest(TestContext tc) 
+  {
+    super(tc);
+    throw new RuntimeException("thrown out of constructor");
+  } 
+
+  public boolean testA() 
+  {
+    return success("will never be run");
+  }
+
+  public boolean testB() 
+  {
+    return success("will never be run");
+  }
+
+  public boolean testC() 
+  {
+    return success("will never be run");
+  }
+
+  public boolean testD() 
+  {
+    return success("will never be run");
+  }
+}

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/ScratchTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/SendMessageTaskTest.java
URL: http://svn.apache.org/viewcvs/beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/SendMessageTaskTest.java?rev=232310&r1=232309&r2=232310&view=diff
==============================================================================
--- beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/SendMessageTaskTest.java (original)
+++ beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/SendMessageTaskTest.java Fri Aug 12 08:12:28 2005
@@ -1,39 +1,39 @@
-package org.apache.beehive.test.tools.tch.test;
-
-import org.apache.beehive.test.tools.tch.compose.AutoTest;
-import org.apache.beehive.test.tools.tch.compose.TestContext;
-import org.apache.beehive.test.tools.tch.core.process.ProcessHandler;
-import org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerProcessHandler;
-import org.apache.beehive.test.tools.tch.task.BasicTaskContext;
-import org.apache.beehive.test.tools.tch.task.MessageTask;
-import org.apache.beehive.test.tools.tch.task.RemoteTaskRunner;
-import org.apache.beehive.test.tools.tch.task.TaskContext;
-
-public class SendMessageTaskTest
-  extends AutoTest {
-  
-  public SendMessageTaskTest(TestContext tc) {
-    super(tc);
-  } 
-
-  public boolean testSendMessage()
-    throws Exception
-  {
-    ProcessHandler ph = 
-      getTestContext().getProcessEngine().getProcessHandler();
-    inform("Process name is:  " + ph.getName());
-    // start listener
-    ph.startup();
-    // get the task runner
-    RemoteTaskRunner runner = ((RemoteListenerProcessHandler)ph).lookup();
-    TaskContext context = new BasicTaskContext();
-    String message = 
-      getTestContext().getParameters().getString("message", "default-message");
-    context.put(MessageTask.MESSAGE_KEY, message);
-    // run the task
-    runner.runTask(new MessageTask("hello-world-task"), context);
-    // has to fail so we report process output
-    return failure("Sent message: " + message);
-  }
-}
-
+package org.apache.beehive.test.tools.tch.test;
+
+import org.apache.beehive.test.tools.tch.compose.AutoTest;
+import org.apache.beehive.test.tools.tch.compose.TestContext;
+import org.apache.beehive.test.tools.tch.core.process.ProcessHandler;
+import org.apache.beehive.test.tools.tch.extension.process.listener.RemoteListenerProcessHandler;
+import org.apache.beehive.test.tools.tch.task.BasicTaskContext;
+import org.apache.beehive.test.tools.tch.task.MessageTask;
+import org.apache.beehive.test.tools.tch.task.RemoteTaskRunner;
+import org.apache.beehive.test.tools.tch.task.TaskContext;
+
+public class SendMessageTaskTest
+  extends AutoTest {
+  
+  public SendMessageTaskTest(TestContext tc) {
+    super(tc);
+  } 
+
+  public boolean testSendMessage()
+    throws Exception
+  {
+    ProcessHandler ph = 
+      getTestContext().getProcessEngine().getProcessHandler();
+    inform("Process name is:  " + ph.getName());
+    // start listener
+    ph.startup();
+    // get the task runner
+    RemoteTaskRunner runner = ((RemoteListenerProcessHandler)ph).lookup();
+    TaskContext context = new BasicTaskContext();
+    String message = 
+      getTestContext().getParameters().getString("message", "default-message");
+    context.put(MessageTask.MESSAGE_KEY, message);
+    // run the task
+    runner.runTask(new MessageTask("hello-world-task"), context);
+    // has to fail so we report process output
+    return failure("Sent message: " + message);
+  }
+}
+

Propchange: beehive/trunk/controls/test/tools/tch/src/java/org/apache/beehive/test/tools/tch/test/SendMessageTaskTest.java
------------------------------------------------------------------------------
    svn:eol-style = native