You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by to...@apache.org on 2013/02/22 09:25:05 UTC

svn commit: r1448932 - /lucene/dev/trunk/lucene/classification/src/test/org/apache/lucene/classification/SimpleNaiveBayesClassifierTest.java

Author: tommaso
Date: Fri Feb 22 08:25:05 2013
New Revision: 1448932

URL: http://svn.apache.org/r1448932
Log:
LUCENE-4782 - suppressing SNBC test for Lucene3x codec for now

Modified:
    lucene/dev/trunk/lucene/classification/src/test/org/apache/lucene/classification/SimpleNaiveBayesClassifierTest.java

Modified: lucene/dev/trunk/lucene/classification/src/test/org/apache/lucene/classification/SimpleNaiveBayesClassifierTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/classification/src/test/org/apache/lucene/classification/SimpleNaiveBayesClassifierTest.java?rev=1448932&r1=1448931&r2=1448932&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/classification/src/test/org/apache/lucene/classification/SimpleNaiveBayesClassifierTest.java (original)
+++ lucene/dev/trunk/lucene/classification/src/test/org/apache/lucene/classification/SimpleNaiveBayesClassifierTest.java Fri Feb 22 08:25:05 2013
@@ -19,6 +19,7 @@ package org.apache.lucene.classification
 import org.apache.lucene.analysis.Analyzer;
 import org.apache.lucene.analysis.MockAnalyzer;
 import org.apache.lucene.analysis.ngram.EdgeNGramTokenizer;
+import org.apache.lucene.util.LuceneTestCase;
 import org.junit.Test;
 
 import java.io.Reader;
@@ -26,6 +27,8 @@ import java.io.Reader;
 /**
  * Testcase for {@link SimpleNaiveBayesClassifier}
  */
+// TODO : eventually remove this if / when fallback methods exist for all un-supportable codec methods (see LUCENE-4872)
+@LuceneTestCase.SuppressCodecs("Lucene3x")
 public class SimpleNaiveBayesClassifierTest extends ClassificationTestBase {
 
   @Test