Commit f59c8c0
Changed files (2)
my-app
src
main
java
ca
mokhan
app
test
java
ca
mokhan
app
my-app/src/main/java/ca/mokhan/app/App.java
@@ -6,8 +6,8 @@ package ca.mokhan.app;
*/
public class App
{
- public static void main( String[] args )
- {
- System.out.println( "Hello World!" );
- }
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
}
my-app/src/test/java/ca/mokhan/app/AppTest.java
@@ -7,32 +7,32 @@ import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
-public class AppTest
- extends TestCase
+public class AppTest extends TestCase
{
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public AppTest( String testName )
- {
- super( testName );
- }
+ /**
+ * 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 );
- }
+ /**
+ * @return the suite of tests being tested
+ */
+ public static Test suite()
+ {
+ return new TestSuite( AppTest.class );
+ }
- /**
- * Rigourous Test :-)
- */
- public void testApp()
- {
- assertTrue( true );
- }
+ /**
+ * Rigourous Test :-)
+ */
+ public void testApp()
+ {
+ assertTrue(true);
+ assertFalse(false);
+ }
}