Skip to content

Commit

Permalink
Replace lucene.testSettings.config references with lucene.testsetting…
Browse files Browse the repository at this point in the history
…s.json, #997 (#1035)
  • Loading branch information
paulirwin authored Nov 19, 2024
1 parent b88e53e commit 3989c5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Lucene.Net.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/UserDictionary/Words/=Coord/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=LUCENENET/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
<s:Boolean x:Key="/Default/UserDictionary/Words/=LUCENENET/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=testsettings/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
6 changes: 3 additions & 3 deletions src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ namespace Lucene.Net.Util
/// test message.
/// </para>
/// <para>
/// The seed can be configured with a RunSettings file, a <c>lucene.testSettings.config</c> JSON file,
/// The seed can be configured with a RunSettings file, a <c>lucene.testsettings.json</c> JSON file,
/// an environment variable, or using <see cref="RandomSeedAttribute"/> at the assembly level.
/// It is recommended to configure the culture also, since they are randomly picked from a list
/// of cultures installed on a given machine, so the culture will vary from one machine to the next.
Expand Down Expand Up @@ -128,10 +128,10 @@ namespace Lucene.Net.Util
/// [assembly: NUnit.Framework.SetCulture("sw-TZ")]
/// </code>
///
/// <h4><i>lucene.testSettings.config</i> File Configuration Example</h4>
/// <h4><i>lucene.testsettings.json</i> File Configuration Example</h4>
///
/// <para>
/// Add a file named <i>lucene.testSettings.config</i> to the executable directory or
/// Add a file named <i>lucene.testsettings.json</i> to the executable directory or
/// any directory between the executable and the root of the drive with the following contents.
/// </para>
///
Expand Down
2 changes: 1 addition & 1 deletion src/Lucene.Net.Tests/Index/TestIndexWriterOnJRECrash.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public Process ForkTest(string tempDir, int port)
"--logger:\"console;verbosity=normal\"",
"--",
$"RunConfiguration.TargetPlatform={GetTargetPlatform()}",
// LUCENENET NOTE: Since in our CI environment we create a lucene.testSettings.config file
// LUCENENET NOTE: Since in our CI environment we create a lucene.testsettings.json file
// for all tests, we need to pass some of these settings as test run parameters to override
// for this process. These are read as system properties on the inside of the application.
TestRunParameter("assert", "true"),
Expand Down

0 comments on commit 3989c5a

Please sign in to comment.