Base class for all Lucene unit tests that use TokenStreams.

This class runs all tests twice, one time with {@link TokenStream#setOnlyUseNewAPI} false and after that one time with true.

Наследование: Lucene.Net.Util.LuceneTestCase
 /// <summary>
 /// <param name="outerInstance">
 /// LUCENENET specific
 /// Added to remove a call to the then-static BaseTokenStreamTestCase methods</param>
 /// </summary>
 internal AnalysisThread(long seed, /*CountdownEvent latch,*/ Analyzer a, int iterations, int maxWordLength, 
     bool useCharFilter, bool simple, bool offsetsAreCorrect, RandomIndexWriter iw, BaseTokenStreamTestCase outerInstance)
 {
     this.Seed = seed;
     this.a = a;
     this.Iterations = iterations;
     this.MaxWordLength = maxWordLength;
     this.UseCharFilter = useCharFilter;
     this.Simple = simple;
     this.OffsetsAreCorrect = offsetsAreCorrect;
     this.Iw = iw;
     this._latch = null;
     this.OuterInstance = outerInstance;
 }