File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
TestStack.BDDfy.Tests/Exceptions/NotImplementedException Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 11using System ;
22using Shouldly ;
3- using TestStack . BDDfy . Processors ;
43using Xunit ;
54
65namespace TestStack . BDDfy . Tests . Exceptions . NotImplementedException
@@ -10,13 +9,13 @@ public class WhenGivenThrowsNotImplementedException : NotImplementedExceptionBas
109 private void ExecuteUsingFluentScanner ( )
1110 {
1211 var ex = Should . Throw < Exception > ( ( ) => Sut . Execute ( ThrowingMethods . Given , true ) ) ;
13- ex . GetType ( ) . FullName . ShouldBe ( "Gallio.Framework.TestInconclusiveException ") ;
12+ ex . GetType ( ) . FullName . ShouldContain ( "Inconclusive ") ;
1413 }
1514
1615 private void ExecuteUsingReflectingScanners ( )
1716 {
1817 var ex = Should . Throw < Exception > ( ( ) => Sut . Execute ( ThrowingMethods . Given , false ) ) ;
19- ex . GetType ( ) . FullName . ShouldBe ( "Gallio.Framework.TestInconclusiveException ") ;
18+ ex . GetType ( ) . FullName . ShouldContain ( "Inconclusive ") ;
2019 }
2120
2221 [ Fact ]
Original file line number Diff line number Diff line change 11using System ;
22using Shouldly ;
3- using TestStack . BDDfy . Processors ;
43using Xunit ;
54
65namespace TestStack . BDDfy . Tests . Exceptions . NotImplementedException
@@ -10,13 +9,13 @@ public class WhenThenThrowsNotImplementedException : NotImplementedExceptionBase
109 private void ExecuteUsingReflectingScanners ( )
1110 {
1211 var ex = Should . Throw < Exception > ( ( ) => Sut . Execute ( ThrowingMethods . Then , false ) ) ;
13- ex . GetType ( ) . FullName . ShouldBe ( "Gallio.Framework.TestInconclusiveException ") ;
12+ ex . GetType ( ) . FullName . ShouldContain ( "Inconclusive ") ;
1413 }
1514
1615 private void ExecuteUsingFluentScanner ( )
1716 {
1817 var ex = Should . Throw < Exception > ( ( ) => Sut . Execute ( ThrowingMethods . Then , true ) ) ;
19- ex . GetType ( ) . FullName . ShouldBe ( "Gallio.Framework.TestInconclusiveException ") ;
18+ ex . GetType ( ) . FullName . ShouldContain ( "Inconclusive ") ;
2019 }
2120
2221 [ Fact ]
Original file line number Diff line number Diff line change 11using System ;
22using Shouldly ;
3- using TestStack . BDDfy . Processors ;
43using Xunit ;
54
65namespace TestStack . BDDfy . Tests . Exceptions . NotImplementedException
@@ -10,13 +9,13 @@ public class WhenWhenThrowsNotImplementedException : NotImplementedExceptionBase
109 private void ExecuteUsingReflectingScanners ( )
1110 {
1211 var ex = Should . Throw < Exception > ( ( ) => Sut . Execute ( ThrowingMethods . When , false ) ) ;
13- ex . GetType ( ) . FullName . ShouldBe ( "Gallio.Framework.TestInconclusiveException ") ;
12+ ex . GetType ( ) . FullName . ShouldContain ( "Inconclusive ") ;
1413 }
1514
1615 private void ExecuteUsingFluentScanner ( )
1716 {
1817 var ex = Should . Throw < Exception > ( ( ) => Sut . Execute ( ThrowingMethods . When , true ) ) ;
19- ex . GetType ( ) . FullName . ShouldBe ( "Gallio.Framework.TestInconclusiveException ") ;
18+ ex . GetType ( ) . FullName . ShouldContain ( "Inconclusive ") ;
2019 }
2120
2221 [ Fact ]
You can’t perform that action at this time.
0 commit comments