mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
Convert most tools service tests to nunit (#1037)
* Remove xunit dependency from testdriver * swap expected/actual as needed * Convert Test.Common to nunit * port hosting unit tests to nunit * port batchparser integration tests to nunit * port testdriver.tests to nunit * fix target to copy dependency * port servicelayer unittests to nunit * more unit test fixes * port integration tests to nunit * fix test method type * try using latest windows build for PRs * reduce test memory use
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
//
|
||||
|
||||
using Microsoft.SqlTools.ServiceLayer.SqlContext;
|
||||
using Xunit;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Microsoft.SqlTools.ServiceLayer.UnitTests.SqlContext
|
||||
{
|
||||
@@ -16,7 +16,7 @@ namespace Microsoft.SqlTools.ServiceLayer.UnitTests.SqlContext
|
||||
/// <summary>
|
||||
/// Validate that the Language Service default settings are as expected
|
||||
/// </summary>
|
||||
[Fact]
|
||||
[Test]
|
||||
public void ValidateLanguageServiceDefaults()
|
||||
{
|
||||
var sqlToolsSettings = new SqlToolsSettings();
|
||||
@@ -32,7 +32,7 @@ namespace Microsoft.SqlTools.ServiceLayer.UnitTests.SqlContext
|
||||
/// <summary>
|
||||
/// Validate that the IsDiagnosticsEnabled flag behavior
|
||||
/// </summary>
|
||||
[Fact]
|
||||
[Test]
|
||||
public void ValidateIsDiagnosticsEnabled()
|
||||
{
|
||||
var sqlToolsSettings = new SqlToolsSettings();
|
||||
@@ -55,7 +55,7 @@ namespace Microsoft.SqlTools.ServiceLayer.UnitTests.SqlContext
|
||||
/// <summary>
|
||||
/// Validate that the IsSuggestionsEnabled flag behavior
|
||||
/// </summary>
|
||||
[Fact]
|
||||
[Test]
|
||||
public void ValidateIsSuggestionsEnabled()
|
||||
{
|
||||
var sqlToolsSettings = new SqlToolsSettings();
|
||||
@@ -78,7 +78,7 @@ namespace Microsoft.SqlTools.ServiceLayer.UnitTests.SqlContext
|
||||
/// <summary>
|
||||
/// Validate that the IsQuickInfoEnabled flag behavior
|
||||
/// </summary>
|
||||
[Fact]
|
||||
[Test]
|
||||
public void ValidateIsQuickInfoEnabled()
|
||||
{
|
||||
var sqlToolsSettings = new SqlToolsSettings();
|
||||
|
||||
Reference in New Issue
Block a user