<?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 for nWizard</title>
	<atom:link href="http://www.nwizard.ro/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nwizard.ro</link>
	<description>Norbert Rakosi's blog on Free Software development ... JAVA ... Personal Development... and ... bad speling...</description>
	<lastBuildDate>Wed, 14 Jul 2010 17:56:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>Comment on MWconn an alternative to the Vodafone Mobile Connect by Norbert</title>
		<link>http://www.nwizard.ro/free-stuff/mwconn-an-alternative-to-the-vodafone-mobile-connect/comment-page-1/#comment-6263</link>
		<dc:creator>Norbert</dc:creator>
		<pubDate>Wed, 14 Jul 2010 17:56:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.nwizard.ro/free-stuff/mwconn-an-alternative-to-the-vodafone-mobile-connect/#comment-6263</guid>
		<description>Hi
I actually do not use Vodafone anymore, but I have checked the settings and could not find ant password. I&#039;ll send you a screenshot of the network settings that worked for me.
Have a nice day</description>
		<content:encoded><![CDATA[<p>Hi<br />
I actually do not use Vodafone anymore, but I have checked the settings and could not find ant password. I&#8217;ll send you a screenshot of the network settings that worked for me.<br />
Have a nice day</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MWconn an alternative to the Vodafone Mobile Connect by noLandline</title>
		<link>http://www.nwizard.ro/free-stuff/mwconn-an-alternative-to-the-vodafone-mobile-connect/comment-page-1/#comment-6262</link>
		<dc:creator>noLandline</dc:creator>
		<pubDate>Wed, 14 Jul 2010 17:23:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.nwizard.ro/free-stuff/mwconn-an-alternative-to-the-vodafone-mobile-connect/#comment-6262</guid>
		<description>Hi Norbert; doÂ´you still use Vodafone? At least VF offers Umts AND Gprs, means when umts shuts down, the connection does not fail immediately like with the horrible THREE! I have the same problem now you had with your 220 twoyears ago; but with a K3565...but cant get MWcon to run. Maybe youknow if Vodafone wants a password in the settings? Thanks</description>
		<content:encoded><![CDATA[<p>Hi Norbert; doÂ´you still use Vodafone? At least VF offers Umts AND Gprs, means when umts shuts down, the connection does not fail immediately like with the horrible THREE! I have the same problem now you had with your 220 twoyears ago; but with a K3565&#8230;but cant get MWcon to run. Maybe youknow if Vodafone wants a password in the settings? Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on To Assert or Not to Assert by Norbert</title>
		<link>http://www.nwizard.ro/programming/to-assert-or-not-to-assert/comment-page-1/#comment-5420</link>
		<dc:creator>Norbert</dc:creator>
		<pubDate>Thu, 22 Oct 2009 07:54:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.nwizard.ro/programming/to-assert-or-not-to-assert/#comment-5420</guid>
		<description>Hi
Sorry for late answer.
Static methods can be tested with JUnit exactly as normal instance methods.
The basics of JUnit testing would be that you expect something to happen when you call a method or a few methods.
The above method does not accept any parameter and also does not return anything so it is not that easy to test. It might be that it changes some internal state of the static singleton class in which it is defined.

If it would be something like:
public static int aMethod(String aaa)
{
   return aaa.hashCode();
}

you could have the following class for testing the above code

public class ATest extends junit.framework.TestCase {

  public void testAMethod() {
    assertEquals(&quot;ssss&quot;.hashCode(), A.someMethod(&quot;ssss&quot;));
  }
}

I hope this answers your question.
Nice day.</description>
		<content:encoded><![CDATA[<p>Hi<br />
Sorry for late answer.<br />
Static methods can be tested with JUnit exactly as normal instance methods.<br />
The basics of JUnit testing would be that you expect something to happen when you call a method or a few methods.<br />
The above method does not accept any parameter and also does not return anything so it is not that easy to test. It might be that it changes some internal state of the static singleton class in which it is defined.</p>
<p>If it would be something like:<br />
public static int aMethod(String aaa)<br />
{<br />
   return aaa.hashCode();<br />
}</p>
<p>you could have the following class for testing the above code</p>
<p>public class ATest extends junit.framework.TestCase {</p>
<p>  public void testAMethod() {<br />
    assertEquals(&#8220;ssss&#8221;.hashCode(), A.someMethod(&#8220;ssss&#8221;));<br />
  }<br />
}</p>
<p>I hope this answers your question.<br />
Nice day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on To Assert or Not to Assert by FlyEffect</title>
		<link>http://www.nwizard.ro/programming/to-assert-or-not-to-assert/comment-page-1/#comment-5411</link>
		<dc:creator>FlyEffect</dc:creator>
		<pubDate>Wed, 14 Oct 2009 12:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.nwizard.ro/programming/to-assert-or-not-to-assert/#comment-5411</guid>
		<description>Hello,

Do you happened to know how can I test a method which is declared as static?

For example,

public static void aMethod()
{
//smth
}

Thank you!</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Do you happened to know how can I test a method which is declared as static?</p>
<p>For example,</p>
<p>public static void aMethod()<br />
{<br />
//smth<br />
}</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Adding SWT Input Validation the Easy Way by Recent URLs tagged Validation - Urlrecorder</title>
		<link>http://www.nwizard.ro/programming/adding-swt-input-validation-the-easy-way/comment-page-1/#comment-4921</link>
		<dc:creator>Recent URLs tagged Validation - Urlrecorder</dc:creator>
		<pubDate>Fri, 01 May 2009 18:31:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.nwizard.ro/programming/adding-swt-input-validation-the-easy-way/#comment-4921</guid>
		<description>[...] recorded first by heinzwittenbrink on 2009-04-01&#8594; Adding SWT Input Validation the Easy Way [...]</description>
		<content:encoded><![CDATA[<p>[...] recorded first by heinzwittenbrink on 2009-04-01&rarr; Adding SWT Input Validation the Easy Way [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How Not to Write Java Documentation&#8230; by nWizard - Norbert Rakosi&#8217;s blog on Free Software development &#8230; JAVA &#8230; Personal Development&#8230; and &#8230; bad speling&#8230; &#187; To Assert or Not to Assert</title>
		<link>http://www.nwizard.ro/programming/how-not-to-write-java-documentation/comment-page-1/#comment-4012</link>
		<dc:creator>nWizard - Norbert Rakosi&#8217;s blog on Free Software development &#8230; JAVA &#8230; Personal Development&#8230; and &#8230; bad speling&#8230; &#187; To Assert or Not to Assert</dc:creator>
		<pubDate>Tue, 10 Feb 2009 10:26:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.nwizard.ro/programming/how-not-to-write-java-documentation/#comment-4012</guid>
		<description>[...] How Not to Write Java Documentation&#8230;  [...]</description>
		<content:encoded><![CDATA[<p>[...] How Not to Write Java Documentation&#8230;  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Java 7 Module System Concerns by Technology &#187; Blog Archive &#187; Https &#38; Keytool Too - Java Forums</title>
		<link>http://www.nwizard.ro/programming/java/java-7-module-system-concerns/comment-page-1/#comment-3923</link>
		<dc:creator>Technology &#187; Blog Archive &#187; Https &#38; Keytool Too - Java Forums</dc:creator>
		<pubDate>Mon, 02 Feb 2009 09:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.nwizard.ro/programming/java/java-7-module-system-concerns/#comment-3923</guid>
		<description>[...] nWizard - Norbert Rakosiâ€™s blog on Free Software development &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] nWizard &#8211; Norbert Rakosiâ€™s blog on Free Software development &#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OSGi &#8211; one of my favourite things in Java world by nWizard - Norbert Rakosi&#8217;s blog on Free Software development &#8230; JAVA &#8230; Personal Development&#8230; and &#8230; bad speling&#8230; &#187; Java 7 Module System Concerns</title>
		<link>http://www.nwizard.ro/programming/osgi-one-of-my-favourite-things-in-java-world/comment-page-1/#comment-3921</link>
		<dc:creator>nWizard - Norbert Rakosi&#8217;s blog on Free Software development &#8230; JAVA &#8230; Personal Development&#8230; and &#8230; bad speling&#8230; &#187; Java 7 Module System Concerns</dc:creator>
		<pubDate>Mon, 02 Feb 2009 07:49:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.nwizard.ro/programming/osgi-one-of-my-favourite-things-in-java-world/#comment-3921</guid>
		<description>[...] 7 Module System Concerns   By Norbert Some while ago I have posted a short post related to OSGI (OSGi - one of my favourite things in Java world). Now in this weekend I decided to migrate the Aragon Framework to OSGI, because I think that there [...]</description>
		<content:encoded><![CDATA[<p>[...] 7 Module System Concerns   By Norbert Some while ago I have posted a short post related to OSGI (OSGi &#8211; one of my favourite things in Java world). Now in this weekend I decided to migrate the Aragon Framework to OSGI, because I think that there [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Topic of the day: &#8220;Don&#8217;t develop for living and you will be a better developer&#8221; by George</title>
		<link>http://www.nwizard.ro/programming/topic-of-the-day-dont-develop-for-living-and-you-will-be-a-better-developer/comment-page-1/#comment-3444</link>
		<dc:creator>George</dc:creator>
		<pubDate>Tue, 18 Nov 2008 07:12:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.nwizard.ro/programming/topic-of-the-day-dont-develop-for-living-and-you-will-be-a-better-developer/#comment-3444</guid>
		<description>The solution is simple : learn a scripting language ( Perl/Python/Ruby ) !</description>
		<content:encoded><![CDATA[<p>The solution is simple : learn a scripting language ( Perl/Python/Ruby ) !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Topic of the day: &#8220;Don&#8217;t develop for living and you will be a better developer&#8221; by insurancesitesfind &#187; Blog Archive &#187; nWizard - Norbert Rakosiâ€™s blog on Free Software development &#8230;</title>
		<link>http://www.nwizard.ro/programming/topic-of-the-day-dont-develop-for-living-and-you-will-be-a-better-developer/comment-page-1/#comment-3413</link>
		<dc:creator>insurancesitesfind &#187; Blog Archive &#187; nWizard - Norbert Rakosiâ€™s blog on Free Software development &#8230;</dc:creator>
		<pubDate>Wed, 12 Nov 2008 09:07:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.nwizard.ro/programming/topic-of-the-day-dont-develop-for-living-and-you-will-be-a-better-developer/#comment-3413</guid>
		<description>[...] Maybe it is time to develop also some other skills and after that start departing from the SW development as a day job and concentrate on something else, and maybe the SW development will become again a passionâ€¦as it was beforeâ€¦ &#8230;  Read more [...]</description>
		<content:encoded><![CDATA[<p>[...] Maybe it is time to develop also some other skills and after that start departing from the SW development as a day job and concentrate on something else, and maybe the SW development will become again a passionâ€¦as it was beforeâ€¦ &#8230;  Read more [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

