Skip to content

Commit e08bb8c

Browse files
author
eberhardtj
committed
Add sub-package 'contrib' for tests
1 parent 1c1d8b0 commit e08bb8c

File tree

6 files changed

+6
-10
lines changed

6 files changed

+6
-10
lines changed

src/test/java/org/metafacture/solr/FakeSolrClient.java renamed to src/test/java/org/metafacture/contrib/solr/FakeSolrClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.metafacture.solr;
1+
package org.metafacture.contrib.solr;
22

33
import org.apache.solr.client.solrj.SolrClient;
44
import org.apache.solr.client.solrj.SolrRequest;

src/test/java/org/metafacture/solr/HashMapListTest.java renamed to src/test/java/org/metafacture/contrib/solr/HashMapListTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.metafacture.solr;
1+
package org.metafacture.contrib.solr;
22

33
import org.junit.Before;
44
import org.junit.Test;

src/test/java/org/metafacture/solr/ObjectBuffer.java renamed to src/test/java/org/metafacture/contrib/solr/ObjectBuffer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.metafacture.solr;
16+
package org.metafacture.contrib.solr;
1717

1818
import org.metafacture.framework.ObjectReceiver;
1919

src/test/java/org/metafacture/solr/SolrCommitProcessTest.java renamed to src/test/java/org/metafacture/contrib/solr/SolrCommitProcessTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.metafacture.solr;
16+
package org.metafacture.contrib.solr;
1717

1818
import org.apache.solr.common.SolrInputDocument;
1919
import org.jcsp.lang.*;

src/test/java/org/metafacture/solr/SolrDocumentBuilderTest.java renamed to src/test/java/org/metafacture/contrib/solr/SolrDocumentBuilderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.metafacture.solr;
16+
package org.metafacture.contrib.solr;
1717

1818
import org.apache.solr.common.SolrInputDocument;
1919
import org.apache.solr.common.SolrInputField;

src/test/java/org/metafacture/solr/SolrXmlHandlerTest.java renamed to src/test/java/org/metafacture/contrib/solr/SolrXmlHandlerTest.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1-
package org.metafacture.solr;
1+
package org.metafacture.contrib.solr;
22

33
import org.apache.solr.common.SolrInputDocument;
44
import org.junit.Before;
55
import org.junit.Test;
6-
import org.xml.sax.Attributes;
76
import org.xml.sax.helpers.AttributesImpl;
87

9-
import javax.xml.namespace.QName;
10-
118
import java.util.HashMap;
129
import java.util.List;
1310
import java.util.stream.Collectors;
1411
import java.util.stream.Stream;
1512

16-
import static java.util.function.Predicate.isEqual;
1713
import static org.hamcrest.CoreMatchers.equalTo;
1814
import static org.hamcrest.CoreMatchers.hasItems;
1915
import static org.junit.Assert.*;

0 commit comments

Comments
 (0)