lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [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.
Date Mon, 27 Feb 2017 00:46:51 GMT
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 <shad@shadstorhaug.com>
Authored: Mon Feb 27 07:34:31 2017 +0700
Committer: Shad Storhaug <shad@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
             {


Mime
View raw message