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