You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2021/02/25 04:06:47 UTC
[lucenenet] 08/08:
Lucene.Net.Tests.Analysis.Common.Analysis.Hunspell: Changed
TestAllDictionaries and TestAllDictionaries2 data path to the root of the
repo to match the .gitignore file
This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit 6ff2ab28138f9e8d2e5ce9de481f5349bc987a02
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Thu Feb 25 07:46:20 2021 +0700
Lucene.Net.Tests.Analysis.Common.Analysis.Hunspell: Changed TestAllDictionaries and TestAllDictionaries2 data path to the root of the repo to match the .gitignore file
---
.../Analysis/Hunspell/TestAllDictionaries.cs | 2 +-
.../Analysis/Hunspell/TestAllDictionaries2.cs | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Hunspell/TestAllDictionaries.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Hunspell/TestAllDictionaries.cs
index f19734f..7c3b0f9 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Hunspell/TestAllDictionaries.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Hunspell/TestAllDictionaries.cs
@@ -47,7 +47,7 @@ namespace Lucene.Net.Analysis.Hunspell
// set this to the location of where you downloaded all the files
internal static readonly DirectoryInfo DICTIONARY_HOME = new DirectoryInfo(
- System.IO.Path.Combine(new DirectoryInfo(typeof(TestAllDictionaries2).Assembly.Location).Parent.Parent.Parent.Parent.Parent.FullName,
+ System.IO.Path.Combine(new DirectoryInfo(typeof(TestAllDictionaries2).Assembly.Location).Parent.Parent.Parent.Parent.Parent.Parent.FullName,
@"test-files\analysis\data\dictionaries"));
internal readonly string[] tests = new string[]
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Hunspell/TestAllDictionaries2.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Hunspell/TestAllDictionaries2.cs
index a05e8d9..9501ade 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Hunspell/TestAllDictionaries2.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Hunspell/TestAllDictionaries2.cs
@@ -43,7 +43,7 @@ namespace Lucene.Net.Analysis.Hunspell
// set this to the location of where you downloaded all the files
internal static readonly DirectoryInfo DICTIONARY_HOME = new DirectoryInfo(
- System.IO.Path.Combine(new DirectoryInfo(typeof(TestAllDictionaries2).Assembly.Location).Parent.Parent.Parent.Parent.Parent.FullName,
+ System.IO.Path.Combine(new DirectoryInfo(typeof(TestAllDictionaries2).Assembly.Location).Parent.Parent.Parent.Parent.Parent.Parent.FullName,
@"test-files\analysis\data\thunderbirdDicts"));
internal readonly string[] tests = new string[]
@@ -171,7 +171,7 @@ namespace Lucene.Net.Analysis.Hunspell
"verificador_ortografico_para_portugues_do_brasil-2.3-3.2b1-tb+sm+fn+fx.xpi", "dictionaries/pt_BR.dic", "dictionaries/pt_BR.aff",
"vietnamese_dictionary-2.1.0.159-an+sm+tb+fx+fn.xpi", "dictionaries/vi-DauCu.dic", "dictionaries/vi-DauCu.aff",
"vietnamese_dictionary-2.1.0.159-an+sm+tb+fx+fn.xpi", "dictionaries/vi-DauMoi.dic", "dictionaries/vi-DauMoi.aff",
-// LUCENENET BUG: System.ArgumentException : expected only one flag, got: Kc "woordenboek_nederlands-3.1.1-sm+tb+fx+fn.xpi", "dictionaries/nl.dic", "dictionaries/nl.aff",
+// LUCENENET TODO: BUG: System.ArgumentException : expected only one flag, got: Kc "woordenboek_nederlands-3.1.1-sm+tb+fx+fn.xpi", "dictionaries/nl.dic", "dictionaries/nl.aff",
"xhosa_spell_checker-20110323-tb+fn+fx+sm.xpi", "dictionaries/xh-ZA.dic", "dictionaries/xh-ZA.aff",
"xuxen-4.0.1-fx+tb+sm.xpi", "dictionaries/eu.dic", "dictionaries/eu.aff",
"yiddish_spell_checker_yivo-0.0.3-sm+fn+fx+tb.xpi", "dictionaries/yi.dic", "dictionaries/yi.aff",