Skip to content

Commit

Permalink
feat(TestStubs): log resolved runtime name
Browse files Browse the repository at this point in the history
  • Loading branch information
rushiiMachine committed Apr 2, 2024
1 parent 054dbc2 commit 79487d9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Osu.Stubs.Tests/TestStubs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ public void TestStub(ILazy<MemberInfo> lazy) => Assert.DoesNotThrow(
try
{
lazy.Fill();

if (lazy.Reference is Type type)
{
TestContext.WriteLine(type.FullName);
}
else
{
TestContext.Write(lazy.Reference.DeclaringType!.FullName);
TestContext.Write(" :: ");
TestContext.WriteLine(lazy.Reference.ToString());
}
}
catch (AggregateException e)
{
Expand Down

0 comments on commit 79487d9

Please sign in to comment.