mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-18 17:23:52 -05:00
Second batch of unit tests
Making slight changes to RequestContext to make it easier to mock
This commit is contained in:
@@ -23,14 +23,6 @@ namespace Microsoft.SqlTools.ServiceLayer.Test.Utility
|
||||
|
||||
private IEnumerator<Dictionary<string, string>> Rows { get; set; }
|
||||
|
||||
private const string tableNameTestCommand = "SELECT name FROM sys.tables";
|
||||
|
||||
private List<Dictionary<string, string>> tableNamesTest = new List<Dictionary<string, string>>
|
||||
{
|
||||
new Dictionary<string, string> { {"name", "table1"} },
|
||||
new Dictionary<string, string> { {"name", "table2"} }
|
||||
};
|
||||
|
||||
public TestDbDataReader(Dictionary<string, string>[][] data)
|
||||
{
|
||||
Data = data;
|
||||
|
||||
Reference in New Issue
Block a user