File tree Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Original file line number Diff line number Diff line change
1
+ using NUnit . Framework ;
2
+
3
+ namespace NHibernate . Test
4
+ {
5
+ public class KnownBugAttribute : ExpectedExceptionAttribute
6
+ {
7
+ public KnownBugAttribute ( )
8
+ {
9
+ UserMessage = "Known bug" ;
10
+ }
11
+
12
+ public KnownBugAttribute ( System . Type exceptionType ) : base ( exceptionType )
13
+ {
14
+ UserMessage = "Known bug" ;
15
+ }
16
+
17
+ public KnownBugAttribute ( string exceptionName ) : base ( exceptionName )
18
+ {
19
+ UserMessage = "Known bug" ;
20
+ }
21
+ }
22
+ }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public void QueryingParentWhichHasChildren()
21
21
}
22
22
}
23
23
24
- [ Test ]
24
+ [ Test , KnownBug ]
25
25
public void QueryingChildrenComponents ( )
26
26
{
27
27
using ( var session = OpenSession ( ) )
@@ -35,7 +35,7 @@ public void QueryingChildrenComponents()
35
35
}
36
36
}
37
37
38
- [ Test ]
38
+ [ Test , KnownBug ]
39
39
public void QueryingChildrenComponentsHql ( )
40
40
{
41
41
using ( var session = OpenSession ( ) )
Original file line number Diff line number Diff line change 492
492
<Compile Include =" Insertordering\InsertOrderingFixture.cs" />
493
493
<Compile Include =" Insertordering\Membership.cs" />
494
494
<Compile Include =" Insertordering\User.cs" />
495
+ <Compile Include =" KnownBugAttribute.cs" />
495
496
<Compile Include =" LazyOneToOne\Employee.cs" />
496
497
<Compile Include =" LazyOneToOne\Employment.cs" />
497
498
<Compile Include =" LazyOneToOne\LazyOneToOneTest.cs" />
You can’t perform that action at this time.
0 commit comments