xenadmin/XenAdminTests/XenAdminTests.csproj
Konstantina Chremmou 9c11b740bb
Tidy up config files (#2850)
* The solution libraries do not need a config file like the applications.
In fact the config file of XenAdminTests was mostly an unneeded copy of the
XenAdmin app.config; the NUnit setting has moved to the AssemblyInfo in NUnit3.
* Removed unused XenOvfApi settings.
* The constants in the Settings were largely not configurable, hence I moved them into the code.
The ones marked with TODO will be revisited within CP-32779.
* Removed config file from library XenOvfApi. Restored broken cryptography algorithm lookup.
(The list of algorithms had been removed from the Settings within the fix to CA-350574).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2021-08-16 11:02:29 +01:00

196 lines
10 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="16.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{21B9482C-D255-40D5-ABA7-C8F00F99547C}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>XenAdminTests</RootNamespace>
<AssemblyName>XenAdminTests</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</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>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="CookComputing.XmlRpcV2, Version=2.5.0.1, Culture=neutral, PublicKeyToken=d247b8b0ac7959e9, processorArchitecture=MSIL">
<HintPath>..\packages\CookComputing.XmlRpcV2.dll</HintPath>
</Reference>
<Reference Include="log4net, Version=2.0.12.0, Culture=neutral, PublicKeyToken=d247b8b0ac7959e9, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.dll</HintPath>
</Reference>
<Reference Include="Moq, Version=4.5.3.0, Culture=neutral, PublicKeyToken=69f491c39445e920, processorArchitecture=MSIL">
<HintPath>..\packages\Moq.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json.CH, Version=10.0.2.1, Culture=neutral, PublicKeyToken=d247b8b0ac7959e9, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.CH.dll</HintPath>
</Reference>
<Reference Include="nunit.framework, Version=3.12.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
<HintPath>..\packages\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Drawing" />
<Reference Include="System.Security" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="ArchiveTests\ArchiveFactoryTests.cs" />
<Compile Include="ArchiveTests\ArchiveIteratorTests.cs" />
<Compile Include="ArchiveTests\ArchiveWriterTests.cs" />
<Compile Include="ArchiveTests\ThirdPartyArchiveWriterTests.cs" />
<Compile Include="ClassVerifiers.cs" />
<Compile Include="CodeTests\AssemblyTests.cs" />
<Compile Include="CodeTests\XenModelReferencesTest.cs" />
<Compile Include="CompressionTests\CompressionFactoryTests.cs" />
<Compile Include="CompressionTests\CompressionStreamTests.cs" />
<Compile Include="CompressionTests\ThirdPartyCompressionStreamTests.cs" />
<Compile Include="Controls\DecentGroupBoxTests.cs" />
<Compile Include="Controls\Folders\FolderListItemTests.cs" />
<Compile Include="Controls\LongStringComboBoxTest.cs" />
<Compile Include="HealthCheckTests\CredentialTests.cs" />
<Compile Include="LicensingTests\LicenceTimerTests.cs" />
<Compile Include="LicensingTests\ProductColumnComparerTests.cs" />
<Compile Include="MainWindowWrapper\MockMainWindow.cs" />
<Compile Include="MockConnectionManager.cs" />
<Compile Include="PluginTests\MenuItemFeatureTests.cs" />
<Compile Include="PluginTests\ParentMenuItemFeatureTests.cs" />
<Compile Include="PluginTests\ShellCmdTests.cs" />
<Compile Include="PluginTests\TabPageFeatureTests.cs" />
<Compile Include="PluginTests\TestPluginLoader.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SearchTests\VirtualisationStatePropertyQueryTests.cs" />
<Compile Include="SearchTests\DatePropertyQueryTests.cs" />
<Compile Include="SearchTests\XenSearchQueryTest.cs" />
<Compile Include="StringExtensionsTests\EllipsiseStringTests.cs" />
<Compile Include="StringExtensionsTests\EscapeAmpersandsTests.cs" />
<Compile Include="StringExtensionsTests\TruncateStringTest.cs" />
<Compile Include="TestCategories.cs" />
<Compile Include="TestUtils.cs" />
<Compile Include="TreeTests\FlickerFreeTreeViewTests.cs" />
<Compile Include="TreeTests\MultiSelectTreeViewTests.cs" />
<Compile Include="TreeTests\VirtualTreeViewTests.cs" />
<Compile Include="UnitTests\AlertTests\AlertClassUnitTestData.cs" />
<Compile Include="UnitTests\AlertTests\DuplicateIqnAlertTests.cs" />
<Compile Include="UnitTests\AlertTests\GuiOldAlertTest.cs" />
<Compile Include="UnitTests\AlertTests\MissingIqnAlertTests.cs" />
<Compile Include="UnitTests\AlertTests\MultipathAlertTest.cs" />
<Compile Include="UnitTests\AlertTests\XenCenterUpdateAlertTests.cs" />
<Compile Include="UnitTests\AlertTests\XenServerPatchAlertTests.cs" />
<Compile Include="UnitTests\AlertTests\XenServerUpdateAlertTests.cs" />
<Compile Include="UnitTests\ApplianceExistsCheckTests.cs" />
<Compile Include="UnitTests\BasicXMLResolverTests.cs" />
<Compile Include="UnitTests\CPUFeaturesTest.cs" />
<Compile Include="UnitTests\CPUMaskingTest.cs" />
<Compile Include="UnitTests\EmailAddressValidatorTests.cs" />
<Compile Include="UnitTests\ExceptionSerializationTest.cs" />
<Compile Include="UnitTests\HealthCheckAnalysisProgressTest.cs" />
<Compile Include="UnitTests\NamesAndMessagesTests.cs" />
<Compile Include="UnitTests\NaturalCompareTest.cs" />
<Compile Include="UnitTests\StreamUtilitiesTests.cs" />
<Compile Include="UnitTests\SubnetworkMaskValidatorTest.cs" />
<Compile Include="UnitTests\TimeUtilTests.cs" />
<Compile Include="UnitTests\TokenizerTest.cs" />
<Compile Include="UnitTests\UpdateManagerTests.cs" />
<Compile Include="UnitTests\RegexTests.cs" />
<Compile Include="UnitTests\EncryptionUtilTests.cs" />
<Compile Include="UnitTests\UtilTests.cs" />
<Compile Include="UnitTests\WlbTests\WlbPoolConfigurationTests.cs" />
<Compile Include="UnitTests\WlbTests\WlbReportSubscriptionTests.cs" />
<Compile Include="UnitTests\WlbTests\WlbScheduledTasksTests.cs" />
<Compile Include="UnitTests\WlbTests\WlbScheduledTaskTests.cs" />
<Compile Include="XenModelTests\AreEqual2Tests.cs" />
<Compile Include="XenModelTests\CacheTests.cs" />
<Compile Include="XenModelTests\HostExtensionTests.cs" />
<Compile Include="XenModelTests\JsonConverterTests.cs" />
<Compile Include="XenModelTests\XenObjectEqualsTests.cs" />
<Compile Include="XenOvf\FileDigestTests.cs" />
</ItemGroup>
<ItemGroup>
<None Include="TestResources\emptyfile.bz2">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="TestResources\PluginResources\PowerShellTest.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="TestResources\PluginResources\ShellTest.bat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="TestResources\PluginResources\XenServerPowerShellTest.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="TestResources\PluginResources\MenuItemFeatureTestPlugin.xcplugin.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="TestResources\PluginResources\ParentMenuItemFeatureTestPlugin.xcplugin.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="TestResources\PluginResources\PowerShellPlugin.xcplugin.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="TestResources\PluginResources\TabPageFeatureTestPlugin.xcplugin.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="TestResources\PluginResources\XenServerPowerShellPlugin.xcplugin.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\XenAdmin\XenAdmin.csproj">
<Project>{70BDA4BC-F062-4302-8ACD-A15D8BF31D65}</Project>
<Name>XenAdmin</Name>
</ProjectReference>
<ProjectReference Include="..\XenCenterLib\XenCenterLib.csproj">
<Project>{9861DFA1-B41F-432D-A43F-226257DEBBB9}</Project>
<Name>XenCenterLib</Name>
</ProjectReference>
<ProjectReference Include="..\XenModel\XenModel.csproj">
<Project>{B306FC59-4441-4A5F-9F54-D3F68D4EE38D}</Project>
<Name>XenModel</Name>
</ProjectReference>
<ProjectReference Include="..\XenOvfApi\XenOvfApi.csproj">
<Project>{2D78AC6C-B867-484A-A447-3C6FC8B8EAF7}</Project>
<Name>XenOvfApi</Name>
</ProjectReference>
<ProjectReference Include="..\XenServerHealthCheck\XenServerHealthCheck.csproj">
<Project>{deb3208d-1153-407c-8c99-0d8899be25a5}</Project>
<Name>XenServerHealthCheck</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="WizardTests\Patching\" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>