diff --git a/Dapper.DNX.Tests/PerformanceTests.cs b/Dapper.DNX.Tests/PerformanceTests.cs index d12407ab089366acd724740df9f5861937333414..6ffb12da18d19683bafbf1bafa953165e4e89cba 100644 --- a/Dapper.DNX.Tests/PerformanceTests.cs +++ b/Dapper.DNX.Tests/PerformanceTests.cs @@ -21,7 +21,7 @@ namespace SqlMapper { - class PerformanceTests + public class PerformanceTests { class Test { diff --git a/Dapper.DNX.Tests/Tests.Parameters.cs b/Dapper.DNX.Tests/Tests.Parameters.cs index 4bce8a34c89bed614a63e9d2f173288c1a015c25..8619a8284630af377c89676dae36f5f0b9b18bfe 100644 --- a/Dapper.DNX.Tests/Tests.Parameters.cs +++ b/Dapper.DNX.Tests/Tests.Parameters.cs @@ -4,10 +4,16 @@ using System.Collections.Generic; using System.Data; using System.Data.SqlClient; +using System.Data.SqlTypes; using System.Dynamic; using System.Linq; using Xunit; +#if EXTERNALS +using System.Data.Entity.Spatial; +using Microsoft.SqlServer.Types; +#endif + #if COREFX using IDbCommand = System.Data.Common.DbCommand; using IDbDataParameter = System.Data.Common.DbParameter; diff --git a/Dapper.DNX.Tests/Tests.cs b/Dapper.DNX.Tests/Tests.cs index 0b19ccea4f5cb0f94b6dad35dbb3db6c760307e5..3db096fe9eac4be19ac21b24a89ec991a3c6961c 100644 --- a/Dapper.DNX.Tests/Tests.cs +++ b/Dapper.DNX.Tests/Tests.cs @@ -30,6 +30,7 @@ using System.Data.Entity.Spatial; using Microsoft.SqlServer.Types; using System.Data.SqlServerCe; +using SqlServerTypes; #if POSTGRESQL using Npgsql; #endif @@ -72,6 +73,9 @@ public partial class Tests : IDisposable public Tests() { connection = Program.GetOpenConnection(); +#if EXTERNALS + Utilities.LoadNativeAssemblies(AppDomain.CurrentDomain.BaseDirectory); +#endif } public void Dispose() @@ -2619,7 +2623,7 @@ public void Issue178_SqlServer() } } #if EXTERNALS - [SkipTest] + //[Fact] public void Issue178_Firebird() // we expect this to fail due to a bug in Firebird; a PR to fix it has been submitted { var cs = @"initial catalog=localhost:database;user id=SYSDBA;password=masterkey"; diff --git a/DapperTests NET45/DapperTests NET45.csproj b/DapperTests NET45/DapperTests NET45.csproj index 72b500e90cbf22fa10cbc3869add2fab57b86059..33174e155762466f063eaab0fa767bd25d011cb6 100644 --- a/DapperTests NET45/DapperTests NET45.csproj +++ b/DapperTests NET45/DapperTests NET45.csproj @@ -41,6 +41,22 @@ + + ..\packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll + True + + + ..\packages\xunit.assert.2.1.0\lib\dotnet\xunit.assert.dll + True + + + ..\packages\xunit.extensibility.core.2.1.0\lib\dotnet\xunit.core.dll + True + + + ..\packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll + True + @@ -56,6 +72,7 @@ + @@ -63,6 +80,9 @@ Dapper NET45 + + +