some bug fixes in pref tests

This commit is contained in:
Leila Lali
2016-11-11 10:07:55 -08:00
parent 18bf76caed
commit 80a847ff4f
5 changed files with 80 additions and 52 deletions

View File

@@ -83,7 +83,7 @@ namespace Microsoft.SqlTools.ServiceLayer.TestDriver
using (var typeInstance = (IDisposable)Activator.CreateInstance(type))
{
Console.WriteLine("Running test " + testName);
await (Task)methodInfo.Invoke(typeInstance, null);
await (Task)methodInfo.Invoke(typeInstance, new object[] { testName });
Console.WriteLine("Test ran successfully: " + testName);
}
}