5 instantiations of RaiseEventHelper
Microsoft.Build.Engine.UnitTests (5)
BackEnd\EventSourceSink_Tests.cs (5)
41
RaiseEventHelper eventHelper = new
RaiseEventHelper
(sink);
67
RaiseEventHelper eventHelper = new
RaiseEventHelper
(sink);
128
RaiseEventHelper eventHelper = new
RaiseEventHelper
(sink);
142
RaiseEventHelper raiseEventHelper = new
RaiseEventHelper
(sink);
261
RaiseEventHelper eventHelper = new
RaiseEventHelper
(sink);
58 references to RaiseEventHelper
Microsoft.Build.Engine.UnitTests (58)
BackEnd\EventSourceSink_Tests.cs (58)
41
RaiseEventHelper
eventHelper = new RaiseEventHelper(sink);
43
VerifyRegisteredHandlers(
RaiseEventHelper
.BuildStarted, eventHelper, testHandlers);
44
VerifyRegisteredHandlers(
RaiseEventHelper
.BuildFinished, eventHelper, testHandlers);
45
VerifyRegisteredHandlers(
RaiseEventHelper
.BuildCanceled, eventHelper, testHandlers);
46
VerifyRegisteredHandlers(
RaiseEventHelper
.NormalMessage, eventHelper, testHandlers);
47
VerifyRegisteredHandlers(
RaiseEventHelper
.TaskFinished, eventHelper, testHandlers);
48
VerifyRegisteredHandlers(
RaiseEventHelper
.CommandLine, eventHelper, testHandlers);
49
VerifyRegisteredHandlers(
RaiseEventHelper
.Warning, eventHelper, testHandlers);
50
VerifyRegisteredHandlers(
RaiseEventHelper
.Error, eventHelper, testHandlers);
51
VerifyRegisteredHandlers(
RaiseEventHelper
.TargetStarted, eventHelper, testHandlers);
52
VerifyRegisteredHandlers(
RaiseEventHelper
.TargetFinished, eventHelper, testHandlers);
53
VerifyRegisteredHandlers(
RaiseEventHelper
.ProjectStarted, eventHelper, testHandlers);
54
VerifyRegisteredHandlers(
RaiseEventHelper
.ProjectFinished, eventHelper, testHandlers);
55
VerifyRegisteredHandlers(
RaiseEventHelper
.ExternalStartedEvent, eventHelper, testHandlers);
56
VerifyRegisteredHandlers(
RaiseEventHelper
.BuildStarted, eventHelper, testHandlers);
57
VerifyRegisteredHandlers(
RaiseEventHelper
.GenericStatusEvent, eventHelper, testHandlers);
67
RaiseEventHelper
eventHelper = new RaiseEventHelper(sink);
68
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.BuildStarted);
69
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.BuildFinished);
70
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.BuildCanceled);
71
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.NormalMessage);
72
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.TaskFinished);
73
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.CommandLine);
74
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.TaskParameter);
75
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.Warning);
76
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.Error);
77
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.TargetStarted);
78
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.TargetFinished);
79
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.ProjectStarted);
80
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.ProjectFinished);
81
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.ExternalStartedEvent);
82
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.ExternalStartedEvent);
83
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.GenericStatusEvent);
101
RaiseExceptionInEventHandler(
RaiseEventHelper
.BuildStarted, exception);
102
RaiseExceptionInEventHandler(
RaiseEventHelper
.BuildFinished, exception);
103
RaiseExceptionInEventHandler(
RaiseEventHelper
.BuildCanceled, exception);
104
RaiseExceptionInEventHandler(
RaiseEventHelper
.NormalMessage, exception);
105
RaiseExceptionInEventHandler(
RaiseEventHelper
.TaskFinished, exception);
106
RaiseExceptionInEventHandler(
RaiseEventHelper
.CommandLine, exception);
107
RaiseExceptionInEventHandler(
RaiseEventHelper
.TaskParameter, exception);
108
RaiseExceptionInEventHandler(
RaiseEventHelper
.Warning, exception);
109
RaiseExceptionInEventHandler(
RaiseEventHelper
.Error, exception);
110
RaiseExceptionInEventHandler(
RaiseEventHelper
.TargetStarted, exception);
111
RaiseExceptionInEventHandler(
RaiseEventHelper
.TargetFinished, exception);
112
RaiseExceptionInEventHandler(
RaiseEventHelper
.ProjectStarted, exception);
113
RaiseExceptionInEventHandler(
RaiseEventHelper
.ProjectFinished, exception);
114
RaiseExceptionInEventHandler(
RaiseEventHelper
.ExternalStartedEvent, exception);
115
RaiseExceptionInEventHandler(
RaiseEventHelper
.GenericStatusEvent, exception);
128
RaiseEventHelper
eventHelper = new RaiseEventHelper(sink);
129
eventHelper.RaiseBuildEvent(
RaiseEventHelper
.GenericBuildEvent);
142
RaiseEventHelper
raiseEventHelper = new RaiseEventHelper(sink);
144
raiseEventHelper.RaiseBuildEvent(
RaiseEventHelper
.ProjectStarted);
148
Assert.Equal(handlerHelper.RaisedEvent,
RaiseEventHelper
.ProjectStarted);
149
Assert.Equal(handlerHelper.RaisedAnyEvent,
RaiseEventHelper
.ProjectStarted);
150
Assert.Equal(handlerHelper.RaisedStatusEvent,
RaiseEventHelper
.ProjectStarted);
155
raiseEventHelper.RaiseBuildEvent(
RaiseEventHelper
.ProjectStarted);
261
RaiseEventHelper
eventHelper = new RaiseEventHelper(sink);
295
private static void VerifyRegisteredHandlers(BuildEventArgs buildEventToRaise,
RaiseEventHelper
eventHelper, EventHandlerHelper testHandlers)