Skip to content

Commit 85aa215

Browse files
authored
Merge pull request #8 from ShadyNagy/create_tests_for_thi_2025-05-05_064036
Add comprehensive test
2 parents 3850f40 + 36c385e commit 85aa215

89 files changed

Lines changed: 522 additions & 27 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

EntityFrameworkCore.AuditInterceptor.sln

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1919
EndProject
2020
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EntityFrameworkCore.AuditInterceptor", "src\EntityFrameworkCore.AuditInterceptor\EntityFrameworkCore.AuditInterceptor.csproj", "{B70C3951-AAC2-875D-96DB-2031FB08F9DF}"
2121
EndProject
22-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EntityFrameworkCore.AuditInterceptor.Web", "src\EntityFrameworkCore.AuditInterceptor.Web\EntityFrameworkCore.AuditInterceptor.Web.csproj", "{E9B34280-DE77-4B8E-82B8-0EF1F9C4A7E3}"
22+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EntityFrameworkCore.AuditInterceptor.Tests", "tests\EntityFrameworkCore.AuditInterceptor.Tests\EntityFrameworkCore.AuditInterceptor.Tests.csproj", "{C8A8BADE-B68B-47A7-F3AD-00440B538F29}"
23+
EndProject
24+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{67C4EC00-A8D5-4A46-B799-90D93035FF3A}"
25+
EndProject
26+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EntityFrameworkCore.AuditInterceptor.Web", "Samples\EntityFrameworkCore.AuditInterceptor.Web\EntityFrameworkCore.AuditInterceptor.Web.csproj", "{E3BD8C4F-6680-E3EA-8911-1B017A360AB3}"
2327
EndProject
2428
Global
2529
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -31,17 +35,22 @@ Global
3135
{B70C3951-AAC2-875D-96DB-2031FB08F9DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
3236
{B70C3951-AAC2-875D-96DB-2031FB08F9DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
3337
{B70C3951-AAC2-875D-96DB-2031FB08F9DF}.Release|Any CPU.Build.0 = Release|Any CPU
34-
{E9B34280-DE77-4B8E-82B8-0EF1F9C4A7E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
35-
{E9B34280-DE77-4B8E-82B8-0EF1F9C4A7E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
36-
{E9B34280-DE77-4B8E-82B8-0EF1F9C4A7E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
37-
{E9B34280-DE77-4B8E-82B8-0EF1F9C4A7E3}.Release|Any CPU.Build.0 = Release|Any CPU
38+
{C8A8BADE-B68B-47A7-F3AD-00440B538F29}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
39+
{C8A8BADE-B68B-47A7-F3AD-00440B538F29}.Debug|Any CPU.Build.0 = Debug|Any CPU
40+
{C8A8BADE-B68B-47A7-F3AD-00440B538F29}.Release|Any CPU.ActiveCfg = Release|Any CPU
41+
{C8A8BADE-B68B-47A7-F3AD-00440B538F29}.Release|Any CPU.Build.0 = Release|Any CPU
42+
{E3BD8C4F-6680-E3EA-8911-1B017A360AB3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
43+
{E3BD8C4F-6680-E3EA-8911-1B017A360AB3}.Debug|Any CPU.Build.0 = Debug|Any CPU
44+
{E3BD8C4F-6680-E3EA-8911-1B017A360AB3}.Release|Any CPU.ActiveCfg = Release|Any CPU
45+
{E3BD8C4F-6680-E3EA-8911-1B017A360AB3}.Release|Any CPU.Build.0 = Release|Any CPU
3846
EndGlobalSection
3947
GlobalSection(SolutionProperties) = preSolution
4048
HideSolutionNode = FALSE
4149
EndGlobalSection
4250
GlobalSection(NestedProjects) = preSolution
4351
{B70C3951-AAC2-875D-96DB-2031FB08F9DF} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
44-
{E9B34280-DE77-4B8E-82B8-0EF1F9C4A7E3} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
52+
{C8A8BADE-B68B-47A7-F3AD-00440B538F29} = {7AACC4A4-5B0D-4182-937D-B689A2E5B124}
53+
{E3BD8C4F-6680-E3EA-8911-1B017A360AB3} = {67C4EC00-A8D5-4A46-B799-90D93035FF3A}
4554
EndGlobalSection
4655
GlobalSection(ExtensibilityGlobals) = postSolution
4756
SolutionGuid = {7B10C415-B94A-49DA-8907-92001880C95C}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<Nullable>enable</Nullable>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
</PropertyGroup>
8+
9+
10+
<ItemGroup>
11+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.15" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.15">
13+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
14+
<PrivateAssets>all</PrivateAssets>
15+
</PackageReference>
16+
</ItemGroup>
17+
18+
<ItemGroup>
19+
<ProjectReference Include="..\..\src\EntityFrameworkCore.AuditInterceptor\EntityFrameworkCore.AuditInterceptor.csproj" />
20+
</ItemGroup>
21+
22+
</Project>

src/EntityFrameworkCore.AuditInterceptor.Web/Migrations/20250225224849_InitialCreate.Designer.cs renamed to Samples/EntityFrameworkCore.AuditInterceptor.Web/Migrations/20250225224849_InitialCreate.Designer.cs

File renamed without changes.

src/EntityFrameworkCore.AuditInterceptor.Web/Migrations/20250225224849_InitialCreate.cs renamed to Samples/EntityFrameworkCore.AuditInterceptor.Web/Migrations/20250225224849_InitialCreate.cs

File renamed without changes.

src/EntityFrameworkCore.AuditInterceptor.Web/Migrations/MyDbContextModelSnapshot.cs renamed to Samples/EntityFrameworkCore.AuditInterceptor.Web/Migrations/MyDbContextModelSnapshot.cs

File renamed without changes.

src/EntityFrameworkCore.AuditInterceptor.Web/MyDbContext.cs renamed to Samples/EntityFrameworkCore.AuditInterceptor.Web/MyDbContext.cs

File renamed without changes.

src/EntityFrameworkCore.AuditInterceptor.Web/MyEntity.cs renamed to Samples/EntityFrameworkCore.AuditInterceptor.Web/MyEntity.cs

File renamed without changes.

src/EntityFrameworkCore.AuditInterceptor.Web/Pages/Error.cshtml renamed to Samples/EntityFrameworkCore.AuditInterceptor.Web/Pages/Error.cshtml

File renamed without changes.

src/EntityFrameworkCore.AuditInterceptor.Web/Pages/Error.cshtml.cs renamed to Samples/EntityFrameworkCore.AuditInterceptor.Web/Pages/Error.cshtml.cs

File renamed without changes.

src/EntityFrameworkCore.AuditInterceptor.Web/Pages/Index.cshtml renamed to Samples/EntityFrameworkCore.AuditInterceptor.Web/Pages/Index.cshtml

File renamed without changes.

0 commit comments

Comments
 (0)