lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [14/33] lucenenet git commit: Lucene.Net.Tests.TestApiConsistency: re-enabled nullable Enum test
Date Fri, 17 Mar 2017 22:28:44 GMT
Lucene.Net.Tests.TestApiConsistency: re-enabled nullable Enum test


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

Branch: refs/heads/api-work
Commit: 0e6ad0d0fbd5f8f758d380921bda6818287b3c75
Parents: 021f557
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Fri Mar 17 08:46:02 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Fri Mar 17 08:46:02 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests/TestApiConsistency.cs | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/0e6ad0d0/src/Lucene.Net.Tests/TestApiConsistency.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/TestApiConsistency.cs b/src/Lucene.Net.Tests/TestApiConsistency.cs
index 75c0e21..f0dde4a 100644
--- a/src/Lucene.Net.Tests/TestApiConsistency.cs
+++ b/src/Lucene.Net.Tests/TestApiConsistency.cs
@@ -101,13 +101,12 @@ namespace Lucene.Net
             base.TestForTypesContainingNonNetNumeric(typeFromTargetAssembly);
         }
 
-        // LUCENENET TODO: Re-enable this and try to eliminate more nullable enums, if possible.
-        //[Test, LuceneNetSpecific]
-        //[TestCase(typeof(Lucene.Net.Analysis.Analyzer))]
-        //public override void TestForPublicMembersWithNullableEnum(Type typeFromTargetAssembly)
-        //{
-        //    base.TestForPublicMembersWithNullableEnum(typeFromTargetAssembly);
-        //}
+        [Test, LuceneNetSpecific]
+        [TestCase(typeof(Lucene.Net.Analysis.Analyzer))]
+        public override void TestForPublicMembersWithNullableEnum(Type typeFromTargetAssembly)
+        {
+            base.TestForPublicMembersWithNullableEnum(typeFromTargetAssembly);
+        }
 
         // LUCENENET NOTE: This test is only for identifying members who were changed from
         // ICollection, IList or ISet to IEnumerable during the port (that should be changed
back)


Mime
View raw message