lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [12/15] lucenenet git commit: Lucene.Net.Tests: Added missing test Support/TestOldPatches on .NET Core
Date Sat, 08 Apr 2017 21:38:02 GMT
Lucene.Net.Tests: Added missing test Support/TestOldPatches on .NET Core


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

Branch: refs/heads/api-work
Commit: 85c46a65679d65df0e7ef262ce34f00d52eb9ae9
Parents: aad3805
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sun Apr 9 02:45:44 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sun Apr 9 02:50:50 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests/Support/TestOldPatches.cs | 5 ++++-
 src/Lucene.Net.Tests/project.json              | 1 -
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/85c46a65/src/Lucene.Net.Tests/Support/TestOldPatches.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/Support/TestOldPatches.cs b/src/Lucene.Net.Tests/Support/TestOldPatches.cs
index 2a7bf94..f706e08 100644
--- a/src/Lucene.Net.Tests/Support/TestOldPatches.cs
+++ b/src/Lucene.Net.Tests/Support/TestOldPatches.cs
@@ -56,6 +56,7 @@ namespace Lucene.Net.Support
         //}
 
         //-------------------------------------------
+#if FEATURE_SERIALIZABLE
         [Test]
         [Description("LUCENENET-170")]
         public void Test_Util_Parameter()
@@ -77,8 +78,10 @@ namespace Lucene.Net.Support
 
             Assert.AreEqual(queryPreSerialized, queryPostSerialized, "See the issue: LUCENENET-170");
         }
+#endif
 
         //-------------------------------------------
+#if FEATURE_SERIALIZABLE
         [Test]
         [Description("LUCENENET-174")]
         public void Test_Store_RAMDirectory()
@@ -128,7 +131,7 @@ namespace Lucene.Net.Support
 
             Assert.AreEqual(topDocs.TotalHits, 2, "See the issue: LUCENENET-174");
         }
-
+#endif
 
 
         //-------------------------------------------

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/85c46a65/src/Lucene.Net.Tests/project.json
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/project.json b/src/Lucene.Net.Tests/project.json
index 24f8693..51c83b2 100644
--- a/src/Lucene.Net.Tests/project.json
+++ b/src/Lucene.Net.Tests/project.json
@@ -76,7 +76,6 @@
             "Index/TestConcurrentMergeScheduler.cs",
             "Support/TestCase.cs",
             "Support/TestExceptionSerialization.cs",
-            "Support/TestOldPatches.cs",
             "Support/TestOSClass.cs",
             "Support/TestSerialization.cs",
             "Util/TestMaxFailuresRule.cs"


Mime
View raw message