JUnit 4 migration

Finally even me landed in the JUnit 4 planet.

The main difficulty in migration from 3.8.* is the class AllTests : a class with all the tests in it from where you can run all application tests in one shot.

The 4.x way is to use JDK (>=5) annotation, but if you for some reason have to use the JDK 1.4 you have two solutions. The one I prefer is to use junit 3.8.x but if you cannot tolerate the missing of JUnit 4.x in the attached PDF you’ll find the standard 4.x way (with annotation) and a workaround for using the old JUnit TestSuite syntax.

Here is the PDF

Windows XP: no dialtone

Configuring a modem in Windows XP for those like me used to use Debian can be a bit non trivial.

I got the Error 680: no dial tone. I know that it’s easy to solve this problem, just disable the “wait for dialtone” and put one comma before the number (wait for a second before dial). The non trivial part is to find where I can tell it. So, here it is:

Start->Settings->Control Panel->System and click on the Hardware tab and then on Device Manager.


Then select the modem from the list of devices. Right click and properties. Now on the Modem tab uncheck the Wait for dialtone