mirror of https://github.com/apache/lucene.git
Fix test file name typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618917 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f1feec3579
commit
b9cf600c56
|
@ -23,9 +23,6 @@ import org.apache.solr.common.SolrException;
|
||||||
import org.apache.solr.common.util.ContentStream;
|
import org.apache.solr.common.util.ContentStream;
|
||||||
import org.apache.solr.common.util.ContentStreamBase;
|
import org.apache.solr.common.util.ContentStreamBase;
|
||||||
import org.apache.solr.common.util.NamedList;
|
import org.apache.solr.common.util.NamedList;
|
||||||
import org.apache.solr.handler.extraction.ExtractingDocumentLoader;
|
|
||||||
import org.apache.solr.handler.extraction.ExtractingParams;
|
|
||||||
import org.apache.solr.handler.extraction.ExtractingRequestHandler;
|
|
||||||
import org.apache.solr.request.LocalSolrQueryRequest;
|
import org.apache.solr.request.LocalSolrQueryRequest;
|
||||||
import org.apache.solr.request.SolrQueryRequest;
|
import org.apache.solr.request.SolrQueryRequest;
|
||||||
import org.apache.solr.response.SolrQueryResponse;
|
import org.apache.solr.response.SolrQueryResponse;
|
||||||
|
@ -546,7 +543,7 @@ public class ExtractingRequestHandlerTest extends SolrTestCaseJ4 {
|
||||||
@Test
|
@Test
|
||||||
public void testPasswordProtected() throws Exception {
|
public void testPasswordProtected() throws Exception {
|
||||||
// PDF, Passwords from resource.password
|
// PDF, Passwords from resource.password
|
||||||
loadLocal("extraction/enctypted-password-is-solrRules.pdf",
|
loadLocal("extraction/encrypted-password-is-solrRules.pdf",
|
||||||
"fmap.created", "extractedDate",
|
"fmap.created", "extractedDate",
|
||||||
"fmap.producer", "extractedProducer",
|
"fmap.producer", "extractedProducer",
|
||||||
"fmap.creator", "extractedCreator",
|
"fmap.creator", "extractedCreator",
|
||||||
|
@ -556,12 +553,12 @@ public class ExtractingRequestHandlerTest extends SolrTestCaseJ4 {
|
||||||
"fmap.Author", "extractedAuthor",
|
"fmap.Author", "extractedAuthor",
|
||||||
"fmap.content", "wdf_nocase",
|
"fmap.content", "wdf_nocase",
|
||||||
"literal.id", "pdfpwliteral",
|
"literal.id", "pdfpwliteral",
|
||||||
"resource.name", "enctypted-password-is-solrRules.pdf",
|
"resource.name", "encrypted-password-is-solrRules.pdf",
|
||||||
"resource.password", "solrRules",
|
"resource.password", "solrRules",
|
||||||
"fmap.Last-Modified", "extractedDate");
|
"fmap.Last-Modified", "extractedDate");
|
||||||
|
|
||||||
// PDF, Passwords from passwords property file
|
// PDF, Passwords from passwords property file
|
||||||
loadLocal("extraction/enctypted-password-is-solrRules.pdf",
|
loadLocal("extraction/encrypted-password-is-solrRules.pdf",
|
||||||
"fmap.created", "extractedDate",
|
"fmap.created", "extractedDate",
|
||||||
"fmap.producer", "extractedProducer",
|
"fmap.producer", "extractedProducer",
|
||||||
"fmap.creator", "extractedCreator",
|
"fmap.creator", "extractedCreator",
|
||||||
|
@ -571,7 +568,7 @@ public class ExtractingRequestHandlerTest extends SolrTestCaseJ4 {
|
||||||
"fmap.Author", "extractedAuthor",
|
"fmap.Author", "extractedAuthor",
|
||||||
"fmap.content", "wdf_nocase",
|
"fmap.content", "wdf_nocase",
|
||||||
"literal.id", "pdfpwfile",
|
"literal.id", "pdfpwfile",
|
||||||
"resource.name", "enctypted-password-is-solrRules.pdf",
|
"resource.name", "encrypted-password-is-solrRules.pdf",
|
||||||
"passwordsFile", "passwordRegex.properties", // Passwords-file
|
"passwordsFile", "passwordRegex.properties", // Passwords-file
|
||||||
"fmap.Last-Modified", "extractedDate");
|
"fmap.Last-Modified", "extractedDate");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue