Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DotnetDataCollectionLauncher"/> class.
 /// </summary>
 /// <param name="processHelper">
 /// The process helper.
 /// </param>
 internal DotnetDataCollectionLauncher(IProcessHelper processHelper, IFileHelper fileHelper, IDotnetHostHelper dotnetHostHelper)
 {
     this.processHelper        = processHelper;
     this.DataCollectorProcess = null;
     this.fileHelper           = fileHelper;
     this.dotnetHostHelper     = dotnetHostHelper;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultTestHostManager"/> class.
 /// </summary>
 /// <param name="processHelper">Process helper instance.</param>
 /// <param name="fileHelper">File helper instance.</param>
 /// <param name="environment">Instance of platform environment.</param>
 /// <param name="dotnetHostHelper">Instance of dotnet host helper.</param>
 internal DefaultTestHostManager(IProcessHelper processHelper, IFileHelper fileHelper, IEnvironment environment, IDotnetHostHelper dotnetHostHelper)
 {
     this.processHelper    = processHelper;
     this.fileHelper       = fileHelper;
     this.environment      = environment;
     this.dotnetHostHelper = dotnetHostHelper;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DotnetDataCollectionLauncher"/> class.
 /// </summary>
 /// <param name="processHelper">
 /// The process helper.
 /// </param>
 /// <param name="fileHelper">
 /// The file Helper.
 /// </param>
 /// <param name="dotnetHostHelper">
 /// The dotnet Host Helper.
 /// </param>
 /// <param name="messageLogger">
 /// The message Logger.
 /// </param>
 internal DotnetDataCollectionLauncher(IProcessHelper processHelper, IFileHelper fileHelper, IDotnetHostHelper dotnetHostHelper, IMessageLogger messageLogger) : base(processHelper, messageLogger)
 {
     this.processHelper          = processHelper;
     this.fileHelper             = fileHelper;
     this.DataCollectorProcessId = -1;
     this.dotnetHostHelper       = dotnetHostHelper;
 }
Esempio n. 4
0
 public TestableDotnetTestHostManager(
     IProcessHelper processHelper,
     IFileHelper fileHelper,
     IDotnetHostHelper dotnetTestHostHelper)
     : base(processHelper, fileHelper, dotnetTestHostHelper)
 {
 }
 public TestableDotnetTestHostManager(
     IProcessHelper processHelper,
     IFileHelper fileHelper,
     IDotnetHostHelper dotnetTestHostHelper,
     IEnvironment environment)
     : base(processHelper, fileHelper, dotnetTestHostHelper, environment)
 {
 }
Esempio n. 6
0
 /// <inheritdoc/>
 public void Initialize(IMessageLogger logger, string runsettingsXml)
 {
     this.messageLogger         = logger;
     this.processHelper         = new ProcessHelper();
     this.fileHelper            = new FileHelper();
     this.dotnetHostHelper      = new DotnetHostHelper();
     this.hostExitedEventRaised = false;
 }
Esempio n. 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DotnetTestHostManager"/> class.
 /// </summary>
 /// <param name="processHelper">Process helper instance.</param>
 /// <param name="fileHelper">File helper instance.</param>
 /// <param name="dotnetHostHelper">DotnetHostHelper helper instance.</param>
 internal DotnetTestHostManager(
     IProcessHelper processHelper,
     IFileHelper fileHelper,
     IDotnetHostHelper dotnetHostHelper)
 {
     this.processHelper    = processHelper;
     this.fileHelper       = fileHelper;
     this.dotnetHostHelper = dotnetHostHelper;
 }
Esempio n. 8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DotnetTestHostManager"/> class.
 /// </summary>
 /// <param name="processHelper">Process helper instance.</param>
 /// <param name="fileHelper">File helper instance.</param>
 /// <param name="dotnetHostHelper">DotnetHostHelper helper instance.</param>
 internal DotnetTestHostManager(
     IProcessHelper processHelper,
     IFileHelper fileHelper,
     IDotnetHostHelper dotnetHostHelper)
 {
     this.processHelper         = processHelper;
     this.fileHelper            = fileHelper;
     this.dotnetHostHelper      = dotnetHostHelper;
     this.hostExitedEventRaised = false;
 }
Esempio n. 9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DotnetTestHostManager"/> class.
 /// </summary>
 /// <param name="processHelper">Process helper instance.</param>
 /// <param name="fileHelper">File helper instance.</param>
 /// <param name="dotnetHostHelper">DotnetHostHelper helper instance.</param>
 /// <param name="platformEnvironment">Platform Environment</param>
 internal DotnetTestHostManager(
     IProcessHelper processHelper,
     IFileHelper fileHelper,
     IDotnetHostHelper dotnetHostHelper,
     IEnvironment platformEnvironment)
 {
     this.processHelper       = processHelper;
     this.fileHelper          = fileHelper;
     this.dotnetHostHelper    = dotnetHostHelper;
     this.platformEnvironment = platformEnvironment;
 }
Esempio n. 10
0
 public TestableDotnetTestHostManager(ITestHostLauncher testHostLauncher, IProcessHelper processHelper, IFileHelper fileHelper, IDotnetHostHelper dotnetTestHostHelper)
     : base(testHostLauncher, processHelper, fileHelper, dotnetTestHostHelper)
 {
 }
 public TestableDotnetTestHostManager(IProcessHelper processHelper, IFileHelper fileHelper, IDotnetHostHelper dotnetTestHostHelper, int errorLength)
     : base(processHelper, fileHelper, dotnetTestHostHelper)
 {
     this.ErrorLength = errorLength;
 }