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/framework/src/test/hivemind/test/services TestBuilderFactory.java
Date Tue, 09 Nov 2004 17:29:12 GMT
hlship      2004/11/09 09:29:12

  Modified:    framework/src/test/hivemind/test/services
                        TestBuilderFactory.java
  Log:
  Assert that BuilderFactory will log and error and return null if no matching constructor
can be found.
  
  Revision  Changes    Path
  1.20      +1 -1      jakarta-hivemind/framework/src/test/hivemind/test/services/TestBuilderFactory.java
  
  Index: TestBuilderFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/framework/src/test/hivemind/test/services/TestBuilderFactory.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- TestBuilderFactory.java	9 Nov 2004 11:24:29 -0000	1.19
  +++ TestBuilderFactory.java	9 Nov 2004 17:29:12 -0000	1.20
  @@ -578,7 +578,7 @@
           parameter.setClassName(ConstructorAutowireTarget.class.getName());
           parameter.setAutowireServices(true);
   
  -        ConstructorAutowireTarget service = (ConstructorAutowireTarget) execute(fp, parameter);
  +        assertNull(execute(fp, parameter));
   
           verifyControls();
       }
  
  
  

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