first commit

This commit is contained in:
徐蒙恩 2024-02-18 18:32:25 +08:00
parent d9e2b69d47
commit afe2b318cb
9 changed files with 52 additions and 13 deletions

View File

@ -1,7 +0,0 @@
namespace SJZY.OpenApi.Test.ProblemTypeServiceTest
{
public class ProblemTypeServiceTest : TestModuleTestBase
{
}
}

View File

@ -1,5 +1,6 @@
using SJZY.OpenApi.Application.Dtos.Demo;
using SJZY.OpenApi.Application.Services.Demo;

using SJZY.Track.Application.Dtos.Demo;
using SJZY.Track.Application.Services.Demo;
namespace SJZY.OpenApi.Test.Demo
{

View File

@ -39,7 +39,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\SJZY.OpenApi.Api\SJZY.OpenApi.Api.csproj" />
<ProjectReference Include="..\..\src\SJZY.Track.Api\SJZY.Track.Api.csproj" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,45 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<None Remove="appsettings.json" />
</ItemGroup>
<ItemGroup>
<Content Include="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.AspNetCore.TestBase" Version="7.0.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.2.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\SJZY.Track.Api\SJZY.Track.Api.csproj" />
</ItemGroup>
</Project>

View File

@ -1,8 +1,8 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using SJZY.OpenApi.Api;
using SJZY.OpenApi.Application;
using SJZY.OpenApi.Repository;
using SJZY.Track.Api;
using SJZY.Track.Application;
using SJZY.Track.Repository;
using Volo.Abp;
using Volo.Abp.AspNetCore.TestBase;
using Volo.Abp.Authorization;