diff --git a/Allure.XUnit/AllureMessageSink.cs b/Allure.XUnit/AllureMessageSink.cs index faf246e..cf901f9 100644 --- a/Allure.XUnit/AllureMessageSink.cs +++ b/Allure.XUnit/AllureMessageSink.cs @@ -12,7 +12,7 @@ namespace Allure.Xunit { - public class AllureMessageSink : + class AllureMessageSink : DefaultRunnerReporterWithTypesMessageHandler { static AllureTestPlan TestPlan @@ -224,6 +224,6 @@ void LogUnreportedTheoryArgs(string testName) static bool IsStaticTestMethod(ITestMethodMessage message) => message.TestMethod.Method.IsStatic; - public static AllureMessageSink? CurrentSink { get; private set; } + internal static AllureMessageSink? CurrentSink { get; private set; } } } \ No newline at end of file diff --git a/Allure.XUnit/AllureXunitFacade.cs b/Allure.XUnit/AllureXunitFacade.cs index 9c44c6e..3a4a651 100644 --- a/Allure.XUnit/AllureXunitFacade.cs +++ b/Allure.XUnit/AllureXunitFacade.cs @@ -9,9 +9,9 @@ namespace Allure.Xunit { - public static class AllureXunitFacade + static class AllureXunitFacade { - public static IMessageSink CreateAllureXunitMessageHandler( + internal static IMessageSink CreateAllureXunitMessageHandler( IRunnerLogger logger ) { diff --git a/Allure.XUnit/AllureXunitHelper.cs b/Allure.XUnit/AllureXunitHelper.cs index 4482152..68d432b 100644 --- a/Allure.XUnit/AllureXunitHelper.cs +++ b/Allure.XUnit/AllureXunitHelper.cs @@ -12,7 +12,7 @@ namespace Allure.Xunit { - public static class AllureXunitHelper + static class AllureXunitHelper { internal const string NS_OBSOLETE_MSG = "The Allure.XUnit namespace is deprecated. Please, use Allure.Xunit instead";