You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by ch...@apache.org on 2012/10/12 20:45:11 UTC

svn commit: r1397680 - /incubator/ctakes/trunk/ctakes-relation-extractor/src/test/java/org/apache/ctakes/relationextractor/ae/NamedEntityFeaturesExtractorTest.java

Author: chenpei
Date: Fri Oct 12 18:45:11 2012
New Revision: 1397680

URL: http://svn.apache.org/viewvc?rev=1397680&view=rev
Log:
Update unit tests.
Forgot to update the Relation extraction unit test (it still had an old desc path to the type system.)

Modified:
    incubator/ctakes/trunk/ctakes-relation-extractor/src/test/java/org/apache/ctakes/relationextractor/ae/NamedEntityFeaturesExtractorTest.java

Modified: incubator/ctakes/trunk/ctakes-relation-extractor/src/test/java/org/apache/ctakes/relationextractor/ae/NamedEntityFeaturesExtractorTest.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-relation-extractor/src/test/java/org/apache/ctakes/relationextractor/ae/NamedEntityFeaturesExtractorTest.java?rev=1397680&r1=1397679&r2=1397680&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-relation-extractor/src/test/java/org/apache/ctakes/relationextractor/ae/NamedEntityFeaturesExtractorTest.java (original)
+++ incubator/ctakes/trunk/ctakes-relation-extractor/src/test/java/org/apache/ctakes/relationextractor/ae/NamedEntityFeaturesExtractorTest.java Fri Oct 12 18:45:11 2012
@@ -35,7 +35,7 @@ public class NamedEntityFeaturesExtracto
   @Test
   public void test() throws Exception {
     // create and populate a JCas with some EntityMention objects
-    JCas jCas = JCasFactory.createJCasFromPath("../ctakes-type-system/desc/common_type_system.xml");
+    JCas jCas = JCasFactory.createJCas("org.apache.ctakes.typesystem.types.TypeSystem");
     jCas.setDocumentText("aaa bbb ccc ddd");
     EntityMention e1 = new EntityMention(jCas, 0, 3);
     e1.setTypeID(42);