01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2006.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.sail.memory;
07:
08: import org.openrdf.sail.RDFStoreTest;
09: import org.openrdf.sail.Sail;
10: import org.openrdf.sail.SailException;
11:
12: /**
13: * An extension of RDFStoreTest for testing the class
14: * <tt>org.openrdf.sesame.sail.memory.MemoryStore</tt>.
15: */
16: public class MemoryStoreTest extends RDFStoreTest {
17:
18: /*--------------*
19: * Constructors *
20: *--------------*/
21:
22: public MemoryStoreTest(String name) {
23: super (name);
24: }
25:
26: /*---------*
27: * Methods *
28: *---------*/
29:
30: @Override
31: protected Sail createSail() throws SailException {
32: Sail sail = new MemoryStore();
33: sail.initialize();
34: return sail;
35: }
36: }
|