File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/NHibernate.Test/Hql/Ast Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using System . Collections . Generic ;
3
+ using System . IO ;
3
4
using System . Xml . Linq ;
4
5
using NHibernate . Hql . Ast . ANTLR ;
5
6
using NUnit . Framework ;
@@ -42,7 +43,7 @@ public void ManualTest()
42
43
/// <summary>
43
44
/// Helper "test" to display queries that are ignored
44
45
/// </summary>
45
- [ Test ]
46
+ [ Test , Explicit ]
46
47
public void ShowIgnoredQueries ( )
47
48
{
48
49
foreach ( string query in QueryFactoryClass . GetIgnores )
@@ -54,7 +55,7 @@ public void ShowIgnoredQueries()
54
55
/// <summary>
55
56
/// Helper "test" to display queries that don't parse in H3
56
57
/// </summary>
57
- [ Test ]
58
+ [ Test , Explicit ]
58
59
public void ShowExceptionQueries ( )
59
60
{
60
61
foreach ( string query in QueryFactoryClass . GetExceptions )
@@ -107,7 +108,9 @@ static IEnumerable<T> EnumerateTests<T>(
107
108
Func < QueryTestData , bool > predicate ,
108
109
Func < QueryTestData , T > projection )
109
110
{
110
- XDocument doc = XDocument . Load ( @"Hql/Ast/TestQueriesWithResults.xml" ) ;
111
+
112
+ XDocument doc = XDocument . Load (
113
+ Path . Join ( Path . GetDirectoryName ( typeof ( ParsingFixture ) . Assembly . Location ) , @"Hql/Ast/TestQueriesWithResults.xml" ) ) ;
111
114
112
115
foreach ( XElement testGroup in doc . Element ( "Tests" ) . Elements ( "TestGroup" ) )
113
116
{
You can’t perform that action at this time.
0 commit comments