blob: ab062083bdf465ea1b3a2abb279dc14f75149198 [file] [log] [blame]
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class LuceneTestCase
| Apache Lucene.NET 4.8.0-beta00013 Documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class LuceneTestCase
| Apache Lucene.NET 4.8.0-beta00013 Documentation ">
<meta name="generator" content="docfx 2.56.2.0">
<link rel="shortcut icon" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/logo/favicon.ico">
<link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.vendor.css">
<link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.css">
<link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/main.css">
<meta property="docfx:navrel" content="toc.html">
<meta property="docfx:tocrel" content="test-framework/toc.html">
<meta property="docfx:rel" content="https://lucenenet.apache.org/docs/4.8.0-beta00009/">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<span id="forkongithub"><a href="https://github.com/apache/lucenenet" target="_blank">Fork me on GitHub</a></span>
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">
<img id="logo" class="svg" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/logo/lucene-net-color.png" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search">
<ul class="level0 breadcrumb">
<li>
<a href="https://lucenenet.apache.org/docs/4.8.0-beta00009/">API</a>
<span id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</span>
</li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list"></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="Lucene.Net.Util.LuceneTestCase">
<h1 id="Lucene_Net_Util_LuceneTestCase" data-uid="Lucene.Net.Util.LuceneTestCase" class="text-break">Class LuceneTestCase
</h1>
<div class="markdown level0 summary"><p>LUCENENET specific extensions to <a class="xref" href="Lucene.Net.Util.LuceneTestCase.html">LuceneTestCase</a> to make it easier to port tests
from Java with fewer changes.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><span class="xref">System.Object</span></div>
<div class="level1"><span class="xref">LuceneTestCase</span></div>
<div class="level2"><a class="xref" href="Lucene.Net.Analysis.BaseTokenStreamTestCase.html">BaseTokenStreamTestCase</a></div>
<div class="level2"><a class="xref" href="Lucene.Net.Analysis.CollationTestBase.html">CollationTestBase</a></div>
<div class="level2"><a class="xref" href="Lucene.Net.Configuration.ConfigurationSettingsTestCase.html">ConfigurationSettingsTestCase</a></div>
<div class="level2"><a class="xref" href="Lucene.Net.Index.BaseIndexFileFormatTestCase.html">BaseIndexFileFormatTestCase</a></div>
<div class="level2"><a class="xref" href="Lucene.Net.Index.BaseMergePolicyTestCase.html">BaseMergePolicyTestCase</a></div>
<div class="level2"><a class="xref" href="Lucene.Net.Index.ThreadedIndexingAndSearchingTestCase.html">ThreadedIndexingAndSearchingTestCase</a></div>
<div class="level2"><a class="xref" href="Lucene.Net.Search.SearchEquivalenceTestBase.html">SearchEquivalenceTestBase</a></div>
<div class="level2"><a class="xref" href="Lucene.Net.Search.ShardSearchingTestBase.html">ShardSearchingTestBase</a></div>
<div class="level2"><a class="xref" href="Lucene.Net.Store.BaseDirectoryTestCase.html">BaseDirectoryTestCase</a></div>
<div class="level2"><a class="xref" href="Lucene.Net.Util.ApiScanTestBase.html">ApiScanTestBase</a></div>
<div class="level2"><a class="xref" href="Lucene.Net.Util.BaseDocIdSetTestCase-1.html">BaseDocIdSetTestCase&lt;T&gt;</a></div>
<div class="level2"><a class="xref" href="Lucene.Net.Util.ExceptionSerializationTestBase.html">ExceptionSerializationTestBase</a></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<span class="xref">System.Object.Equals(System.Object)</span>
</div>
<div>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.GetHashCode()</span>
</div>
<div>
<span class="xref">System.Object.GetType()</span>
</div>
<div>
<span class="xref">System.Object.MemberwiseClone()</span>
</div>
<div>
<span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.ToString()</span>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="Lucene.Net.Util.html">Lucene.Net.Util</a></h6>
<h6><strong>Assembly</strong>: Lucene.Net.TestFramework.dll</h6>
<h5 id="Lucene_Net_Util_LuceneTestCase_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[TestFixture]
public abstract class LuceneTestCase</code></pre>
</div>
<h3 id="fields">Fields
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_DEFAULT_LINE_DOCS_FILE.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.DEFAULT_LINE_DOCS_FILE%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L665">View Source</a>
</span>
<h4 id="Lucene_Net_Util_LuceneTestCase_DEFAULT_LINE_DOCS_FILE" data-uid="Lucene.Net.Util.LuceneTestCase.DEFAULT_LINE_DOCS_FILE">DEFAULT_LINE_DOCS_FILE</h4>
<div class="markdown level1 summary"><p>TODO: javadoc? </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string DEFAULT_LINE_DOCS_FILE = &quot;europarl.lines.txt.gz&quot;</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_JENKINS_LARGE_LINE_DOCS_FILE.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.JENKINS_LARGE_LINE_DOCS_FILE%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L669">View Source</a>
</span>
<h4 id="Lucene_Net_Util_LuceneTestCase_JENKINS_LARGE_LINE_DOCS_FILE" data-uid="Lucene.Net.Util.LuceneTestCase.JENKINS_LARGE_LINE_DOCS_FILE">JENKINS_LARGE_LINE_DOCS_FILE</h4>
<div class="markdown level1 summary"><p>TODO: javadoc? </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string JENKINS_LARGE_LINE_DOCS_FILE = &quot;enwiki.random.lines.txt&quot;</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_SuiteFailureMarker.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.SuiteFailureMarker%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L822">View Source</a>
</span>
<h4 id="Lucene_Net_Util_LuceneTestCase_SuiteFailureMarker" data-uid="Lucene.Net.Util.LuceneTestCase.SuiteFailureMarker">SuiteFailureMarker</h4>
<div class="markdown level1 summary"><p>Suite failure marker (any error in the test or suite scope).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static readonly bool SuiteFailureMarker</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_TEST_VERSION_CURRENT.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.TEST_VERSION_CURRENT%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L526">View Source</a>
</span>
<h4 id="Lucene_Net_Util_LuceneTestCase_TEST_VERSION_CURRENT" data-uid="Lucene.Net.Util.LuceneTestCase.TEST_VERSION_CURRENT">TEST_VERSION_CURRENT</h4>
<div class="markdown level1 summary"><p>Use this constant when creating Analyzers and any other version-dependent stuff.
<p><strong>NOTE:</strong> Change this when development starts for new Lucene version:</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const LuceneVersion TEST_VERSION_CURRENT = LuceneVersion.LUCENE_48</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Util.LuceneVersion</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="properties">Properties
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_DefaultCodecSupportsDocsWithField.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.DefaultCodecSupportsDocsWithField%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2510">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_DefaultCodecSupportsDocsWithField_" data-uid="Lucene.Net.Util.LuceneTestCase.DefaultCodecSupportsDocsWithField*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_DefaultCodecSupportsDocsWithField" data-uid="Lucene.Net.Util.LuceneTestCase.DefaultCodecSupportsDocsWithField">DefaultCodecSupportsDocsWithField</h4>
<div class="markdown level1 summary"><p>Returns true if the codec &quot;supports&quot; docsWithField
(other codecs return MatchAllBits, because you couldnt write missing values before)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool DefaultCodecSupportsDocsWithField { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_DefaultCodecSupportsDocValues.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.DefaultCodecSupportsDocValues%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2090">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_DefaultCodecSupportsDocValues_" data-uid="Lucene.Net.Util.LuceneTestCase.DefaultCodecSupportsDocValues*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_DefaultCodecSupportsDocValues" data-uid="Lucene.Net.Util.LuceneTestCase.DefaultCodecSupportsDocValues">DefaultCodecSupportsDocValues</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool DefaultCodecSupportsDocValues { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_DefaultCodecSupportsFieldUpdates.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.DefaultCodecSupportsFieldUpdates%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2532">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_DefaultCodecSupportsFieldUpdates_" data-uid="Lucene.Net.Util.LuceneTestCase.DefaultCodecSupportsFieldUpdates*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_DefaultCodecSupportsFieldUpdates" data-uid="Lucene.Net.Util.LuceneTestCase.DefaultCodecSupportsFieldUpdates">DefaultCodecSupportsFieldUpdates</h4>
<div class="markdown level1 summary"><p>Returns true if the codec &quot;supports&quot; field updates. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool DefaultCodecSupportsFieldUpdates { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_DefaultCodecSupportsMissingDocValues.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.DefaultCodecSupportsMissingDocValues%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2468">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_DefaultCodecSupportsMissingDocValues_" data-uid="Lucene.Net.Util.LuceneTestCase.DefaultCodecSupportsMissingDocValues*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_DefaultCodecSupportsMissingDocValues" data-uid="Lucene.Net.Util.LuceneTestCase.DefaultCodecSupportsMissingDocValues">DefaultCodecSupportsMissingDocValues</h4>
<div class="markdown level1 summary"><p>Returns true if the default codec supports single valued docvalues with missing values </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool DefaultCodecSupportsMissingDocValues { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_DefaultCodecSupportsSortedSet.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.DefaultCodecSupportsSortedSet%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2487">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_DefaultCodecSupportsSortedSet_" data-uid="Lucene.Net.Util.LuceneTestCase.DefaultCodecSupportsSortedSet*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_DefaultCodecSupportsSortedSet" data-uid="Lucene.Net.Util.LuceneTestCase.DefaultCodecSupportsSortedSet">DefaultCodecSupportsSortedSet</h4>
<div class="markdown level1 summary"><p>Returns true if the default codec supports SORTED_SET docvalues </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool DefaultCodecSupportsSortedSet { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_DoesntSupportOffsets.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.DoesntSupportOffsets%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L758">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_DoesntSupportOffsets_" data-uid="Lucene.Net.Util.LuceneTestCase.DoesntSupportOffsets*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_DoesntSupportOffsets" data-uid="Lucene.Net.Util.LuceneTestCase.DoesntSupportOffsets">DoesntSupportOffsets</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected static ICollection&lt;string&gt; DoesntSupportOffsets { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.ICollection</span>&lt;<span class="xref">System.String</span>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_LeaveTemporary.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.LeaveTemporary%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L727">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_LeaveTemporary_" data-uid="Lucene.Net.Util.LuceneTestCase.LeaveTemporary*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_LeaveTemporary" data-uid="Lucene.Net.Util.LuceneTestCase.LeaveTemporary">LeaveTemporary</h4>
<div class="markdown level1 summary"><p>Leave temporary files on disk, even on successful runs. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool LeaveTemporary { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_OldFormatImpersonationIsActive.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.OldFormatImpersonationIsActive%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L778">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_OldFormatImpersonationIsActive_" data-uid="Lucene.Net.Util.LuceneTestCase.OldFormatImpersonationIsActive*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_OldFormatImpersonationIsActive" data-uid="Lucene.Net.Util.LuceneTestCase.OldFormatImpersonationIsActive">OldFormatImpersonationIsActive</h4>
<div class="markdown level1 summary"><p>When <code>true</code>, Codecs for old Lucene version will support writing
indexes in that format. Defaults to <code>false</code>, can be disabled by
specific tests on demand.
<p>
<div class="lucene-block lucene-internal">This is a Lucene.NET INTERNAL API, use at your own risk</div></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool OldFormatImpersonationIsActive { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_Random.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.Random%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1209">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_Random_" data-uid="Lucene.Net.Util.LuceneTestCase.Random*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_Random" data-uid="Lucene.Net.Util.LuceneTestCase.Random">Random</h4>
<div class="markdown level1 summary"><p>Access to the current <span class="xref">System.Random</span> instance. It is safe to use
this method from multiple threads, etc., but it should be called while within a runner&apos;s
scope (so no static initializers). The returned <span class="xref">System.Random</span> instance will be
<strong>different</strong> when this method is called inside a <a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_BeforeClass">BeforeClass()</a> hook (static
suite scope) and within <span class="xref">NUnit.Framework.SetUpAttribute</span>/ <span class="xref">NUnit.Framework.TearDownAttribute</span> hooks or test methods.</p>
<p><p>The returned instance must not be shared with other threads or cross a single scope&apos;s
boundary. For example, a <span class="xref">System.Random</span> acquired within a test method shouldn&apos;t be reused
for another test case.</p>
<p><p>There is an overhead connected with getting the <span class="xref">System.Random</span> for a particular context
and thread. It is better to cache the <span class="xref">System.Random</span> locally if tight loops with multiple
invocations are present or create a derivative local <span class="xref">System.Random</span> for millions of calls
like this:</p>
<pre><code>Random random = new Random(Random.Next());
// tight loop with many invocations.</code></pre>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static Random Random { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_RandomMultiplier.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.RandomMultiplier%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L661">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_RandomMultiplier_" data-uid="Lucene.Net.Util.LuceneTestCase.RandomMultiplier*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_RandomMultiplier" data-uid="Lucene.Net.Util.LuceneTestCase.RandomMultiplier">RandomMultiplier</h4>
<div class="markdown level1 summary"><p>A random multiplier which you should use when writing random tests:
multiply it by the number of iterations to scale your tests (for nightly builds).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static int RandomMultiplier { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_TestAwaitsFix.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.TestAwaitsFix%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L715">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_TestAwaitsFix_" data-uid="Lucene.Net.Util.LuceneTestCase.TestAwaitsFix*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_TestAwaitsFix" data-uid="Lucene.Net.Util.LuceneTestCase.TestAwaitsFix">TestAwaitsFix</h4>
<div class="markdown level1 summary"><p>Whether or not <a class="xref" href="Lucene.Net.Util.LuceneTestCase.AwaitsFixAttribute.html">LuceneTestCase.AwaitsFixAttribute</a> tests should run. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool TestAwaitsFix { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_TestCodec.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.TestCodec%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L673">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_TestCodec_" data-uid="Lucene.Net.Util.LuceneTestCase.TestCodec*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_TestCodec" data-uid="Lucene.Net.Util.LuceneTestCase.TestCodec">TestCodec</h4>
<div class="markdown level1 summary"><p>Gets the codec to run tests with. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static string TestCodec { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_TestDirectory.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.TestDirectory%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L685">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_TestDirectory_" data-uid="Lucene.Net.Util.LuceneTestCase.TestDirectory*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_TestDirectory" data-uid="Lucene.Net.Util.LuceneTestCase.TestDirectory">TestDirectory</h4>
<div class="markdown level1 summary"><p>Gets the directory to run tests with </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static string TestDirectory { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_TestDocValuesFormat.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.TestDocValuesFormat%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L681">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_TestDocValuesFormat_" data-uid="Lucene.Net.Util.LuceneTestCase.TestDocValuesFormat*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_TestDocValuesFormat" data-uid="Lucene.Net.Util.LuceneTestCase.TestDocValuesFormat">TestDocValuesFormat</h4>
<div class="markdown level1 summary"><p>Gets the docValuesFormat to run tests with </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static string TestDocValuesFormat { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_TestLineDocsFile.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.TestLineDocsFile%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L689">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_TestLineDocsFile_" data-uid="Lucene.Net.Util.LuceneTestCase.TestLineDocsFile*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_TestLineDocsFile" data-uid="Lucene.Net.Util.LuceneTestCase.TestLineDocsFile">TestLineDocsFile</h4>
<div class="markdown level1 summary"><p>The line file used by <a class="xref" href="Lucene.Net.Util.LineFileDocs.html">LineFileDocs</a> </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static string TestLineDocsFile { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_TestName.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.TestName%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1283">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_TestName_" data-uid="Lucene.Net.Util.LuceneTestCase.TestName*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_TestName" data-uid="Lucene.Net.Util.LuceneTestCase.TestName">TestName</h4>
<div class="markdown level1 summary"><p>Return the name of the currently executing test case.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual string TestName { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_TestNightly.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.TestNightly%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L707">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_TestNightly_" data-uid="Lucene.Net.Util.LuceneTestCase.TestNightly*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_TestNightly" data-uid="Lucene.Net.Util.LuceneTestCase.TestNightly">TestNightly</h4>
<div class="markdown level1 summary"><p>Whether or not <a class="xref" href="Lucene.Net.Util.LuceneTestCase.NightlyAttribute.html">LuceneTestCase.NightlyAttribute</a> tests should run. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool TestNightly { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_TestPostingsFormat.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.TestPostingsFormat%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L677">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_TestPostingsFormat_" data-uid="Lucene.Net.Util.LuceneTestCase.TestPostingsFormat*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_TestPostingsFormat" data-uid="Lucene.Net.Util.LuceneTestCase.TestPostingsFormat">TestPostingsFormat</h4>
<div class="markdown level1 summary"><p>Gets the postingsFormat to run tests with. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static string TestPostingsFormat { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_TestSlow.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.TestSlow%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L719">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_TestSlow_" data-uid="Lucene.Net.Util.LuceneTestCase.TestSlow*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_TestSlow" data-uid="Lucene.Net.Util.LuceneTestCase.TestSlow">TestSlow</h4>
<div class="markdown level1 summary"><p>Whether or not <a class="xref" href="Lucene.Net.Util.LuceneTestCase.SlowAttribute.html">LuceneTestCase.SlowAttribute</a> tests should run. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool TestSlow { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_TestWeekly.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.TestWeekly%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L711">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_TestWeekly_" data-uid="Lucene.Net.Util.LuceneTestCase.TestWeekly*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_TestWeekly" data-uid="Lucene.Net.Util.LuceneTestCase.TestWeekly">TestWeekly</h4>
<div class="markdown level1 summary"><p>Whether or not <a class="xref" href="Lucene.Net.Util.LuceneTestCase.WeeklyAttribute.html">LuceneTestCase.WeeklyAttribute</a> tests should run. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool TestWeekly { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_UseInfoStream.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.UseInfoStream%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L655">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_UseInfoStream_" data-uid="Lucene.Net.Util.LuceneTestCase.UseInfoStream*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_UseInfoStream" data-uid="Lucene.Net.Util.LuceneTestCase.UseInfoStream">UseInfoStream</h4>
<div class="markdown level1 summary"><p>TODO: javadoc? </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool UseInfoStream { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_Verbose.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.Verbose%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L651">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_Verbose_" data-uid="Lucene.Net.Util.LuceneTestCase.Verbose*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_Verbose" data-uid="Lucene.Net.Util.LuceneTestCase.Verbose">Verbose</h4>
<div class="markdown level1 summary"><p>True if and only if tests are run in verbose mode. If this flag is false
tests are not expected to print any messages.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool Verbose { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="methods">Methods
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AfterClass.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AfterClass%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1164">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AfterClass_" data-uid="Lucene.Net.Util.LuceneTestCase.AfterClass*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AfterClass" data-uid="Lucene.Net.Util.LuceneTestCase.AfterClass">AfterClass()</h4>
<div class="markdown level1 summary"><p>Tears down random defaults and cleans up temporary files.
<p>
If you override this method, be sure to call <code>base.AfterClass()</code> AFTER
tearing down your test fixture.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[OneTimeTearDown]
public virtual void AfterClass()</code></pre>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertDeletedDocsEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_IndexReader_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertDeletedDocsEquals(System.String%2CLucene.Net.Index.IndexReader%2CLucene.Net.Index.IndexReader)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L3248">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertDeletedDocsEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertDeletedDocsEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertDeletedDocsEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_IndexReader_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertDeletedDocsEquals(System.String,Lucene.Net.Index.IndexReader,Lucene.Net.Index.IndexReader)">AssertDeletedDocsEquals(String, IndexReader, IndexReader)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertDeletedDocsEquals(string info, IndexReader leftReader, IndexReader rightReader)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">leftReader</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">rightReader</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertDocsAndPositionsEnumEquals_System_String_Lucene_Net_Index_DocsAndPositionsEnum_Lucene_Net_Index_DocsAndPositionsEnum_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertDocsAndPositionsEnumEquals(System.String%2CLucene.Net.Index.DocsAndPositionsEnum%2CLucene.Net.Index.DocsAndPositionsEnum)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2748">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertDocsAndPositionsEnumEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertDocsAndPositionsEnumEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertDocsAndPositionsEnumEquals_System_String_Lucene_Net_Index_DocsAndPositionsEnum_Lucene_Net_Index_DocsAndPositionsEnum_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertDocsAndPositionsEnumEquals(System.String,Lucene.Net.Index.DocsAndPositionsEnum,Lucene.Net.Index.DocsAndPositionsEnum)">AssertDocsAndPositionsEnumEquals(String, DocsAndPositionsEnum, DocsAndPositionsEnum)</h4>
<div class="markdown level1 summary"><p>Checks docs + freqs + positions + payloads, sequentially.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertDocsAndPositionsEnumEquals(string info, DocsAndPositionsEnum leftDocs, DocsAndPositionsEnum rightDocs)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.DocsAndPositionsEnum</span></td>
<td><span class="parametername">leftDocs</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.DocsAndPositionsEnum</span></td>
<td><span class="parametername">rightDocs</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertDocsEnumEquals_System_String_Lucene_Net_Index_DocsEnum_Lucene_Net_Index_DocsEnum_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertDocsEnumEquals(System.String%2CLucene.Net.Index.DocsEnum%2CLucene.Net.Index.DocsEnum%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2778">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertDocsEnumEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertDocsEnumEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertDocsEnumEquals_System_String_Lucene_Net_Index_DocsEnum_Lucene_Net_Index_DocsEnum_System_Boolean_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertDocsEnumEquals(System.String,Lucene.Net.Index.DocsEnum,Lucene.Net.Index.DocsEnum,System.Boolean)">AssertDocsEnumEquals(String, DocsEnum, DocsEnum, Boolean)</h4>
<div class="markdown level1 summary"><p>Checks docs + freqs, sequentially.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertDocsEnumEquals(string info, DocsEnum leftDocs, DocsEnum rightDocs, bool hasFreqs)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.DocsEnum</span></td>
<td><span class="parametername">leftDocs</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.DocsEnum</span></td>
<td><span class="parametername">rightDocs</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">hasFreqs</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertDocsSkippingEquals_System_String_Lucene_Net_Index_IndexReader_System_Int32_Lucene_Net_Index_DocsEnum_Lucene_Net_Index_DocsEnum_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertDocsSkippingEquals(System.String%2CLucene.Net.Index.IndexReader%2CSystem.Int32%2CLucene.Net.Index.DocsEnum%2CLucene.Net.Index.DocsEnum%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2802">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertDocsSkippingEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertDocsSkippingEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertDocsSkippingEquals_System_String_Lucene_Net_Index_IndexReader_System_Int32_Lucene_Net_Index_DocsEnum_Lucene_Net_Index_DocsEnum_System_Boolean_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertDocsSkippingEquals(System.String,Lucene.Net.Index.IndexReader,System.Int32,Lucene.Net.Index.DocsEnum,Lucene.Net.Index.DocsEnum,System.Boolean)">AssertDocsSkippingEquals(String, IndexReader, Int32, DocsEnum, DocsEnum, Boolean)</h4>
<div class="markdown level1 summary"><p>Checks advancing docs.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertDocsSkippingEquals(string info, IndexReader leftReader, int docFreq, DocsEnum leftDocs, DocsEnum rightDocs, bool hasFreqs)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">leftReader</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">docFreq</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.DocsEnum</span></td>
<td><span class="parametername">leftDocs</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.DocsEnum</span></td>
<td><span class="parametername">rightDocs</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">hasFreqs</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertDocValuesEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_IndexReader_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertDocValuesEquals(System.String%2CLucene.Net.Index.IndexReader%2CLucene.Net.Index.IndexReader)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L3106">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertDocValuesEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertDocValuesEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertDocValuesEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_IndexReader_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertDocValuesEquals(System.String,Lucene.Net.Index.IndexReader,Lucene.Net.Index.IndexReader)">AssertDocValuesEquals(String, IndexReader, IndexReader)</h4>
<div class="markdown level1 summary"><p>Checks that docvalues across all fields are equivalent.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertDocValuesEquals(string info, IndexReader leftReader, IndexReader rightReader)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">leftReader</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">rightReader</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertDocValuesEquals_System_String_System_Int32_Lucene_Net_Index_NumericDocValues_Lucene_Net_Index_NumericDocValues_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertDocValuesEquals(System.String%2CSystem.Int32%2CLucene.Net.Index.NumericDocValues%2CLucene.Net.Index.NumericDocValues)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L3237">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertDocValuesEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertDocValuesEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertDocValuesEquals_System_String_System_Int32_Lucene_Net_Index_NumericDocValues_Lucene_Net_Index_NumericDocValues_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertDocValuesEquals(System.String,System.Int32,Lucene.Net.Index.NumericDocValues,Lucene.Net.Index.NumericDocValues)">AssertDocValuesEquals(String, Int32, NumericDocValues, NumericDocValues)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertDocValuesEquals(string info, int num, NumericDocValues leftDocValues, NumericDocValues rightDocValues)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">num</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.NumericDocValues</span></td>
<td><span class="parametername">leftDocValues</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.NumericDocValues</span></td>
<td><span class="parametername">rightDocValues</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertFieldInfosEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_IndexReader_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertFieldInfosEquals(System.String%2CLucene.Net.Index.IndexReader%2CLucene.Net.Index.IndexReader)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L3269">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertFieldInfosEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertFieldInfosEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertFieldInfosEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_IndexReader_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertFieldInfosEquals(System.String,Lucene.Net.Index.IndexReader,Lucene.Net.Index.IndexReader)">AssertFieldInfosEquals(String, IndexReader, IndexReader)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertFieldInfosEquals(string info, IndexReader leftReader, IndexReader rightReader)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">leftReader</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">rightReader</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertFieldsEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_Fields_Lucene_Net_Index_Fields_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertFieldsEquals(System.String%2CLucene.Net.Index.IndexReader%2CLucene.Net.Index.Fields%2CLucene.Net.Index.Fields%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2577">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertFieldsEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertFieldsEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertFieldsEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_Fields_Lucene_Net_Index_Fields_System_Boolean_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertFieldsEquals(System.String,Lucene.Net.Index.IndexReader,Lucene.Net.Index.Fields,Lucene.Net.Index.Fields,System.Boolean)">AssertFieldsEquals(String, IndexReader, Fields, Fields, Boolean)</h4>
<div class="markdown level1 summary"><p>Fields API equivalency.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertFieldsEquals(string info, IndexReader leftReader, Fields leftFields, Fields rightFields, bool deep)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">leftReader</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.Fields</span></td>
<td><span class="parametername">leftFields</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.Fields</span></td>
<td><span class="parametername">rightFields</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">deep</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertFieldStatisticsEquals_System_String_Lucene_Net_Index_Fields_Lucene_Net_Index_Fields_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertFieldStatisticsEquals(System.String%2CLucene.Net.Index.Fields%2CLucene.Net.Index.Fields)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2604">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertFieldStatisticsEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertFieldStatisticsEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertFieldStatisticsEquals_System_String_Lucene_Net_Index_Fields_Lucene_Net_Index_Fields_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertFieldStatisticsEquals(System.String,Lucene.Net.Index.Fields,Lucene.Net.Index.Fields)">AssertFieldStatisticsEquals(String, Fields, Fields)</h4>
<div class="markdown level1 summary"><p>Checks that top-level statistics on <span class="xref">Lucene.Net.Index.Fields</span> are the same.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertFieldStatisticsEquals(string info, Fields leftFields, Fields rightFields)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.Fields</span></td>
<td><span class="parametername">leftFields</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.Fields</span></td>
<td><span class="parametername">rightFields</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertNormsEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_IndexReader_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertNormsEquals(System.String%2CLucene.Net.Index.IndexReader%2CLucene.Net.Index.IndexReader)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L3001">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertNormsEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertNormsEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertNormsEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_IndexReader_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertNormsEquals(System.String,Lucene.Net.Index.IndexReader,Lucene.Net.Index.IndexReader)">AssertNormsEquals(String, IndexReader, IndexReader)</h4>
<div class="markdown level1 summary"><p>Checks that norms are the same across all fields.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertNormsEquals(string info, IndexReader leftReader, IndexReader rightReader)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">leftReader</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">rightReader</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertPositionsSkippingEquals_System_String_Lucene_Net_Index_IndexReader_System_Int32_Lucene_Net_Index_DocsAndPositionsEnum_Lucene_Net_Index_DocsAndPositionsEnum_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertPositionsSkippingEquals(System.String%2CLucene.Net.Index.IndexReader%2CSystem.Int32%2CLucene.Net.Index.DocsAndPositionsEnum%2CLucene.Net.Index.DocsAndPositionsEnum)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2843">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertPositionsSkippingEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertPositionsSkippingEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertPositionsSkippingEquals_System_String_Lucene_Net_Index_IndexReader_System_Int32_Lucene_Net_Index_DocsAndPositionsEnum_Lucene_Net_Index_DocsAndPositionsEnum_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertPositionsSkippingEquals(System.String,Lucene.Net.Index.IndexReader,System.Int32,Lucene.Net.Index.DocsAndPositionsEnum,Lucene.Net.Index.DocsAndPositionsEnum)">AssertPositionsSkippingEquals(String, IndexReader, Int32, DocsAndPositionsEnum, DocsAndPositionsEnum)</h4>
<div class="markdown level1 summary"><p>Checks advancing docs + positions.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertPositionsSkippingEquals(string info, IndexReader leftReader, int docFreq, DocsAndPositionsEnum leftDocs, DocsAndPositionsEnum rightDocs)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">leftReader</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">docFreq</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.DocsAndPositionsEnum</span></td>
<td><span class="parametername">leftDocs</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.DocsAndPositionsEnum</span></td>
<td><span class="parametername">rightDocs</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertReaderEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_IndexReader_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertReaderEquals(System.String%2CLucene.Net.Index.IndexReader%2CLucene.Net.Index.IndexReader)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2550">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertReaderEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertReaderEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertReaderEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_IndexReader_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertReaderEquals(System.String,Lucene.Net.Index.IndexReader,Lucene.Net.Index.IndexReader)">AssertReaderEquals(String, IndexReader, IndexReader)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertReaderEquals(string info, IndexReader leftReader, IndexReader rightReader)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">leftReader</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">rightReader</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertReaderStatisticsEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_IndexReader_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertReaderStatisticsEquals(System.String%2CLucene.Net.Index.IndexReader%2CLucene.Net.Index.IndexReader)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2565">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertReaderStatisticsEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertReaderStatisticsEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertReaderStatisticsEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_IndexReader_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertReaderStatisticsEquals(System.String,Lucene.Net.Index.IndexReader,Lucene.Net.Index.IndexReader)">AssertReaderStatisticsEquals(String, IndexReader, IndexReader)</h4>
<div class="markdown level1 summary"><p>Checks that reader-level statistics are the same.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertReaderStatisticsEquals(string info, IndexReader leftReader, IndexReader rightReader)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">leftReader</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">rightReader</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertSaneFieldCaches_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertSaneFieldCaches(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1342">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertSaneFieldCaches_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertSaneFieldCaches*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertSaneFieldCaches_System_String_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertSaneFieldCaches(System.String)">AssertSaneFieldCaches(String)</h4>
<div class="markdown level1 summary"><p>Asserts that <span class="xref">Lucene.Net.Util.FieldCacheSanityChecker</span> does not detect any
problems with <span class="xref">Lucene.Net.Search.FieldCache.DEFAULT</span>.
<p>
If any problems are found, they are logged to <span class="xref">Lucene.Net.Util.SystemConsole.Error</span>
(allong with the msg) when the Assertion is thrown.
</p>
<p>
This method is called by <a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_TearDown">TearDown()</a> after every test method,
however <span class="xref">Lucene.Net.Index.IndexReader</span>s scoped inside test methods may be garbage
collected prior to this method being called, causing errors to
be overlooked. Tests are encouraged to keep their <span class="xref">Lucene.Net.Index.IndexReader</span>s
scoped at the class level, or to explicitly call this method
directly in the same scope as the <span class="xref">Lucene.Net.Index.IndexReader</span>.
</p></p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected static void AssertSaneFieldCaches(string msg)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">msg</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 id="Lucene_Net_Util_LuceneTestCase_AssertSaneFieldCaches_System_String__seealso">See Also</h5>
<div class="seealso">
<div><span class="xref">Lucene.Net.Util.FieldCacheSanityChecker</span></div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertStoredFieldEquals_System_String_Lucene_Net_Index_IIndexableField_Lucene_Net_Index_IIndexableField_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertStoredFieldEquals(System.String%2CLucene.Net.Index.IIndexableField%2CLucene.Net.Index.IIndexableField)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L3064">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertStoredFieldEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertStoredFieldEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertStoredFieldEquals_System_String_Lucene_Net_Index_IIndexableField_Lucene_Net_Index_IIndexableField_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertStoredFieldEquals(System.String,Lucene.Net.Index.IIndexableField,Lucene.Net.Index.IIndexableField)">AssertStoredFieldEquals(String, IIndexableField, IIndexableField)</h4>
<div class="markdown level1 summary"><p>Checks that two stored fields are equivalent.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertStoredFieldEquals(string info, IIndexableField leftField, IIndexableField rightField)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IIndexableField</span></td>
<td><span class="parametername">leftField</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IIndexableField</span></td>
<td><span class="parametername">rightField</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertStoredFieldsEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_IndexReader_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertStoredFieldsEquals(System.String%2CLucene.Net.Index.IndexReader%2CLucene.Net.Index.IndexReader)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L3033">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertStoredFieldsEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertStoredFieldsEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertStoredFieldsEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_IndexReader_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertStoredFieldsEquals(System.String,Lucene.Net.Index.IndexReader,Lucene.Net.Index.IndexReader)">AssertStoredFieldsEquals(String, IndexReader, IndexReader)</h4>
<div class="markdown level1 summary"><p>Checks that stored fields of all documents are the same.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertStoredFieldsEquals(string info, IndexReader leftReader, IndexReader rightReader)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">leftReader</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">rightReader</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertTermsEnumEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_TermsEnum_Lucene_Net_Index_TermsEnum_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertTermsEnumEquals(System.String%2CLucene.Net.Index.IndexReader%2CLucene.Net.Index.TermsEnum%2CLucene.Net.Index.TermsEnum%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2702">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertTermsEnumEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertTermsEnumEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertTermsEnumEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_TermsEnum_Lucene_Net_Index_TermsEnum_System_Boolean_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertTermsEnumEquals(System.String,Lucene.Net.Index.IndexReader,Lucene.Net.Index.TermsEnum,Lucene.Net.Index.TermsEnum,System.Boolean)">AssertTermsEnumEquals(String, IndexReader, TermsEnum, TermsEnum, Boolean)</h4>
<div class="markdown level1 summary"><p>Checks the terms enum sequentially.
If <code data-dev-comment-type="paramref" class="paramref">deep</code> is false, it does a &apos;shallow&apos; test that doesnt go down to the docsenums.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertTermsEnumEquals(string info, IndexReader leftReader, TermsEnum leftTermsEnum, TermsEnum rightTermsEnum, bool deep)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">leftReader</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.TermsEnum</span></td>
<td><span class="parametername">leftTermsEnum</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.TermsEnum</span></td>
<td><span class="parametername">rightTermsEnum</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">deep</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertTermsEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_Terms_Lucene_Net_Index_Terms_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertTermsEquals(System.String%2CLucene.Net.Index.IndexReader%2CLucene.Net.Index.Terms%2CLucene.Net.Index.Terms%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2615">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertTermsEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertTermsEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertTermsEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_Terms_Lucene_Net_Index_Terms_System_Boolean_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertTermsEquals(System.String,Lucene.Net.Index.IndexReader,Lucene.Net.Index.Terms,Lucene.Net.Index.Terms,System.Boolean)">AssertTermsEquals(String, IndexReader, Terms, Terms, Boolean)</h4>
<div class="markdown level1 summary"><p><span class="xref">Lucene.Net.Index.Terms</span> API equivalency.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertTermsEquals(string info, IndexReader leftReader, Terms leftTerms, Terms rightTerms, bool deep)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">leftReader</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.Terms</span></td>
<td><span class="parametername">leftTerms</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.Terms</span></td>
<td><span class="parametername">rightTerms</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">deep</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertTermsStatisticsEquals_System_String_Lucene_Net_Index_Terms_Lucene_Net_Index_Terms_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertTermsStatisticsEquals(System.String%2CLucene.Net.Index.Terms%2CLucene.Net.Index.Terms)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2655">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertTermsStatisticsEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertTermsStatisticsEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertTermsStatisticsEquals_System_String_Lucene_Net_Index_Terms_Lucene_Net_Index_Terms_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertTermsStatisticsEquals(System.String,Lucene.Net.Index.Terms,Lucene.Net.Index.Terms)">AssertTermsStatisticsEquals(String, Terms, Terms)</h4>
<div class="markdown level1 summary"><p>Checks collection-level statistics on <span class="xref">Lucene.Net.Index.Terms</span>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertTermsStatisticsEquals(string info, Terms leftTerms, Terms rightTerms)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.Terms</span></td>
<td><span class="parametername">leftTerms</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.Terms</span></td>
<td><span class="parametername">rightTerms</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertTermStatsEquals_System_String_Lucene_Net_Index_TermsEnum_Lucene_Net_Index_TermsEnum_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertTermStatsEquals(System.String%2CLucene.Net.Index.TermsEnum%2CLucene.Net.Index.TermsEnum)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2989">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertTermStatsEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertTermStatsEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertTermStatsEquals_System_String_Lucene_Net_Index_TermsEnum_Lucene_Net_Index_TermsEnum_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertTermStatsEquals(System.String,Lucene.Net.Index.TermsEnum,Lucene.Net.Index.TermsEnum)">AssertTermStatsEquals(String, TermsEnum, TermsEnum)</h4>
<div class="markdown level1 summary"><p>Checks term-level statistics.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertTermStatsEquals(string info, TermsEnum leftTermsEnum, TermsEnum rightTermsEnum)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.TermsEnum</span></td>
<td><span class="parametername">leftTermsEnum</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.TermsEnum</span></td>
<td><span class="parametername">rightTermsEnum</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssertTermVectorsEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_IndexReader_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssertTermVectorsEquals(System.String%2CLucene.Net.Index.IndexReader%2CLucene.Net.Index.IndexReader)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L3078">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssertTermVectorsEquals_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertTermVectorsEquals*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssertTermVectorsEquals_System_String_Lucene_Net_Index_IndexReader_Lucene_Net_Index_IndexReader_" data-uid="Lucene.Net.Util.LuceneTestCase.AssertTermVectorsEquals(System.String,Lucene.Net.Index.IndexReader,Lucene.Net.Index.IndexReader)">AssertTermVectorsEquals(String, IndexReader, IndexReader)</h4>
<div class="markdown level1 summary"><p>Checks that term vectors across all fields are equivalent.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AssertTermVectorsEquals(string info, IndexReader leftReader, IndexReader rightReader)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">info</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">leftReader</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">rightReader</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AsSet_System_Object___.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AsSet(System.Object%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1444">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AsSet_" data-uid="Lucene.Net.Util.LuceneTestCase.AsSet*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AsSet_System_Object___" data-uid="Lucene.Net.Util.LuceneTestCase.AsSet(System.Object[])">AsSet(Object[])</h4>
<div class="markdown level1 summary"><p>Return <code data-dev-comment-type="paramref" class="paramref">args</code> as a <span class="xref">System.Collections.Generic.ISet&lt;T&gt;</span> instance. The order of elements is not
preserved in enumerators.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static ISet&lt;object&gt; AsSet(params object[] args)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Object</span>[]</td>
<td><span class="parametername">args</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.ISet</span>&lt;<span class="xref">System.Object</span>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssumeFalse_System_String_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssumeFalse(System.String%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1430">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssumeFalse_" data-uid="Lucene.Net.Util.LuceneTestCase.AssumeFalse*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssumeFalse_System_String_System_Boolean_" data-uid="Lucene.Net.Util.LuceneTestCase.AssumeFalse(System.String,System.Boolean)">AssumeFalse(String, Boolean)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static void AssumeFalse(string msg, bool condition)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">msg</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">condition</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssumeNoException_System_String_System_Exception_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssumeNoException(System.String%2CSystem.Exception)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1435">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssumeNoException_" data-uid="Lucene.Net.Util.LuceneTestCase.AssumeNoException*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssumeNoException_System_String_System_Exception_" data-uid="Lucene.Net.Util.LuceneTestCase.AssumeNoException(System.String,System.Exception)">AssumeNoException(String, Exception)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static void AssumeNoException(string msg, Exception e)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">msg</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Exception</span></td>
<td><span class="parametername">e</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AssumeTrue_System_String_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AssumeTrue(System.String%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1425">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AssumeTrue_" data-uid="Lucene.Net.Util.LuceneTestCase.AssumeTrue*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AssumeTrue_System_String_System_Boolean_" data-uid="Lucene.Net.Util.LuceneTestCase.AssumeTrue(System.String,System.Boolean)">AssumeTrue(String, Boolean)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static void AssumeTrue(string msg, bool condition)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">msg</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">condition</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AtLeast_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AtLeast(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1388">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AtLeast_" data-uid="Lucene.Net.Util.LuceneTestCase.AtLeast*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AtLeast_System_Int32_" data-uid="Lucene.Net.Util.LuceneTestCase.AtLeast(System.Int32)">AtLeast(Int32)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static int AtLeast(int i)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">i</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_AtLeast_System_Random_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.AtLeast(System.Random%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1378">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_AtLeast_" data-uid="Lucene.Net.Util.LuceneTestCase.AtLeast*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_AtLeast_System_Random_System_Int32_" data-uid="Lucene.Net.Util.LuceneTestCase.AtLeast(System.Random,System.Int32)">AtLeast(Random, Int32)</h4>
<div class="markdown level1 summary"><p>Returns a number of at least <code>i</code>
<p>
The actual number returned will be influenced by whether <a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_TestNightly">TestNightly</a>
is active and <a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_RandomMultiplier">RandomMultiplier</a>, but also with some random fudge.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static int AtLeast(Random random, int i)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">i</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_BeforeClass.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.BeforeClass%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1104">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_BeforeClass_" data-uid="Lucene.Net.Util.LuceneTestCase.BeforeClass*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_BeforeClass" data-uid="Lucene.Net.Util.LuceneTestCase.BeforeClass">BeforeClass()</h4>
<div class="markdown level1 summary"><p>Sets up dependency injection of codec factories for running the test class,
and also picks random defaults for culture, time zone, similarity, and default codec.
<p>
If you override this method, be sure to call <code>base.BeforeClass()</code> BEFORE setting
up your test fixture.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[OneTimeSetUp]
public virtual void BeforeClass()</code></pre>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_CreateTempDir.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.CreateTempDir%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L3385">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_CreateTempDir_" data-uid="Lucene.Net.Util.LuceneTestCase.CreateTempDir*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_CreateTempDir" data-uid="Lucene.Net.Util.LuceneTestCase.CreateTempDir">CreateTempDir()</h4>
<div class="markdown level1 summary"><p>Creates an empty, temporary folder (when the name of the folder is of no importance).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static DirectoryInfo CreateTempDir()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.IO.DirectoryInfo</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 id="Lucene_Net_Util_LuceneTestCase_CreateTempDir_seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_CreateTempDir_System_String_">CreateTempDir(String)</a></div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_CreateTempDir_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.CreateTempDir(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L3398">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_CreateTempDir_" data-uid="Lucene.Net.Util.LuceneTestCase.CreateTempDir*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_CreateTempDir_System_String_" data-uid="Lucene.Net.Util.LuceneTestCase.CreateTempDir(System.String)">CreateTempDir(String)</h4>
<div class="markdown level1 summary"><p>Creates an empty, temporary folder with the given name prefix under the
system&apos;s <span class="xref">System.IO.Path.GetTempPath</span>.</p>
<p><p>The folder will be automatically removed after the
test class completes successfully. The test should close any file handles that would prevent
the folder from being removed.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static DirectoryInfo CreateTempDir(string prefix)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">prefix</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.IO.DirectoryInfo</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_CreateTempFile.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.CreateTempFile%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L3468">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_CreateTempFile_" data-uid="Lucene.Net.Util.LuceneTestCase.CreateTempFile*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_CreateTempFile" data-uid="Lucene.Net.Util.LuceneTestCase.CreateTempFile">CreateTempFile()</h4>
<div class="markdown level1 summary"><p>Creates an empty temporary file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static FileInfo CreateTempFile()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.IO.FileInfo</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 id="Lucene_Net_Util_LuceneTestCase_CreateTempFile_seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_CreateTempFile_System_String_System_String_">CreateTempFile(String, String)</a></div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_CreateTempFile_System_String_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.CreateTempFile(System.String%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L3444">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_CreateTempFile_" data-uid="Lucene.Net.Util.LuceneTestCase.CreateTempFile*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_CreateTempFile_System_String_System_String_" data-uid="Lucene.Net.Util.LuceneTestCase.CreateTempFile(System.String,System.String)">CreateTempFile(String, String)</h4>
<div class="markdown level1 summary"><p>Creates an empty file with the given prefix and suffix under the
system&apos;s <span class="xref">System.IO.Path.GetTempPath</span>.</p>
<p><p>The file will be automatically removed after the
test class completes successfully. The test should close any file handles that would prevent
the folder from being removed.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static FileInfo CreateTempFile(string prefix, string suffix)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">prefix</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">suffix</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.IO.FileInfo</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_CultureForName_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.CultureForName(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2085">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_CultureForName_" data-uid="Lucene.Net.Util.LuceneTestCase.CultureForName*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_CultureForName_System_String_" data-uid="Lucene.Net.Util.LuceneTestCase.CultureForName(System.String)">CultureForName(String)</h4>
<div class="markdown level1 summary"><p>return a <span class="xref">System.Globalization.CultureInfo</span> object equivalent to its programmatic name. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static CultureInfo CultureForName(string localeName)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">localeName</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Globalization.CultureInfo</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_DumpArray_System_String_System_Object___System_IO_TextWriter_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.DumpArray(System.String%2CSystem.Object%5B%5D%2CSystem.IO.TextWriter)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1476">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_DumpArray_" data-uid="Lucene.Net.Util.LuceneTestCase.DumpArray*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_DumpArray_System_String_System_Object___System_IO_TextWriter_" data-uid="Lucene.Net.Util.LuceneTestCase.DumpArray(System.String,System.Object[],System.IO.TextWriter)">DumpArray(String, Object[], TextWriter)</h4>
<div class="markdown level1 summary"><p>Convenience method for logging an array. Wraps the array in an enumerator and delegates to <a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_DumpEnumerator_System_String_System_Collections_IEnumerator_System_IO_TextWriter_">DumpEnumerator(String, IEnumerator, TextWriter)</a></p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static void DumpArray(string label, object[] objs, TextWriter stream)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">label</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Object</span>[]</td>
<td><span class="parametername">objs</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.IO.TextWriter</span></td>
<td><span class="parametername">stream</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 id="Lucene_Net_Util_LuceneTestCase_DumpArray_System_String_System_Object___System_IO_TextWriter__seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_DumpEnumerator_System_String_System_Collections_IEnumerator_System_IO_TextWriter_">DumpEnumerator(String, IEnumerator, TextWriter)</a></div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_DumpEnumerator_System_String_System_Collections_IEnumerator_System_IO_TextWriter_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.DumpEnumerator(System.String%2CSystem.Collections.IEnumerator%2CSystem.IO.TextWriter)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1455">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_DumpEnumerator_" data-uid="Lucene.Net.Util.LuceneTestCase.DumpEnumerator*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_DumpEnumerator_System_String_System_Collections_IEnumerator_System_IO_TextWriter_" data-uid="Lucene.Net.Util.LuceneTestCase.DumpEnumerator(System.String,System.Collections.IEnumerator,System.IO.TextWriter)">DumpEnumerator(String, IEnumerator, TextWriter)</h4>
<div class="markdown level1 summary"><p>Convenience method for logging an enumerator.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static void DumpEnumerator(string label, IEnumerator iter, TextWriter stream)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">label</span></td>
<td><p>String logged before/after the items in the enumerator. </p>
</td>
</tr>
<tr>
<td><span class="xref">System.Collections.IEnumerator</span></td>
<td><span class="parametername">iter</span></td>
<td><p>Each element is ToString()ed and logged on it&apos;s own line. If iter is null this is logged differnetly then an empty enumerator. </p>
</td>
</tr>
<tr>
<td><span class="xref">System.IO.TextWriter</span></td>
<td><span class="parametername">stream</span></td>
<td><p>Stream to log messages to. </p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_GetDataFile_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.GetDataFile(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2454">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_GetDataFile_" data-uid="Lucene.Net.Util.LuceneTestCase.GetDataFile*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_GetDataFile_System_String_" data-uid="Lucene.Net.Util.LuceneTestCase.GetDataFile(System.String)">GetDataFile(String)</h4>
<div class="markdown level1 summary"><p>Gets a resource from the classpath as <span class="xref">System.IO.Stream</span>. This method should only
be used, if a real file is needed. To get a stream, code should prefer
<span class="xref">J2N.AssemblyExtensions.FindAndGetManifestResourceStream(System.Reflection.Assembly,System.Type,System.String)</span> using
<code>this.GetType().Assembly</code> and <code>this.GetType()</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Stream GetDataFile(string name)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">name</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.IO.Stream</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_GetFullMethodName_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.GetFullMethodName(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L3495">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_GetFullMethodName_" data-uid="Lucene.Net.Util.LuceneTestCase.GetFullMethodName*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_GetFullMethodName_System_String_" data-uid="Lucene.Net.Util.LuceneTestCase.GetFullMethodName(System.String)">GetFullMethodName(String)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected string GetFullMethodName(string memberName = &quot;&quot;)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">memberName</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_GetOnlySegmentReader_Lucene_Net_Index_DirectoryReader_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.GetOnlySegmentReader(Lucene.Net.Index.DirectoryReader)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1303">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_GetOnlySegmentReader_" data-uid="Lucene.Net.Util.LuceneTestCase.GetOnlySegmentReader*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_GetOnlySegmentReader_Lucene_Net_Index_DirectoryReader_" data-uid="Lucene.Net.Util.LuceneTestCase.GetOnlySegmentReader(Lucene.Net.Index.DirectoryReader)">GetOnlySegmentReader(DirectoryReader)</h4>
<div class="markdown level1 summary"><p>Some tests expect the directory to contain a single segment, and want to
do tests on that segment&apos;s reader. This is an utility method to help them.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static SegmentReader GetOnlySegmentReader(DirectoryReader reader)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.DirectoryReader</span></td>
<td><span class="parametername">reader</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.SegmentReader</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_GetTestClass.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.GetTestClass%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1251">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_GetTestClass_" data-uid="Lucene.Net.Util.LuceneTestCase.GetTestClass*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_GetTestClass" data-uid="Lucene.Net.Util.LuceneTestCase.GetTestClass">GetTestClass()</h4>
<div class="markdown level1 summary"><p>Return the current type being tested.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static Type GetTestClass()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Type</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_MaybeWrapReader_Lucene_Net_Index_IndexReader_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.MaybeWrapReader(Lucene.Net.Index.IndexReader)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2135">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_MaybeWrapReader_" data-uid="Lucene.Net.Util.LuceneTestCase.MaybeWrapReader*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_MaybeWrapReader_Lucene_Net_Index_IndexReader_" data-uid="Lucene.Net.Util.LuceneTestCase.MaybeWrapReader(Lucene.Net.Index.IndexReader)">MaybeWrapReader(IndexReader)</h4>
<div class="markdown level1 summary"><p>Sometimes wrap the <span class="xref">Lucene.Net.Index.IndexReader</span> as slow, parallel or filter reader (or
combinations of that)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static IndexReader MaybeWrapReader(IndexReader r)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">r</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewAlcoholicMergePolicy.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewAlcoholicMergePolicy%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1704">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewAlcoholicMergePolicy_" data-uid="Lucene.Net.Util.LuceneTestCase.NewAlcoholicMergePolicy*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewAlcoholicMergePolicy" data-uid="Lucene.Net.Util.LuceneTestCase.NewAlcoholicMergePolicy">NewAlcoholicMergePolicy()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static AlcoholicMergePolicy NewAlcoholicMergePolicy()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Index.AlcoholicMergePolicy.html">AlcoholicMergePolicy</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewAlcoholicMergePolicy_System_Random_System_TimeZoneInfo_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewAlcoholicMergePolicy(System.Random%2CSystem.TimeZoneInfo)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1714">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewAlcoholicMergePolicy_" data-uid="Lucene.Net.Util.LuceneTestCase.NewAlcoholicMergePolicy*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewAlcoholicMergePolicy_System_Random_System_TimeZoneInfo_" data-uid="Lucene.Net.Util.LuceneTestCase.NewAlcoholicMergePolicy(System.Random,System.TimeZoneInfo)">NewAlcoholicMergePolicy(Random, TimeZoneInfo)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static AlcoholicMergePolicy NewAlcoholicMergePolicy(Random random, TimeZoneInfo timeZone)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.TimeZoneInfo</span></td>
<td><span class="parametername">timeZone</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Index.AlcoholicMergePolicy.html">AlcoholicMergePolicy</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewDirectory.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewDirectory%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1825">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewDirectory_" data-uid="Lucene.Net.Util.LuceneTestCase.NewDirectory*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewDirectory" data-uid="Lucene.Net.Util.LuceneTestCase.NewDirectory">NewDirectory()</h4>
<div class="markdown level1 summary"><p>Returns a new <span class="xref">Lucene.Net.Store.Directory</span> instance. Use this when the test does not
care about the specific <span class="xref">Lucene.Net.Store.Directory</span> implementation (most tests).
<p>
The <span class="xref">Lucene.Net.Store.Directory</span> is wrapped with <a class="xref" href="Lucene.Net.Store.BaseDirectoryWrapper.html">BaseDirectoryWrapper</a>.
This means usually it will be picky, such as ensuring that you
properly dispose it and close all open files in your test. It will emulate
some features of Windows, such as not allowing open files to be
overwritten.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static BaseDirectoryWrapper NewDirectory()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Store.BaseDirectoryWrapper.html">BaseDirectoryWrapper</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewDirectory_Lucene_Net_Store_Directory_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewDirectory(Lucene.Net.Store.Directory)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1861">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewDirectory_" data-uid="Lucene.Net.Util.LuceneTestCase.NewDirectory*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewDirectory_Lucene_Net_Store_Directory_" data-uid="Lucene.Net.Util.LuceneTestCase.NewDirectory(Lucene.Net.Store.Directory)">NewDirectory(Directory)</h4>
<div class="markdown level1 summary"><p>Returns a new <span class="xref">Lucene.Net.Store.Directory</span> instance, with contents copied from the
provided directory. See <a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_NewDirectory">NewDirectory()</a> for more
information.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static BaseDirectoryWrapper NewDirectory(Directory d)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Store.Directory</span></td>
<td><span class="parametername">d</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Store.BaseDirectoryWrapper.html">BaseDirectoryWrapper</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewDirectory_System_Random_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewDirectory(System.Random)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1834">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewDirectory_" data-uid="Lucene.Net.Util.LuceneTestCase.NewDirectory*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewDirectory_System_Random_" data-uid="Lucene.Net.Util.LuceneTestCase.NewDirectory(System.Random)">NewDirectory(Random)</h4>
<div class="markdown level1 summary"><p>Returns a new <span class="xref">Lucene.Net.Store.Directory</span> instance, using the specified <code data-dev-comment-type="paramref" class="paramref">random</code>.
See <a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_NewDirectory">NewDirectory()</a> for more information.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static BaseDirectoryWrapper NewDirectory(Random random)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Store.BaseDirectoryWrapper.html">BaseDirectoryWrapper</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewDirectory_System_Random_Lucene_Net_Store_Directory_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewDirectory(System.Random%2CLucene.Net.Store.Directory)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1915">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewDirectory_" data-uid="Lucene.Net.Util.LuceneTestCase.NewDirectory*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewDirectory_System_Random_Lucene_Net_Store_Directory_" data-uid="Lucene.Net.Util.LuceneTestCase.NewDirectory(System.Random,Lucene.Net.Store.Directory)">NewDirectory(Random, Directory)</h4>
<div class="markdown level1 summary"><p>Returns a new <span class="xref">Lucene.Net.Store.Directory</span> instance, using the specified <code data-dev-comment-type="paramref" class="paramref">random</code>
with contents copied from the provided <code data-dev-comment-type="paramref" class="paramref">directory</code>. See
<a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_NewDirectory">NewDirectory()</a> for more information.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static BaseDirectoryWrapper NewDirectory(Random random, Directory directory)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Store.Directory</span></td>
<td><span class="parametername">directory</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Store.BaseDirectoryWrapper.html">BaseDirectoryWrapper</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewField_System_Random_System_String_System_String_Lucene_Net_Documents_FieldType_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewField(System.Random%2CSystem.String%2CSystem.String%2CLucene.Net.Documents.FieldType)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2000">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewField_" data-uid="Lucene.Net.Util.LuceneTestCase.NewField*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewField_System_Random_System_String_System_String_Lucene_Net_Documents_FieldType_" data-uid="Lucene.Net.Util.LuceneTestCase.NewField(System.Random,System.String,System.String,Lucene.Net.Documents.FieldType)">NewField(Random, String, String, FieldType)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static Field NewField(Random random, string name, string value, FieldType type)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">name</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">value</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Documents.FieldType</span></td>
<td><span class="parametername">type</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Documents.Field</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewField_System_String_System_String_Lucene_Net_Documents_FieldType_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewField(System.String%2CSystem.String%2CLucene.Net.Documents.FieldType)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1995">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewField_" data-uid="Lucene.Net.Util.LuceneTestCase.NewField*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewField_System_String_System_String_Lucene_Net_Documents_FieldType_" data-uid="Lucene.Net.Util.LuceneTestCase.NewField(System.String,System.String,Lucene.Net.Documents.FieldType)">NewField(String, String, FieldType)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static Field NewField(string name, string value, FieldType type)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">name</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">value</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Documents.FieldType</span></td>
<td><span class="parametername">type</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Documents.Field</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewFSDirectory_System_IO_DirectoryInfo_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewFSDirectory(System.IO.DirectoryInfo)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1868">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewFSDirectory_" data-uid="Lucene.Net.Util.LuceneTestCase.NewFSDirectory*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewFSDirectory_System_IO_DirectoryInfo_" data-uid="Lucene.Net.Util.LuceneTestCase.NewFSDirectory(System.IO.DirectoryInfo)">NewFSDirectory(DirectoryInfo)</h4>
<div class="markdown level1 summary"><p>Returns a new <span class="xref">Lucene.Net.Store.FSDirectory</span> instance over the given file, which must be a folder. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static BaseDirectoryWrapper NewFSDirectory(DirectoryInfo d)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.IO.DirectoryInfo</span></td>
<td><span class="parametername">d</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Store.BaseDirectoryWrapper.html">BaseDirectoryWrapper</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewFSDirectory_System_IO_DirectoryInfo_Lucene_Net_Store_LockFactory_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewFSDirectory(System.IO.DirectoryInfo%2CLucene.Net.Store.LockFactory)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1875">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewFSDirectory_" data-uid="Lucene.Net.Util.LuceneTestCase.NewFSDirectory*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewFSDirectory_System_IO_DirectoryInfo_Lucene_Net_Store_LockFactory_" data-uid="Lucene.Net.Util.LuceneTestCase.NewFSDirectory(System.IO.DirectoryInfo,Lucene.Net.Store.LockFactory)">NewFSDirectory(DirectoryInfo, LockFactory)</h4>
<div class="markdown level1 summary"><p>Returns a new <span class="xref">Lucene.Net.Store.FSDirectory</span> instance over the given file, which must be a folder. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static BaseDirectoryWrapper NewFSDirectory(DirectoryInfo d, LockFactory lf)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.IO.DirectoryInfo</span></td>
<td><span class="parametername">d</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Store.LockFactory</span></td>
<td><span class="parametername">lf</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Store.BaseDirectoryWrapper.html">BaseDirectoryWrapper</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewIndexWriterConfig_Lucene_Net_Util_LuceneVersion_Lucene_Net_Analysis_Analyzer_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewIndexWriterConfig(Lucene.Net.Util.LuceneVersion%2CLucene.Net.Analysis.Analyzer)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1490">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewIndexWriterConfig_" data-uid="Lucene.Net.Util.LuceneTestCase.NewIndexWriterConfig*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewIndexWriterConfig_Lucene_Net_Util_LuceneVersion_Lucene_Net_Analysis_Analyzer_" data-uid="Lucene.Net.Util.LuceneTestCase.NewIndexWriterConfig(Lucene.Net.Util.LuceneVersion,Lucene.Net.Analysis.Analyzer)">NewIndexWriterConfig(LuceneVersion, Analyzer)</h4>
<div class="markdown level1 summary"><p>Create a new <span class="xref">Lucene.Net.Index.IndexWriterConfig</span> with random defaults.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static IndexWriterConfig NewIndexWriterConfig(LuceneVersion v, Analyzer a)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Util.LuceneVersion</span></td>
<td><span class="parametername">v</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Analysis.Analyzer</span></td>
<td><span class="parametername">a</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexWriterConfig</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewIndexWriterConfig_System_Random_Lucene_Net_Util_LuceneVersion_Lucene_Net_Analysis_Analyzer_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewIndexWriterConfig(System.Random%2CLucene.Net.Util.LuceneVersion%2CLucene.Net.Analysis.Analyzer)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1526">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewIndexWriterConfig_" data-uid="Lucene.Net.Util.LuceneTestCase.NewIndexWriterConfig*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewIndexWriterConfig_System_Random_Lucene_Net_Util_LuceneVersion_Lucene_Net_Analysis_Analyzer_" data-uid="Lucene.Net.Util.LuceneTestCase.NewIndexWriterConfig(System.Random,Lucene.Net.Util.LuceneVersion,Lucene.Net.Analysis.Analyzer)">NewIndexWriterConfig(Random, LuceneVersion, Analyzer)</h4>
<div class="markdown level1 summary"><p>Create a new <span class="xref">Lucene.Net.Index.IndexWriterConfig</span> with random defaults using the specified <code data-dev-comment-type="paramref" class="paramref">random</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static IndexWriterConfig NewIndexWriterConfig(Random random, LuceneVersion v, Analyzer a)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td><p>A random instance (usually <a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_Random">Random</a>).</p>
</td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Util.LuceneVersion</span></td>
<td><span class="parametername">v</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Analysis.Analyzer</span></td>
<td><span class="parametername">a</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexWriterConfig</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewIOContext_System_Random_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewIOContext(System.Random)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2214">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewIOContext_" data-uid="Lucene.Net.Util.LuceneTestCase.NewIOContext*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewIOContext_System_Random_" data-uid="Lucene.Net.Util.LuceneTestCase.NewIOContext(System.Random)">NewIOContext(Random)</h4>
<div class="markdown level1 summary"><p>TODO: javadoc </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static IOContext NewIOContext(Random random)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Store.IOContext</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewIOContext_System_Random_Lucene_Net_Store_IOContext_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewIOContext(System.Random%2CLucene.Net.Store.IOContext)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2221">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewIOContext_" data-uid="Lucene.Net.Util.LuceneTestCase.NewIOContext*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewIOContext_System_Random_Lucene_Net_Store_IOContext_" data-uid="Lucene.Net.Util.LuceneTestCase.NewIOContext(System.Random,Lucene.Net.Store.IOContext)">NewIOContext(Random, IOContext)</h4>
<div class="markdown level1 summary"><p>TODO: javadoc </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static IOContext NewIOContext(Random random, IOContext oldContext)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Store.IOContext</span></td>
<td><span class="parametername">oldContext</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Store.IOContext</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewLogMergePolicy.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewLogMergePolicy%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1692">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewLogMergePolicy_" data-uid="Lucene.Net.Util.LuceneTestCase.NewLogMergePolicy*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewLogMergePolicy" data-uid="Lucene.Net.Util.LuceneTestCase.NewLogMergePolicy">NewLogMergePolicy()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static LogMergePolicy NewLogMergePolicy()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.LogMergePolicy</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewLogMergePolicy_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewLogMergePolicy(System.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1793">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewLogMergePolicy_" data-uid="Lucene.Net.Util.LuceneTestCase.NewLogMergePolicy*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewLogMergePolicy_System_Boolean_" data-uid="Lucene.Net.Util.LuceneTestCase.NewLogMergePolicy(System.Boolean)">NewLogMergePolicy(Boolean)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static MergePolicy NewLogMergePolicy(bool useCFS)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">useCFS</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.MergePolicy</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewLogMergePolicy_System_Boolean_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewLogMergePolicy(System.Boolean%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1800">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewLogMergePolicy_" data-uid="Lucene.Net.Util.LuceneTestCase.NewLogMergePolicy*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewLogMergePolicy_System_Boolean_System_Int32_" data-uid="Lucene.Net.Util.LuceneTestCase.NewLogMergePolicy(System.Boolean,System.Int32)">NewLogMergePolicy(Boolean, Int32)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static MergePolicy NewLogMergePolicy(bool useCFS, int mergeFactor)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">useCFS</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">mergeFactor</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.MergePolicy</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewLogMergePolicy_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewLogMergePolicy(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1808">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewLogMergePolicy_" data-uid="Lucene.Net.Util.LuceneTestCase.NewLogMergePolicy*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewLogMergePolicy_System_Int32_" data-uid="Lucene.Net.Util.LuceneTestCase.NewLogMergePolicy(System.Int32)">NewLogMergePolicy(Int32)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static MergePolicy NewLogMergePolicy(int mergeFactor)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">mergeFactor</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.MergePolicy</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewLogMergePolicy_System_Random_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewLogMergePolicy(System.Random)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1719">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewLogMergePolicy_" data-uid="Lucene.Net.Util.LuceneTestCase.NewLogMergePolicy*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewLogMergePolicy_System_Random_" data-uid="Lucene.Net.Util.LuceneTestCase.NewLogMergePolicy(System.Random)">NewLogMergePolicy(Random)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static LogMergePolicy NewLogMergePolicy(Random random)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.LogMergePolicy</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewMergePolicy.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewMergePolicy%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1677">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewMergePolicy_" data-uid="Lucene.Net.Util.LuceneTestCase.NewMergePolicy*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewMergePolicy" data-uid="Lucene.Net.Util.LuceneTestCase.NewMergePolicy">NewMergePolicy()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static MergePolicy NewMergePolicy()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.MergePolicy</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewMergePolicy_System_Random_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewMergePolicy(System.Random)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1650">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewMergePolicy_" data-uid="Lucene.Net.Util.LuceneTestCase.NewMergePolicy*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewMergePolicy_System_Random_" data-uid="Lucene.Net.Util.LuceneTestCase.NewMergePolicy(System.Random)">NewMergePolicy(Random)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static MergePolicy NewMergePolicy(Random r)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">r</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.MergePolicy</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewMockDirectory.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewMockDirectory%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1841">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewMockDirectory_" data-uid="Lucene.Net.Util.LuceneTestCase.NewMockDirectory*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewMockDirectory" data-uid="Lucene.Net.Util.LuceneTestCase.NewMockDirectory">NewMockDirectory()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static MockDirectoryWrapper NewMockDirectory()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Store.MockDirectoryWrapper.html">MockDirectoryWrapper</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewMockDirectory_System_Random_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewMockDirectory(System.Random)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1846">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewMockDirectory_" data-uid="Lucene.Net.Util.LuceneTestCase.NewMockDirectory*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewMockDirectory_System_Random_" data-uid="Lucene.Net.Util.LuceneTestCase.NewMockDirectory(System.Random)">NewMockDirectory(Random)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static MockDirectoryWrapper NewMockDirectory(Random random)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Store.MockDirectoryWrapper.html">MockDirectoryWrapper</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewMockFSDirectory_System_IO_DirectoryInfo_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewMockFSDirectory(System.IO.DirectoryInfo)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1851">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewMockFSDirectory_" data-uid="Lucene.Net.Util.LuceneTestCase.NewMockFSDirectory*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewMockFSDirectory_System_IO_DirectoryInfo_" data-uid="Lucene.Net.Util.LuceneTestCase.NewMockFSDirectory(System.IO.DirectoryInfo)">NewMockFSDirectory(DirectoryInfo)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static MockDirectoryWrapper NewMockFSDirectory(DirectoryInfo d)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.IO.DirectoryInfo</span></td>
<td><span class="parametername">d</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Store.MockDirectoryWrapper.html">MockDirectoryWrapper</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewSearcher_Lucene_Net_Index_IndexReader_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewSearcher(Lucene.Net.Index.IndexReader)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2276">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewSearcher_" data-uid="Lucene.Net.Util.LuceneTestCase.NewSearcher*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewSearcher_Lucene_Net_Index_IndexReader_" data-uid="Lucene.Net.Util.LuceneTestCase.NewSearcher(Lucene.Net.Index.IndexReader)">NewSearcher(IndexReader)</h4>
<div class="markdown level1 summary"><p>Create a new searcher over the reader. this searcher might randomly use
threads.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static IndexSearcher NewSearcher(IndexReader r)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">r</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.IndexSearcher</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewSearcher_Lucene_Net_Index_IndexReader_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewSearcher(Lucene.Net.Index.IndexReader%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2285">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewSearcher_" data-uid="Lucene.Net.Util.LuceneTestCase.NewSearcher*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewSearcher_Lucene_Net_Index_IndexReader_System_Boolean_" data-uid="Lucene.Net.Util.LuceneTestCase.NewSearcher(Lucene.Net.Index.IndexReader,System.Boolean)">NewSearcher(IndexReader, Boolean)</h4>
<div class="markdown level1 summary"><p>Create a new searcher over the reader. This searcher might randomly use
threads.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static IndexSearcher NewSearcher(IndexReader r, bool maybeWrap)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">r</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">maybeWrap</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.IndexSearcher</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewSearcher_Lucene_Net_Index_IndexReader_System_Boolean_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewSearcher(Lucene.Net.Index.IndexReader%2CSystem.Boolean%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2360">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewSearcher_" data-uid="Lucene.Net.Util.LuceneTestCase.NewSearcher*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewSearcher_Lucene_Net_Index_IndexReader_System_Boolean_System_Boolean_" data-uid="Lucene.Net.Util.LuceneTestCase.NewSearcher(Lucene.Net.Index.IndexReader,System.Boolean,System.Boolean)">NewSearcher(IndexReader, Boolean, Boolean)</h4>
<div class="markdown level1 summary"><p>Create a new searcher over the reader. This searcher might randomly use
threads. If <code data-dev-comment-type="paramref" class="paramref">maybeWrap</code> is true, this searcher might wrap the
reader with one that returns null for <span class="xref">Lucene.Net.Index.CompositeReader.GetSequentialSubReaders</span>. If
<code data-dev-comment-type="paramref" class="paramref">wrapWithAssertions</code> is true, this searcher might be an
<a class="xref" href="Lucene.Net.Search.AssertingIndexSearcher.html">AssertingIndexSearcher</a> instance.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static IndexSearcher NewSearcher(IndexReader r, bool maybeWrap, bool wrapWithAssertions)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span></td>
<td><span class="parametername">r</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">maybeWrap</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">wrapWithAssertions</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.IndexSearcher</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewStringField_System_Random_System_String_System_String_Lucene_Net_Documents_Field_Store_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewStringField(System.Random%2CSystem.String%2CSystem.String%2CLucene.Net.Documents.Field.Store)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1985">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewStringField_" data-uid="Lucene.Net.Util.LuceneTestCase.NewStringField*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewStringField_System_Random_System_String_System_String_Lucene_Net_Documents_Field_Store_" data-uid="Lucene.Net.Util.LuceneTestCase.NewStringField(System.Random,System.String,System.String,Lucene.Net.Documents.Field.Store)">NewStringField(Random, String, String, Field.Store)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static Field NewStringField(Random random, string name, string value, Field.Store stored)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">name</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">value</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Documents.Field.Store</span></td>
<td><span class="parametername">stored</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Documents.Field</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewStringField_System_String_System_String_Lucene_Net_Documents_Field_Store_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewStringField(System.String%2CSystem.String%2CLucene.Net.Documents.Field.Store)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1975">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewStringField_" data-uid="Lucene.Net.Util.LuceneTestCase.NewStringField*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewStringField_System_String_System_String_Lucene_Net_Documents_Field_Store_" data-uid="Lucene.Net.Util.LuceneTestCase.NewStringField(System.String,System.String,Lucene.Net.Documents.Field.Store)">NewStringField(String, String, Field.Store)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static Field NewStringField(string name, string value, Field.Store stored)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">name</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">value</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Documents.Field.Store</span></td>
<td><span class="parametername">stored</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Documents.Field</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewTextField_System_Random_System_String_System_String_Lucene_Net_Documents_Field_Store_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewTextField(System.Random%2CSystem.String%2CSystem.String%2CLucene.Net.Documents.Field.Store)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1990">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewTextField_" data-uid="Lucene.Net.Util.LuceneTestCase.NewTextField*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewTextField_System_Random_System_String_System_String_Lucene_Net_Documents_Field_Store_" data-uid="Lucene.Net.Util.LuceneTestCase.NewTextField(System.Random,System.String,System.String,Lucene.Net.Documents.Field.Store)">NewTextField(Random, String, String, Field.Store)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static Field NewTextField(Random random, string name, string value, Field.Store stored)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">name</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">value</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Documents.Field.Store</span></td>
<td><span class="parametername">stored</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Documents.Field</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewTextField_System_String_System_String_Lucene_Net_Documents_Field_Store_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewTextField(System.String%2CSystem.String%2CLucene.Net.Documents.Field.Store)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1980">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewTextField_" data-uid="Lucene.Net.Util.LuceneTestCase.NewTextField*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewTextField_System_String_System_String_Lucene_Net_Documents_Field_Store_" data-uid="Lucene.Net.Util.LuceneTestCase.NewTextField(System.String,System.String,Lucene.Net.Documents.Field.Store)">NewTextField(String, String, Field.Store)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static Field NewTextField(string name, string value, Field.Store stored)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">name</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">value</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Documents.Field.Store</span></td>
<td><span class="parametername">stored</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Documents.Field</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewTieredMergePolicy.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewTieredMergePolicy%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1697">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewTieredMergePolicy_" data-uid="Lucene.Net.Util.LuceneTestCase.NewTieredMergePolicy*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewTieredMergePolicy" data-uid="Lucene.Net.Util.LuceneTestCase.NewTieredMergePolicy">NewTieredMergePolicy()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static TieredMergePolicy NewTieredMergePolicy()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.TieredMergePolicy</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_NewTieredMergePolicy_System_Random_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.NewTieredMergePolicy(System.Random)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1757">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_NewTieredMergePolicy_" data-uid="Lucene.Net.Util.LuceneTestCase.NewTieredMergePolicy*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_NewTieredMergePolicy_System_Random_" data-uid="Lucene.Net.Util.LuceneTestCase.NewTieredMergePolicy(System.Random)">NewTieredMergePolicy(Random)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static TieredMergePolicy NewTieredMergePolicy(Random random)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.TieredMergePolicy</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_RandomCulture_System_Random_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.RandomCulture(System.Random)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2054">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_RandomCulture_" data-uid="Lucene.Net.Util.LuceneTestCase.RandomCulture*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_RandomCulture_System_Random_" data-uid="Lucene.Net.Util.LuceneTestCase.RandomCulture(System.Random)">RandomCulture(Random)</h4>
<div class="markdown level1 summary"><p>Return a random <span class="xref">System.Globalization.CultureInfo</span> from the available cultures on the system.
<p>
See <a href="https://issues.apache.org/jira/browse/LUCENE-4020">https://issues.apache.org/jira/browse/LUCENE-4020</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static CultureInfo RandomCulture(Random random)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Globalization.CultureInfo</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_RandomGaussian.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.RandomGaussian%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L3658">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_RandomGaussian_" data-uid="Lucene.Net.Util.LuceneTestCase.RandomGaussian*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_RandomGaussian" data-uid="Lucene.Net.Util.LuceneTestCase.RandomGaussian">RandomGaussian()</h4>
<div class="markdown level1 summary"><p>Returns the next pseudorandom, Gaussian (&quot;normally&quot;) distributed
<code>double</code> value with mean <code>0.0</code> and standard
deviation <code>1.0</code> from this random number generator&apos;s sequence.
<p>
The general contract of <code>nextGaussian</code> is that one
<span class="xref">System.Double</span> value, chosen from (approximately) the usual
normal distribution with mean <code>0.0</code> and standard deviation
<code>1.0</code>, is pseudorandomly generated and returned.</p>
<p><p>This uses the <em>polar method</em> of G. E. P. Box, M. E. Muller, and
G. Marsaglia, as described by Donald E. Knuth in <em>The Art of
Computer Programming</em>, Volume 3: <em>Seminumerical Algorithms</em>,
section 3.4.1, subsection C, algorithm P. Note that it generates two
independent values at the cost of only one call to <code>StrictMath.log</code>
and one call to <code>StrictMath.sqrt</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double RandomGaussian()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Double</span></td>
<td><p>The next pseudorandom, Gaussian (&quot;normally&quot;) distributed
<span class="xref">System.Double</span> value with mean <code>0.0</code> and
standard deviation <code>1.0</code> from this random number
generator&apos;s sequence.</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_RandomTimeZone_System_Random_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.RandomTimeZone(System.Random)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L2071">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_RandomTimeZone_" data-uid="Lucene.Net.Util.LuceneTestCase.RandomTimeZone*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_RandomTimeZone_System_Random_" data-uid="Lucene.Net.Util.LuceneTestCase.RandomTimeZone(System.Random)">RandomTimeZone(Random)</h4>
<div class="markdown level1 summary"><p>Return a random <span class="xref">System.TimeZoneInfo</span> from the available timezones on the system
<p>
See <a href="https://issues.apache.org/jira/browse/LUCENE-4020">https://issues.apache.org/jira/browse/LUCENE-4020</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static TimeZoneInfo RandomTimeZone(Random random)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.TimeZoneInfo</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_Rarely.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.Rarely%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1410">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_Rarely_" data-uid="Lucene.Net.Util.LuceneTestCase.Rarely*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_Rarely" data-uid="Lucene.Net.Util.LuceneTestCase.Rarely">Rarely()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool Rarely()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_Rarely_System_Random_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.Rarely(System.Random)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1399">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_Rarely_" data-uid="Lucene.Net.Util.LuceneTestCase.Rarely*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_Rarely_System_Random_" data-uid="Lucene.Net.Util.LuceneTestCase.Rarely(System.Random)">Rarely(Random)</h4>
<div class="markdown level1 summary"><p>Returns true if something should happen rarely,
<p>
The actual number returned will be influenced by whether <a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_TestNightly">TestNightly</a>
is active and <a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_RandomMultiplier">RandomMultiplier</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool Rarely(Random random)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_SetUp.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.SetUp%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L970">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_SetUp_" data-uid="Lucene.Net.Util.LuceneTestCase.SetUp*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_SetUp" data-uid="Lucene.Net.Util.LuceneTestCase.SetUp">SetUp()</h4>
<div class="markdown level1 summary"><p>For subclasses to override. Overrides must call <code>base.SetUp()</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[SetUp]
public virtual void SetUp()</code></pre>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_SlowFileExists_Lucene_Net_Store_Directory_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.SlowFileExists(Lucene.Net.Store.Directory%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L3297">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_SlowFileExists_" data-uid="Lucene.Net.Util.LuceneTestCase.SlowFileExists*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_SlowFileExists_Lucene_Net_Store_Directory_System_String_" data-uid="Lucene.Net.Util.LuceneTestCase.SlowFileExists(Lucene.Net.Store.Directory,System.String)">SlowFileExists(Directory, String)</h4>
<div class="markdown level1 summary"><p>Returns true if the file exists (can be opened), false
if it cannot be opened, and (unlike .NET&apos;s
<span class="xref">System.IO.File.Exists(System.String)</span>) if there&apos;s some
unexpected error, returns <code>false</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool SlowFileExists(Directory dir, string fileName)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Store.Directory</span></td>
<td><span class="parametername">dir</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fileName</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_TearDown.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.TearDown%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1021">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_TearDown_" data-uid="Lucene.Net.Util.LuceneTestCase.TearDown*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_TearDown" data-uid="Lucene.Net.Util.LuceneTestCase.TearDown">TearDown()</h4>
<div class="markdown level1 summary"><p>For subclasses to override. Overrides must call <code>base.TearDown()</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[TearDown]
public virtual void TearDown()</code></pre>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_Usually.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.Usually%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1420">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_Usually_" data-uid="Lucene.Net.Util.LuceneTestCase.Usually*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_Usually" data-uid="Lucene.Net.Util.LuceneTestCase.Usually">Usually()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool Usually()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase_Usually_System_Random_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase.Usually(System.Random)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L1415">View Source</a>
</span>
<a id="Lucene_Net_Util_LuceneTestCase_Usually_" data-uid="Lucene.Net.Util.LuceneTestCase.Usually*"></a>
<h4 id="Lucene_Net_Util_LuceneTestCase_Usually_System_Random_" data-uid="Lucene.Net.Util.LuceneTestCase.Usually(System.Random)">Usually(Random)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool Usually(Random random)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">random</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
<li>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_LuceneTestCase.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.LuceneTestCase%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
</li>
<li>
<a href="https://github.com/apache/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs/#L146" class="contribution-link">View Source</a>
</li>
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
Copyright © 2020 The Apache Software Foundation, Licensed under the <a href='http://www.apache.org/licenses/LICENSE-2.0' target='_blank'>Apache License, Version 2.0</a><br> <small>Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation. <br>All other marks mentioned may be trademarks or registered trademarks of their respective owners.</small>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.vendor.js"></script>
<script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.js"></script>
<script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/main.js"></script>
</body>
</html>