Skip to content
Snippets Groups Projects
Commit e54eaded authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom:
Browse files

Cleaned up the unit test to remove the unncessary code, and boilerplate comments.

parent c55bfcae
No related branches found
No related tags found
No related merge requests found
...@@ -17,32 +17,11 @@ import org.apache.jackrabbit.core.TransientRepository; ...@@ -17,32 +17,11 @@ import org.apache.jackrabbit.core.TransientRepository;
/** /**
* Unit test for simple App. * Unit test for simple App.
*/ */
public class AppTest public class AppTest
extends TestCase
{ {
private static final String MESSAGE = "Hello, World!"; 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 );
}
/** public void testHelloWorld() throws RepositoryException
* Rigourous Test :-)
*/
public void testApp() throws LoginException, RepositoryException
{ {
Repository repo = new TransientRepository(); Repository repo = new TransientRepository();
Session session = repo.login( Session session = repo.login(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment