public OnTaskStarted ( object sender, |
||
sender | object | The source of the event. |
e | A |
|
리턴 | void |
public void Test_OnTaskStarted() { MockBuildEventListener b = new MockBuildEventListener(); XmlDocument doc = new XmlDocument(); doc.LoadXml(FormatBuildFile("", "")); Project p = new Project(doc, Level.Info, 0); p.TaskStarted += new BuildEventHandler(b.TaskStarted); p.OnTaskStarted(this, new BuildEventArgs(p)); Assert.IsTrue(b._taskStarted); }