This repository has been archived by the owner on Feb 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #202 from eclipse/issues/GH-1229-lucenesail-compli…
…ance eclipse-rdf4j/rdf4j#1229 compliance tests for Lucene itself
- Loading branch information
Showing
2 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
...e/lucene/src/test/java/org/eclipse/rdf4j/sail/lucene/LuceneSailIndexedPropertiesTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2019 Eclipse RDF4J contributors. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Distribution License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/org/documents/edl-v10.php. | ||
*******************************************************************************/ | ||
package org.eclipse.rdf4j.sail.lucene; | ||
|
||
/** | ||
* @author jeen | ||
* | ||
*/ | ||
public class LuceneSailIndexedPropertiesTest extends AbstractLuceneSailIndexedPropertiesTest { | ||
|
||
/* | ||
* (non-Javadoc) | ||
* | ||
* @see | ||
* org.eclipse.rdf4j.sail.lucene.AbstractLuceneSailIndexedPropertiesTest#configure(org.eclipse.rdf4j.sail.lucene. | ||
* LuceneSail) | ||
*/ | ||
@Override | ||
protected void configure(LuceneSail sail) { | ||
sail.setParameter(LuceneSail.INDEX_CLASS_KEY, LuceneIndex.class.getName()); | ||
sail.setParameter(LuceneSail.LUCENE_RAMDIR_KEY, "true"); | ||
} | ||
|
||
} |
29 changes: 29 additions & 0 deletions
29
compliance/lucene/src/test/java/org/eclipse/rdf4j/sail/lucene/LuceneSailTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2019 Eclipse RDF4J contributors. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Distribution License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/org/documents/edl-v10.php. | ||
*******************************************************************************/ | ||
package org.eclipse.rdf4j.sail.lucene; | ||
|
||
import java.io.IOException; | ||
|
||
/** | ||
* @author jeen | ||
* | ||
*/ | ||
public class LuceneSailTest extends AbstractLuceneSailTest { | ||
|
||
/* | ||
* (non-Javadoc) | ||
* | ||
* @see org.eclipse.rdf4j.sail.lucene.AbstractLuceneSailTest#configure(org.eclipse.rdf4j.sail.lucene.LuceneSail) | ||
*/ | ||
@Override | ||
protected void configure(LuceneSail sail) throws IOException { | ||
sail.setParameter(LuceneSail.INDEX_CLASS_KEY, LuceneIndex.class.getName()); | ||
sail.setParameter(LuceneSail.LUCENE_RAMDIR_KEY, "true"); | ||
} | ||
|
||
} |