lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [33/47] lucenenet git commit: Made BaseDocIdSetTestCase test methods virtual.
Date Tue, 11 Oct 2016 18:35:18 GMT
Made BaseDocIdSetTestCase test methods virtual.


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

Branch: refs/heads/master
Commit: bd64873c830fa5632d810476b594c07f2b6a55e7
Parents: e72a7f8
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Tue Oct 11 00:29:39 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Oct 12 01:10:53 2016 +0700

----------------------------------------------------------------------
 src/Lucene.Net.TestFramework/Util/BaseDocIdSetTestCase.cs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/bd64873c/src/Lucene.Net.TestFramework/Util/BaseDocIdSetTestCase.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Util/BaseDocIdSetTestCase.cs b/src/Lucene.Net.TestFramework/Util/BaseDocIdSetTestCase.cs
index 7ef0073..2cfe630 100644
--- a/src/Lucene.Net.TestFramework/Util/BaseDocIdSetTestCase.cs
+++ b/src/Lucene.Net.TestFramework/Util/BaseDocIdSetTestCase.cs
@@ -78,7 +78,7 @@ namespace Lucene.Net.Util
         /// Test length=0.
         /// </summary>
         [Test]
-        public void TestNoBit()
+        public virtual void TestNoBit()
         {
             BitArray bs = new BitArray(1);
             T copy = CopyOf(bs, 0);
@@ -89,7 +89,7 @@ namespace Lucene.Net.Util
         /// Test length=1.
         /// </summary>
         [Test]
-        public void Test1Bit()
+        public virtual void Test1Bit()
         {
             BitArray bs = new BitArray(1);
             if (Random().NextBoolean())
@@ -104,7 +104,7 @@ namespace Lucene.Net.Util
         /// Test length=2.
         /// </summary>
         [Test]
-        public void Test2Bits()
+        public virtual void Test2Bits()
         {
             BitArray bs = new BitArray(2);
             if (Random().NextBoolean())
@@ -124,7 +124,7 @@ namespace Lucene.Net.Util
         /// </summary>
         [Test, Timeout(150000)]
         [LongRunningTest]
-        public void TestAgainstBitSet()
+        public virtual void TestAgainstBitSet()
         {
             int numBits = TestUtil.NextInt(Random(), 100, 1 << 20);
             // test various random sets with various load factors


Mime
View raw message