Project

General

Profile

Download (1.04 KB) Statistics
| Branch: | Tag: | Revision:
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.cybertaxonomy.utis.client;
11

    
12
import org.cybertaxonomy.utis.store.Neo4jStore;
13
import org.cybertaxonomy.utis.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/taxonomy.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("neo4j_test");
38
        graphStore.loadIntoStore(RDF_FILE_URL);
39
    }
40

    
41
}
    (1-1/1)