From e54eaded697e7dd622f00ca813930faaa496e176 Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com>
Date: Mon, 23 Mar 2015 14:13:07 +0100
Subject: [PATCH] Cleaned up the unit test to remove the unncessary code, and
 boilerplate comments.

---
 .../tutorial/jackrabbit/hello/AppTest.java    | 25 ++-----------------
 1 file changed, 2 insertions(+), 23 deletions(-)

diff --git a/src/test/java/com/syncleus/tutorial/jackrabbit/hello/AppTest.java b/src/test/java/com/syncleus/tutorial/jackrabbit/hello/AppTest.java
index d662c37..432db5a 100644
--- a/src/test/java/com/syncleus/tutorial/jackrabbit/hello/AppTest.java
+++ b/src/test/java/com/syncleus/tutorial/jackrabbit/hello/AppTest.java
@@ -17,32 +17,11 @@ import org.apache.jackrabbit.core.TransientRepository;
 /**
  * Unit test for simple App.
  */
-public class AppTest 
-    extends TestCase
+public class AppTest
 {
     private static final String MESSAGE = "Hello, World!";
-    /**
-     * 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() throws LoginException, RepositoryException
+    public void testHelloWorld() throws RepositoryException
     {
     	Repository repo = new TransientRepository();
     	Session session = repo.login(
-- 
GitLab