Skip to content
Prev Previous commit
Next Next commit
Disable failing TraceSource tests on tvOS
  • Loading branch information
simonrozsival authored and github-actions committed Aug 19, 2022
commit b1f54583f082213d4872205aee7d36997be23b30
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ private static void CreateAndLoadConfigFile(string filename)

[Fact]
[SkipOnPlatform(TestPlatforms.Browser, "Not supported on Browser")]
[ActiveIssue("https://github.com/dotnet/runtime/issues/74076", TestPlatforms.tvOS)]
public void RuntimeFilterChange()
{
CreateAndLoadConfigFile("testhost_ConfigWithRuntime.config");
Expand Down Expand Up @@ -95,6 +96,7 @@ public void RuntimeFilterChange()

[Fact]
[SkipOnPlatform(TestPlatforms.Browser, "Not supported on Browser")]
[ActiveIssue("https://github.com/dotnet/runtime/issues/74076", TestPlatforms.tvOS)]
public void Refresh_RemoveSwitch()
{
// Use a SourceSwitch that logs Error.
Expand Down Expand Up @@ -135,6 +137,7 @@ void Log()

[Fact]
[SkipOnPlatform(TestPlatforms.Browser, "Not supported on Browser")]
[ActiveIssue("https://github.com/dotnet/runtime/issues/74076", TestPlatforms.tvOS)]
public void Refresh_ChangeSwitch()
{
// Use a SourceSwitch that logs Error.
Expand All @@ -160,6 +163,7 @@ public void Refresh_ChangeSwitch()

[Fact]
[SkipOnPlatform(TestPlatforms.Browser, "Not supported on Browser")]
[ActiveIssue("https://github.com/dotnet/runtime/issues/74076", TestPlatforms.tvOS)]
public void Refresh_RemoveSource()
{
// Use a SourceSwitch that logs Error.
Expand Down Expand Up @@ -193,6 +197,7 @@ public void Refresh_RemoveSource()

[Fact]
[SkipOnPlatform(TestPlatforms.Browser, "Not supported on Browser")]
[ActiveIssue("https://github.com/dotnet/runtime/issues/74076", TestPlatforms.tvOS)]
public void ConfigWithEvents_RuntimeListener()
{
CreateAndLoadConfigFile("testhost_ConfigWithRuntime.config");
Expand Down Expand Up @@ -259,6 +264,7 @@ private void SubscribeToSwitch_Initializing(object? sender, InitializingSwitchEv

[Fact]
[SkipOnPlatform(TestPlatforms.Browser, "Not supported on Browser")]
[ActiveIssue("https://github.com/dotnet/runtime/issues/74076", TestPlatforms.tvOS)]
public void AllTypes()
{
CreateAndLoadConfigFile("testhost_AllTypes.config");
Expand Down Expand Up @@ -303,6 +309,7 @@ public void AllTypes()

[Fact]
[SkipOnPlatform(TestPlatforms.Browser, "Not supported on Browser")]
[ActiveIssue("https://github.com/dotnet/runtime/issues/74076", TestPlatforms.tvOS)]
public void Switch_MissingValue_Throws()
{
Exception e = Assert.Throws<ConfigurationErrorsException>(() =>
Expand Down