// This constructor is called by the others and is used directly for testing
 public AssemblyRunner(TestLogger logger, string assemblyName, INUnitTestAdapter nunitTestAdapter)
 {
     this.logger = logger;
     this.assemblyName = assemblyName;
     testConverter = new TestConverter(logger, assemblyName);
     loadedTestCases = new List<TestCase>();
     nunitFilter = TestFilter.Empty;
     NUnitTestAdapter = nunitTestAdapter;
 }
Esempio n. 2
0
 // This constructor is called by the others and is used directly for testing
 public AssemblyRunner(TestLogger logger, string assemblyName, INUnitTestAdapter nunitTestAdapter)
 {
     this.logger       = logger;
     this.assemblyName = assemblyName;
     testConverter     = new TestConverter(logger, assemblyName);
     loadedTestCases   = new List <TestCase>();
     nunitFilter       = TestFilter.Empty;
     NUnitTestAdapter  = nunitTestAdapter;
 }
 // This constructor is used when the executor is called with a list of assemblies
 public AssemblyRunner(TestLogger logger, string assemblyName, ITfsTestFilter tfsFilter, INUnitTestAdapter nunitTestAdapter)
     : this(logger, assemblyName, nunitTestAdapter)
 {
     this.tfsFilter = tfsFilter;
 }
 // This constructor is used when the executor is called with a list of test cases
 public AssemblyRunner(TestLogger logger, string assemblyName, IEnumerable<TestCase> selectedTestCases, INUnitTestAdapter nunitTestAdapter)
     : this(logger, assemblyName, nunitTestAdapter)
 {
     nunitFilter = MakeTestFilter(selectedTestCases);
 }
Esempio n. 5
0
 // This constructor is used when the executor is called with a list of assemblies
 public AssemblyRunner(TestLogger logger, string assemblyName, ITfsTestFilter tfsFilter, INUnitTestAdapter nunitTestAdapter)
     : this(logger, assemblyName, nunitTestAdapter)
 {
     this.tfsFilter = tfsFilter;
 }
Esempio n. 6
0
 // This constructor is used when the executor is called with a list of test cases
 public AssemblyRunner(TestLogger logger, string assemblyName, IEnumerable <TestCase> selectedTestCases, INUnitTestAdapter nunitTestAdapter)
     : this(logger, assemblyName, nunitTestAdapter)
 {
     nunitFilter = MakeTestFilter(selectedTestCases);
 }
 // This constructor is used when the executor is called with a list of assemblies
 public AssemblyRunner(TestLogger logger, string assemblyName, ITfsTestFilter tfsFilter, INUnitTestAdapter nunitTestAdapter, bool collectSourceInformation)
     : this(logger, assemblyName, nunitTestAdapter, collectSourceInformation)
 {
     this.tfsFilter = tfsFilter;
 }
 // This constructor is used when the executor is called with a list of test cases
 public AssemblyRunner(TestLogger logger, string assemblyName, IEnumerable <TestCase> selectedTestCases, INUnitTestAdapter nunitTestAdapter, bool collectSourceInformation)
     : this(logger, assemblyName, nunitTestAdapter, collectSourceInformation)
 {
     nunitFilter = MakeTestFilter(selectedTestCases);
 }