You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by mi...@apache.org on 2009/12/04 14:42:20 UTC
svn commit: r887191 - in /lucene/java/branches/flex_1458:
contrib/benchmark/src/test/org/apache/lucene/benchmark/byTask/
contrib/collation/src/test/org/apache/lucene/collation/
src/test/org/apache/lucene/index/
Author: mikemccand
Date: Fri Dec 4 13:42:19 2009
New Revision: 887191
URL: http://svn.apache.org/viewvc?rev=887191&view=rev
Log:
LUCENE-2111: re-enable tests I had accidentally xxx'd
Modified:
lucene/java/branches/flex_1458/contrib/benchmark/src/test/org/apache/lucene/benchmark/byTask/TestPerfTasksLogic.java
lucene/java/branches/flex_1458/contrib/collation/src/test/org/apache/lucene/collation/TestICUCollationKeyAnalyzer.java
lucene/java/branches/flex_1458/src/test/org/apache/lucene/index/TestLazyProxSkipping.java
Modified: lucene/java/branches/flex_1458/contrib/benchmark/src/test/org/apache/lucene/benchmark/byTask/TestPerfTasksLogic.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/flex_1458/contrib/benchmark/src/test/org/apache/lucene/benchmark/byTask/TestPerfTasksLogic.java?rev=887191&r1=887190&r2=887191&view=diff
==============================================================================
--- lucene/java/branches/flex_1458/contrib/benchmark/src/test/org/apache/lucene/benchmark/byTask/TestPerfTasksLogic.java (original)
+++ lucene/java/branches/flex_1458/contrib/benchmark/src/test/org/apache/lucene/benchmark/byTask/TestPerfTasksLogic.java Fri Dec 4 13:42:19 2009
@@ -65,7 +65,7 @@
/**
* Test index creation logic
*/
- public void xxxtestIndexAndSearchTasks() throws Exception {
+ public void testIndexAndSearchTasks() throws Exception {
// 1. alg definition (required in every "logic" test)
String algLines[] = {
"ResetSystemErase",
@@ -100,7 +100,7 @@
/**
* Test timed sequence task.
*/
- public void xxxtestTimedSearchTask() throws Exception {
+ public void testTimedSearchTask() throws Exception {
String algLines[] = {
"log.step=100000",
"ResetSystemErase",
@@ -181,7 +181,7 @@
ir.close();
}
- public void xxxtestHighlightingTV() throws Exception {
+ public void testHighlightingTV() throws Exception {
// 1. alg definition (required in every "logic" test)
String algLines[] = {
"doc.stored=true",//doc storage is required in order to have text to highlight
@@ -220,7 +220,7 @@
ir.close();
}
- public void xxxtestHighlightingNoTvNoStore() throws Exception {
+ public void testHighlightingNoTvNoStore() throws Exception {
// 1. alg definition (required in every "logic" test)
String algLines[] = {
"doc.stored=false",
@@ -253,7 +253,7 @@
/**
* Test Exhasting Doc Maker logic
*/
- public void xxxtestExhaustContentSource() throws Exception {
+ public void testExhaustContentSource() throws Exception {
// 1. alg definition (required in every "logic" test)
String algLines[] = {
"# ----- properties ",
@@ -332,7 +332,7 @@
/**
* Test Parallel Doc Maker logic (for LUCENE-940)
*/
- public void xxxtestParallelDocMaker() throws Exception {
+ public void testParallelDocMaker() throws Exception {
// 1. alg definition (required in every "logic" test)
String algLines[] = {
"# ----- properties ",
@@ -363,7 +363,7 @@
/**
* Test WriteLineDoc and LineDocSource.
*/
- public void xxxtestLineDocFile() throws Exception {
+ public void testLineDocFile() throws Exception {
File lineFile = new File(System.getProperty("tempDir"), "test.reuters.lines.txt");
// We will call WriteLineDocs this many times
@@ -422,7 +422,7 @@
/**
* Test ReadTokensTask
*/
- public void xxxtestReadTokens() throws Exception {
+ public void testReadTokens() throws Exception {
// We will call ReadTokens on this many docs
final int NUM_DOCS = 20;
@@ -481,7 +481,7 @@
/**
* Test that " {[AddDoc(4000)]: 4} : * " works corrcetly (for LUCENE-941)
*/
- public void xxxtestParallelExhausted() throws Exception {
+ public void testParallelExhausted() throws Exception {
// 1. alg definition (required in every "logic" test)
String algLines[] = {
"# ----- properties ",
@@ -544,7 +544,7 @@
/**
* Test that exhaust in loop works as expected (LUCENE-1115).
*/
- public void xxxtestExhaustedLooped() throws Exception {
+ public void testExhaustedLooped() throws Exception {
// 1. alg definition (required in every "logic" test)
String algLines[] = {
"# ----- properties ",
@@ -579,7 +579,7 @@
/**
* Test that we can close IndexWriter with argument "false".
*/
- public void xxxtestCloseIndexFalse() throws Exception {
+ public void testCloseIndexFalse() throws Exception {
// 1. alg definition (required in every "logic" test)
String algLines[] = {
"# ----- properties ",
@@ -624,7 +624,7 @@
/**
* Test that we can set merge scheduler".
*/
- public void xxxtestMergeScheduler() throws Exception {
+ public void testMergeScheduler() throws Exception {
// 1. alg definition (required in every "logic" test)
String algLines[] = {
"# ----- properties ",
@@ -668,7 +668,7 @@
/**
* Test that we can set merge policy".
*/
- public void xxxtestMergePolicy() throws Exception {
+ public void testMergePolicy() throws Exception {
// 1. alg definition (required in every "logic" test)
String algLines[] = {
"# ----- properties ",
@@ -707,7 +707,7 @@
/**
* Test that IndexWriter settings stick.
*/
- public void xxxtestIndexWriterSettings() throws Exception {
+ public void testIndexWriterSettings() throws Exception {
// 1. alg definition (required in every "logic" test)
String algLines[] = {
"# ----- properties ",
@@ -752,7 +752,7 @@
/**
* Test that we can call optimize(maxNumSegments).
*/
- public void xxxtestOptimizeMaxNumSegments() throws Exception {
+ public void testOptimizeMaxNumSegments() throws Exception {
// 1. alg definition (required in every "logic" test)
String algLines[] = {
"# ----- properties ",
@@ -799,7 +799,7 @@
/**
* Test disabling task count (LUCENE-1136).
*/
- public void xxxtestDisableCounting() throws Exception {
+ public void testDisableCounting() throws Exception {
doTestDisableCounting(true);
doTestDisableCounting(false);
}
Modified: lucene/java/branches/flex_1458/contrib/collation/src/test/org/apache/lucene/collation/TestICUCollationKeyAnalyzer.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/flex_1458/contrib/collation/src/test/org/apache/lucene/collation/TestICUCollationKeyAnalyzer.java?rev=887191&r1=887190&r2=887191&view=diff
==============================================================================
--- lucene/java/branches/flex_1458/contrib/collation/src/test/org/apache/lucene/collation/TestICUCollationKeyAnalyzer.java (original)
+++ lucene/java/branches/flex_1458/contrib/collation/src/test/org/apache/lucene/collation/TestICUCollationKeyAnalyzer.java Fri Dec 4 13:42:19 2009
@@ -43,17 +43,17 @@
testFarsiQueryParserCollating(analyzer);
}
- public void xxxtestFarsiRangeFilterCollating() throws Exception {
+ public void testFarsiRangeFilterCollating() throws Exception {
testFarsiRangeFilterCollating(analyzer, firstRangeBeginning, firstRangeEnd,
secondRangeBeginning, secondRangeEnd);
}
- public void xxxtestFarsiRangeQueryCollating() throws Exception {
+ public void testFarsiRangeQueryCollating() throws Exception {
testFarsiRangeQueryCollating(analyzer, firstRangeBeginning, firstRangeEnd,
secondRangeBeginning, secondRangeEnd);
}
- public void xxxtestFarsiTermRangeQuery() throws Exception {
+ public void testFarsiTermRangeQuery() throws Exception {
testFarsiTermRangeQuery
(analyzer, firstRangeBeginning, firstRangeEnd,
secondRangeBeginning, secondRangeEnd);
@@ -65,7 +65,7 @@
// Copied (and slightly modified) from
// org.apache.lucene.search.TestSort.testInternationalSort()
//
- public void xxxtestCollationKeySort() throws Exception {
+ public void testCollationKeySort() throws Exception {
Analyzer usAnalyzer = new ICUCollationKeyAnalyzer
(Collator.getInstance(Locale.US));
Analyzer franceAnalyzer = new ICUCollationKeyAnalyzer
Modified: lucene/java/branches/flex_1458/src/test/org/apache/lucene/index/TestLazyProxSkipping.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/flex_1458/src/test/org/apache/lucene/index/TestLazyProxSkipping.java?rev=887191&r1=887190&r2=887191&view=diff
==============================================================================
--- lucene/java/branches/flex_1458/src/test/org/apache/lucene/index/TestLazyProxSkipping.java (original)
+++ lucene/java/branches/flex_1458/src/test/org/apache/lucene/index/TestLazyProxSkipping.java Fri Dec 4 13:42:19 2009
@@ -117,7 +117,7 @@
performTest(10);
}
- public void xxxtestSeek() throws IOException {
+ public void testSeek() throws IOException {
Directory directory = new RAMDirectory();
IndexWriter writer = new IndexWriter(directory, new WhitespaceAnalyzer(), true, IndexWriter.MaxFieldLength.LIMITED);
for (int i = 0; i < 10; i++) {