Skip to content
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 @@ -9,6 +9,12 @@ public sealed partial class AttributesTests : LinkerTestBase

protected override string TestSuiteName => "Attributes";

[Fact]
public Task AssemblyAttributeAccessesMembers ()
{
return RunTest (allowMissingWarnings: true);
}

[Fact]
public Task AssemblyAttributeIsRemovedIfOnlyTypesUsedInAssembly ()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ public Task AddCustomStep ()
return RunTest (allowMissingWarnings: true);
}

[Fact]
public Task CustomStepApplyPreserve ()
{
return RunTest (allowMissingWarnings: true);
}

[Fact]
public Task CustomStepData ()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ public Task GenericParameterDataFlowMarking ()
return RunTest (allowMissingWarnings: true);
}

[Fact]
public Task InterfaceImplementedThroughBaseValidation ()
{
return RunTest (allowMissingWarnings: true);
}

[Fact]
public Task MethodByRefParameterDataFlow ()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ public sealed partial class ExtensibilityTests : LinkerTestBase

protected override string TestSuiteName => "Extensibility";

[Fact]
public Task CustomStepCanFixAbstractMethods ()
{
return RunTest (allowMissingWarnings: true);
}

[Fact]
public Task CustomStepCanPreserveMethodsAfterMark ()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ public Task InterfaceImplementedRecursively ()
return RunTest (allowMissingWarnings: true);
}

[Fact]
public Task OverrideOfRecursiveInterfaceIsRemoved ()
{
return RunTest (allowMissingWarnings: true);
}

[Fact]
public Task RecursiveInterfaceKept ()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ namespace ILLink.RoslynAnalyzer.Tests.Inheritance.Interfaces
public sealed partial class StaticInterfaceMethodsTests : LinkerTestBase
{

[Fact]
public Task InstanceMethodsWithOverridesSwept ()
{
return RunTest (allowMissingWarnings: true);
}

[Fact]
public Task OverrideInCopyAssembly ()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ public Task EmbeddedLinkAttributesInReferencedAssembly_AssemblyLevel ()
return RunTest (allowMissingWarnings: true);
}

[Fact]
public Task FeatureAttributeRemovalInCopyAssembly ()
{
return RunTest (allowMissingWarnings: true);
}

[Fact]
public Task LinkAttributeErrorCases ()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ public sealed partial class MetadataTests : LinkerTestBase

protected override string TestSuiteName => "Metadata";

[Fact]
public Task DebuggerDisplayNamesAreKept ()
{
return RunTest (allowMissingWarnings: true);
}

[Fact]
public Task NamesAreKept ()
{
Expand All @@ -21,5 +27,29 @@ public Task NamesAreRemoved ()
return RunTest (allowMissingWarnings: true);
}

[Fact]
public Task RootAllAssemblyNamesAreKept ()
{
return RunTest (allowMissingWarnings: true);
}

[Fact]
public Task RootDescriptorNamesAreKept ()
{
return RunTest (allowMissingWarnings: true);
}

[Fact]
public Task RootLibraryAssemblyNamesAreKept ()
{
return RunTest (allowMissingWarnings: true);
}

[Fact]
public Task RootVisibleAssemblyNamesAreKept ()
{
return RunTest (allowMissingWarnings: true);
}

}
}