Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "SNOW-1473274 bump nunit to 4.1.0 (#971)" #973

Merged
merged 1 commit into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/IcebergTests/TestIcebergTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using Snowflake.Data.Client;
using Snowflake.Data.Core;
using Snowflake.Data.Tests.Util;
using Assert = NUnit.Framework.Legacy.ClassicAssert;
using static Snowflake.Data.Tests.Util.TestData;

namespace Snowflake.Data.Tests.IcebergTests
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/IntegrationTests/EasyLoggingIT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using Snowflake.Data.Configuration;
using Snowflake.Data.Core;
using Snowflake.Data.Log;
using Assert = NUnit.Framework.Legacy.ClassicAssert;
using static Snowflake.Data.Tests.UnitTests.Configuration.EasyLoggingConfigGenerator;

namespace Snowflake.Data.Tests.IntegrationTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using NUnit.Framework;
using Snowflake.Data.Client;
using Snowflake.Data.Tests.Util;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

namespace Snowflake.Data.Tests
{
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/IntegrationTests/MaxLobSizeIT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
using System.Data.Common;
using System.IO;
using System.Linq;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

namespace Snowflake.Data.Tests.IntegrationTests
{
Expand Down
3 changes: 1 addition & 2 deletions Snowflake.Data.Tests/IntegrationTests/SFBindTestIT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@
using System.Globalization;
using System.Collections.Generic;
using Snowflake.Data.Tests.Util;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

namespace Snowflake.Data.Tests.IntegrationTests
{

[TestFixture]
[TestFixture]
class SFBindTestIT : SFBaseTest
{
private static readonly SFLogger s_logger = SFLoggerFactory.GetLogger<SFBindTestIT>();
Expand Down
4 changes: 1 addition & 3 deletions Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ namespace Snowflake.Data.Tests.IntegrationTests
using Snowflake.Data.Tests.Mock;
using System.Runtime.InteropServices;
using System.Net.Http;
using NUnit.Framework.Legacy;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
class SFConnectionIT : SFBaseTest
Expand Down Expand Up @@ -801,7 +799,7 @@ public void TestUnknownAuthenticator()
IDbConnection conn = new SnowflakeDbConnection();
conn.ConnectionString = "scheme=http;host=test;port=8080;user=test;password=test;account=test;authenticator=" + wrongAuthenticator;
conn.Open();
Assert.Fail($"Authentication of {wrongAuthenticator} should fail");
Assert.Fail("Authentication of {0} should fail", wrongAuthenticator);
}
catch (SnowflakeDbException e)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
using System.Threading.Tasks;
using Snowflake.Data.Client;
using Snowflake.Data.Core;
using Snowflake.Data.Log;
using Snowflake.Data.Tests.Mock;
using Moq;
using NUnit.Framework;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

namespace Snowflake.Data.Tests.IntegrationTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
using Snowflake.Data.Log;
using NUnit.Framework;
using Snowflake.Data.Core.Session;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

namespace Snowflake.Data.Tests.IntegrationTests
{
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/IntegrationTests/SFDbAdaptorIT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using Snowflake.Data.Client;
using System.Data;
using System.Runtime.InteropServices;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
class SFDbAdaptorIT : SFBaseTest
Expand All @@ -17,7 +16,7 @@
private SnowflakeDbCommand _command;

[SetUp]
public void BeforeTest()

Check warning on line 19 in Snowflake.Data.Tests/IntegrationTests/SFDbAdaptorIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, AZURE)

'SFDbAdaptorIT.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 19 in Snowflake.Data.Tests/IntegrationTests/SFDbAdaptorIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, AWS)

'SFDbAdaptorIT.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 19 in Snowflake.Data.Tests/IntegrationTests/SFDbAdaptorIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, GCP)

'SFDbAdaptorIT.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 19 in Snowflake.Data.Tests/IntegrationTests/SFDbAdaptorIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, AZURE)

'SFDbAdaptorIT.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 19 in Snowflake.Data.Tests/IntegrationTests/SFDbAdaptorIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, AWS)

'SFDbAdaptorIT.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 19 in Snowflake.Data.Tests/IntegrationTests/SFDbAdaptorIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, GCP)

'SFDbAdaptorIT.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 19 in Snowflake.Data.Tests/IntegrationTests/SFDbAdaptorIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net8.0, GCP)

'SFDbAdaptorIT.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 19 in Snowflake.Data.Tests/IntegrationTests/SFDbAdaptorIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net6.0, AWS)

'SFDbAdaptorIT.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.
{
_adapter = new SnowflakeDbDataAdapter();
_command = new SnowflakeDbCommand();
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/IntegrationTests/SFDbCommandIT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ namespace Snowflake.Data.Tests.IntegrationTests
using System.Globalization;
using Snowflake.Data.Tests.Mock;
using Snowflake.Data.Core;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
class SFDbCommandITAsync : SFBaseTestAsync
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
using Snowflake.Data.Client;
using Snowflake.Data.Core;
using Snowflake.Data.Tests.Util;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

namespace Snowflake.Data.Tests.IntegrationTests
{
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/IntegrationTests/SFDbFactoryIT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using NUnit.Framework;
using System.Data;
using System.Data.Common;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
class SFDbFactoryIT : SFBaseTest
Expand All @@ -17,7 +16,7 @@
DbConnection _connection;

[SetUp]
public void BeforeTest()

Check warning on line 19 in Snowflake.Data.Tests/IntegrationTests/SFDbFactoryIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, AZURE)

'SFDbFactoryIT.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 19 in Snowflake.Data.Tests/IntegrationTests/SFDbFactoryIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, AWS)

'SFDbFactoryIT.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 19 in Snowflake.Data.Tests/IntegrationTests/SFDbFactoryIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, GCP)

'SFDbFactoryIT.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 19 in Snowflake.Data.Tests/IntegrationTests/SFDbFactoryIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, AZURE)

'SFDbFactoryIT.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 19 in Snowflake.Data.Tests/IntegrationTests/SFDbFactoryIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, AWS)

'SFDbFactoryIT.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 19 in Snowflake.Data.Tests/IntegrationTests/SFDbFactoryIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, GCP)

'SFDbFactoryIT.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.
{
#if NETFRAMEWORK
_factory = DbProviderFactories.GetFactory("Snowflake.Data");
Expand All @@ -36,7 +35,7 @@
}

[TearDown]
public void AfterTest()

Check warning on line 38 in Snowflake.Data.Tests/IntegrationTests/SFDbFactoryIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, AZURE)

'SFDbFactoryIT.AfterTest()' hides inherited member 'SFBaseTestAsync.AfterTest()'. Use the new keyword if hiding was intended.

Check warning on line 38 in Snowflake.Data.Tests/IntegrationTests/SFDbFactoryIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, AWS)

'SFDbFactoryIT.AfterTest()' hides inherited member 'SFBaseTestAsync.AfterTest()'. Use the new keyword if hiding was intended.

Check warning on line 38 in Snowflake.Data.Tests/IntegrationTests/SFDbFactoryIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, GCP)

'SFDbFactoryIT.AfterTest()' hides inherited member 'SFBaseTestAsync.AfterTest()'. Use the new keyword if hiding was intended.

Check warning on line 38 in Snowflake.Data.Tests/IntegrationTests/SFDbFactoryIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, AZURE)

