You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2021/04/05 20:02:32 UTC
[lucenenet] 05/08: BUG: Lucene.Net.Tests.Cli.EnvironmentTest:
Subclass LuceneTestCase or NUnit won't locate our tests
This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit 9e256d0f82d1b957f8c2a90660e635575108ab9e
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Sat Mar 27 15:05:53 2021 +0700
BUG: Lucene.Net.Tests.Cli.EnvironmentTest: Subclass LuceneTestCase or NUnit won't locate our tests
---
src/dotnet/tools/Lucene.Net.Tests.Cli/EnvironmentTest.cs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/dotnet/tools/Lucene.Net.Tests.Cli/EnvironmentTest.cs b/src/dotnet/tools/Lucene.Net.Tests.Cli/EnvironmentTest.cs
index 06c9f67..e76519a 100644
--- a/src/dotnet/tools/Lucene.Net.Tests.Cli/EnvironmentTest.cs
+++ b/src/dotnet/tools/Lucene.Net.Tests.Cli/EnvironmentTest.cs
@@ -1,6 +1,8 @@
using Lucene.Net.Attributes;
using Lucene.Net.Cli.Commands;
+using Lucene.Net.Util;
using NUnit.Framework;
+using Assert = Lucene.Net.TestFramework.Assert;
namespace Lucene.Net.Cli
{
@@ -21,7 +23,7 @@ namespace Lucene.Net.Cli
* limitations under the License.
*/
- public class EnvironmentTest
+ public class EnvironmentTest : LuceneTestCase
{
[Test]
[LuceneNetSpecific]