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 2017/03/11 06:03:59 UTC
[4/5] lucenenet git commit: Lucene.Net.Tests.TestApiConsistency:
Commented TestForPublicMembersWithNullableEnum test and added TODO about
reviewing nullable enums.
Lucene.Net.Tests.TestApiConsistency: Commented TestForPublicMembersWithNullableEnum test and added TODO about reviewing nullable enums.
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/6864d4a4
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/6864d4a4
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/6864d4a4
Branch: refs/heads/api-work
Commit: 6864d4a450b2d6a5622e4a84a147a2126eab7e68
Parents: a7edd89
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Fri Mar 10 23:16:47 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Sat Mar 11 13:03:33 2017 +0700
----------------------------------------------------------------------
src/Lucene.Net.Tests/TestApiConsistency.cs | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/6864d4a4/src/Lucene.Net.Tests/TestApiConsistency.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/TestApiConsistency.cs b/src/Lucene.Net.Tests/TestApiConsistency.cs
index f0dde4a..75c0e21 100644
--- a/src/Lucene.Net.Tests/TestApiConsistency.cs
+++ b/src/Lucene.Net.Tests/TestApiConsistency.cs
@@ -101,12 +101,13 @@ namespace Lucene.Net
base.TestForTypesContainingNonNetNumeric(typeFromTargetAssembly);
}
- [Test, LuceneNetSpecific]
- [TestCase(typeof(Lucene.Net.Analysis.Analyzer))]
- public override void TestForPublicMembersWithNullableEnum(Type typeFromTargetAssembly)
- {
- base.TestForPublicMembersWithNullableEnum(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);
+ //}
// 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)