Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Enable System.Data.Common tests #72554

Merged
merged 2 commits into from
Jul 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,6 @@ public void NoopChangeTokenForFilterThatNavigatesAboveRoot()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/58584", TestPlatforms.iOS | TestPlatforms.MacCatalyst | TestPlatforms.tvOS)]
public void TokenForEmptyFilter()
{
using (var root = new TempDirectory(GetTestFilePath()))
Expand Down
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