mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-12 11:15:43 +02:00
5098ea3249
Tests added to support new Statuses. PostDownloadScanJob will update PostDownloadStatus for failed or unpacking. ImportFile will set the PostDownloadStatus to Processed when added to the database.
233 lines
11 KiB
XML
233 lines
11 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProductVersion>8.0.30703</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<ProjectGuid>{193ADD3B-792B-4173-8E4C-5A3F8F0237F0}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>NzbDrone.Core.Test</RootNamespace>
|
|
<AssemblyName>NzbDrone.Core.Test</AssemblyName>
|
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
</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>x86</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>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="Accessibility">
|
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
|
</Reference>
|
|
<Reference Include="FizzWare.NBuilder">
|
|
<HintPath>..\packages\NBuilder.2.3.0.0\lib\FizzWare.NBuilder.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="FluentAssertions">
|
|
<HintPath>..\Libraries\FluentAssertions.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Microsoft.Practices.ServiceLocation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\CommonServiceLocator.1.0\lib\NET35\Microsoft.Practices.ServiceLocation.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Microsoft.Practices.Unity, Version=2.1.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>..\packages\Unity.2.1.505.0\lib\NET35\Microsoft.Practices.Unity.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Microsoft.Practices.Unity.Configuration, Version=2.1.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>..\packages\Unity.2.1.505.0\lib\NET35\Microsoft.Practices.Unity.Configuration.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Moq, Version=4.0.10827.0, Culture=neutral, PublicKeyToken=69f491c39445e920, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\Moq.4.0.10827\lib\NET40\Moq.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Ninject, Version=2.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\Ninject.2.2.1.4\lib\net40-Full\Ninject.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="NLog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>..\Libraries\NLog.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="nunit.framework">
|
|
<HintPath>..\packages\NUnit.2.5.10.11092\lib\nunit.framework.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="nunit.mocks">
|
|
<HintPath>..\packages\NUnit.2.5.10.11092\lib\nunit.mocks.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="pnunit.framework">
|
|
<HintPath>..\packages\NUnit.2.5.10.11092\lib\pnunit.framework.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Configuration" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
|
|
<Private>True</Private>
|
|
<HintPath>..\packages\SqlServerCompact.4.0.8482.1\lib\System.Data.SqlServerCe.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.ServiceModel" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="TvdbLib, Version=0.8.8.0, Culture=neutral, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>..\Libraries\TvdbLib.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="BacklogSearchJobTest.cs" />
|
|
<Compile Include="BannerDownloadJobTest.cs" />
|
|
<Compile Include="ConfigFileProviderTest.cs" />
|
|
<Compile Include="SortHelperTest.cs" />
|
|
<Compile Include="EpisodeProviderTest_DeleteInvalidEpisodes.cs" />
|
|
<Compile Include="InventoryProvider_IsAcceptableSizeTest.cs" />
|
|
<Compile Include="QualityTypeProviderTest.cs" />
|
|
<Compile Include="MisnamedProviderTest.cs" />
|
|
<Compile Include="SeasonSearchJobTest.cs" />
|
|
<Compile Include="SearchProviderTest_PartialSeason.cs" />
|
|
<Compile Include="SearchJobTest.cs" />
|
|
<Compile Include="SeriesSearchJobTest.cs" />
|
|
<Compile Include="SearchProviderTest_Season.cs" />
|
|
<Compile Include="EventClientProviderTest.cs" />
|
|
<Compile Include="CentralDispatchTest.cs" />
|
|
<Compile Include="XbmcProviderTest.cs" />
|
|
<Compile Include="DiskScanProviderTest.cs" />
|
|
<Compile Include="EpisodeProviderTest_GetEpisodesByParseResult.cs" />
|
|
<Compile Include="DiskScanProviderTest_ImportFile.cs" />
|
|
<Compile Include="FluentTest.cs" />
|
|
<Compile Include="LogProviderTest.cs" />
|
|
<Compile Include="UpcomingEpisodesProviderTest.cs" />
|
|
<Compile Include="MediaFileProvider_GetNewFilenameTest.cs" />
|
|
<Compile Include="dbBenchmark.cs" />
|
|
<Compile Include="Framework\TestBase.cs" />
|
|
<Compile Include="InventoryProvider_IsMonitoredTest.cs" />
|
|
<Compile Include="DownloadProviderTest.cs" />
|
|
<Compile Include="SearchProviderTest_Episode.cs" />
|
|
<Compile Include="EpisodeStatusTest.cs" />
|
|
<Compile Include="ImportNewSeriesJobTest.cs" />
|
|
<Compile Include="DiskScanJobTest.cs" />
|
|
<Compile Include="IndexerTests.cs" />
|
|
<Compile Include="InventoryProvider_QualityNeededTest.cs" />
|
|
<Compile Include="Framework\AutoMoq\AutoMoqer.cs" />
|
|
<Compile Include="Framework\AutoMoq\Unity\AutoMockingBuilderStrategy.cs">
|
|
<SubType>Code</SubType>
|
|
</Compile>
|
|
<Compile Include="Framework\AutoMoq\Unity\AutoMockingContainerExtension.cs">
|
|
<SubType>Code</SubType>
|
|
</Compile>
|
|
<Compile Include="Framework\ExceptionVerification.cs" />
|
|
<Compile Include="JobProviderTest.cs" />
|
|
<Compile Include="QualityTest.cs" />
|
|
<Compile Include="RootDirProviderTest.cs" />
|
|
<Compile Include="IndexerProviderTest.cs" />
|
|
<Compile Include="HistoryProviderTest.cs" />
|
|
<Compile Include="MediaFileProviderTests.cs" />
|
|
<Compile Include="ConfigProviderTest.cs" />
|
|
<Compile Include="EpisodeProviderTest.cs" />
|
|
<Compile Include="Framework\Fixtures.cs" />
|
|
<Compile Include="Framework\MockLib.cs" />
|
|
<Compile Include="ParserTest.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="QualityProfileTest.cs" />
|
|
<Compile Include="SabProviderTest.cs" />
|
|
<Compile Include="SceneMappingTest.cs" />
|
|
<Compile Include="SeriesProviderTest.cs" />
|
|
<Compile Include="TvDbProviderTest.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\NzbDrone.Core\NzbDrone.Core.csproj">
|
|
<Project>{FF5EE3B6-913B-47CE-9CEB-11C51B4E1205}</Project>
|
|
<Name>NzbDrone.Core</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="App_Data\Config.xml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Files\History.xml" />
|
|
<Content Include="Files\RSS\newbin_none_english.xml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Files\Categories_json.txt">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Files\RSS\SizeParsing\newzbin.xml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Files\RSS\SizeParsing\nzbmatrix.xml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Files\RSS\SizeParsing\nzbsorg.xml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Files\RSS\SizeParsing\nzbsrus.xml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Framework\AutoMoq\License.txt" />
|
|
<Content Include="Files\Feed.nzbmatrix.com.xml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Files\RSS\newzbin.xml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Files\RSS\nzbmatrix.xml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Files\RSS\nzbsrus.xml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Files\RSS\nzbsorg.xml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Files\Queue.xml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
<SubType>Designer</SubType>
|
|
</Content>
|
|
<Content Include="Files\QueueEmpty.xml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Files\QueueError.xml">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="App.config">
|
|
<SubType>Designer</SubType>
|
|
</None>
|
|
<Content Include="log.config">
|
|
<SubType>Designer</SubType>
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<None Include="packages.config" />
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<PropertyGroup>
|
|
<PreBuildEvent>
|
|
</PreBuildEvent>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<PostBuildEvent>
|
|
xcopy /s /y "$(SolutionDir)packages\SqlServerCompact.4.0.8482.1\NativeBinaries\x86\*.*" "$(TargetDir)"
|
|
</PostBuildEvent>
|
|
</PropertyGroup>
|
|
<!-- 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> |