<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: JUnit/TestNG tip: Diffing Lists</title>
	<atom:link href="http://joewalnes.com/2009/10/22/junittestng-tip-diffing-lists/feed/" rel="self" type="application/rss+xml" />
	<link>http://joewalnes.com/2009/10/22/junittestng-tip-diffing-lists/</link>
	<description>Software development. And stuff.</description>
	<lastBuildDate>Mon, 14 Nov 2011 02:41:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Steve Freeman</title>
		<link>http://joewalnes.com/2009/10/22/junittestng-tip-diffing-lists/#comment-22071</link>
		<dc:creator><![CDATA[Steve Freeman]]></dc:creator>
		<pubDate>Thu, 22 Oct 2009 14:13:22 +0000</pubDate>
		<guid isPermaLink="false">http://joewalnes.com/?p=355#comment-22071</guid>
		<description><![CDATA[There is some improved support for list comparisons in Hamcrest now. For example, this code:

List actual = Arrays.asList(&quot;name=Joe&quot;,&quot;starsign=Virgo&quot;,&quot;sex=Male&quot;);
assertThat(actual, Matchers.contains(&quot;name=Joe&quot;, &quot;starsign=Libra&quot;, &quot;sex=Female&quot;));

will generate:

Expected: iterable over [&quot;name=Joe&quot;, &quot;starsign=Libra&quot;, &quot;sex=Female&quot;]
     but: item 1: was &quot;starsign=Virgo&quot;]]></description>
		<content:encoded><![CDATA[<p>There is some improved support for list comparisons in Hamcrest now. For example, this code:</p>
<p>List actual = Arrays.asList(&#8220;name=Joe&#8221;,&#8221;starsign=Virgo&#8221;,&#8221;sex=Male&#8221;);<br />
assertThat(actual, Matchers.contains(&#8220;name=Joe&#8221;, &#8220;starsign=Libra&#8221;, &#8220;sex=Female&#8221;));</p>
<p>will generate:</p>
<p>Expected: iterable over ["name=Joe", "starsign=Libra", "sex=Female"]<br />
     but: item 1: was &#8220;starsign=Virgo&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Winters</title>
		<link>http://joewalnes.com/2009/10/22/junittestng-tip-diffing-lists/#comment-22070</link>
		<dc:creator><![CDATA[Chris Winters]]></dc:creator>
		<pubDate>Thu, 22 Oct 2009 13:59:35 +0000</pubDate>
		<guid isPermaLink="false">http://joewalnes.com/?p=355#comment-22070</guid>
		<description><![CDATA[An assumption here is that your .equals() is checking the same state that your.toString() is displaying. Most of the time it&#039;s true, but when it&#039;s not you&#039;re getting a bad test result.]]></description>
		<content:encoded><![CDATA[<p>An assumption here is that your .equals() is checking the same state that your.toString() is displaying. Most of the time it&#8217;s true, but when it&#8217;s not you&#8217;re getting a bad test result.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

