public void TestConstructorReportEventArgs() { Ecell.MessageType type = MessageType.Error; string message = "Compile Error: Hoge"; string group = "Group"; CompileReport report = new CompileReport(type, message, group); ReportEventArgs testReportEventArgs = new ReportEventArgs(report); Assert.IsNotNull(testReportEventArgs, "Constructor of type, ReportEventArgs failed to create instance."); Assert.AreEqual(report, testReportEventArgs.Report, "Report is unexpected value."); }
/// <summary> /// The event sequence to display the message. /// </summary> /// <param name="obj">ReportManager</param> /// <param name="e">ReportEventArgs</param> private void ReportManager_ReportAdded(object obj, ReportEventArgs e) { m_control.AddMessageEntry(e.Report); }
public void TearDown() { _unitUnderTest = null; }
public void SetUp() { Ecell.Reporting.IReport report = null; _unitUnderTest = new ReportEventArgs(report); }
void _unitUnderTest_ReportRemoved(object o, ReportEventArgs e) { }
void _unitUnderTest_ReportAdded(object o, ReportEventArgs e) { }