Skip to content

Commit

Permalink
Mark individual tests for 51211 (#57463)
Browse files Browse the repository at this point in the history
  • Loading branch information
lewing committed Aug 16, 2021
1 parent d7a7898 commit 59b6df3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ public void GetUri()
// enum test
[InlineData("Constructor", typeof(AttributeTargets))]
[InlineData("CA761232-ED42-11CE-BACD-00AA0057B223", typeof(Guid))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51211", typeof(PlatformDetection), nameof(PlatformDetection.IsBuiltWithAggressiveTrimming), nameof(PlatformDetection.IsBrowser))]
public void CanReadAllSupportedTypes(string value, Type type)
{
// arrange
Expand Down Expand Up @@ -447,6 +448,7 @@ public void CanReadAllSupportedTypes(string value, Type type)
[InlineData(typeof(TimeSpan))]
[InlineData(typeof(AttributeTargets))]
[InlineData(typeof(Guid))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51211", typeof(PlatformDetection), nameof(PlatformDetection.IsBuiltWithAggressiveTrimming), nameof(PlatformDetection.IsBrowser))]
public void ConsistentExceptionOnFailedBinding(Type type)
{
// arrange
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public class DynamicMethodctor1
[InlineData("method", typeof(string), new Type[] { typeof(char?) })]
[InlineData("Method", typeof(string), new Type[] { typeof(GenericClass2<,>), typeof(GenericClass2<,>) })]
[InlineData("Method", typeof(string), new Type[] { typeof(TestInterface) })]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51211", typeof(PlatformDetection), nameof(PlatformDetection.IsBuiltWithAggressiveTrimming), nameof(PlatformDetection.IsBrowser))]
public void String_Type_TypeArray_Module(string name, Type returnType, Type[] parameterTypes)
{
Module module = typeof(TestClass).GetTypeInfo().Module;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public void TypeConstructorName_ReturnsExpected()
[Theory]
[InlineData(typeof(ConstructorInfoInvoke), new Type[] { typeof(int) })]
[InlineData(typeof(string), new Type[] { typeof(char), typeof(int) })]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51211", typeof(PlatformDetection), nameof(PlatformDetection.IsBuiltWithAggressiveTrimming), nameof(PlatformDetection.IsBrowser))]
public void Properties(Type type, Type[] typeParameters)
{
ConstructorInfo constructor = TypeExtensions.GetConstructor(type, typeParameters);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public class RequiredAttributeAttributeTests
[Theory]
[InlineData(null)]
[InlineData(typeof(int))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/51211", typeof(PlatformDetection), nameof(PlatformDetection.IsBuiltWithAggressiveTrimming), nameof(PlatformDetection.IsBrowser))]
public void Ctor_RequiredContract(Type requiredContract)
{
var attribute = new RequiredAttributeAttribute(requiredContract);
Expand Down
6 changes: 0 additions & 6 deletions src/libraries/tests.proj
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,6 @@
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Linq.Queryable\tests\System.Linq.Queryable.Tests.csproj" />
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Diagnostics.Tracing/tests/System.Diagnostics.Tracing.Tests.csproj" />

<!-- Issue: https://github.com/dotnet/runtime/issues/51211 -->
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Runtime.CompilerServices.VisualC\tests\System.Runtime.CompilerServices.VisualC.Tests.csproj" />
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Reflection.TypeExtensions\tests\System.Reflection.TypeExtensions.Tests.csproj" />
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Reflection.Emit.Lightweight\tests\System.Reflection.Emit.Lightweight.Tests.csproj" />
<ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.Configuration.Binder\tests\Microsoft.Extensions.Configuration.Binder.Tests.csproj" />

<!-- Issue: https://github.com/dotnet/runtime/issues/51602 -->
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.ComponentModel.Primitives\tests\System.ComponentModel.Primitives.Tests.csproj" />
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.ObjectModel\tests\System.ObjectModel.Tests.csproj" />
Expand Down

0 comments on commit 59b6df3

Please sign in to comment.