You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2013/01/31 04:14:23 UTC

svn commit: r1440833 - in /lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet: TestAdaptiveExample.java TestAssociationExample.java TestMultiCLExample.java TestSimpleExample.java

Author: rmuir
Date: Thu Jan 31 03:14:22 2013
New Revision: 1440833

URL: http://svn.apache.org/viewvc?rev=1440833&view=rev
Log:
suppress preflex codec for facet example tests: it does not support docvalues

Modified:
    lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestAdaptiveExample.java
    lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestAssociationExample.java
    lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestMultiCLExample.java
    lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestSimpleExample.java

Modified: lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestAdaptiveExample.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestAdaptiveExample.java?rev=1440833&r1=1440832&r2=1440833&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestAdaptiveExample.java (original)
+++ lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestAdaptiveExample.java Thu Jan 31 03:14:22 2013
@@ -3,6 +3,7 @@ package org.apache.lucene.demo.facet;
 import org.junit.Test;
 
 import org.apache.lucene.util.LuceneTestCase;
+import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
 import org.apache.lucene.demo.facet.ExampleResult;
 import org.apache.lucene.demo.facet.adaptive.AdaptiveMain;
 
@@ -27,6 +28,7 @@ import org.apache.lucene.demo.facet.adap
  * Test that the adaptive example works as expected. This test helps to verify
  * that examples code is alive!
  */
+@SuppressCodecs("Lucene3x")
 public class TestAdaptiveExample extends LuceneTestCase {
   
   @Test

Modified: lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestAssociationExample.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestAssociationExample.java?rev=1440833&r1=1440832&r2=1440833&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestAssociationExample.java (original)
+++ lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestAssociationExample.java Thu Jan 31 03:14:22 2013
@@ -3,6 +3,7 @@ package org.apache.lucene.demo.facet;
 import org.junit.Test;
 
 import org.apache.lucene.util.LuceneTestCase;
+import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
 import org.apache.lucene.demo.facet.ExampleResult;
 import org.apache.lucene.demo.facet.association.CategoryAssociationsMain;
 import org.apache.lucene.facet.search.results.FacetResultNode;
@@ -28,6 +29,7 @@ import org.apache.lucene.facet.search.re
  * Test that the association example works as expected. This test helps to
  * verify that examples code is alive!
  */
+@SuppressCodecs("Lucene3x")
 public class TestAssociationExample extends LuceneTestCase {
   
   private static final double[] EXPECTED_INT_SUM_RESULTS = { 4, 2};

Modified: lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestMultiCLExample.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestMultiCLExample.java?rev=1440833&r1=1440832&r2=1440833&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestMultiCLExample.java (original)
+++ lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestMultiCLExample.java Thu Jan 31 03:14:22 2013
@@ -6,6 +6,7 @@ import java.util.List;
 import org.junit.Test;
 
 import org.apache.lucene.util.LuceneTestCase;
+import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
 import org.apache.lucene.demo.facet.ExampleResult;
 import org.apache.lucene.demo.facet.multiCL.MultiCLMain;
 import org.apache.lucene.facet.search.results.FacetResult;
@@ -32,6 +33,7 @@ import org.apache.lucene.facet.search.re
  * Test that the multi-category list example works as expected. This test helps
  * to verify that examples code is alive!
  */
+@SuppressCodecs("Lucene3x")
 public class TestMultiCLExample extends LuceneTestCase {
 
   @Test

Modified: lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestSimpleExample.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestSimpleExample.java?rev=1440833&r1=1440832&r2=1440833&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestSimpleExample.java (original)
+++ lucene/dev/branches/branch_4x/lucene/demo/src/test/org/apache/lucene/demo/facet/TestSimpleExample.java Thu Jan 31 03:14:22 2013
@@ -5,6 +5,7 @@ import java.util.Iterator;
 import org.junit.Test;
 
 import org.apache.lucene.util.LuceneTestCase;
+import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
 import org.apache.lucene.demo.facet.ExampleResult;
 import org.apache.lucene.demo.facet.simple.SimpleMain;
 import org.apache.lucene.facet.search.results.FacetResult;
@@ -31,6 +32,7 @@ import org.apache.lucene.facet.search.re
  * Test that the simple example works as expected. This test helps to verify
  * that examples code is alive!
  */
+@SuppressCodecs("Lucene3x")
 public class TestSimpleExample extends LuceneTestCase {
 
   @Test