mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
* Adding startswith and like filter * Adding ends with * Adding tests * Remove null and not null * Fixing string * Update test/Microsoft.SqlTools.ServiceLayer.UnitTests/ObjectExplorer/NodeFilterTests.cs Co-authored-by: Charles Gagnon <chgagnon@microsoft.com> * Update test/Microsoft.SqlTools.ServiceLayer.UnitTests/ObjectExplorer/NodeFilterTests.cs Co-authored-by: Charles Gagnon <chgagnon@microsoft.com> * Adding back contains, starts with and ends with * Properly escaping chars for like based filters * Adding some comments regarding escape characters * Using generated regex * removing additional class * Adding extra auth type that was causing the tests to error out * Fixing regex * Adding integration tests * Fixing unit tests * Making fluent assertions --------- Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
36 lines
721 B
C#
36 lines
721 B
C#
//
|
|
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
//
|
|
|
|
#nullable disable
|
|
|
|
|
|
namespace Microsoft.SqlTools.ServiceLayer.Test.Common
|
|
{
|
|
/// <summary>
|
|
/// The model to deserialize the server names json
|
|
/// </summary>
|
|
public class TestServerIdentity
|
|
{
|
|
public string ServerName { get; set; }
|
|
public string ProfileName { get; set; }
|
|
|
|
public TestServerType ServerType { get; set; }
|
|
}
|
|
|
|
public enum TestServerType
|
|
{
|
|
None,
|
|
Azure,
|
|
OnPrem
|
|
}
|
|
|
|
public enum AuthenticationType
|
|
{
|
|
Integrated,
|
|
SqlLogin,
|
|
AzureMFA
|
|
}
|
|
}
|