/// <summary>
 /// This is typically only used to test the API. Use the "tSQLtTestRunner(string connectionString)" constructor instead
 /// </summary>
 /// <param name="gateway"></param>
 public tSQLtTestRunner(ISqlServerGateway gateway /*Typically only used for testing the API*/)
 {
     _gateway = gateway;
 }
Esempio n. 2
0
 /// <summary>
 /// This is typically only used to test the API. Use the "tSQLtTestRunner(string connectionString)" constructor instead
 /// </summary>
 /// <param name="gateway"></param>
 public tSQLtTestRunner(ISqlServerGateway gateway /*Typically only used for testing the API*/)
 {
     _gateway = gateway;
 }
 /// <summary>
 /// Creates a tSQLtTestRunner which is used to run tests against a Sql Server database which contains the tests to run
 /// </summary>
 /// <param name="connectionString">The connection string including the initial catalog of the database to connect to</param>
 /// <param name="runTimeout">The command timeout for running the tests, defaults to 2 minutes</param>
 public tSQLtTestRunner(string connectionString, int runTimeout = 1000 * 120)
 {
     _gateway = new SqlServerGateway(connectionString, runTimeout);
 }
Esempio n. 4
0
 /// <summary>
 /// Creates a tSQLtTestRunner which is used to run tests against a Sql Server database which contains the tests to run
 /// </summary>
 /// <param name="connectionString">The connection string including the initial catalog of the database to connect to</param>
 /// <param name="runTimeout">The command timeout for running the tests, defaults to 2 minutes</param>
 public tSQLtTestRunner(string connectionString, int runTimeout = 1000 * 120)
 {
     _gateway = new SqlServerGateway(connectionString, runTimeout);
 }