You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Formatting and remove extraneous comment in Search/Payloads, #259
* Array formatting in Search/Similarities to match upstream
* Search/Spans formatting cleanup, use singletons for parameterless/captureless anonymous classes
* Code cleanup in Search/B-TestB tests
* Search/TestC code cleanup and allocation improvements
* Search/TestD-TestE code cleanup
* Test review TestF-TestL, #259
* Test review for rest of Search, #259
* Test review of Store, #259
* Finish J-S test cleanup
* Fix .NET FX build failure due to missing import
* Use CompareToOrdinal instead of string.Compare
* Change Array.Empty<T> to Arrays.Empty<T> until #916 is done in a separate PR
* Null-safe disposal of resources in TestSpansAdvanced
* Make TestSpansAdvanced.AssertHits static to match upstream Java code
* Use Arrays.Empty<T> in TestBoolean2 instead of Array.Empty<T>
* Revert static instance of MockScorer in TestCachingCollector
* Revert static instances of NoOpCollector in TestCachingCollector
* Fix seealso cref to CheckHits.CheckNoMatchExplanations
* Fix ticks math in RandomGen.LuceneDate
* Fix XML doc comment paragraph tag in TestFieldCacheRangeFilter
* Revert static instance of AnalyzerAnonymousClass in TestPhraseQuery
* Comment out TestScorerPerf.terms to prevent unused warning
* Remove use of Convert.ToInt32 which boxes in CheckHits
* Specify culture for Convert.ToInt32
* Fix spelling of TransactionalThreadInterrupt class
* Add back redundant override of TestRegexps in case some test runners don't report failures correctly
* Remove unused ConcurrentDictionaryWrapper type
@@ -96,11 +97,6 @@ public static string Pad(int n)
96
97
returnb.ToString();
97
98
}
98
99
99
-
/// <summary>
100
-
/// LUCENENET specific
101
-
/// Is non-static because <see cref="Build(Random, TestIndex)"/> is no
102
-
/// longer static.
103
-
/// </summary>
104
100
[OneTimeSetUp]
105
101
publicoverridevoidBeforeClass()// LUCENENET specific: renamed from BeforeClassBaseTestRangeFilter() so we can override to control the order of execution
106
102
{
@@ -127,12 +123,7 @@ public override void AfterClass() // LUCENENET specific: renamed from AfterClass
127
123
base.AfterClass();
128
124
}
129
125
130
-
/// <summary>
131
-
/// LUCENENET specific
132
-
/// Passed in because NewStringField and NewIndexWriterConfig are no
/// The "collection" for the integration tests. </summary>
590
-
internalstring[]docs=newstring[]{"Tiger, tiger burning bright In the forest of the night What immortal hand or eye Could frame thy fearful symmetry ?","In what distant depths or skies Burnt the fire of thine eyes ? On what wings dare he aspire ? What the hands the seize the fire ?","And what shoulder and what art Could twist the sinews of thy heart ? And when thy heart began to beat What dread hand ? And what dread feet ?","What the hammer? What the chain ? In what furnace was thy brain ? What the anvil ? And what dread grasp Dare its deadly terrors clasp ?","And when the stars threw down their spears And water'd heaven with their tear Did he smile his work to see ? Did he, who made the lamb, made thee ?","Tiger, tiger burning bright In the forest of the night What immortal hand or eye Dare frame thy fearful symmetry ?","Cruelty has a human heart And jealousy a human face Terror the human form divine And Secrecy the human dress .","The human dress is forg'd iron The human form a fiery forge The human face a furnace seal'd The human heart its fiery gorge ."};
608
+
internalstring[]docs=newstring[]
609
+
{
610
+
"Tiger, tiger burning bright In the forest of the night What immortal hand or eye Could frame thy fearful symmetry ?",
611
+
"In what distant depths or skies Burnt the fire of thine eyes ? On what wings dare he aspire ? What the hands the seize the fire ?",
612
+
"And what shoulder and what art Could twist the sinews of thy heart ? And when thy heart began to beat What dread hand ? And what dread feet ?",
613
+
"What the hammer? What the chain ? In what furnace was thy brain ? What the anvil ? And what dread grasp Dare its deadly terrors clasp ?",
614
+
"And when the stars threw down their spears And water'd heaven with their tear Did he smile his work to see ? Did he, who made the lamb, made thee ?",
615
+
"Tiger, tiger burning bright In the forest of the night What immortal hand or eye Dare frame thy fearful symmetry ?",
616
+
"Cruelty has a human heart And jealousy a human face Terror the human form divine And Secrecy the human dress .",
617
+
"The human dress is forg'd iron The human form a fiery forge The human face a furnace seal'd The human heart its fiery gorge ."
618
+
};
591
619
592
620
/// <summary>
593
621
/// Tests whether all similarities return three documents for the query word
@@ -649,4 +677,4 @@ public virtual void TestDiscountOverlapsBoost()
0 commit comments