Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace lucene.testSettings.config references with lucene.testsettings.json #1035

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading