Inheritance: Lucene.Net.Util.LuceneTestCase
 public CommitAndAddIndexes3(TestAddIndexes outerInstance, int numCopy)
     : base(outerInstance, numCopy)
 {
     this.OuterInstance = outerInstance;
 }
            public RunAddIndexesThreads(TestAddIndexes outerInstance, int numCopy)
            {
                this.OuterInstance = outerInstance;
                NUM_COPY = numCopy;
                Dir = new MockDirectoryWrapper(Random(), new RAMDirectory());
                IndexWriter writer = new IndexWriter(Dir, (IndexWriterConfig)new IndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(Random())).SetMaxBufferedDocs(2));
                for (int i = 0; i < NUM_INIT_DOCS; i++)
                {
                    outerInstance.AddDoc(writer);
                }
                writer.Dispose();

                Dir2 = NewDirectory();
                Writer2 = new IndexWriter(Dir2, new IndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(Random())));
                Writer2.Commit();

                Readers = new IndexReader[NUM_COPY];
                for (int i = 0; i < NUM_COPY; i++)
                {
                    Readers[i] = DirectoryReader.Open(Dir);
                }
            }