Return-Path: X-Original-To: apmail-incubator-ctakes-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ctakes-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 244ACD017 for ; Fri, 12 Oct 2012 18:45:56 +0000 (UTC) Received: (qmail 60604 invoked by uid 500); 12 Oct 2012 18:45:56 -0000 Delivered-To: apmail-incubator-ctakes-commits-archive@incubator.apache.org Received: (qmail 60582 invoked by uid 500); 12 Oct 2012 18:45:56 -0000 Mailing-List: contact ctakes-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ctakes-dev@incubator.apache.org Delivered-To: mailing list ctakes-commits@incubator.apache.org Received: (qmail 60575 invoked by uid 99); 12 Oct 2012 18:45:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 18:45:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 18:45:54 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D1C9423888CD; Fri, 12 Oct 2012 18:45:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1397680 - /incubator/ctakes/trunk/ctakes-relation-extractor/src/test/java/org/apache/ctakes/relationextractor/ae/NamedEntityFeaturesExtractorTest.java Date: Fri, 12 Oct 2012 18:45:11 -0000 To: ctakes-commits@incubator.apache.org From: chenpei@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121012184511.D1C9423888CD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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);