File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed
src/NHibernate.Test/NHSpecificTest Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ public class Fixture
1111 {
1212 private static void CheckDialect ( Configuration configuration )
1313 {
14- var dialect = configuration . Properties [ Environment . Dialect ] ;
15- if ( ! dialect . Contains ( "MsSql" ) || dialect . Contains ( "MsSqlCe" ) )
14+ var dialect = Dialect . Dialect . GetDialect ( configuration . Properties ) ;
15+ if ( ! ( dialect is MsSql2000Dialect ) )
1616 Assert . Ignore ( "Specific test for MsSQL dialects" ) ;
1717 }
1818
Original file line number Diff line number Diff line change 11using System . Text ;
2- using NHibernate . Dialect ;
32using NHibernate . Tool . hbm2ddl ;
43using NUnit . Framework ;
54
@@ -10,7 +9,7 @@ public class Fixture : BugTestCase
109 {
1110 protected override bool AppliesTo ( Dialect . Dialect dialect )
1211 {
13- return ! ( dialect is MsSqlCeDialect ) ;
12+ return TestDialect . SupportsSubqueryInSelectClause ;
1413 }
1514
1615 private void CreateTestContext ( )
Original file line number Diff line number Diff line change 11using System . Collections ;
2- using NHibernate . Dialect ;
32using NUnit . Framework ;
43
54namespace NHibernate . Test . NHSpecificTest . NH1925
@@ -9,8 +8,7 @@ public class Fixture : BugTestCase
98 {
109 protected override bool AppliesTo ( Dialect . Dialect dialect )
1110 {
12- // SqlServer CE does not support subquery in where clause
13- return ! ( dialect is MsSqlCeDialect ) ;
11+ return TestDialect . SupportsNakedSubqueryInWhereClause ;
1412 }
1513
1614 private const string NAME_JOE = "Joe" ;
You can’t perform that action at this time.
0 commit comments