protected override void FixtureOneTimeSetup_Base()
 {
     try
     {
         SmartConnector.InitIoC();
     }
     catch (Exception ex)
     {
         Logger.LogError(LogCategory.Testing, ex);
     }
 }
 protected override void FixtureOneTimeSetup_Base()
 {
     try
     {
         MongooseObjectFactory.ConfigureDataDirectory();
         SmartConnector.InitIoC();
     }
     catch (Exception ex)
     {
         Logger.LogError(LogCategory.Testing, ex);
         throw new NotImplementedException();
     }
 }
Exemple #3
0
 /// <summary>
 /// Common code for any ISmartConnectorTestFixture requiring IoC availability from a referenced SmartConnector.
 /// </summary>
 public static void ConfigureTestFixture(this ISmartConnectorTestFixture fixture)
 {
     try
     {
         SmartConnectorRuntime.InitDataDirectory();
         SmartConnectorRuntime.InitIoC();
     }
     catch (Exception ex)
     {
         Logger.LogError(LogCategory.Testing, ex);
         throw;
     }
 }
 /// <inheritdoc />
 protected override void FixtureOneTimeSetup_Base()
 {
     SmartConnectorService.InitIoC();
 }