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 d662c37e26fdf54efa79d1b7f9fb8438cb24de06..432db5a7d906c85a331da7cebd1c641a738b0cae 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(