* Add UmbracoEFCore project * Add EFCore composer * Add Locking Mechanisms * Add scope interfaces * Add excecute scalar extension method * fix up query in locking mechanism * Add scoping * Add scoping * Add test DbContext classes * add locking test of EFCore * Creat ScopedFileSystemsTests * Add EFCoreScopeInfrastructureScopeLockTests * Add EFCoreScopeInfrastructureScopeTests * Add EFCoreScopeNotificationsTest.cs * Add EFCoreScopeTest.cs * Remake AddUmbracoEFCoreContext to use connection string * Remove unused code from extension method * Reference EFCore reference to Cms.csproj * Remove unused parameter * Dont have default implementation, breaking change instead * Add compatability suppression file * Updated EFCore packages * Use timespan for timeout * Allow overriding default EF Core actions * Option lifetime needs to be singleton * Use given timeout in database call * dont use timespan.zero, use null instead * Use variable timeout * Update test to use locking mechanism * Remove unneccesary duplicate code * Change to catch proper exception number --------- Co-authored-by: Zeegaan <nge@umbraco.dk> Co-authored-by: Bjarke Berg <mail@bergmania.dk>
55 lines
2.6 KiB
XML
55 lines
2.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<PackageId>Umbraco.Cms.Tests.Integration</PackageId>
|
|
<Title>Umbraco CMS - Integration tests</Title>
|
|
<Description>Contains helper classes for integration tests with Umbraco CMS, including all internal integration tests.</Description>
|
|
<IsPackable>true</IsPackable>
|
|
<IsTestProject>true</IsTestProject>
|
|
<RootNamespace>Umbraco.Cms.Tests.Integration</RootNamespace>
|
|
<EnablePackageValidation>true</EnablePackageValidation>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Bogus" Version="34.0.2" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.5" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
|
|
<PackageReference Include="Moq" Version="4.18.4" />
|
|
<PackageReference Include="NUnit3TestAdapter" Version="4.4.2" PrivateAssets="all" />
|
|
</ItemGroup>
|
|
|
|
<Import Project="..\..\src\Umbraco.Cms.Targets\buildTransitive\Umbraco.Cms.Targets.props" />
|
|
<Import Project="..\..\src\Umbraco.Cms.Targets\buildTransitive\Umbraco.Cms.Targets.targets" />
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\Umbraco.Cms.Persistence.EFCore\Umbraco.Cms.Persistence.EFCore.csproj" />
|
|
<ProjectReference Include="..\..\src\Umbraco.Cms\Umbraco.Cms.csproj" />
|
|
<ProjectReference Include="..\Umbraco.Tests.Common\Umbraco.Tests.Common.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Update="Umbraco.Examine.Lucene\UmbracoExamine\TestFiles.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<SubType>Designer</SubType>
|
|
<LastGenOutput>TestFiles.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
<Compile Update="Umbraco.Examine.Lucene\UmbracoExamine\TestFiles.Designer.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>TestFiles.resx</DependentUpon>
|
|
</Compile>
|
|
<Content Include="Umbraco.Infrastructure\Services\Importing\*.xml" />
|
|
<EmbeddedResource Update="Umbraco.Infrastructure\Services\Importing\ImportResources.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<SubType>Designer</SubType>
|
|
<LastGenOutput>ImportResources.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
<Compile Update="Umbraco.Infrastructure\Services\Importing\ImportResources.Designer.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>ImportResources.resx</DependentUpon>
|
|
</Compile>
|
|
<EmbeddedResource Include="Umbraco.Web.BackOffice\UrlAndDomains\package.xml" />
|
|
<Content Include="appsettings.Tests.json" CopyToOutputDirectory="PreserveNewest" />
|
|
</ItemGroup>
|
|
</Project>
|