hivemind-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject cvs commit: jakarta-hivemind/examples/src/java/com/panorama Main.java
Date Sat, 24 Jul 2004 13:51:27 GMT
hlship      2004/07/24 06:51:27

  Modified:    examples/src/test/com/panorama/startup/impl
                        TestExecuteStatic.java ExecutableFixture.java
                        TestTaskExecutor.java
               examples/src/java/com/panorama/startup/impl
                        TaskExecutor.java Task.java
  Removed:     examples/src/java/com/panorama Main.java
  Log:
  Clean up JavaDoc in examples code.
  
  Revision  Changes    Path
  1.2       +5 -0      jakarta-hivemind/examples/src/test/com/panorama/startup/impl/TestExecuteStatic.java
  
  Index: TestExecuteStatic.java
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/examples/src/test/com/panorama/startup/impl/TestExecuteStatic.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestExecuteStatic.java	20 Jul 2004 17:22:53 -0000	1.1
  +++ TestExecuteStatic.java	24 Jul 2004 13:51:26 -0000	1.2
  @@ -16,6 +16,11 @@
   
   import junit.framework.TestCase;
   
  +/**
  + * Tests {@link TestExecuteStatic}.
  + *
  + * @author Howard Lewis Ship
  + */
   public class TestExecuteStatic extends TestCase
   {
       private static boolean _staticMethodInvoked;
  
  
  
  1.2       +9 -1      jakarta-hivemind/examples/src/test/com/panorama/startup/impl/ExecutableFixture.java
  
  Index: ExecutableFixture.java
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/examples/src/test/com/panorama/startup/impl/ExecutableFixture.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ExecutableFixture.java	20 Jul 2004 17:22:53 -0000	1.1
  +++ ExecutableFixture.java	24 Jul 2004 13:51:26 -0000	1.2
  @@ -16,7 +16,12 @@
   
   import com.panorama.startup.Executable;
   
  -
  +/**
  + * Used with the {@link com.panorama.startup.impl.TestTaskExecutor} test case,
  + * to ensure that executables are executed in the right order.
  + *
  + * @author Howard Lewis Ship
  + */
   public class ExecutableFixture implements Executable
   {
   	private String _token;
  @@ -26,6 +31,9 @@
   		_token = token;
   	}
   	
  +	/**
  +	 * Invokes {@link TestTaskExecutor#addToken(String)}.
  +	 */
       public void execute() throws Exception
       {
   		TestTaskExecutor.addToken(_token);
  
  
  
  1.3       +0 -2      jakarta-hivemind/examples/src/test/com/panorama/startup/impl/TestTaskExecutor.java
  
  Index: TestTaskExecutor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/examples/src/test/com/panorama/startup/impl/TestTaskExecutor.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestTaskExecutor.java	24 Jul 2004 13:41:53 -0000	1.2
  +++ TestTaskExecutor.java	24 Jul 2004 13:51:26 -0000	1.3
  @@ -24,12 +24,10 @@
   import org.apache.hivemind.ErrorHandler;
   import org.apache.hivemind.Messages;
   import org.apache.hivemind.Resource;
  -import org.apache.hivemind.impl.DefaultClassResolver;
   import org.apache.hivemind.impl.MessagesImpl;
   import org.apache.hivemind.test.ExceptionAwareArgumentsMatcher;
   import org.apache.hivemind.test.HiveMindTestCase;
   import org.apache.hivemind.test.RegexpArgumentsMatcher;
  -import org.apache.hivemind.util.ClasspathResource;
   import org.apache.hivemind.util.FileResource;
   import org.easymock.MockControl;
   
  
  
  
  1.2       +4 -0      jakarta-hivemind/examples/src/java/com/panorama/startup/impl/TaskExecutor.java
  
  Index: TaskExecutor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/examples/src/java/com/panorama/startup/impl/TaskExecutor.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TaskExecutor.java	20 Jul 2004 17:22:53 -0000	1.1
  +++ TaskExecutor.java	24 Jul 2004 13:51:27 -0000	1.2
  @@ -35,6 +35,10 @@
       private List _tasks;
       private Messages _messages;
   
  +	/**
  +	 * Orderes the {@link #setTasks(List) tasks} into an execution order, and executes
  +	 * each in turn.  Logs the elapsed time, number of tasks, and the number of failures (if
any).
  +	 */
       public void run()
       {
           Orderer orderer = new Orderer(_log, _errorHandler, task());
  
  
  
  1.2       +0 -1      jakarta-hivemind/examples/src/java/com/panorama/startup/impl/Task.java
  
  Index: Task.java
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/examples/src/java/com/panorama/startup/impl/Task.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Task.java	20 Jul 2004 17:22:53 -0000	1.1
  +++ Task.java	24 Jul 2004 13:51:27 -0000	1.2
  @@ -14,7 +14,6 @@
   
   package com.panorama.startup.impl;
   
  -import org.apache.hivemind.Orderable;
   import org.apache.hivemind.impl.BaseLocatable;
   
   import com.panorama.startup.Executable;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org


Mime
View raw message