You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2011/08/26 11:10:43 UTC
svn commit: r1162035 - in /incubator/opennlp/sandbox/corpus-server/src/test:
./ java/ java/org/ java/org/apache/ java/org/apache/opennlp/
java/org/apache/opennlp/corpus_server/
java/org/apache/opennlp/corpus_server/util/
Author: joern
Date: Fri Aug 26 09:10:42 2011
New Revision: 1162035
URL: http://svn.apache.org/viewvc?rev=1162035&view=rev
Log:
OPENNLP-276 Added test corpus server instance. Thanks to Tommaso Teofili for provding this class as part of a patch he attached to OPENNLP - 261.
Added:
incubator/opennlp/sandbox/corpus-server/src/test/
incubator/opennlp/sandbox/corpus-server/src/test/java/
incubator/opennlp/sandbox/corpus-server/src/test/java/org/
incubator/opennlp/sandbox/corpus-server/src/test/java/org/apache/
incubator/opennlp/sandbox/corpus-server/src/test/java/org/apache/opennlp/
incubator/opennlp/sandbox/corpus-server/src/test/java/org/apache/opennlp/corpus_server/
incubator/opennlp/sandbox/corpus-server/src/test/java/org/apache/opennlp/corpus_server/util/
incubator/opennlp/sandbox/corpus-server/src/test/java/org/apache/opennlp/corpus_server/util/TestCorpusServer.java (with props)
Added: incubator/opennlp/sandbox/corpus-server/src/test/java/org/apache/opennlp/corpus_server/util/TestCorpusServer.java
URL: http://svn.apache.org/viewvc/incubator/opennlp/sandbox/corpus-server/src/test/java/org/apache/opennlp/corpus_server/util/TestCorpusServer.java?rev=1162035&view=auto
==============================================================================
--- incubator/opennlp/sandbox/corpus-server/src/test/java/org/apache/opennlp/corpus_server/util/TestCorpusServer.java (added)
+++ incubator/opennlp/sandbox/corpus-server/src/test/java/org/apache/opennlp/corpus_server/util/TestCorpusServer.java Fri Aug 26 09:10:42 2011
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.opennlp.corpus_server.util;
+
+import org.apache.opennlp.corpus_server.CorpusServer;
+
+/**
+ * Utility CorpusServer extension class that can be used for test purposes.
+ */
+public class TestCorpusServer extends CorpusServer {
+ public TestCorpusServer() {
+ super.contextInitialized(null);
+ }
+}
Propchange: incubator/opennlp/sandbox/corpus-server/src/test/java/org/apache/opennlp/corpus_server/util/TestCorpusServer.java
------------------------------------------------------------------------------
svn:mime-type = text/plain