Skip to content

Commit 37f9b81

Browse files
committed
Moved xunit logger to own namespace
1 parent 7679a98 commit 37f9b81

6 files changed

Lines changed: 6 additions & 8 deletions

File tree

src/bunit.web.tests/_Imports.razor

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@
1010
@using Bunit.TestAssets.SampleComponents
1111
@using Bunit.TestAssets.SampleComponents.Data
1212
@using Shouldly
13-
@using Xunit
14-
@using Xunit.Abstractions
13+
@using global::Xunit

src/bunit.xunit/Logging/XunitLogger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
using Xunit.Abstractions;
88

9-
namespace Bunit.Logging
9+
namespace Bunit.Xunit.Logging
1010
{
1111
/// <summary>
1212
/// Represents a <see cref="ILogger"/> that will write logs to the provided <see cref="ITestOutputHelper"/>.

src/bunit.xunit/Logging/XunitLoggerExtensions.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using Bunit.Logging;
2-
1+
using Bunit.Xunit.Logging;
32
using Microsoft.Extensions.DependencyInjection;
43
using Microsoft.Extensions.Logging;
54

src/bunit.xunit/Logging/XunitLoggerFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.Extensions.Logging;
22

3-
namespace Bunit.Logging
3+
namespace Bunit.Xunit.Logging
44
{
55
/// <summary>
66
/// Represents a xUnit logger factory

src/bunit.xunit/Logging/XunitLoggerProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
using Xunit.Abstractions;
44

5-
namespace Bunit.Logging
5+
namespace Bunit.Xunit.Logging
66
{
77
/// <summary>
88
/// Represents an <see cref="ILoggerProvider"/> for logging to <see cref="XunitLogger"/>.

src/bunit.xunit/bunit.xunit.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.1</TargetFramework>
55
<GenerateDocumentationFile>true</GenerateDocumentationFile>
6-
<RootNamespace>Bunit</RootNamespace>
6+
<RootNamespace>Bunit.Xunit</RootNamespace>
77
<AssemblyName>Bunit.Xunit</AssemblyName>
88
</PropertyGroup>
99

0 commit comments

Comments
 (0)