コード例 #1
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;
 }
コード例 #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;
 }
コード例 #3
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;
 }
コード例 #4
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);
 }
コード例 #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;
 }
コード例 #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);
 }
コード例 #7
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, bool collectSourceInformation)
     : this(logger, assemblyName, nunitTestAdapter, collectSourceInformation)
 {
     this.tfsFilter = tfsFilter;
 }
コード例 #8
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, bool collectSourceInformation)
     : this(logger, assemblyName, nunitTestAdapter, collectSourceInformation)
 {
     nunitFilter = MakeTestFilter(selectedTestCases);
 }