1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2015 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
package org.bgbm.biovel.drf.client;
|
11
|
|
12
|
import org.bgbm.biovel.drf.store.Neo4jStore;
|
13
|
import org.bgbm.biovel.drf.store.TDBStore;
|
14
|
import org.junit.Ignore;
|
15
|
import org.junit.Test;
|
16
|
|
17
|
/**
|
18
|
* @author a.kohlbecker
|
19
|
* @date Oct 5, 2015
|
20
|
*
|
21
|
*/
|
22
|
public class StoreTests {
|
23
|
|
24
|
private static final String RDF_FILE_URL = "http://localhost/download/species.rdf.gz"; // http://eunis.eea.europa.eu/rdf/species.rdf.gz
|
25
|
|
26
|
@Test
|
27
|
@Ignore
|
28
|
public void tDBStore_RdfGzipFile_test() throws Exception {
|
29
|
|
30
|
TDBStore tripleStore = new TDBStore();
|
31
|
tripleStore.loadIntoStore(RDF_FILE_URL);
|
32
|
}
|
33
|
|
34
|
@Test
|
35
|
public void neo4jStore_RdfGzipFile_test() throws Exception {
|
36
|
|
37
|
Neo4jStore graphStore = new Neo4jStore();
|
38
|
graphStore.loadIntoStore(RDF_FILE_URL);
|
39
|
}
|
40
|
|
41
|
}
|