Skip to content
Browse files

Temporarily excluded some Async Behavior tests due to incomplete impl…

… in Mono.
  • Loading branch information...
1 parent 0e7eb81 commit 7ba3ba780038c99805c319094eabd3e7bdee63dc @ahjohannessen ahjohannessen committed
View
1 src/FubuMVC.Tests/Behaviors/AsyncContinueWithBehaviorTests.cs
@@ -37,6 +37,7 @@ public void should_have_stored_the_task_result_in_the_fubu_request()
}
[Test]
+ [Platform(Exclude = "Mono", Reason = "Incomplete Mono implementation")]
public void should_call_inner_behavior()
{
MockFor<IActionBehavior>().AssertWasCalled(x => x.Invoke());
View
3 src/FubuMVC.Tests/Behaviors/AsyncInterceptExceptionBehaviorTester.cs
@@ -12,6 +12,7 @@ namespace FubuMVC.Tests.Behaviors
public class AsyncInterceptExceptionBehaviorTester
{
[Test]
+ [Platform(Exclude = "Mono", Reason = "Incomplete Mono implementation")]
public void should_invoke_inside_behavior()
{
var insideBehavior = new AsyncDoNothingBehavior();
@@ -51,6 +52,7 @@ public void invoke_should_throw_an_exception_when_no_inside_behavior_is_set()
}
[Test]
+ [Platform(Exclude = "Mono", Reason = "Incomplete Mono implementation")]
public void when_matching_exception_is_thrown_by_inside_behavior_it_should_be_handled()
{
var cut = new AsyncTestInterceptExceptionBehavior<ArgumentException>
@@ -65,6 +67,7 @@ public void when_matching_exception_is_thrown_by_inside_behavior_it_should_be_ha
}
[Test]
+ [Platform(Exclude = "Mono", Reason = "Incomplete Mono implementation")]
public void when_exception_should_not_be_handled_the_handle_method_should_not_be_invoked()
{
var cut = new AsyncTestInterceptExceptionBehavior<ArgumentException>
View
1 src/FubuMVC.Tests/Runtime/AsyncBehaviorInvokerTester.cs
@@ -41,6 +41,7 @@ public void SetUp()
}
[Test]
+ [Platform(Exclude = "Mono", Reason = "Incomplete Mono implementation")]
public void invoke_calls_the_behavior_invoke()
{
var testTask = new Task(() => theInvoker.Invoke(theArguments, theRouteData));

0 comments on commit 7ba3ba7

Please sign in to comment.
Something went wrong with that request. Please try again.