U4-9322 - wire EventMessages, cleanup

This commit is contained in:
Stephan
2017-01-31 18:19:03 +01:00
parent 97a76d5ad4
commit ac9b484d3d
5 changed files with 21 additions and 32 deletions

View File

@@ -8,6 +8,7 @@ using Umbraco.Core.Scoping;
namespace Umbraco.Tests.Scoping
{
[TestFixture]
[NUnit.Framework.Ignore("Cannot dispatch events on NoScope!")]
public class PassThroughEventDispatcherTests
{
[Test]

View File

@@ -94,7 +94,7 @@ namespace Umbraco.Tests.Scoping
[TestCase(true)]
[TestCase(false)]
public void TriggerEvents(bool complete)
public void EventsDispatchmode_PassThrough(bool complete)
{
var counter = 0;
@@ -125,7 +125,7 @@ namespace Umbraco.Tests.Scoping
[TestCase(true)]
[TestCase(false)]
public void QueueAndDiscardEvents(bool complete)
public void EventsDispatchMode_Passive(bool complete)
{
DoThing1 += OnDoThingFail;
DoThing2 += OnDoThingFail;
@@ -150,7 +150,7 @@ namespace Umbraco.Tests.Scoping
[TestCase(true)]
[TestCase(false)]
public void QueueAndRaiseEvents(bool complete)
public void EventsDispatchMode_Scope(bool complete)
{
var counter = 0;
IScope ambientScope = null;