Package ie.transportdublin.dbinsertershortestpath

Source Code of ie.transportdublin.dbinsertershortestpath.DBInserterTest

package ie.transportdublin.dbinsertershortestpath;

import ie.transportdublin.xml.DBInserter;

import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import org.neo4j.graphdb.GraphDatabaseService;
import org.neo4j.kernel.EmbeddedGraphDatabase;

public class DBInserterTest
{
    private static GraphDatabaseService db;
    private static DBInserter dbInserter;

    @BeforeClass
    public static void setup()
    {
        db = new EmbeddedGraphDatabase( "target/db" );
        dbInserter = new DBInserter( db );
    }

    @Test
    public void addData()
    {
        dbInserter.addData();
    }

    @AfterClass
    public static void shutdown()
    {
        db.shutdown();
    }

}
TOP

Related Classes of ie.transportdublin.dbinsertershortestpath.DBInserterTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.