Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
eclipse-rdf4j/rdf4j#1229 compliance tests for Lucene itself
Browse files Browse the repository at this point in the history
  • Loading branch information
abrokenjester committed Mar 22, 2019
1 parent c27425a commit 55a045f
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
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");
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*******************************************************************************
* 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");
}

}

0 comments on commit 55a045f

Please sign in to comment.