package org.jimmutable.platform_test;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
 * Unit test for simple App.
 */
public class AppTest 
    extends TestCase
{
    /**
     * Create the test case
     *
     * @param testName name of the test case
     */
    public AppTest( String testName )
    {
        super( testName );
    }

    /**
     * @return the suite of tests being tested
     */
    public static Test suite()
    {
        return new TestSuite( AppTest.class );
    }

    /**
     * Rigourous Test :-)
     */
    public void testApp()
    {
    		try{
    			App.main(null);
    			assertTrue( true );
    		} catch (Exception e) {
    			assert(false);
    		}
    }
}

@@ -43,70 +43,43 @@
 ort 
-junit.framework.Test;%0Aimport junit.framework.TestCase;
+static org.junit.Assert.*;%0A
 %0Aimport 
 juni
@@ -78,72 +78,24 @@
 ort 
+org.
 junit.
-framework.TestSuite;%0A%0A/**%0A * Unit test for simple App.%0A */
+Test;%0A
 %0Apub
@@ -116,21 +116,16 @@
 est 
-%0A    
 extends 
 Test
@@ -124,436 +124,58 @@
 nds 
-TestCase%0A%7B%0A    /**%0A     * Create the test case%0A     *%0A     * @param testName name of the test case%0A     */%0A    public AppTest( String testName )%0A    %7B%0A        super( testName );%0A    %7D%0A%0A    /**%0A     * @return the suite of tests being tested%0A     */%0A    public static Test suite()%0A    %7B%0A        return new TestSuite( AppTest.class );%0A    %7D%0A%0A    /**%0A     * Rigourous Test :-)%0A     */%0A    public void testApp()%0A    %7B%0A    
+App%0A%7B%0A%0A//%09@Test%0A%09public void testMain()%0A%09%7B%0A
 %09%09try%7B%0A
-    
 %09%09%09A
@@ -189,20 +189,16 @@
 (null);%0A
-    
 %09%09%09asser
@@ -212,20 +212,16 @@
 true );%0A
-    
 %09%09%7D catc
@@ -238,20 +238,40 @@
 on e) %7B%0A
-    
+%09%09%09e.printStackTrace();%0A
 %09%09%09asser
@@ -284,20 +284,14 @@
 e);%0A
-    %09%09%7D%0A    %7D
+%09%09%7D%0A%09%7D%0A
 %0A%7D%0A

Update to platform_test test class