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
11
11
{
12
12
private static void CheckDialect ( Configuration configuration )
13
13
{
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 ) )
16
16
Assert . Ignore ( "Specific test for MsSQL dialects" ) ;
17
17
}
18
18
Original file line number Diff line number Diff line change 1
1
using System . Text ;
2
- using NHibernate . Dialect ;
3
2
using NHibernate . Tool . hbm2ddl ;
4
3
using NUnit . Framework ;
5
4
@@ -10,7 +9,7 @@ public class Fixture : BugTestCase
10
9
{
11
10
protected override bool AppliesTo ( Dialect . Dialect dialect )
12
11
{
13
- return ! ( dialect is MsSqlCeDialect ) ;
12
+ return TestDialect . SupportsSubqueryInSelectClause ;
14
13
}
15
14
16
15
private void CreateTestContext ( )
Original file line number Diff line number Diff line change 1
1
using System . Collections ;
2
- using NHibernate . Dialect ;
3
2
using NUnit . Framework ;
4
3
5
4
namespace NHibernate . Test . NHSpecificTest . NH1925
@@ -9,8 +8,7 @@ public class Fixture : BugTestCase
9
8
{
10
9
protected override bool AppliesTo ( Dialect . Dialect dialect )
11
10
{
12
- // SqlServer CE does not support subquery in where clause
13
- return ! ( dialect is MsSqlCeDialect ) ;
11
+ return TestDialect . SupportsNakedSubqueryInWhereClause ;
14
12
}
15
13
16
14
private const string NAME_JOE = "Joe" ;
You can’t perform that action at this time.
0 commit comments