public void SetUp() { _parser = new StarTeamHistoryParser(new StarTeam()); _dfi = new DateTimeFormatInfo(); _dfi.AMDesignator = "AM"; _dfi.PMDesignator = "PM"; _dfi.MonthDayPattern = @"M/d/yy h:mm:ss tt"; }
/// <summary> /// Initializes a new instance of the <see cref="StarTeam" /> class. /// </summary> /// <remarks></remarks> public StarTeam() : base(new StarTeamHistoryParser(null)) { _executable = "stcmd.exe"; _host = "127.0.0.1"; _port = 49201; _path = String.Empty; _autoGetSource = false; _pathOverrideViewWorkingDir = String.Empty; _pathOverrideFolderWorkingDir = String.Empty; // We have to do this here since we can't pass a reference to 'this' as part of the call to 'base' above // Its nasty, but I don't like inheritence anyway (Mike R) historyParser = new StarTeamHistoryParser(this); }
public StarTeam() : base(new StarTeamHistoryParser(null)) { _executable = "stcmd.exe"; _host = "127.0.0.1"; _port = 49201; _path = String.Empty; _autoGetSource = false; _pathOverrideViewWorkingDir = String.Empty; _pathOverrideFolderWorkingDir = String.Empty; // We have to do this here since we can't pass a reference to 'this' as part of the call to 'base' above // Its nasty, but I don't like inheritence anyway (Mike R) historyParser = new StarTeamHistoryParser(this); }