mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-18 17:23:52 -05:00
Revert change to nunit and restore xunit (#2249)
* Revert "Added new test framework (test) (#2247)"
This reverts commit b2120269a7.
* Added assert Fail as a test
This commit is contained in:
@@ -11,13 +11,13 @@ using System.Threading.Tasks;
|
||||
using Microsoft.SqlTools.ServiceLayer.Connection.Contracts;
|
||||
using Microsoft.SqlTools.ServiceLayer.ObjectExplorer.Contracts;
|
||||
using Microsoft.SqlTools.ServiceLayer.Test.Common;
|
||||
using NUnit.Framework;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.SqlTools.ServiceLayer.PerfTests
|
||||
{
|
||||
public class ObjectExplorerTests
|
||||
{
|
||||
[Test]
|
||||
[Fact]
|
||||
[CreateTestDb(TestServerType.Azure)]
|
||||
public async Task CreateSessionAzure()
|
||||
{
|
||||
@@ -25,7 +25,7 @@ namespace Microsoft.SqlTools.ServiceLayer.PerfTests
|
||||
await VerifyCreateSession(serverType);
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Fact]
|
||||
[CreateTestDb(TestServerType.OnPrem)]
|
||||
public async Task CreateSessionOnPrem()
|
||||
{
|
||||
@@ -33,7 +33,7 @@ namespace Microsoft.SqlTools.ServiceLayer.PerfTests
|
||||
await VerifyCreateSession(serverType);
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Fact]
|
||||
[CreateTestDb(TestServerType.OnPrem)]
|
||||
public async Task ExpandDatabasesOnPrem()
|
||||
{
|
||||
@@ -41,7 +41,7 @@ namespace Microsoft.SqlTools.ServiceLayer.PerfTests
|
||||
await VerifyExpand(serverType, SqlTestDb.MasterDatabaseName);
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Fact]
|
||||
[CreateTestDb(TestServerType.OnPrem)]
|
||||
public async Task ExpandOneDatabaseOnPrem()
|
||||
{
|
||||
@@ -49,7 +49,7 @@ namespace Microsoft.SqlTools.ServiceLayer.PerfTests
|
||||
await VerifyExpand(serverType, Common.PerfTestDatabaseName);
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Fact]
|
||||
[CreateTestDb(TestServerType.Azure)]
|
||||
public async Task ExpandDatabasesAzure()
|
||||
{
|
||||
@@ -57,7 +57,7 @@ namespace Microsoft.SqlTools.ServiceLayer.PerfTests
|
||||
await VerifyExpand(serverType, SqlTestDb.MasterDatabaseName);
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Fact]
|
||||
[CreateTestDb(TestServerType.Azure)]
|
||||
public async Task ExpandOneDatabaseAzure()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user