avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/util/src/test/org/apache/excalibur/util/test DelegateTestCase.java
Date Thu, 03 Oct 2002 15:13:57 GMT
bloritsch    2002/10/03 08:13:57

  Modified:    util/src/test/org/apache/excalibur/util/test
                        DelegateTestCase.java
  Log:
  fix the testcase
  
  Revision  Changes    Path
  1.6       +2 -2      jakarta-avalon-excalibur/util/src/test/org/apache/excalibur/util/test/DelegateTestCase.java
  
  Index: DelegateTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/util/src/test/org/apache/excalibur/util/test/DelegateTestCase.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DelegateTestCase.java	3 Oct 2002 15:05:54 -0000	1.5
  +++ DelegateTestCase.java	3 Oct 2002 15:13:56 -0000	1.6
  @@ -100,7 +100,7 @@
   
       public void testStaticDelegate()
       {
  -        EchoDelegate delegate = (EchoDelegate) Delegate.newStaticDelegate( getClass(),
"staticEcho", EchoDelegate.class );
  +        EchoDelegate delegate = (EchoDelegate) Delegate.newDelegate( getClass(), "staticEcho",
EchoDelegate.class );
   
           assertTrue( delegate.echo( MESSAGE ).startsWith( "static: " ) );
       }
  @@ -116,6 +116,6 @@
       {
           checkDelegate( (EchoDelegate) Delegate.newDelegate( this, "echo", EchoDelegate.class
) );
           checkDelegate( (EchoDelegate) Delegate.newDelegate( this, "otherEcho", EchoDelegate.class
) );
  -        checkDelegate( (EchoDelegate) Delegate.newStaticDelegate( getClass(), "staticEcho",
EchoDelegate.class ) );
  +        checkDelegate( (EchoDelegate) Delegate.newDelegate( getClass(), "staticEcho", EchoDelegate.class
) );
       }
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message