junit.framework.TestCaseorg.apache.lucene.util.LuceneTestCase



Project apache/lucene-solr in file ...org.apache.lucene.benchmark.BenchmarkTestCase.java (2010-03-26)
@@ -19,10 +19,10 @@ package org.apache.lucene.benchmark;
 
 import java.io.File;
 
-import junit.framework.TestCase;
+import org.apache.lucene.util.LuceneTestCase;
 
 /** Base class for all Benchmark unit tests. */
-public class BenchmarkTestCase extends TestCase {
+public class BenchmarkTestCase extends LuceneTestCase {
 
   private static final File workDir;
 
Project apache/lucene-solr in file ...t.org.apache.solr.schema.PreAnalyzedFieldTest.java (2012-07-11)
@@ -21,13 +21,12 @@ import java.util.Collections;
 import java.util.HashMap;
 
 import org.apache.lucene.document.Field;
+import org.apache.lucene.util.LuceneTestCase;
 import org.apache.solr.common.util.Base64;
 import org.apache.solr.schema.PreAnalyzedField.PreAnalyzedParser;
 import org.junit.Test;
 
-import junit.framework.TestCase;
-
-public class PreAnalyzedFieldTest extends TestCase {
+public class PreAnalyzedFieldTest extends LuceneTestCase {
   
   private static final String[] valid = {
     "1 one two three",                       // simple parsing
Project apache/lucene-solr in file ...rc.test.org.apache.solr.util.CircularListTest.java (2012-07-11)
@@ -19,15 +19,14 @@ package org.apache.solr.util;
 
 import java.io.IOException;
 
-import junit.framework.TestCase;
-
+import org.apache.lucene.util.LuceneTestCase;
 import org.apache.solr.logging.CircularList;
 import org.junit.Test;
 
 /** 
  * Test circular list
  */
-public class CircularListTest  extends TestCase {  
+public class CircularListTest  extends LuceneTestCase {  
 
   @Test
   public void testCircularList() throws IOException {
Project apache/lucene-solr in file ...c.test.org.apache.lucene.ant.DocumentTestCase.java (2010-08-09)
@@ -21,9 +21,9 @@ import java.io.File;
 import java.io.IOException;
 import java.net.URLDecoder;
 
-import junit.framework.TestCase;
+import org.apache.lucene.util.LuceneTestCase;
 
-public abstract class DocumentTestCase extends TestCase
+public abstract class DocumentTestCase extends LuceneTestCase
 {
     public DocumentTestCase(String name) {
         super(name);
Project apache/lucene-solr in file ...he.lucene.benchmark.byTask.TestPerfTasksParse.java (2010-08-09)
@@ -19,14 +19,14 @@ package org.apache.lucene.benchmark.byTask;
 
 import java.io.StringReader;
 import java.util.ArrayList;
-import junit.framework.TestCase;
 
 import org.apache.lucene.benchmark.byTask.tasks.PerfTask;
 import org.apache.lucene.benchmark.byTask.tasks.TaskSequence;
 import org.apache.lucene.benchmark.byTask.utils.Algorithm;
+import org.apache.lucene.util.LuceneTestCase;
 
 /** Test very simply that perf tasks are parses as expected. */
-public class TestPerfTasksParse extends TestCase {
+public class TestPerfTasksParse extends LuceneTestCase {
 
   static final String NEW_LINE = System.getProperty("line.separator");
   static final String INDENT = "  ";