You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by di...@apache.org on 2009/11/16 19:53:39 UTC
svn commit: r880910 - in /incubator/lucene.net/trunk/C#/src/Test: Index/
Search/Function/
Author: digy
Date: Mon Nov 16 18:53:38 2009
New Revision: 880910
URL: http://svn.apache.org/viewvc?rev=880910&view=rev
Log:
LUCENENET-265 Remove [TestFixture] attribute where it should not be
Modified:
incubator/lucene.net/trunk/C#/src/Test/Index/MockIndexInput.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestTermdocPerf.cs
incubator/lucene.net/trunk/C#/src/Test/Search/Function/FunctionTestSetup.cs
incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestCustomScoreQuery.cs
incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestDocValues.cs
incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestFieldScoreQuery.cs
incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestOrdValues.cs
Modified: incubator/lucene.net/trunk/C#/src/Test/Index/MockIndexInput.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/MockIndexInput.cs?rev=880910&r1=880909&r2=880910&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/MockIndexInput.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/MockIndexInput.cs Mon Nov 16 18:53:38 2009
@@ -24,7 +24,7 @@
namespace Lucene.Net.Index
{
- [TestFixture]
+
public class MockIndexInput:BufferedIndexInput
{
new private byte[] buffer;
Modified: incubator/lucene.net/trunk/C#/src/Test/Index/TestTermdocPerf.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/TestTermdocPerf.cs?rev=880910&r1=880909&r2=880910&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/TestTermdocPerf.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/TestTermdocPerf.cs Mon Nov 16 18:53:38 2009
@@ -34,7 +34,6 @@
/// <version> $Id$
/// </version>
- [TestFixture]
class RepeatingTokenStream:TokenStream
{
public int num;
Modified: incubator/lucene.net/trunk/C#/src/Test/Search/Function/FunctionTestSetup.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/Function/FunctionTestSetup.cs?rev=880910&r1=880909&r2=880910&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/Function/FunctionTestSetup.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/Function/FunctionTestSetup.cs Mon Nov 16 18:53:38 2009
@@ -33,7 +33,7 @@
{
/// <summary> Setup for function tests</summary>
- [TestFixture]
+
public abstract class FunctionTestSetup:LuceneTestCase
{
@@ -60,7 +60,10 @@
public FunctionTestSetup(System.String name):base(name)
{
}
-
+ public FunctionTestSetup()
+ : base()
+ {
+ }
/* @override */
[TearDown]
public override void TearDown()
Modified: incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestCustomScoreQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/Function/TestCustomScoreQuery.cs?rev=880910&r1=880909&r2=880910&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestCustomScoreQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestCustomScoreQuery.cs Mon Nov 16 18:53:38 2009
@@ -39,7 +39,10 @@
public TestCustomScoreQuery(System.String name):base(name)
{
}
-
+ public TestCustomScoreQuery()
+ : base()
+ {
+ }
/// <summary>Test that CustomScoreQuery of Type.BYTE returns the expected scores. </summary>
[Test]
public virtual void TestCustomScoreByte()
Modified: incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestDocValues.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/Function/TestDocValues.cs?rev=880910&r1=880909&r2=880910&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestDocValues.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestDocValues.cs Mon Nov 16 18:53:38 2009
@@ -33,7 +33,10 @@
public TestDocValues(System.String name):base(name)
{
}
-
+ public TestDocValues()
+ : base()
+ {
+ }
[Test]
public virtual void TestGetMinValue()
{
Modified: incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestFieldScoreQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/Function/TestFieldScoreQuery.cs?rev=880910&r1=880909&r2=880910&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestFieldScoreQuery.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestFieldScoreQuery.cs Mon Nov 16 18:53:38 2009
@@ -48,7 +48,10 @@
public TestFieldScoreQuery(System.String name):base(name)
{
}
-
+ public TestFieldScoreQuery()
+ : base()
+ {
+ }
/// <summary>Test that FieldScoreQuery of Type.BYTE returns docs in expected order. </summary>
[Test]
public virtual void TestRankByte()
Modified: incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestOrdValues.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/Function/TestOrdValues.cs?rev=880910&r1=880909&r2=880910&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestOrdValues.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/Function/TestOrdValues.cs Mon Nov 16 18:53:38 2009
@@ -48,7 +48,10 @@
public TestOrdValues(System.String name):base(name)
{
}
-
+ public TestOrdValues()
+ : base()
+ {
+ }
/// <summary>Test OrdFieldSource </summary>
[Test]
public virtual void TestOrdFieldRank()