Skip to content

Commit 377280a

Browse files
committed
Unskip sap tests for concat
1 parent efafac1 commit 377280a

File tree

8 files changed

+2
-34
lines changed

8 files changed

+2
-34
lines changed

src/NHibernate.Test/Async/Criteria/Lambda/FunctionsIntegrationFixture.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,6 @@ public async Task FunctionsToLowerToUpperAsync()
145145
[Test]
146146
public async Task ConcatAsync()
147147
{
148-
if (TestDialect.HasBrokenTypeInferenceOnSelectedParameters)
149-
Assert.Ignore("Current dialect does not support this test");
150-
151148
using (var s = OpenSession())
152149
using (s.BeginTransaction())
153150
{

src/NHibernate.Test/Async/Criteria/ProjectionsTest.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ protected override void OnTearDown()
6969
[Test]
7070
public async Task UsingSqlFunctions_ConcatAsync()
7171
{
72-
if (TestDialect.HasBrokenTypeInferenceOnSelectedParameters)
73-
Assert.Ignore("Current dialect does not support this test");
74-
7572
using (ISession session = Sfi.OpenSession())
7673
{
7774
string result = await (session.CreateCriteria(typeof(Student))
@@ -89,12 +86,8 @@ public async Task UsingSqlFunctions_ConcatAsync()
8986
[Test]
9087
public async Task UsingSqlFunctions_Concat_WithCastAsync()
9188
{
92-
if(Dialect is Oracle8iDialect)
93-
{
89+
if (Dialect is Oracle8iDialect)
9490
Assert.Ignore("Not supported by the active dialect:{0}.", Dialect);
95-
}
96-
if (TestDialect.HasBrokenTypeInferenceOnSelectedParameters)
97-
Assert.Ignore("Current dialect does not support this test");
9891

9992
using (ISession session = Sfi.OpenSession())
10093
{

src/NHibernate.Test/Async/Linq/LinqQuerySamples.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,9 +1416,6 @@ public void ReplaceFunctionWithNullArgumentAsync()
14161416
[Test(Description = "GH-2860")]
14171417
public async Task StringFormatWithTrimAsync()
14181418
{
1419-
if (TestDialect.HasBrokenTypeInferenceOnSelectedParameters)
1420-
Assert.Ignore("Current dialect does not support this test");
1421-
14221419
var q =
14231420
from e in db.Employees
14241421
select new { Name = $"{e.FirstName} {e.LastName}".Trim(), Phone = e.Address.PhoneNumber };

src/NHibernate.Test/Async/NHSpecificTest/NH1280/NH1280Fixture.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ protected override void OnTearDown()
5252
[Test]
5353
public async Task HavingUsingSqlFunctions_ConcatAsync()
5454
{
55-
if (TestDialect.HasBrokenTypeInferenceOnSelectedParameters)
56-
Assert.Ignore("Current dialect does not support this test");
57-
5855
using (ISession s = OpenSession())
5956
using (ITransaction tx = s.BeginTransaction())
6057
{

src/NHibernate.Test/Criteria/Lambda/FunctionsIntegrationFixture.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,6 @@ public void FunctionsToLowerToUpper()
134134
[Test]
135135
public void Concat()
136136
{
137-
if (TestDialect.HasBrokenTypeInferenceOnSelectedParameters)
138-
Assert.Ignore("Current dialect does not support this test");
139-
140137
using (var s = OpenSession())
141138
using (s.BeginTransaction())
142139
{

src/NHibernate.Test/Criteria/ProjectionsTest.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ protected override void OnTearDown()
5858
[Test]
5959
public void UsingSqlFunctions_Concat()
6060
{
61-
if (TestDialect.HasBrokenTypeInferenceOnSelectedParameters)
62-
Assert.Ignore("Current dialect does not support this test");
63-
6461
using (ISession session = Sfi.OpenSession())
6562
{
6663
string result = session.CreateCriteria(typeof(Student))
@@ -78,12 +75,8 @@ public void UsingSqlFunctions_Concat()
7875
[Test]
7976
public void UsingSqlFunctions_Concat_WithCast()
8077
{
81-
if(Dialect is Oracle8iDialect)
82-
{
78+
if (Dialect is Oracle8iDialect)
8379
Assert.Ignore("Not supported by the active dialect:{0}.", Dialect);
84-
}
85-
if (TestDialect.HasBrokenTypeInferenceOnSelectedParameters)
86-
Assert.Ignore("Current dialect does not support this test");
8780

8881
using (ISession session = Sfi.OpenSession())
8982
{

src/NHibernate.Test/Linq/LinqQuerySamples.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2001,9 +2001,6 @@ public void ReplaceFunctionWithNullArgument()
20012001
[Test(Description = "GH-2860")]
20022002
public void StringFormatWithTrim()
20032003
{
2004-
if (TestDialect.HasBrokenTypeInferenceOnSelectedParameters)
2005-
Assert.Ignore("Current dialect does not support this test");
2006-
20072004
var q =
20082005
from e in db.Employees
20092006
select new { Name = $"{e.FirstName} {e.LastName}".Trim(), Phone = e.Address.PhoneNumber };

src/NHibernate.Test/NHSpecificTest/NH1280/NH1280Fixture.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ protected override void OnTearDown()
4141
[Test]
4242
public void HavingUsingSqlFunctions_Concat()
4343
{
44-
if (TestDialect.HasBrokenTypeInferenceOnSelectedParameters)
45-
Assert.Ignore("Current dialect does not support this test");
46-
4744
using (ISession s = OpenSession())
4845
using (ITransaction tx = s.BeginTransaction())
4946
{

0 commit comments

Comments
 (0)