Example #1
0
 /// <summary>
 /// Initializes a new <see cref="StObjMapTestHelper"/>.
 /// </summary>
 /// <param name="config">The configuration.</param>
 /// <param name="monitor">The monitor helper.</param>
 public StObjMapTestHelper(TestHelperConfiguration config, IMonitorTestHelper monitor)
 {
     _config               = config;
     _monitor              = monitor;
     _binPathName          = _binPathNamePrefix;
     _stObjMapRetryOnError = _config.DeclareBoolean("StObjMap/StObjMapRetryOnError",
                                                    false,
                                                    "By default if the first attempt to obtain the current StObjMap failed, subsequent attempts immediately throw. Set it to true to always retry.",
                                                    () => _stObjMapRetryOnError.ToString()).Value;
 }
Example #2
0
 internal SqlServerTestHelper(ITestHelperConfiguration config, IMonitorTestHelper monitor)
 {
     _config  = config;
     _monitor = monitor;
 }
Example #3
0
 internal StObjEngineTestHelper(IMonitorTestHelper monitor)
 {
     _monitor = monitor;
 }
Example #4
0
 internal BackupManager(SqlServerTestHelper helper, IMonitorTestHelper others)
 {
     _helper = helper;
     Helper  = others;
 }