Commit 9ec7ad37 by Dan Markwat

Cleaned up comments

parent cdb6c314
......@@ -12,6 +12,9 @@ import org.testng.annotations.Test;
/**
* Unit test for Guice injector service loading
*
* Uses TestNG's Guice annotation to load the necessary modules and inject the
* objects from Guice
*/
@Guice(modules = RepositoryMetadataModule.class)
public class RepositoryServiceLoadingTest {
......@@ -29,9 +32,6 @@ public class RepositoryServiceLoadingTest {
@Test
public void testGetGraphService() throws Exception {
/*
* Now that we've got the injector, we can build objects.
*/
Assert.assertNotNull(gs);
}
}
......@@ -35,6 +35,12 @@ import com.tinkerpop.blueprints.Direction;
import com.tinkerpop.blueprints.Edge;
import com.tinkerpop.blueprints.Vertex;
/**
* GraphBackedMetadataRepository test
*
* Guice loads the dependencies and injects the necessary objects
*
*/
@Test (enabled = false)
@Guice(modules = RepositoryMetadataModule.class)
public class GraphBackedMetadataRepositoryTest {
......@@ -52,8 +58,9 @@ public class GraphBackedMetadataRepositoryTest {
@BeforeClass
public void setUp() throws Exception {
// start the injected graph service
titanGraphService.start();
// start the injected repository service
repositoryService.start();
ts = TypeSystem.getInstance();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment