Skip to content

Commit 32b4d41

Browse files
committed
Tests Refactoring
1 parent 7d50783 commit 32b4d41

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

QueryDB.Core.Tests/MSSQLTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ public void Test_MSSQL_FetchData_Entity_DataTypes_Check()
277277

278278
[TestMethod]
279279
[TestCategory(DB_TESTS), TestCategory(MSSQL_TESTS)]
280-
public void Test_MSSQL_FetchData_Entity_DataTypes_Strict_Check()
280+
public void Test_MSSQL_FetchData_Entity_Strict_Check()
281281
{
282282
var selectSql = Queries.MSSQLQueries.TestDB.SelectSql_Strict;
283283
var data = new DBContext(DB.MSSQL, MSSQLConnectionString).FetchData<Entities.MSSQL.Details>(selectSql, strict: true);
@@ -293,7 +293,7 @@ public void Test_MSSQL_FetchData_Entity_DataTypes_Strict_Check()
293293

294294
[TestMethod]
295295
[TestCategory(DB_TESTS), TestCategory(MSSQL_TESTS)]
296-
public void Test_MSSQL_FetchData_Entity_DataTypes_Strict_Error_Check()
296+
public void Test_MSSQL_FetchData_Entity_Strict_Error_Check()
297297
{
298298
var selectSql = Queries.MSSQLQueries.TestDB.SelectSql_Strict;
299299
try

QueryDB.Core.Tests/MySQLTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public void Test_MySQL_FetchData_Entity_DataTypes_Check()
257257

258258
[TestMethod]
259259
[TestCategory(DB_TESTS), TestCategory(MYSQL_TESTS)]
260-
public void Test_MySQL_FetchData_Entity_DataTypes_Strict_Check()
260+
public void Test_MySQL_FetchData_Entity_Strict_Check()
261261
{
262262
var selectSql = Queries.MySQLQueries.TestDB.SelectSql_Strict;
263263
var data = new DBContext(DB.MySQL, MySQLConnectionString).FetchData<Entities.MySQL.Details>(selectSql, strict: true);
@@ -273,7 +273,7 @@ public void Test_MySQL_FetchData_Entity_DataTypes_Strict_Check()
273273

274274
[TestMethod]
275275
[TestCategory(DB_TESTS), TestCategory(MYSQL_TESTS)]
276-
public void Test_MySQL_FetchData_Entity_DataTypes_Strict_Error_Check()
276+
public void Test_MySQL_FetchData_Entity_Strict_Error_Check()
277277
{
278278
var selectSql = Queries.MySQLQueries.TestDB.SelectSql_Strict;
279279
try

QueryDB.Core.Tests/OracleTests.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ public void Test_Oracle_FetchData_Entity_DataTypes_Check()
235235
var data = new DBContext(DB.Oracle, OracleConnectionString).FetchData<Entities.Oracle.DataTypes>(selectSql);
236236
Assert.IsTrue(data.Count == 2);
237237
var dataType = data.FirstOrDefault();
238-
Console.WriteLine(dataType.BFile_Column);
239238
Assert.AreEqual(GetBase64Content(Environment.CurrentDirectory + "/SeedData/oracle.sql"), dataType.BFile_Column);
240239
Assert.IsTrue(dataType.Blob_Column is byte[] && dataType.Blob_Column != null);
241240
Assert.AreEqual("A", dataType.Char_Column);
@@ -260,7 +259,7 @@ public void Test_Oracle_FetchData_Entity_DataTypes_Check()
260259

261260
[TestMethod]
262261
[TestCategory(DB_TESTS), TestCategory(ORACLE_TESTS)]
263-
public void Test_Oracle_FetchData_Entity_DataTypes_Strict_Check()
262+
public void Test_Oracle_FetchData_Entity_Strict_Check()
264263
{
265264
var selectSql = Queries.OracleQueries.TestDB.SelectSql_Strict;
266265
var data = new DBContext(DB.Oracle, OracleConnectionString).FetchData<Entities.Oracle.Details>(selectSql, strict: true);
@@ -276,7 +275,7 @@ public void Test_Oracle_FetchData_Entity_DataTypes_Strict_Check()
276275

277276
[TestMethod]
278277
[TestCategory(DB_TESTS), TestCategory(ORACLE_TESTS)]
279-
public void Test_Oracle_FetchData_Entity_DataTypes_Strict_Error_Check()
278+
public void Test_Oracle_FetchData_Entity_Strict_Error_Check()
280279
{
281280
var selectSql = Queries.OracleQueries.TestDB.SelectSql_Strict;
282281
try

QueryDB.Core.Tests/PostgreSQLTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public void Test_PostgreSQL_FetchData_Entity_DataTypes_Check()
251251

252252
[TestMethod]
253253
[TestCategory(DB_TESTS), TestCategory(POSTGRESQL_TESTS)]
254-
public void Test_PostgreSQL_FetchData_Entity_DataTypes_Strict_Check()
254+
public void Test_PostgreSQL_FetchData_Entity_Strict_Check()
255255
{
256256
var selectSql = Queries.PostgreSQLQueries.TestDB.SelectSql_Strict;
257257
var data = new DBContext(DB.PostgreSQL, PostgreSQLConnectionString).FetchData<Entities.PostgreSQL.Details>(selectSql, strict: true);
@@ -267,7 +267,7 @@ public void Test_PostgreSQL_FetchData_Entity_DataTypes_Strict_Check()
267267

268268
[TestMethod]
269269
[TestCategory(DB_TESTS), TestCategory(POSTGRESQL_TESTS)]
270-
public void Test_PostgreSQL_FetchData_Entity_DataTypes_Strict_Error_Check()
270+
public void Test_PostgreSQL_FetchData_Entity_Strict_Error_Check()
271271
{
272272
var selectSql = Queries.PostgreSQLQueries.TestDB.SelectSql_Strict;
273273
try

0 commit comments

Comments
 (0)