Commit ab64a479 authored by mgravell's avatar mgravell

hack around SkipTestException glitch

parent dd2c7ba8
...@@ -718,7 +718,11 @@ private class HazSqlGeo ...@@ -718,7 +718,11 @@ private class HazSqlGeo
[Fact] [Fact]
public void DBGeography_SO24405645_SO24402424() public void DBGeography_SO24405645_SO24402424()
{ {
SkipIfMsDataClient(); try
{
SkipIfMsDataClient();
}
catch (SkipTestException) { return; } // just while we figure out why that isn't skipping
EntityFramework.Handlers.Register(); EntityFramework.Handlers.Register();
...@@ -741,7 +745,11 @@ public void DBGeography_SO24405645_SO24402424() ...@@ -741,7 +745,11 @@ public void DBGeography_SO24405645_SO24402424()
[Fact] [Fact]
public void SqlGeography_SO25538154() public void SqlGeography_SO25538154()
{ {
SkipIfMsDataClient(); try
{
SkipIfMsDataClient();
}
catch (SkipTestException) { return; } // just while we figure out why that isn't skipping
SqlMapper.ResetTypeHandlers(); SqlMapper.ResetTypeHandlers();
connection.Execute("create table #SqlGeo (id int, geo geography, geometry geometry)"); connection.Execute("create table #SqlGeo (id int, geo geography, geometry geometry)");
...@@ -781,7 +789,11 @@ public void NullableSqlGeometry() ...@@ -781,7 +789,11 @@ public void NullableSqlGeometry()
[Fact] [Fact]
public void SqlHierarchyId_SO18888911() public void SqlHierarchyId_SO18888911()
{ {
SkipIfMsDataClient(); try
{
SkipIfMsDataClient();
}
catch (SkipTestException) { return; } // just while we figure out why that isn't skipping
SqlMapper.ResetTypeHandlers(); SqlMapper.ResetTypeHandlers();
var row = connection.Query<HazSqlHierarchy>("select 3 as [Id], hierarchyid::Parse('/1/2/3/') as [Path]").Single(); var row = connection.Query<HazSqlHierarchy>("select 3 as [Id], hierarchyid::Parse('/1/2/3/') as [Path]").Single();
......
...@@ -22,7 +22,11 @@ public EntityFrameworkTests() ...@@ -22,7 +22,11 @@ public EntityFrameworkTests()
[Fact] [Fact]
public void Issue570_DbGeo_HasValues() public void Issue570_DbGeo_HasValues()
{ {
SkipIfMsDataClient(); try
{
SkipIfMsDataClient();
}
catch (SkipTestException) { return; } // just while we figure out why that isn't skipping
EntityFramework.Handlers.Register(); EntityFramework.Handlers.Register();
const string redmond = "POINT (-122.1215 47.6740)"; const string redmond = "POINT (-122.1215 47.6740)";
...@@ -39,7 +43,11 @@ public void Issue570_DbGeo_HasValues() ...@@ -39,7 +43,11 @@ public void Issue570_DbGeo_HasValues()
[Fact] [Fact]
public void Issue22_ExecuteScalar_EntityFramework() public void Issue22_ExecuteScalar_EntityFramework()
{ {
SkipIfMsDataClient(); try
{
SkipIfMsDataClient();
}
catch (SkipTestException) { return; } // just while we figure out why that isn't skipping
var geo = DbGeography.LineFromText("LINESTRING(-122.360 47.656, -122.343 47.656 )", 4326); var geo = DbGeography.LineFromText("LINESTRING(-122.360 47.656, -122.343 47.656 )", 4326);
var geo2 = connection.ExecuteScalar<DbGeography>("select @geo", new { geo }); var geo2 = connection.ExecuteScalar<DbGeography>("select @geo", new { geo });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment