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 1
1
using System ;
2
2
using Shouldly ;
3
- using TestStack . BDDfy . Processors ;
4
3
using Xunit ;
5
4
6
5
namespace TestStack . BDDfy . Tests . Exceptions . NotImplementedException
@@ -10,13 +9,13 @@ public class WhenGivenThrowsNotImplementedException : NotImplementedExceptionBas
10
9
private void ExecuteUsingFluentScanner ( )
11
10
{
12
11
var ex = Should . Throw < Exception > ( ( ) => Sut . Execute ( ThrowingMethods . Given , true ) ) ;
13
- ex . GetType ( ) . FullName . ShouldBe ( "Gallio.Framework.TestInconclusiveException ") ;
12
+ ex . GetType ( ) . FullName . ShouldContain ( "Inconclusive ") ;
14
13
}
15
14
16
15
private void ExecuteUsingReflectingScanners ( )
17
16
{
18
17
var ex = Should . Throw < Exception > ( ( ) => Sut . Execute ( ThrowingMethods . Given , false ) ) ;
19
- ex . GetType ( ) . FullName . ShouldBe ( "Gallio.Framework.TestInconclusiveException ") ;
18
+ ex . GetType ( ) . FullName . ShouldContain ( "Inconclusive ") ;
20
19
}
21
20
22
21
[ Fact ]
Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using Shouldly ;
3
- using TestStack . BDDfy . Processors ;
4
3
using Xunit ;
5
4
6
5
namespace TestStack . BDDfy . Tests . Exceptions . NotImplementedException
@@ -10,13 +9,13 @@ public class WhenThenThrowsNotImplementedException : NotImplementedExceptionBase
10
9
private void ExecuteUsingReflectingScanners ( )
11
10
{
12
11
var ex = Should . Throw < Exception > ( ( ) => Sut . Execute ( ThrowingMethods . Then , false ) ) ;
13
- ex . GetType ( ) . FullName . ShouldBe ( "Gallio.Framework.TestInconclusiveException ") ;
12
+ ex . GetType ( ) . FullName . ShouldContain ( "Inconclusive ") ;
14
13
}
15
14
16
15
private void ExecuteUsingFluentScanner ( )
17
16
{
18
17
var ex = Should . Throw < Exception > ( ( ) => Sut . Execute ( ThrowingMethods . Then , true ) ) ;
19
- ex . GetType ( ) . FullName . ShouldBe ( "Gallio.Framework.TestInconclusiveException ") ;
18
+ ex . GetType ( ) . FullName . ShouldContain ( "Inconclusive ") ;
20
19
}
21
20
22
21
[ Fact ]
Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using Shouldly ;
3
- using TestStack . BDDfy . Processors ;
4
3
using Xunit ;
5
4
6
5
namespace TestStack . BDDfy . Tests . Exceptions . NotImplementedException
@@ -10,13 +9,13 @@ public class WhenWhenThrowsNotImplementedException : NotImplementedExceptionBase
10
9
private void ExecuteUsingReflectingScanners ( )
11
10
{
12
11
var ex = Should . Throw < Exception > ( ( ) => Sut . Execute ( ThrowingMethods . When , false ) ) ;
13
- ex . GetType ( ) . FullName . ShouldBe ( "Gallio.Framework.TestInconclusiveException ") ;
12
+ ex . GetType ( ) . FullName . ShouldContain ( "Inconclusive ") ;
14
13
}
15
14
16
15
private void ExecuteUsingFluentScanner ( )
17
16
{
18
17
var ex = Should . Throw < Exception > ( ( ) => Sut . Execute ( ThrowingMethods . When , true ) ) ;
19
- ex . GetType ( ) . FullName . ShouldBe ( "Gallio.Framework.TestInconclusiveException ") ;
18
+ ex . GetType ( ) . FullName . ShouldContain ( "Inconclusive ") ;
20
19
}
21
20
22
21
[ Fact ]
You can’t perform that action at this time.
0 commit comments