-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
all working unit tests for SqliteStateDbRepositoryFactory
- Loading branch information
1 parent
5a31b97
commit 9cb8333
Showing
11 changed files
with
370 additions
and
423 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
global using Microsoft.Extensions.Logging; | ||
global using System; | ||
global using System.Linq; | ||
global using System.Threading.Tasks; | ||
global using WouterVanRanst.Utils; | ||
global using WouterVanRanst.Utils.Extensions; | ||
global using System.Threading; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* This is required to test the internals of the Arius.Core assembly | ||
*/ | ||
|
||
using System.Runtime.CompilerServices; | ||
|
||
[assembly: InternalsVisibleTo("Arius.Core.New.UnitTests")] | ||
[assembly: InternalsVisibleTo("Arius.ArchUnit")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace Arius.Core.New.UnitTests; | ||
|
||
internal static class DateTimeExtensions | ||
{ | ||
public static DateTime TruncateToSeconds(this DateTime dateTime) | ||
{ | ||
return dateTime.AddTicks(-(dateTime.Ticks % TimeSpan.TicksPerSecond)); | ||
} | ||
} |
Oops, something went wrong.