File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
src/NHibernate.Test/NHSpecificTest/NH1171 Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 11using NHibernate . Cfg ;
2+ using NHibernate . Dialect ;
23using NUnit . Framework ;
34
45namespace NHibernate . Test . NHSpecificTest . NH1171
56{
67 [ TestFixture ]
7- public class Fixture : BugTestCase
8+ public class Fixture : BugTestCase
89 {
910 protected override void Configure ( NHibernate . Cfg . Configuration configuration )
1011 {
@@ -14,6 +15,9 @@ protected override void Configure(NHibernate.Cfg.Configuration configuration)
1415 [ Test ]
1516 public void SupportSQLQueryWithComments ( )
1617 {
18+ if ( Dialect is FirebirdDialect )
19+ Assert . Ignore ( "Firebird has issues with comments containing apostrophes" ) ;
20+
1721 string sql =
1822 @"
1923SELECT id
@@ -25,7 +29,7 @@ ORDER BY Name
2529" ;
2630 using ( ISession s = OpenSession ( ) )
2731 {
28- var q = s . CreateSQLQuery ( sql ) ;
32+ var q = s . CreateSQLQuery ( sql ) ;
2933 q . SetString ( "name" , "Evgeny Potashnik" ) ;
3034 q . List ( ) ;
3135 }
@@ -34,6 +38,9 @@ ORDER BY Name
3438 [ Test ]
3539 public void ExecutedContainsComments ( )
3640 {
41+ if ( Dialect is FirebirdDialect )
42+ Assert . Ignore ( "Firebird has issues with comments containing apostrophes" ) ;
43+
3744 string sql =
3845 @"
3946SELECT id
You can’t perform that action at this time.
0 commit comments