<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Clovering Clover</title>
	<atom:link href="http://madbean.com/2003/mb2003-9/feed/" rel="self" type="application/rss+xml" />
	<link>http://madbean.com/2003/mb2003-9/</link>
	<description>Your zero step program</description>
	<pubDate>Sat, 22 Nov 2008 08:40:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Matt Quail</title>
		<link>http://madbean.com/2003/mb2003-9/#comment-170</link>
		<dc:creator>Matt Quail</dc:creator>
		<pubDate>Fri, 20 Jun 2003 07:13:24 +0000</pubDate>
		<guid isPermaLink="false">http://madbean.com/blog/2003-9#comment-170</guid>
		<description>&lt;p&gt;Noel, the problem is, that the very class doing the instrumenting is the one we want to instrument... You can get two different classloaders to load the same class twice, but you can't get the same classloader to load the one class two &#34;different&#34; ways...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Noel, the problem is, that the very class doing the instrumenting is the one we want to instrument&#8230; You can get two different classloaders to load the same class twice, but you can&#8217;t get the same classloader to load the one class two &quot;different&quot; ways&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noel Grandin</title>
		<link>http://madbean.com/2003/mb2003-9/#comment-169</link>
		<dc:creator>Noel Grandin</dc:creator>
		<pubDate>Fri, 20 Jun 2003 07:08:30 +0000</pubDate>
		<guid isPermaLink="false">http://madbean.com/blog/2003-9#comment-169</guid>
		<description>&lt;p&gt;You don't have to just through all those hoops. 
Simply create your own classloader class for loading the covered classes that &#34;defines&#34; the classes it loads itself.
This works because the VM identifies a class by using the &#60;ClassLoaderObjectId, ClassName&#62; pair.
So your coverage analyzer and any classes it analyzes will remain disjoint.
(It's a little tricky writing your own classloader to do this - took me about a day.)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You don&#8217;t have to just through all those hoops.<br />
Simply create your own classloader class for loading the covered classes that &quot;defines&quot; the classes it loads itself.<br />
This works because the VM identifies a class by using the &lt;ClassLoaderObjectId, ClassName&gt; pair.<br />
So your coverage analyzer and any classes it analyzes will remain disjoint.<br />
(It&#8217;s a little tricky writing your own classloader to do this - took me about a day.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://madbean.com/2003/mb2003-9/#comment-168</link>
		<dc:creator>James</dc:creator>
		<pubDate>Wed, 12 Mar 2003 05:09:27 +0000</pubDate>
		<guid isPermaLink="false">http://madbean.com/blog/2003-9#comment-168</guid>
		<description>&lt;p&gt;What's the code coverage % of clover's unit tests? :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>What&#8217;s the code coverage % of clover&#8217;s unit tests? :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Quail</title>
		<link>http://madbean.com/2003/mb2003-9/#comment-167</link>
		<dc:creator>Matt Quail</dc:creator>
		<pubDate>Tue, 11 Mar 2003 04:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://madbean.com/blog/2003-9#comment-167</guid>
		<description>&lt;p&gt;Oliver, the reason why we have &#34;pretend&#34; unit tests is
that it is just simpler.&lt;/p&gt;

&lt;p&gt;Currently, our unit tests are in the same &#34;package&#34; as the
class they test (though they are in different source tree).
Therefore, they don't need to import the class being tested.
Now, if we re-packaged the code but not the tests, then
the tests wouldn't compile (the tests would need to import
the &#34;pretend&#34; classes explicitly in this instance)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Oliver, the reason why we have &quot;pretend&quot; unit tests is<br />
that it is just simpler.</p>
<p>Currently, our unit tests are in the same &quot;package&quot; as the<br />
class they test (though they are in different source tree).<br />
Therefore, they don&#8217;t need to import the class being tested.<br />
Now, if we re-packaged the code but not the tests, then<br />
the tests wouldn&#8217;t compile (the tests would need to import<br />
the &quot;pretend&quot; classes explicitly in this instance)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver Burn</title>
		<link>http://madbean.com/2003/mb2003-9/#comment-166</link>
		<dc:creator>Oliver Burn</dc:creator>
		<pubDate>Tue, 11 Mar 2003 03:21:22 +0000</pubDate>
		<guid isPermaLink="false">http://madbean.com/blog/2003-9#comment-166</guid>
		<description>&lt;p&gt;Great article - but I do not understand why you need &#34;pretend&#34; unit tests. Is it because your tests require access to package protected types/methods?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great article - but I do not understand why you need &quot;pretend&quot; unit tests. Is it because your tests require access to package protected types/methods?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
