Package org.openrdf.sail.memory

Source Code of org.openrdf.sail.memory.MemoryStoreTest

/*
* Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2008.
*
* Licensed under the Aduna BSD-style license.
*/
package org.openrdf.sail.memory;

import org.openrdf.sail.NotifyingSail;
import org.openrdf.sail.RDFNotifyingStoreTest;
import org.openrdf.store.StoreException;


/**
* An extension of RDFStoreTest for testing the class
* <tt>org.openrdf.sesame.sail.memory.MemoryStore</tt>.
*/
public class MemoryStoreTest extends RDFNotifyingStoreTest {

  /*--------------*
   * Constructors *
   *--------------*/

  public MemoryStoreTest(String name) {
    super(name);
  }

  /*---------*
   * Methods *
   *---------*/

  @Override
  protected NotifyingSail createSail()
    throws StoreException
  {
    NotifyingSail sail = new MemoryStore();
    sail.initialize();
    return sail;
  }
}
TOP

Related Classes of org.openrdf.sail.memory.MemoryStoreTest

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.