<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/mocklib/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/mocklib/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/mocklib/bugs/</id><updated>2009-02-13T14:15:18Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Simplify MockObjectFactory#injectMock to only one interface</title><link href="https://sourceforge.net/p/mocklib/bugs/4/" rel="alternate"/><published>2009-02-13T14:15:18Z</published><updated>2009-02-13T14:15:18Z</updated><author><name>Brian Freeman</name><uri>https://sourceforge.net/u/bittwidler/</uri></author><id>https://sourceforge.net9cf90755d152244e461f678f7446e30e11daa249</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The new method added to the MockObjectFactory in r3-1-1 allows the specification of multiple interface classes using the Java 1.5 ellipses capability:&lt;br /&gt;
injectMock(Object objToInjectTo, String fieldToInjectTo,&lt;br /&gt;
Class ... interfaceToMock)&lt;/p&gt;
&lt;p&gt;Want to remove the ellipses to just allow the specification of one interface class for two reasons:&lt;br /&gt;
1) After thinking about it for a minute, I couldn't think of a scenario where it would make sense to use this method with multiple interface classes anyway.  All cases it should just be implementing the single interface that the MockObject is being injected into.&lt;br /&gt;
2) This isn't very 1.4 friendly so using the method requires the use of one interface class to be wrapped with new Class[] {MyInterface.class}&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MockLib interface isn't very friendly to Java 1.4</title><link href="https://sourceforge.net/p/mocklib/bugs/3/" rel="alternate"/><published>2009-02-12T16:55:01Z</published><updated>2009-02-12T16:55:01Z</updated><author><name>Brian Freeman</name><uri>https://sourceforge.net/u/bittwidler/</uri></author><id>https://sourceforge.netb9a9f8463b170f5921816786b3cf84f9b11f3aa3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;While working on a project that is stuck in 1.4 land I ran into some issues.  Some of the interface methods make use of the new Java 5 ellipses feature.  For example, addReturnValue(String method, T... objects).&lt;br /&gt;
This works well in with Java 5 so you can pass one or more return values if you want to add a series of items.  However in Java 1.4 this is treated as an array and forces you to wrap even one item in an array.&lt;/p&gt;
&lt;p&gt;So, I'd like to add methods to handle the one item occurrence.&lt;/p&gt;
&lt;p&gt;Suggested added interface methods:&lt;br /&gt;
&amp;lt;T extends Object&amp;gt; void addReturnValue(String method, T object);&lt;br /&gt;
&amp;lt;T extends Object&amp;gt; void removeIgnore(String method);&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add JavaDoc to MockObject#setExpectTimeout</title><link href="https://sourceforge.net/p/mocklib/bugs/2/" rel="alternate"/><published>2008-06-04T21:53:41Z</published><updated>2008-06-04T21:53:41Z</updated><author><name>Brian Freeman</name><uri>https://sourceforge.net/u/bittwidler/</uri></author><id>https://sourceforge.net926a1068d110aebc7ed35a2e7cb8d797ed0e6404</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The setExpectTimeout method needs more detailed JavaDoc that states the time is in milliseconds.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Restore checkstyle to original settings</title><link href="https://sourceforge.net/p/mocklib/bugs/1/" rel="alternate"/><published>2008-05-27T15:34:34Z</published><updated>2008-05-27T15:34:34Z</updated><author><name>Brian Freeman</name><uri>https://sourceforge.net/u/bittwidler/</uri></author><id>https://sourceforge.netcca184ca04c9693974fe921b47f60a767b0d1e88</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I recently delivered some changes that required some modifications to configCheckstyle.xml in order for the build to pass.  The changes should be replaced with the original and the code should be modified to pass correctly.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>