lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [1/4] lucenenet git commit: use setup/teardown instead of fixture setup/teardown
Date Sat, 16 May 2015 17:29:10 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master 37c400392 -> f963b1d7a


use setup/teardown instead of fixture setup/teardown


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

Branch: refs/heads/master
Commit: 88645fa606bdbc3dbf1b91ba8233c8c7fd0e417e
Parents: 37c4003
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sat May 16 11:42:52 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sat May 16 11:42:52 2015 -0400

----------------------------------------------------------------------
 .../core/Codecs/Lucene41/TestBlockPostingsFormat2.cs             | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/88645fa6/src/Lucene.Net.Tests/core/Codecs/Lucene41/TestBlockPostingsFormat2.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Codecs/Lucene41/TestBlockPostingsFormat2.cs b/src/Lucene.Net.Tests/core/Codecs/Lucene41/TestBlockPostingsFormat2.cs
index a7c6bfc..3e07c69 100644
--- a/src/Lucene.Net.Tests/core/Codecs/Lucene41/TestBlockPostingsFormat2.cs
+++ b/src/Lucene.Net.Tests/core/Codecs/Lucene41/TestBlockPostingsFormat2.cs
@@ -47,7 +47,7 @@ namespace Lucene.Net.Codecs.Lucene41
         internal RandomIndexWriter Iw;
         internal IndexWriterConfig Iwc;
 
-        [TestFixtureSetUp]
+        [SetUp]
         public override void SetUp()
         {
             base.SetUp();
@@ -58,7 +58,7 @@ namespace Lucene.Net.Codecs.Lucene41
             Iw.RandomForceMerge = false; // we will ourselves
         }
 
-        [TestFixtureTearDown]
+        [TearDown]
         public override void TearDown()
         {
             Iw.Dispose();


Mime
View raw message