'SFDbFactoryIT.AfterTest()' hides inherited member 'SFBaseTestAsync.AfterTest()'. Use the new keyword if hiding was intended.

Check warning on line 38 in Snowflake.Data.Tests/IntegrationTests/SFDbFactoryIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, AWS)

'SFDbFactoryIT.AfterTest()' hides inherited member 'SFBaseTestAsync.AfterTest()'. Use the new keyword if hiding was intended.

Check warning on line 38 in Snowflake.Data.Tests/IntegrationTests/SFDbFactoryIT.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, GCP)

'SFDbFactoryIT.AfterTest()' hides inherited member 'SFBaseTestAsync.AfterTest()'. Use the new keyword if hiding was intended.
{
_connection.Close();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ namespace Snowflake.Data.Tests.IntegrationTests
using Snowflake.Data.Client;
using Snowflake.Data.Core;
using System.Threading.Tasks;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
class SFDbTransactionIT : SFBaseTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ namespace Snowflake.Data.Tests.IntegrationTests
using Snowflake.Data.Client;
using Snowflake.Data.Core;
using NUnit.Framework;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
class SFMultiStatementsIT : SFBaseTest
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/IntegrationTests/SFPutGetTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ namespace Snowflake.Data.Tests.IntegrationTests
using Snowflake.Data.Client;
using Snowflake.Data.Core;
using Snowflake.Data.Core.FileTransfer;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
[Parallelizable(ParallelScope.Children)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ namespace Snowflake.Data.Tests.IntegrationTests
using Core;
using Client;
using System.Threading.Tasks;
using Assert = NUnit.Framework.Legacy.ClassicAssert;


[TestFixture, NonParallelizable]
class SFReusableChunkTest : SFBaseTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace Snowflake.Data.Tests.IntegrationTests
using System.Data;
using Snowflake.Data.Client;
using System.Data.Common;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
class SFStatementTypeTest : SFBaseTest
Expand Down
7 changes: 3 additions & 4 deletions Snowflake.Data.Tests/SFBaseTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@ namespace Snowflake.Data.Tests
using NUnit.Framework.Interfaces;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

/*
* This is the base class for all tests that call blocking methods in the library - it uses MockSynchronizationContext to verify that
* This is the base class for all tests that call blocking methods in the library - it uses MockSynchronizationContext to verify that
* there are no async deadlocks in the library
*
*
*/
[TestFixture]
public class SFBaseTest : SFBaseTestAsync
Expand Down Expand Up @@ -434,7 +433,7 @@ public void BeforeTest(ITest test)
{
if (Environment.GetEnvironmentVariable(_key) == value)
{
Assert.Ignore($"Test is ignored when environment variable {_key} is {value} ");
Assert.Ignore("Test is ignored when environment variable {0} is {1} ", _key, value);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Snowflake.Data.Tests/Snowflake.Data.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<PackageReference Include="JunitXml.TestLogger" Version="3.1.12" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.1" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="RichardSzalay.MockHttp" Version="6.0.0" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/UnitTests/ArrowChunkParserTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ namespace Snowflake.Data.Tests.UnitTests
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture, NonParallelizable]
class ArrowChunkParserTest
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/UnitTests/ArrowResultChunkTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
using NUnit.Framework;
using Snowflake.Data.Core;
using Snowflake.Data.Tests.Util;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

namespace Snowflake.Data.Tests.UnitTests
{
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/UnitTests/ArrowResultSetTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
using NUnit.Framework;
using Snowflake.Data.Core;
using Snowflake.Data.Tests.Util;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

namespace Snowflake.Data.Tests.UnitTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ namespace Snowflake.Data.Tests.UnitTests
using System;
using System.Collections.Generic;
using System.Threading;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture, NonParallelizable]
class ChunkDownloaderFactoryTest
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/UnitTests/ChunkParserFactoryTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Snowflake.Data.Tests.UnitTests
using System.Security;
using System.Text;
using System.Threading;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture, NonParallelizable]
class ChunkParserFactoryTest
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/UnitTests/ConcatenatedStreamTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ namespace Snowflake.Data.Tests.UnitTests
using System;
using System.IO;
using System.Text;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
class ConcatenatedStreamTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
using NUnit.Framework;
using Snowflake.Data.Configuration;
using Snowflake.Data.Core.Tools;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

namespace Snowflake.Data.Tests.UnitTests.Configuration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using System.IO;
using NUnit.Framework;
using Snowflake.Data.Configuration;
using Assert = NUnit.Framework.Legacy.ClassicAssert;
using static Snowflake.Data.Tests.UnitTests.Configuration.EasyLoggingConfigGenerator;

namespace Snowflake.Data.Tests.UnitTests.Configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using Moq;
using NUnit.Framework;
using Snowflake.Data.Configuration;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

namespace Snowflake.Data.Tests.UnitTests.Configuration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System;
using NUnit.Framework;
using Snowflake.Data.Configuration;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

namespace Snowflake.Data.Tests.UnitTests.Configuration
{
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/UnitTests/FastMemoryStreamTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ namespace Snowflake.Data.Tests.UnitTests
using NUnit.Framework;
using Snowflake.Data.Core;
using System.Linq;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
class FastMemoryStreamTest
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/UnitTests/FastParserTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ namespace Snowflake.Data.Tests.UnitTests
using Snowflake.Data.Core;
using System;
using System.Text;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
[SetCulture("en-US")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System.Text;
using NUnit.Framework;
using Snowflake.Data.Core.FileTransfer;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

namespace Snowflake.Data.Tests
{
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/UnitTests/HttpUtilTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ namespace Snowflake.Data.Tests.UnitTests
using System.Threading.Tasks;
using System.Net;
using System;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
class HttpUtilTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@
using Snowflake.Data.Configuration;
using Snowflake.Data.Core;
using Snowflake.Data.Log;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

namespace Snowflake.Data.Tests.UnitTests.Logger
{
[TestFixture, NonParallelizable]
public class EasyLoggerManagerTest
{

private const string InfoMessage = "Easy logging Info message";
private const string DebugMessage = "Easy logging Debug message";
private const string WarnMessage = "Easy logging Warn message";
Expand Down
3 changes: 1 addition & 2 deletions Snowflake.Data.Tests/UnitTests/Logger/SFLoggerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ namespace Snowflake.Data.Tests.UnitTests
{
using NUnit.Framework;
using Snowflake.Data.Log;
using Assert = NUnit.Framework.Legacy.ClassicAssert;


[TestFixture, NonParallelizable]
class SFLoggerTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using NUnit.Framework;
using Snowflake.Data.Log;
using System.Collections.Generic;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

namespace Snowflake.Data.Tests.UnitTests.Logger
{
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/UnitTests/QueryContextCacheTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ namespace Snowflake.Data.Tests.UnitTests
using Snowflake.Data.Core;
using System;
using System.Collections.Generic;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
class QueryContextCacheTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace Snowflake.Data.Tests.UnitTests
using Snowflake.Data.Client;
using Snowflake.Data.Core;
using Snowflake.Data.Core.Authenticator;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
class SFAuthenticatorFactoryTest
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/UnitTests/SFAzureClientTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
using Moq;
using Azure;
using Azure.Storage.Blobs.Models;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
class SFAzureClientTest : SFBaseTest
Expand Down Expand Up @@ -61,7 +60,7 @@
SFFileMetadata _fileMetadata;

[SetUp]
public void BeforeTest()

Check warning on line 63 in Snowflake.Data.Tests/UnitTests/SFAzureClientTest.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, AZURE)

'SFAzureClientTest.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 63 in Snowflake.Data.Tests/UnitTests/SFAzureClientTest.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, AWS)

'SFAzureClientTest.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 63 in Snowflake.Data.Tests/UnitTests/SFAzureClientTest.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net471, GCP)

'SFAzureClientTest.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 63 in Snowflake.Data.Tests/UnitTests/SFAzureClientTest.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, AZURE)

'SFAzureClientTest.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 63 in Snowflake.Data.Tests/UnitTests/SFAzureClientTest.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, AWS)

'SFAzureClientTest.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.

Check warning on line 63 in Snowflake.Data.Tests/UnitTests/SFAzureClientTest.cs

View workflow job for this annotation

GitHub Actions / Tests on Windows (net472, GCP)

'SFAzureClientTest.BeforeTest()' hides inherited member 'SFBaseTestAsync.BeforeTest()'. Use the new keyword if hiding was intended.
{
t_downloadFileName = TestNameWithWorker + "_mockFileName.txt";

Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/UnitTests/SFBindUploaderTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System;
using NUnit.Framework;
using Snowflake.Data.Core;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

namespace Snowflake.Data.Tests.UnitTests
{
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/UnitTests/SFDataConverterTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ namespace Snowflake.Data.Tests.UnitTests
using NUnit.Framework;
using System.Threading;
using System.Globalization;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
[SetCulture("en-US")]
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/UnitTests/SFDbCommandBuilderTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ namespace Snowflake.Data.Tests.UnitTests
{
using NUnit.Framework;
using Snowflake.Data.Client;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
class SFDbCommandBuilderTest
Expand Down
1 change: 0 additions & 1 deletion Snowflake.Data.Tests/UnitTests/SFDbCommandTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ namespace Snowflake.Data.Tests.UnitTests
using System;
using System.Threading;
using System.Threading.Tasks;
using Assert = NUnit.Framework.Legacy.ClassicAssert;

[TestFixture]
class SFDbCommandTest
Expand Down
Loading
Loading