lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [5/6] lucenenet git commit: Lucene.Net.Tests: Using FEATURE_SERIALIZABLE instead of file exclusion for TestSerialization and TestExceptionSerialization tests
Date Sun, 16 Apr 2017 10:38:06 GMT
Lucene.Net.Tests: Using FEATURE_SERIALIZABLE instead of file exclusion for TestSerialization
and TestExceptionSerialization tests


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

Branch: refs/heads/api-work
Commit: 7bc0926196c6cc8aa8e82aec8c58d165dff68a62
Parents: 0c942da
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sun Apr 16 01:05:15 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sun Apr 16 01:05:15 2017 +0700

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


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/7bc09261/src/Lucene.Net.Tests/Support/TestSerialization.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/Support/TestSerialization.cs b/src/Lucene.Net.Tests/Support/TestSerialization.cs
index 6ce2909..323dd3a 100644
--- a/src/Lucene.Net.Tests/Support/TestSerialization.cs
+++ b/src/Lucene.Net.Tests/Support/TestSerialization.cs
@@ -1,3 +1,4 @@
+#if FEATURE_SERIALIZABLE
 /*
  *
  * Licensed to the Apache Software Foundation (ASF) under one
@@ -110,3 +111,4 @@ namespace Lucene.Net.Support
     }
 }
 #pragma warning restore 612, 618
+#endif
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/7bc09261/src/Lucene.Net.Tests/project.json
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/project.json b/src/Lucene.Net.Tests/project.json
index 7f82f48..36f288f 100644
--- a/src/Lucene.Net.Tests/project.json
+++ b/src/Lucene.Net.Tests/project.json
@@ -22,8 +22,6 @@
           "excludeFiles": [
             "Support/TestApiConsistency.cs",
             "Support/TestCase.cs",
-            "Support/TestExceptionSerialization.cs",
-            "Support/TestSerialization.cs",
             "Util/TestMaxFailuresRule.cs"
           ],
           "exclude": [


Mime
View raw message