<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/mocklib/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/mocklib/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 13 Feb 2009 14:15:18 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/mocklib/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Simplify MockObjectFactory#injectMock to only one interface</title><link>https://sourceforge.net/p/mocklib/bugs/4/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brian Freeman</dc:creator><pubDate>Fri, 13 Feb 2009 14:15:18 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net9cf90755d152244e461f678f7446e30e11daa249</guid></item><item><title>MockLib interface isn't very friendly to Java 1.4</title><link>https://sourceforge.net/p/mocklib/bugs/3/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brian Freeman</dc:creator><pubDate>Thu, 12 Feb 2009 16:55:01 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netb9a9f8463b170f5921816786b3cf84f9b11f3aa3</guid></item><item><title>Add JavaDoc to MockObject#setExpectTimeout</title><link>https://sourceforge.net/p/mocklib/bugs/2/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brian Freeman</dc:creator><pubDate>Wed, 04 Jun 2008 21:53:41 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net926a1068d110aebc7ed35a2e7cb8d797ed0e6404</guid></item><item><title>Restore checkstyle to original settings</title><link>https://sourceforge.net/p/mocklib/bugs/1/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brian Freeman</dc:creator><pubDate>Tue, 27 May 2008 15:34:34 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netcca184ca04c9693974fe921b47f60a767b0d1e88</guid></item></channel></rss>