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/test/com/panorama/startup/impl TestTaskExecutor.java
Date Mon, 04 Apr 2005 14:17:14 GMT
hlship      2005/04/04 07:17:14

  Modified:    framework/src/test/org/apache/hivemind/service/impl
                        TestInterfaceSynthesizer.java
               examples/src/test/com/panorama/startup/impl
                        TestTaskExecutor.java
  Log:
  Add an AbstractArgumentMatcher that allows ArgumentMatcher to be used as ArgumentsMatcher
(that is, comparing all arguments). <
  
  Revision  Changes    Path
  1.2       +1 -2      jakarta-hivemind/framework/src/test/org/apache/hivemind/service/impl/TestInterfaceSynthesizer.java
  
  Index: TestInterfaceSynthesizer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/framework/src/test/org/apache/hivemind/service/impl/TestInterfaceSynthesizer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestInterfaceSynthesizer.java	17 Feb 2005 19:46:44 -0000	1.1
  +++ TestInterfaceSynthesizer.java	4 Apr 2005 14:17:14 -0000	1.2
  @@ -17,7 +17,6 @@
   import org.apache.hivemind.service.ClassFactory;
   import org.apache.hivemind.service.InterfaceFab;
   import org.apache.hivemind.service.MethodSignature;
  -import org.apache.hivemind.test.AggregateArgumentsMatcher;
   import org.apache.hivemind.test.HiveMindTestCase;
   import org.apache.hivemind.test.TypeMatcher;
   import org.easymock.MockControl;
  @@ -33,7 +32,7 @@
           ClassFactory cf = (ClassFactory) control.getMock();
   
           cf.newInterface("UNKNOWN");
  -        control.setMatcher(new AggregateArgumentsMatcher(new TypeMatcher()));
  +        control.setMatcher(new TypeMatcher());
           control.setReturnValue(fab);
   
           return cf;
  
  
  
  1.11      +1 -1      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.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- TestTaskExecutor.java	11 Feb 2005 15:29:53 -0000	1.10
  +++ TestTaskExecutor.java	4 Apr 2005 14:17:14 -0000	1.11
  @@ -118,7 +118,7 @@
           log.info("Executing task Fixture #2.");
           log.info("Executing task Fixture #1.");
           log.info("Executed 2 tasks \\(in \\d+ milliseconds\\)\\.");
  -        logControl.setMatcher(new AggregateArgumentsMatcher(new RegexpMatcher()));
  +        logControl.setMatcher(new RegexpMatcher());
   
           replayControls();
   
  
  
  

---------------------------------------------------------------------
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