mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
17 lines
464 B
C#
17 lines
464 B
C#
using System.Reflection;
|
|
using CefSharp.Internals;
|
|
using Xunit.Sdk;
|
|
|
|
namespace CefSharp.Test
|
|
{
|
|
internal class BrowserRefCountDebuggingAttribute : BeforeAfterTestAttribute
|
|
{
|
|
public override void Before(MethodInfo methodUnderTest)
|
|
{
|
|
((BrowserRefCounter)BrowserRefCounter.Instance).AppendLineToLog($"Test Method {methodUnderTest.DeclaringType} {methodUnderTest.Name}");
|
|
|
|
base.Before(methodUnderTest);
|
|
}
|
|
}
|
|
}
|