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/02/27 00:46:51 UTC

[2/2] lucenenet git commit: Lucene.Net.Tests.TestAttributeSource.TestInvalidArguments(): Removed TODO and replaced with note that the test is not necessary because of a generic constraint that prevents compilation if the wrong type is used.

Lucene.Net.Tests.TestAttributeSource.TestInvalidArguments(): Removed TODO and replaced with note that the test is not necessary because of a generic constraint that prevents compilation if the wrong type is used.


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

Branch: refs/heads/api-work
Commit: 03d03a939f8c48a973b29cd87fa5e158adfe281d
Parents: d54fe47
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Mon Feb 27 07:34:31 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Mon Feb 27 07:34:31 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests/Util/TestAttributeSource.cs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/03d03a93/src/Lucene.Net.Tests/Util/TestAttributeSource.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/Util/TestAttributeSource.cs b/src/Lucene.Net.Tests/Util/TestAttributeSource.cs
index f4a0c43..71aeb7d 100644
--- a/src/Lucene.Net.Tests/Util/TestAttributeSource.cs
+++ b/src/Lucene.Net.Tests/Util/TestAttributeSource.cs
@@ -165,7 +165,9 @@ namespace Lucene.Net.Util
             {
             }
 
-            // LUCENENET TODO: Finish implementation
+
+            // LUCENENET NOTE: Invalid type won't compile because
+            // of the generic constraint, so this test is not necessary in .NET.
 
             /*try
             {