public TestConverter(TestLogger logger, string sourceAssembly)
 {
     _logger                 = logger;
     _sourceAssembly         = sourceAssembly;
     _vsTestCaseMap          = new Dictionary <string, TestCase>();
     _navigationDataProvider = new NavigationDataProvider(sourceAssembly);
 }
 public TestConverter(TestLogger logger, string sourceAssembly)
 {
     _logger = logger;
     _sourceAssembly = sourceAssembly;
     _vsTestCaseMap = new Dictionary<string, TestCase>();
     _navigationDataProvider = new NavigationDataProvider(sourceAssembly);
 }
 public TestConverter(TestLogger logger, string sourceAssembly, bool collectSourceInformation)
 {
     _logger                   = logger;
     _sourceAssembly           = sourceAssembly;
     _vsTestCaseMap            = new Dictionary <string, TestCase>();
     _collectSourceInformation = collectSourceInformation;
     if (_collectSourceInformation)
     {
         _navigationDataProvider = new NavigationDataProvider(sourceAssembly);
     }
 }
Exemple #4
0
        public TestConverter(ITestLogger logger, string sourceAssembly, bool collectSourceInformation)
        {
            _logger                   = logger;
            _sourceAssembly           = sourceAssembly;
            _vsTestCaseMap            = new Dictionary <string, TestCase>();
            _collectSourceInformation = collectSourceInformation;
            TraitsCache               = new Dictionary <string, TraitsFeature.CachedTestCaseInfo>();

            if (_collectSourceInformation)
            {
                _navigationDataProvider = new NavigationDataProvider(sourceAssembly, logger);
            }
        }
Exemple #5
0
        public TestConverterForXml(ITestLogger logger, string sourceAssembly, IAdapterSettings settings)
        {
            adapterSettings = settings;
            _logger         = logger;
            _sourceAssembly = sourceAssembly;
            _vsTestCaseMap  = new Dictionary <string, TestCase>();
            TraitsCache     = new Dictionary <string, TraitsFeature.CachedTestCaseInfo>();

            if (CollectSourceInformation)
            {
                _navigationDataProvider = new NavigationDataProvider(sourceAssembly, logger);
            }
        }