示例#1
0
        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.");
        }
示例#2
0
 /// <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);
 }
示例#3
0
 public void TearDown()
 {
     _unitUnderTest = null;
 }
示例#4
0
 public void SetUp()
 {
     Ecell.Reporting.IReport report = null;
     _unitUnderTest = new ReportEventArgs(report);
 }
示例#5
0
 void _unitUnderTest_ReportRemoved(object o, ReportEventArgs e)
 {
 }
示例#6
0
 void _unitUnderTest_ReportAdded(object o, ReportEventArgs e)
 {
 }