Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[iOS] Enable System.Data.Common Tests
  • Loading branch information
mdh1418 committed Jul 20, 2022
commit 54acc26a20fb7ce418f4a4f01b6535a1505fdd98
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public void GetFactoryNoRegistrationTest()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/36879", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void GetFactoryWithInvariantNameTest()
{
ClearRegisteredFactories();
Expand All @@ -50,7 +49,6 @@ public void GetFactoryWithInvariantNameTest()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/36879", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void GetFactoryWithDbConnectionTest()
{
ClearRegisteredFactories();
Expand All @@ -62,31 +60,27 @@ public void GetFactoryWithDbConnectionTest()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/36879", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void GetFactoryWithDataRowTest()
{
ClearRegisteredFactories();
RegisterSqlClientAndTestRegistration(()=> DbProviderFactories.RegisterFactory("System.Data.SqlClient", typeof(System.Data.SqlClient.SqlClientFactory)));
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/36879", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void RegisterFactoryWithTypeNameTest()
{
ClearRegisteredFactories();
RegisterSqlClientAndTestRegistration(()=>DbProviderFactories.RegisterFactory("System.Data.SqlClient", typeof(System.Data.SqlClient.SqlClientFactory).AssemblyQualifiedName));
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/36879", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void RegisterFactoryWithTypeTest()
{
ClearRegisteredFactories();
RegisterSqlClientAndTestRegistration(()=>DbProviderFactories.RegisterFactory("System.Data.SqlClient", typeof(System.Data.SqlClient.SqlClientFactory)));
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/36879", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void RegisterFactoryWithInstanceTest()
{
ClearRegisteredFactories();
Expand All @@ -102,7 +96,6 @@ public void RegisterFactoryWithWrongTypeTest()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/36879", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void RegisterFactoryWithBadInvariantNameTest()
{
ClearRegisteredFactories();
Expand All @@ -111,7 +104,6 @@ public void RegisterFactoryWithBadInvariantNameTest()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/36879", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void RegisterFactoryWithAssemblyQualifiedNameTest()
{
ClearRegisteredFactories();
Expand All @@ -135,7 +127,6 @@ public void RegisterFactoryWithWrongAssemblyQualifiedNameTest()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/36879", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void UnregisterFactoryTest()
{
ClearRegisteredFactories();
Expand All @@ -146,7 +137,6 @@ public void UnregisterFactoryTest()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/36879", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void TryGetFactoryTest()
{
ClearRegisteredFactories();
Expand All @@ -159,7 +149,6 @@ public void TryGetFactoryTest()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/36879", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void ReplaceFactoryWithRegisterFactoryWithTypeTest()
{
ClearRegisteredFactories();
Expand All @@ -174,7 +163,6 @@ public void ReplaceFactoryWithRegisterFactoryWithTypeTest()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/36879", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
public void GetProviderInvariantNamesTest()
{
ClearRegisteredFactories();
Expand Down