<?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/"
		>
<channel>
	<title>Comments on: Unit testing Javascripts in Java 6 â€“ Getting started with the javax.script api</title>
	<atom:link href="http://technology.amis.nl/2007/04/19/unit-testing-javascripts-in-java-6-getting-started-with-the-javaxscript-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2007/04/19/unit-testing-javascripts-in-java-6-getting-started-with-the-javaxscript-api/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=unit-testing-javascripts-in-java-6-getting-started-with-the-javaxscript-api</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Screened Twenty</title>
		<link>http://technology.amis.nl/2007/04/19/unit-testing-javascripts-in-java-6-getting-started-with-the-javaxscript-api/#comment-4550</link>
		<dc:creator>Screened Twenty</dc:creator>
		<pubDate>Tue, 05 Jun 2007 03:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1869#comment-4550</guid>
		<description><![CDATA[Hey.

Have a site with an article that deals with Unit Testing. The site itself contains loads of information when it comes to building large scale java applications, has common configuration tips too.

http://www.coderslog.com/Unit_Testing_101]]></description>
		<content:encoded><![CDATA[<p>Hey.</p>
<p>Have a site with an article that deals with Unit Testing. The site itself contains loads of information when it comes to building large scale java applications, has common configuration tips too.</p>
<p><a href="http://www.coderslog.com/Unit_Testing_101" rel="nofollow">http://www.coderslog.com/Unit_Testing_101</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeroen van Wilgenburg</title>
		<link>http://technology.amis.nl/2007/04/19/unit-testing-javascripts-in-java-6-getting-started-with-the-javaxscript-api/#comment-4549</link>
		<dc:creator>Jeroen van Wilgenburg</dc:creator>
		<pubDate>Sat, 21 Apr 2007 20:37:27 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1869#comment-4549</guid>
		<description><![CDATA[That&#039;s a good point, I still have to get used to the Javascript inside Java, it&#039;s stil scary ;-)
Theoretically the array of int&#039;s can contain Strings in the Javascript.]]></description>
		<content:encoded><![CDATA[<p>That&#8217;s a good point, I still have to get used to the Javascript inside Java, it&#8217;s stil scary <img src='http://technology.amis.nl/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
Theoretically the array of int&#8217;s can contain Strings in the Javascript.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: p3t0r</title>
		<link>http://technology.amis.nl/2007/04/19/unit-testing-javascripts-in-java-6-getting-started-with-the-javaxscript-api/#comment-4548</link>
		<dc:creator>p3t0r</dc:creator>
		<pubDate>Thu, 19 Apr 2007 23:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1869#comment-4548</guid>
		<description><![CDATA[Next time I&#039;ll execute a script before posting... the a1 and a2 inside the push method should be switched to get the same result as the example above.]]></description>
		<content:encoded><![CDATA[<p>Next time I&#8217;ll execute a script before posting&#8230; the a1 and a2 inside the push method should be switched to get the same result as the example above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: p3t0r</title>
		<link>http://technology.amis.nl/2007/04/19/unit-testing-javascripts-in-java-6-getting-started-with-the-javaxscript-api/#comment-4547</link>
		<dc:creator>p3t0r</dc:creator>
		<pubDate>Thu, 19 Apr 2007 22:57:59 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1869#comment-4547</guid>
		<description><![CDATA[oops..... it appears formatting it not allowed here ;)]]></description>
		<content:encoded><![CDATA[<p>oops&#8230;.. it appears formatting it not allowed here <img src='http://technology.amis.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: p3t0r</title>
		<link>http://technology.amis.nl/2007/04/19/unit-testing-javascripts-in-java-6-getting-started-with-the-javaxscript-api/#comment-4546</link>
		<dc:creator>p3t0r</dc:creator>
		<pubDate>Thu, 19 Apr 2007 22:56:06 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1869#comment-4546</guid>
		<description><![CDATA[I know it&#039;s totally not the point, but if you&#039;d written the method without magic numbers... and using javascripts build-in functions for imploding arrays it would have been far less error prone:

var a1 = [0,10,10,0]
var a2 = [&#039;days&#039;,&#039;hours&#039;,&#039;minutes&#039;,&#039;seconds&#039;]

var t = [];
for( i in a1 ) {
	if(a1[i] &gt; 0){
		t.push([a1[i] + &#039;: &#039;+ a2[i]]);
	}
}

t.join(&#039;, &#039;);]]></description>
		<content:encoded><![CDATA[<p>I know it&#8217;s totally not the point, but if you&#8217;d written the method without magic numbers&#8230; and using javascripts build-in functions for imploding arrays it would have been far less error prone:</p>
<p>var a1 = [0,10,10,0]<br />
var a2 = ['days','hours','minutes','seconds']</p>
<p>var t = [];<br />
for( i in a1 ) {<br />
	if(a1[i] &gt; 0){<br />
		t.push([a1[i] + &#8216;: &#8216;+ a2[i]]);<br />
	}<br />
}</p>
<p>t.join(&#8216;, &#8216;);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
