Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanup

  • Loading branch information...
commit 4a6db96d62c6f43363acac3e311addbfef2ddcfe 1 parent 1de2749
@shabanovd shabanovd authored
View
21 extensions/indexes/lucene/test/src/org/exist/indexing/lucene/FacetAbstractTest.java
@@ -1,3 +1,24 @@
+/*
+ * eXist Open Source Native XML Database
+ * Copyright (C) 2013 The eXist Project
+ * http://exist-db.org
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * $Id$
+ */
package org.exist.indexing.lucene;
import static org.junit.Assert.assertNotNull;
View
21 extensions/indexes/lucene/test/src/org/exist/indexing/lucene/FacetIndexTest.java
@@ -1,3 +1,24 @@
+/*
+ * eXist Open Source Native XML Database
+ * Copyright (C) 2013 The eXist Project
+ * http://exist-db.org
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * $Id$
+ */
package org.exist.indexing.lucene;
import static org.junit.Assert.assertEquals;
View
41 extensions/indexes/lucene/test/src/org/exist/indexing/lucene/FacetMatchListenerTest.java
@@ -1,6 +1,6 @@
/*
* eXist Open Source Native XML Database
- * Copyright (C) 2001-07 The eXist Project
+ * Copyright (C) 2013 The eXist Project
* http://exist-db.org
*
* This program is free software; you can redistribute it and/or
@@ -17,7 +17,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
- * $Id: LuceneMatchListenerTest.java 12494 2010-08-21 12:40:10Z shabanovd $
+ * $Id$
*/
package org.exist.indexing.lucene;
@@ -32,15 +32,11 @@
import org.exist.dom.NodeProxy;
import org.exist.dom.NodeSet;
import org.exist.dom.QName;
-import org.exist.security.xacml.AccessContext;
import org.exist.storage.DBBroker;
import org.exist.storage.serializers.EXistOutputKeys;
import org.exist.storage.serializers.Serializer;
import org.exist.xquery.XPathException;
-import org.exist.xquery.XQuery;
-import org.exist.xquery.value.Item;
import org.exist.xquery.value.NodeValue;
-import org.exist.xquery.value.Sequence;
import static org.junit.Assert.*;
import org.junit.Test;
@@ -70,15 +66,6 @@
" <p>Paragraphs with <s>mix</s><s>ed</s> content are <s>danger</s>ous.</p>" +
"</article>";
- private static String CONF1 =
- "<collection xmlns=\"http://exist-db.org/collection-config/1.0\">" +
- " <index>" +
- " <fulltext default=\"none\">" +
- " </fulltext>" +
- " <text qname=\"para\"/>" +
- " </index>" +
- "</collection>";
-
private static String CONF2 =
"<collection xmlns=\"http://exist-db.org/collection-config/1.0\">" +
" <index>" +
@@ -89,30 +76,6 @@
" </index>" +
"</collection>";
- private static String CONF3 =
- "<collection xmlns=\"http://exist-db.org/collection-config/1.0\">" +
- " <index>" +
- " <fulltext default=\"none\">" +
- " </fulltext>" +
- " <text qname=\"hi\"/>" +
- " </index>" +
- "</collection>";
-
- private static String CONF4 =
- "<collection xmlns=\"http://exist-db.org/collection-config/1.0\">" +
- " <index xmlns:tei=\"http://www.tei-c.org/ns/1.0\">" +
- " <fulltext default=\"none\" attributes=\"no\">" +
- " </fulltext>" +
- " <lucene>" +
- " <text qname=\"p\">" +
- " <ignore qname=\"note\"/>" +
- " </text>" +
- " <text qname=\"head\"/>" +
- " <inline qname=\"s\"/>" +
- " </lucene>" +
- " </index>" +
- "</collection>";
-
private static String MATCH_START = "<exist:match xmlns:exist=\"http://exist.sourceforge.net/NS/exist\">";
private static String MATCH_END = "</exist:match>";
Please sign in to comment.
Something went wrong with that request. Please try again.