lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [09/52] [abbrv] lucenenet git commit: Lucene.Net.Tests.Icu.Support.TestApiConsistency: Fixed type used to scan the API so it works on the correct assembly.
Date Tue, 25 Apr 2017 11:50:50 GMT
Lucene.Net.Tests.Icu.Support.TestApiConsistency: Fixed type used to scan the API so it works
on the correct assembly.


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

Branch: refs/heads/master
Commit: 51fc0cb7e6f5d7870ad10e53120630e23f2b8554
Parents: d0d2c30
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Apr 19 05:07:01 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Apr 19 05:07:01 2017 +0700

----------------------------------------------------------------------
 .../Support/TestApiConsistency.cs               | 32 ++++++++++----------
 1 file changed, 16 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/51fc0cb7/src/Lucene.Net.Tests.Icu/Support/TestApiConsistency.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Icu/Support/TestApiConsistency.cs b/src/Lucene.Net.Tests.Icu/Support/TestApiConsistency.cs
index 1a143eb..3800f5d 100644
--- a/src/Lucene.Net.Tests.Icu/Support/TestApiConsistency.cs
+++ b/src/Lucene.Net.Tests.Icu/Support/TestApiConsistency.cs
@@ -10,98 +10,98 @@ namespace Lucene.Net.Support
     public class TestApiConsistency : ApiScanTestBase
     {
         [Test, LuceneNetSpecific]
-        [TestCase(typeof(Lucene.Net.Search.Highlight.DefaultEncoder))]
+        [TestCase(typeof(Lucene.Net.Support.BreakIterator))]
         public override void TestProtectedFieldNames(Type typeFromTargetAssembly)
         {
             base.TestProtectedFieldNames(typeFromTargetAssembly);
         }
 
         [Test, LuceneNetSpecific]
-        [TestCase(typeof(Lucene.Net.Search.Highlight.DefaultEncoder))]
+        [TestCase(typeof(Lucene.Net.Support.BreakIterator))]
         public override void TestPrivateFieldNames(Type typeFromTargetAssembly)
         {
             base.TestPrivateFieldNames(typeFromTargetAssembly);
         }
 
         [Test, LuceneNetSpecific]
-        [TestCase(typeof(Lucene.Net.Search.Highlight.DefaultEncoder))]
+        [TestCase(typeof(Lucene.Net.Support.BreakIterator))]
         public override void TestPublicFields(Type typeFromTargetAssembly)
         {
             base.TestPublicFields(typeFromTargetAssembly);
         }
 
         [Test, LuceneNetSpecific]
-        [TestCase(typeof(Lucene.Net.Search.Highlight.DefaultEncoder))]
+        [TestCase(typeof(Lucene.Net.Support.BreakIterator))]
         public override void TestMethodParameterNames(Type typeFromTargetAssembly)
         {
             base.TestMethodParameterNames(typeFromTargetAssembly);
         }
 
         [Test, LuceneNetSpecific]
-        [TestCase(typeof(Lucene.Net.Search.Highlight.DefaultEncoder))]
+        [TestCase(typeof(Lucene.Net.Support.BreakIterator))]
         public override void TestInterfaceNames(Type typeFromTargetAssembly)
         {
             base.TestInterfaceNames(typeFromTargetAssembly);
         }
 
         [Test, LuceneNetSpecific]
-        [TestCase(typeof(Lucene.Net.Search.Highlight.DefaultEncoder))]
+        [TestCase(typeof(Lucene.Net.Support.BreakIterator))]
         public override void TestClassNames(Type typeFromTargetAssembly)
         {
             base.TestClassNames(typeFromTargetAssembly);
         }
 
         [Test, LuceneNetSpecific]
-        [TestCase(typeof(Lucene.Net.Search.Highlight.DefaultEncoder))]
+        [TestCase(typeof(Lucene.Net.Support.BreakIterator))]
         public override void TestForPropertiesWithNoGetter(Type typeFromTargetAssembly)
         {
             base.TestForPropertiesWithNoGetter(typeFromTargetAssembly);
         }
 
         [Test, LuceneNetSpecific]
-        [TestCase(typeof(Lucene.Net.Search.Highlight.DefaultEncoder))]
+        [TestCase(typeof(Lucene.Net.Support.BreakIterator))]
         public override void TestForPropertiesThatReturnArray(Type typeFromTargetAssembly)
         {
             base.TestForPropertiesThatReturnArray(typeFromTargetAssembly);
         }
 
         [Test, LuceneNetSpecific]
-        [TestCase(typeof(Lucene.Net.Search.Highlight.DefaultEncoder))]
+        [TestCase(typeof(Lucene.Net.Support.BreakIterator))]
         public override void TestForMethodsThatReturnWritableArray(Type typeFromTargetAssembly)
         {
             base.TestForMethodsThatReturnWritableArray(typeFromTargetAssembly);
         }
 
         [Test, LuceneNetSpecific]
-        [TestCase(typeof(Lucene.Net.Search.Highlight.DefaultEncoder))]
+        [TestCase(typeof(Lucene.Net.Support.BreakIterator))]
         public override void TestForPublicMembersContainingComparer(Type typeFromTargetAssembly)
         {
             base.TestForPublicMembersContainingComparer(typeFromTargetAssembly);
         }
 
         [Test, LuceneNetSpecific]
-        [TestCase(typeof(Lucene.Net.Search.Highlight.DefaultEncoder))]
+        [TestCase(typeof(Lucene.Net.Support.BreakIterator))]
         public override void TestForPublicMembersNamedSize(Type typeFromTargetAssembly)
         {
             base.TestForPublicMembersNamedSize(typeFromTargetAssembly);
         }
 
         [Test, LuceneNetSpecific]
-        [TestCase(typeof(Lucene.Net.Search.Highlight.DefaultEncoder))]
+        [TestCase(typeof(Lucene.Net.Support.BreakIterator))]
         public override void TestForPublicMembersContainingNonNetNumeric(Type typeFromTargetAssembly)
         {
             base.TestForPublicMembersContainingNonNetNumeric(typeFromTargetAssembly);
         }
 
         [Test, LuceneNetSpecific]
-        [TestCase(typeof(Lucene.Net.Search.Highlight.DefaultEncoder))]
+        [TestCase(typeof(Lucene.Net.Support.BreakIterator))]
         public override void TestForTypesContainingNonNetNumeric(Type typeFromTargetAssembly)
         {
             base.TestForTypesContainingNonNetNumeric(typeFromTargetAssembly);
         }
 
         [Test, LuceneNetSpecific]
-        [TestCase(typeof(Lucene.Net.Search.Highlight.DefaultEncoder))]
+        [TestCase(typeof(Lucene.Net.Support.BreakIterator))]
         public override void TestForPublicMembersWithNullableEnum(Type typeFromTargetAssembly)
         {
             base.TestForPublicMembersWithNullableEnum(typeFromTargetAssembly);
@@ -110,14 +110,14 @@ namespace Lucene.Net.Support
         // 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)
         //[Test, LuceneNetSpecific]
-        //[TestCase(typeof(Lucene.Net.Search.Highlight.DefaultEncoder))]
+        //[TestCase(typeof(Lucene.Net.Support.BreakIterator))]
         //public override void TestForMembersAcceptingOrReturningIEnumerable(Type typeFromTargetAssembly)
         //{
         //    base.TestForMembersAcceptingOrReturningIEnumerable(typeFromTargetAssembly);
         //}
 
         [Test, LuceneNetSpecific]
-        [TestCase(typeof(Lucene.Net.Search.Highlight.DefaultEncoder))]
+        [TestCase(typeof(Lucene.Net.Support.BreakIterator))]
         public override void TestForMembersAcceptingOrReturningListOrDictionary(Type typeFromTargetAssembly)
         {
             base.TestForMembersAcceptingOrReturningListOrDictionary(typeFromTargetAssembly);


Mime
View raw message