103 lines
4.4 KiB
XML
103 lines
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||
|
||
<PropertyGroup>
|
||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||
<ProjectGuid>{2B5F1A8D-3CEB-4154-8761-F568AD9393FF}</ProjectGuid>
|
||
<OutputType>Library</OutputType>
|
||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||
<RootNamespace>NavisworksTransport.UnitTests</RootNamespace>
|
||
<AssemblyName>NavisworksTransport.UnitTests</AssemblyName>
|
||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||
<FileAlignment>512</FileAlignment>
|
||
<Deterministic>true</Deterministic>
|
||
<IsTestProject>true</IsTestProject>
|
||
</PropertyGroup>
|
||
|
||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||
<DebugSymbols>true</DebugSymbols>
|
||
<DebugType>full</DebugType>
|
||
<Optimize>false</Optimize>
|
||
<OutputPath>bin\Debug\</OutputPath>
|
||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||
<ErrorReport>prompt</ErrorReport>
|
||
<WarningLevel>4</WarningLevel>
|
||
<PlatformTarget>x64</PlatformTarget>
|
||
</PropertyGroup>
|
||
|
||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||
<DebugType>pdbonly</DebugType>
|
||
<Optimize>true</Optimize>
|
||
<OutputPath>bin\Release\</OutputPath>
|
||
<DefineConstants>TRACE</DefineConstants>
|
||
<ErrorReport>prompt</ErrorReport>
|
||
<WarningLevel>4</WarningLevel>
|
||
</PropertyGroup>
|
||
|
||
<ItemGroup>
|
||
<!-- System References -->
|
||
<Reference Include="System" />
|
||
<Reference Include="System.Core" />
|
||
<Reference Include="System.Drawing" />
|
||
<Reference Include="System.Windows.Forms" />
|
||
<Reference Include="System.Xml.Linq" />
|
||
<Reference Include="System.Data.DataSetExtensions" />
|
||
<Reference Include="Microsoft.CSharp" />
|
||
<Reference Include="System.Data" />
|
||
<Reference Include="System.Net.Http" />
|
||
<Reference Include="System.Xml" />
|
||
|
||
<!-- WPF References -->
|
||
<Reference Include="PresentationCore" />
|
||
<Reference Include="PresentationFramework" />
|
||
<Reference Include="WindowsBase" />
|
||
<Reference Include="System.Xaml" />
|
||
<Reference Include="WindowsFormsIntegration" />
|
||
|
||
<!-- MSTest Framework for Unit Testing -->
|
||
<Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework">
|
||
<HintPath>packages\MSTest.TestFramework.3.0.4\lib\net462\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath>
|
||
<Private>True</Private>
|
||
</Reference>
|
||
<Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions">
|
||
<HintPath>packages\MSTest.TestFramework.3.0.4\lib\net462\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath>
|
||
<Private>True</Private>
|
||
</Reference>
|
||
</ItemGroup>
|
||
|
||
<!-- 引用主项目的编译输出 -->
|
||
<ItemGroup>
|
||
<Reference Include="NavisworksTransportPlugin">
|
||
<HintPath>bin\Debug\NavisworksTransportPlugin.dll</HintPath>
|
||
<Private>True</Private>
|
||
</Reference>
|
||
</ItemGroup>
|
||
|
||
<ItemGroup>
|
||
<!-- 原有核心测试类 - 纯逻辑测试,可脱离Navisworks和UI环境运行 -->
|
||
<Compile Include="UnitTests\Core\UIStateManagerBasicTests.cs" />
|
||
<Compile Include="UnitTests\Collections\ThreadSafeObservableCollectionBasicTests.cs" />
|
||
|
||
<!-- 新增命令框架测试 - 纯逻辑测试 -->
|
||
<Compile Include="tests\Commands\CommandBaseTests.cs" />
|
||
<Compile Include="tests\Commands\PathPlanningResultTests.cs" />
|
||
<Compile Include="tests\Commands\IPathPlanningCommandTests.cs" />
|
||
|
||
<!-- 新增核心数据模型测试 - 纯逻辑测试 -->
|
||
<Compile Include="tests\Core\MapPoint2DTests.cs" />
|
||
<Compile Include="tests\Core\EnumValidationTests.cs" />
|
||
|
||
<!-- 测试辅助类 -->
|
||
<Compile Include="UnitTests\TestHelpers\TestViewModel.cs" />
|
||
|
||
<!-- Assembly Info -->
|
||
<Compile Include="UnitTests\Properties\AssemblyInfo.cs" />
|
||
</ItemGroup>
|
||
|
||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||
|
||
<!-- Import MSTest targets -->
|
||
<Import Project="packages\MSTest.TestAdapter.3.0.4\build\net462\MSTest.TestAdapter.targets" Condition="Exists('packages\MSTest.TestAdapter.3.0.4\build\net462\MSTest.TestAdapter.targets')" />
|
||
</Project> |