Skip to content

Commit

Permalink
fix: Verify files
Browse files Browse the repository at this point in the history
  • Loading branch information
samtrion committed May 21, 2024
1 parent bb1bbb4 commit e6ee41d
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

public partial class XUnitLoggerTests
{
private readonly TimeProvider _fakeTimeProvider = new FakeTimeProvider(
new DateTimeOffset(2000, 1, 1, 13, 37, 00, TimeSpan.FromHours(2))
);
private readonly ITestOutputHelper _testOutputHelper;

public XUnitLoggerTests(ITestOutputHelper testOutputHelper) =>
Expand All @@ -36,7 +39,7 @@ public async Task LoggedMessages_Theory_Expected(
};
var logger = XUnitLogger.CreateLogger<TestCase>(
_testOutputHelper,
new FakeTimeProvider(new DateTimeOffset(2000, 1, 1, 13, 37, 00, TimeSpan.FromHours(2))),
_fakeTimeProvider,
new LoggerExternalScopeProvider(),
options
);
Expand Down Expand Up @@ -78,7 +81,7 @@ public async Task ToString_Theory_Expected(
};
var logger = XUnitLogger.CreateLogger<TestCase>(
_testOutputHelper,
new FakeTimeProvider(new DateTimeOffset(2000, 1, 1, 13, 37, 00, TimeSpan.FromHours(2))),
_fakeTimeProvider,
new LoggerExternalScopeProvider(),
options
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
2000-01-01 13:37:00 [CRIT] This is a Critical.
2000-01-01 13:37:00 [CRIT] This is a Critical with exception.
System.NotImplementedException: The method or operation is not implemented.
at NetEvolve.Logging.XUnit.Tests.Integration.XUnitLoggerTests.TestCase.Run() in {ProjectDirectory}XUnitLoggerTests.cs:line 138
at NetEvolve.Logging.XUnit.Tests.Integration.XUnitLoggerTests.TestCase.Run() in {ProjectDirectory}XUnitLoggerTests.cs:line 139
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
2000-01-01T13:37:00.0000000+02:00 [CRIT] This is a Critical.
2000-01-01T13:37:00.0000000+02:00 [CRIT] This is a Critical with exception.
System.NotImplementedException: The method or operation is not implemented.
at NetEvolve.Logging.XUnit.Tests.Integration.XUnitLoggerTests.TestCase.Run() in {ProjectDirectory}XUnitLoggerTests.cs:line 138
at NetEvolve.Logging.XUnit.Tests.Integration.XUnitLoggerTests.TestCase.Run() in {ProjectDirectory}XUnitLoggerTests.cs:line 139
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
2000-01-01T13:37:00.0000000+02:00 [CRIT] This is a Critical.
2000-01-01T13:37:00.0000000+02:00 [CRIT] This is a Critical with exception.
System.NotImplementedException: The method or operation is not implemented.
at NetEvolve.Logging.XUnit.Tests.Integration.XUnitLoggerTests.TestCase.Run() in {ProjectDirectory}XUnitLoggerTests.cs:line 138
at NetEvolve.Logging.XUnit.Tests.Integration.XUnitLoggerTests.TestCase.Run() in {ProjectDirectory}XUnitLoggerTests.cs:line 139
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
[CRIT] This is a Critical.
[CRIT] This is a Critical with exception.
System.NotImplementedException: The method or operation is not implemented.
at NetEvolve.Logging.XUnit.Tests.Integration.XUnitLoggerTests.TestCase.Run() in {ProjectDirectory}XUnitLoggerTests.cs:line 138
at NetEvolve.Logging.XUnit.Tests.Integration.XUnitLoggerTests.TestCase.Run() in {ProjectDirectory}XUnitLoggerTests.cs:line 139
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
2000-01-01T13:37:00.0000000+02:00 This is a Critical.
2000-01-01T13:37:00.0000000+02:00 This is a Critical with exception.
System.NotImplementedException: The method or operation is not implemented.
at NetEvolve.Logging.XUnit.Tests.Integration.XUnitLoggerTests.TestCase.Run() in {ProjectDirectory}XUnitLoggerTests.cs:line 138
at NetEvolve.Logging.XUnit.Tests.Integration.XUnitLoggerTests.TestCase.Run() in {ProjectDirectory}XUnitLoggerTests.cs:line 139
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
2000-01-01T13:37:00.0000000+02:00 [CRIT] This is a Critical.
2000-01-01T13:37:00.0000000+02:00 [CRIT] This is a Critical with exception.
System.NotImplementedException: The method or operation is not implemented.
at NetEvolve.Logging.XUnit.Tests.Integration.XUnitLoggerTests.TestCase.Run() in {ProjectDirectory}XUnitLoggerTests.cs:line 138
at NetEvolve.Logging.XUnit.Tests.Integration.XUnitLoggerTests.TestCase.Run() in {ProjectDirectory}XUnitLoggerTests.cs:line 139

0 comments on commit e6ee41d

Please sign in to comment.