lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sar...@apache.org
Subject svn commit: r1298240 - /lucene/dev/trunk/modules/grouping/src/test/org/apache/lucene/search/grouping/AbstractGroupingTestCase.java
Date Thu, 08 Mar 2012 00:36:23 GMT
Author: sarowe
Date: Thu Mar  8 00:36:22 2012
New Revision: 1298240

URL: http://svn.apache.org/viewvc?rev=1298240&view=rev
Log:
LUCENE-3802: Add @Ignore annotation to AbstractGroupingTestCase to allow Maven Surefire to
succeed (otherwise, Maven fails with error "No runnable methods!")

Modified:
    lucene/dev/trunk/modules/grouping/src/test/org/apache/lucene/search/grouping/AbstractGroupingTestCase.java

Modified: lucene/dev/trunk/modules/grouping/src/test/org/apache/lucene/search/grouping/AbstractGroupingTestCase.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/modules/grouping/src/test/org/apache/lucene/search/grouping/AbstractGroupingTestCase.java?rev=1298240&r1=1298239&r2=1298240&view=diff
==============================================================================
--- lucene/dev/trunk/modules/grouping/src/test/org/apache/lucene/search/grouping/AbstractGroupingTestCase.java
(original)
+++ lucene/dev/trunk/modules/grouping/src/test/org/apache/lucene/search/grouping/AbstractGroupingTestCase.java
Thu Mar  8 00:36:22 2012
@@ -24,6 +24,7 @@ import org.apache.lucene.search.SortFiel
 import org.apache.lucene.util.BytesRef;
 import org.apache.lucene.util.LuceneTestCase;
 import org.apache.lucene.util._TestUtil;
+import org.junit.Ignore;
 
 import java.util.ArrayList;
 import java.util.Comparator;
@@ -37,6 +38,7 @@ import static org.junit.Assert.fail;
  * Base class for grouping related tests.
  */
 // TODO (MvG) : The grouping tests contain a lot of code duplication. Try to move the common
code to this class..
+@Ignore("Maven Surefire will attempt to run this test suite without an @Ignore annotation.")
 public class AbstractGroupingTestCase extends LuceneTestCase {
   
   protected String generateRandomNonEmptyString() {



Mime
View raw message