lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [3/7] lucenenet git commit: Lucene.Net.Tests.Icu: Fixed linked file tests so they are discovered via command line, still not being discovered by Visual Studio, though.
Date Sun, 23 Apr 2017 10:10:08 GMT
Lucene.Net.Tests.Icu: Fixed linked file tests so they are discovered via command line, still
not being discovered by Visual Studio, though.


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/7ae4a650
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/7ae4a650
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/7ae4a650

Branch: refs/heads/api-work
Commit: 7ae4a650bda60d0258e87d69e5e7ec4637ef989b
Parents: e8efd15
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sun Apr 23 16:13:33 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sun Apr 23 16:13:33 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Icu/project.json                   |  5 +++--
 .../Analysis/Th/TestThaiAnalyzer.cs               |  2 +-
 src/Lucene.Net.Tests.Icu/project.json             | 18 ++++++++++++++++--
 3 files changed, 20 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/7ae4a650/src/Lucene.Net.Icu/project.json
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Icu/project.json b/src/Lucene.Net.Icu/project.json
index 45e74fe..3bef197 100644
--- a/src/Lucene.Net.Icu/project.json
+++ b/src/Lucene.Net.Icu/project.json
@@ -12,6 +12,7 @@
     "tags": [ "lucene.net", "core", "text", "search", "information", "retrieval", "lucene",
"apache", "analysis", "index", "query" ]
   },
   "buildOptions": {
+    "define": [ "FEATURE_BREAKITERATOR" ],
     "compile": {
       "includeFiles": [
         "../CommonAssemblyInfo.cs",
@@ -46,7 +47,7 @@
       "imports": "dnxcore50",
       "buildOptions": {
         "debugType": "portable",
-        "define": [ "NETSTANDARD", "FEATURE_BREAKITERATOR" ]
+        "define": [ "NETSTANDARD" ]
       },
       "dependencies": {
         "icu.net": "54.1.1-alpha",
@@ -56,7 +57,7 @@
     "net451": {
       "buildOptions": {
         "debugType": "full",
-        "define": [ "FEATURE_BREAKITERATOR", "FEATURE_SERIALIZABLE" ]
+        "define": [ "FEATURE_SERIALIZABLE" ]
       },
       "dependencies": {
         "icu.net": "2.1.1-beta0005",

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/7ae4a650/src/Lucene.Net.Tests.Analysis.Common/Analysis/Th/TestThaiAnalyzer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Th/TestThaiAnalyzer.cs b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Th/TestThaiAnalyzer.cs
index ca2d225..bda1601 100644
--- a/src/Lucene.Net.Tests.Analysis.Common/Analysis/Th/TestThaiAnalyzer.cs
+++ b/src/Lucene.Net.Tests.Analysis.Common/Analysis/Th/TestThaiAnalyzer.cs
@@ -179,7 +179,7 @@ namespace Lucene.Net.Analysis.Th
         /// LUCENENET: Tests scenario outlined in <see cref="ThaiWordBreaker"/>
         /// </summary>
         [Test][LuceneNetSpecific]
-        public void TestNumeralBreaking()
+        public virtual void TestNumeralBreaking()
         {
             ThaiAnalyzer analyzer = new ThaiAnalyzer(TEST_VERSION_CURRENT, CharArraySet.EMPTY_SET);
             AssertAnalyzesTo(analyzer, "๑๒๓456", new String[] { "๑๒๓456" });

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/7ae4a650/src/Lucene.Net.Tests.Icu/project.json
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Icu/project.json b/src/Lucene.Net.Tests.Icu/project.json
index 80e3c51..8501f31 100644
--- a/src/Lucene.Net.Tests.Icu/project.json
+++ b/src/Lucene.Net.Tests.Icu/project.json
@@ -2,6 +2,7 @@
   "version": "4.8.0",
   "title": "Lucene.Net.Tests.Icu",
   "buildOptions": {
+    "define": [ "FEATURE_BREAKITERATOR" ],
     "compile": {
       "includeFiles": [
         "../CommonAssemblyInfo.cs",
@@ -39,8 +40,21 @@
       "imports": "dnxcore50",
       "buildOptions": {
         "debugType": "portable",
-        "define": [ "NETSTANDARD", "FEATURE_BREAKITERATOR" ],
+        "define": [ "FEATURE_BREAKITERATOR" ],
         "compile": {
+          "includeFiles": [
+            "../CommonAssemblyInfo.cs",
+            "../Lucene.Net.Tests.Analysis.Common/Analysis/Th/TestThaiAnalyzer.cs",
+            "../Lucene.Net.Tests.Analysis.Common/Analysis/Th/TestThaiTokenizerFactory.cs",
+            "../Lucene.Net.Tests.Analysis.Common/Analysis/Th/TestThaiWordFilterFactory.cs",
+            "../Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestCharArrayIterator.cs",
+            "../Lucene.Net.Tests.Analysis.Common/Analysis/Util/TestSegmentingTokenizerBase.cs",
+            "../Lucene.Net.Tests.Highlighter/PostingsHighlight/TestMultiTermHighlighting.cs",
+            "../Lucene.Net.Tests.Highlighter/PostingsHighlight/TestPostingsHighlighter.cs",
+            "../Lucene.Net.Tests.Highlighter/PostingsHighlight/TestPostingsHighlighterRanking.cs",
+            "../Lucene.Net.Tests.Highlighter/PostingsHighlight/TestWholeBreakIterator.cs",
+            "../Lucene.Net.Tests.Highlighter/VectorHighlight/BreakIteratorBoundaryScannerTest.cs"
+          ],
           "excludeFiles": [
             "Support/TestApiConsistency.cs"
           ]
@@ -58,7 +72,7 @@
     "net451": {
       "buildOptions": {
         "debugType": "full",
-        "define": [ "FEATURE_BREAKITERATOR", "FEATURE_SERIALIZABLE" ]
+        "define": [ "FEATURE_SERIALIZABLE" ]
       },
       "dependencies": {
         "icu.net": "2.1.1-beta0005",


Mime
View raw message