Skip to content

Commit 545721a

Browse files
committed
Test updates
1 parent 07fd731 commit 545721a

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

QueryDB.Core.Tests/MSSQLTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ public void Test_MSSQL_FetchData_Entity_Strict_Error_Check()
445445
try
446446
{
447447
var data = new DBContext(DB.MSSQL, MSSQLConnectionString).FetchData<Entities.MSSQL.Orders>(selectSql, strict: true);
448+
Assert.Fail("No Exception");
448449
}
449450
catch (IndexOutOfRangeException ex)
450451
{
@@ -581,6 +582,7 @@ public async Task Test_MSSQL_FetchDataAsync_Entity_Strict_Error_Check()
581582
try
582583
{
583584
var data = await new DBContext(DB.MSSQL, MSSQLConnectionString).FetchDataAsync<Entities.MSSQL.Orders>(selectSql, strict: true);
585+
Assert.Fail("No Exception");
584586
}
585587
catch (IndexOutOfRangeException ex)
586588
{

QueryDB.Core.Tests/MySQLTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ public void Test_MySQL_FetchData_Entity_Strict_Error_Check()
415415
try
416416
{
417417
var data = new DBContext(DB.MySQL, MySQLConnectionString).FetchData<Entities.MySQL.Orders>(selectSql, strict: true);
418+
Assert.Fail("No Exception");
418419
}
419420
catch (IndexOutOfRangeException ex)
420421
{
@@ -541,6 +542,7 @@ public async Task Test_MySQL_FetchDataAsync_Entity_Strict_Error_Check()
541542
try
542543
{
543544
var data = await new DBContext(DB.MySQL, MySQLConnectionString).FetchDataAsync<Entities.MySQL.Orders>(selectSql, strict: true);
545+
Assert.Fail("No Exception");
544546
}
545547
catch (IndexOutOfRangeException ex)
546548
{

QueryDB.Core.Tests/OracleTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ public void Test_Oracle_FetchData_Entity_Strict_Error_Check()
418418
try
419419
{
420420
var data = new DBContext(DB.Oracle, OracleConnectionString).FetchData<Entities.Oracle.Orders>(selectSql, strict: true);
421+
Assert.Fail("No Exception");
421422
}
422423
catch (IndexOutOfRangeException ex)
423424
{
@@ -545,6 +546,7 @@ public async Task Test_Oracle_FetchDataAsync_Entity_Strict_Error_Check()
545546
try
546547
{
547548
var data = await new DBContext(DB.Oracle, OracleConnectionString).FetchDataAsync<Entities.Oracle.Orders>(selectSql, strict: true);
549+
Assert.Fail("No Exception");
548550
}
549551
catch (IndexOutOfRangeException ex)
550552
{

QueryDB.Core.Tests/PostgreSQLTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ public void Test_PostgreSQL_FetchData_Entity_Strict_Error_Check()
406406
try
407407
{
408408
var data = new DBContext(DB.PostgreSQL, PostgreSQLConnectionString).FetchData<Entities.PostgreSQL.Orders>(selectSql, strict: true);
409+
Assert.Fail("No Exception");
409410
}
410411
catch (IndexOutOfRangeException ex)
411412
{
@@ -529,6 +530,7 @@ public async Task Test_PostgreSQL_FetchDataAsync_Entity_Strict_Error_Check()
529530
try
530531
{
531532
var data = await new DBContext(DB.PostgreSQL, PostgreSQLConnectionString).FetchDataAsync<Entities.PostgreSQL.Orders>(selectSql, strict: true);
533+
Assert.Fail("No Exception");
532534
}
533535
catch (IndexOutOfRangeException ex)
534536
{

0 commit comments

Comments
 (0)