ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james-mas...@apache.org
Subject svn commit: r1507124 - /ctakes/branches/ctakes-3.1.0/ctakes-core/src/test/java/org/apache/ctakes/core/ae/TokenizerAnnotatorPTBTests.java
Date Thu, 25 Jul 2013 20:59:18 GMT
Author: james-masanz
Date: Thu Jul 25 20:59:18 2013
New Revision: 1507124

URL: http://svn.apache.org/r1507124
Log:
build error

Modified:
    ctakes/branches/ctakes-3.1.0/ctakes-core/src/test/java/org/apache/ctakes/core/ae/TokenizerAnnotatorPTBTests.java

Modified: ctakes/branches/ctakes-3.1.0/ctakes-core/src/test/java/org/apache/ctakes/core/ae/TokenizerAnnotatorPTBTests.java
URL: http://svn.apache.org/viewvc/ctakes/branches/ctakes-3.1.0/ctakes-core/src/test/java/org/apache/ctakes/core/ae/TokenizerAnnotatorPTBTests.java?rev=1507124&r1=1507123&r2=1507124&view=diff
==============================================================================
--- ctakes/branches/ctakes-3.1.0/ctakes-core/src/test/java/org/apache/ctakes/core/ae/TokenizerAnnotatorPTBTests.java
(original)
+++ ctakes/branches/ctakes-3.1.0/ctakes-core/src/test/java/org/apache/ctakes/core/ae/TokenizerAnnotatorPTBTests.java
Thu Jul 25 20:59:18 2013
@@ -23,7 +23,7 @@ import static org.junit.Assert.assertEqu
 import java.io.File;
 import java.util.Date;
 
-import org.apache.log4j.Logger;
+//import org.apache.log4j.Logger;
 import org.apache.uima.analysis_engine.AnalysisEngine;
 import org.apache.uima.jcas.JCas;
 import org.apache.uima.resource.ResourceInitializationException;
@@ -40,7 +40,7 @@ import org.apache.ctakes.utils.test.Test
 public class TokenizerAnnotatorPTBTests {
 
     TestData<SimpleToken []>[] tests;
-    private static final Logger logger = Logger.getLogger(TokenizerAnnotatorPTBTests.class.getName());
+    //private static final Logger logger = Logger.getLogger(TokenizerAnnotatorPTBTests.class.getName());
     
     public TokenizerAnnotatorPTBTests() {
 	
@@ -117,9 +117,9 @@ public class TokenizerAnnotatorPTBTests 
     		jCas = TestUtil.processAE(ae, testInput);
     		boolean alreadyOutputDebugInfoForThisRunOfPipeline = false;
 
-    		String DQUOTE = "\"";
-    		logger.info("- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - -");
-    		logger.info("Test PTB Tokenizer for string (shown here in quotes) " + DQUOTE + testInput
+ DQUOTE);
+    		//String DQUOTE = "\"";
+    		//logger.info("- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -");
+    		//logger.info("Test PTB Tokenizer for string (shown here in quotes) " + DQUOTE + testInput
+ DQUOTE);
 
     		int numTokensTested = 0;
     		for (int i=0; i< expectedResults.length; i++) {
@@ -159,7 +159,7 @@ public class TokenizerAnnotatorPTBTests 
     			}
     		}
 
-    		logger.info("Verified " + numTokensTested + " token(s) using assertions.");
+    		//logger.info("Verified " + numTokensTested + " token(s) using assertions.");
 
     	}
     }



Mime
View raw message