Permalink
Browse files

Moved tests depending on FAKE.Deploy to its own test project

  • Loading branch information...
1 parent 6062f42 commit 08a81383efa201c2f8e39711078bd7c1a7c3717f @MorganPersson MorganPersson committed Nov 1, 2013
View
@@ -62,6 +62,8 @@ Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Test.Fake.Deploy.Web.File",
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Fake.Deploy.Lib", "src\app\Fake.Deploy.Lib\Fake.Deploy.Lib.fsproj", "{83B7D6E7-6AE1-4786-9C26-4E2E73216EC9}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test.Fake.Deploy", "src\test\Test.Fake.Deploy\Test.Fake.Deploy.csproj", "{0203A0DD-836B-4F9E-A766-73396DDE8F34}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -222,6 +224,16 @@ Global
{83B7D6E7-6AE1-4786-9C26-4E2E73216EC9}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{83B7D6E7-6AE1-4786-9C26-4E2E73216EC9}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{83B7D6E7-6AE1-4786-9C26-4E2E73216EC9}.Release|x86.ActiveCfg = Release|Any CPU
+ {0203A0DD-836B-4F9E-A766-73396DDE8F34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0203A0DD-836B-4F9E-A766-73396DDE8F34}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0203A0DD-836B-4F9E-A766-73396DDE8F34}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {0203A0DD-836B-4F9E-A766-73396DDE8F34}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {0203A0DD-836B-4F9E-A766-73396DDE8F34}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {0203A0DD-836B-4F9E-A766-73396DDE8F34}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0203A0DD-836B-4F9E-A766-73396DDE8F34}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0203A0DD-836B-4F9E-A766-73396DDE8F34}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {0203A0DD-836B-4F9E-A766-73396DDE8F34}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {0203A0DD-836B-4F9E-A766-73396DDE8F34}.Release|x86.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -239,6 +251,7 @@ Global
{98944472-E50A-4771-969D-4C0349D085A4} = {B774DC6A-F933-4EC3-A61F-E07344EF8ED2}
{AD03BF13-802D-4E5F-A939-24484299E014} = {B774DC6A-F933-4EC3-A61F-E07344EF8ED2}
{0FB601C0-4E5B-4FD7-820D-A0B33F1AEB8A} = {B774DC6A-F933-4EC3-A61F-E07344EF8ED2}
+ {0203A0DD-836B-4F9E-A766-73396DDE8F34} = {B774DC6A-F933-4EC3-A61F-E07344EF8ED2}
{909C4837-F32A-4CAE-952E-7DCB8AAF3C28} = {B0DDEAC8-E18F-4DCA-A089-461267507EF8}
{B58D394B-DEAC-4C34-8C2B-CC422D408AE5} = {B0DDEAC8-E18F-4DCA-A089-461267507EF8}
{65BD7FD0-6C61-4C72-B242-65ED2D390B5A} = {B0DDEAC8-E18F-4DCA-A089-461267507EF8}
@@ -9,6 +9,7 @@
<repository path="..\src\deploy.web\Fake.Deploy.Web.DataProviders\Fake.Deploy.Web.RavenDb\packages.config" />
<repository path="..\src\deploy.web\Fake.Deploy.Web\packages.config" />
<repository path="..\src\test\Test.Fake.Deploy.Web.File\packages.config" />
+ <repository path="..\src\test\Test.Fake.Deploy\packages.config" />
<repository path="..\src\test\Test.FAKECore\packages.config" />
<repository path="..\src\test\Test.Git\packages.config" />
</repositories>
@@ -53,9 +53,6 @@
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
- <PropertyGroup>
- <ApplicationManifest>MessageFiles\Message2.txt</ApplicationManifest>
- </PropertyGroup>
<ItemGroup>
<Reference Include="FSharp.Core">
<SpecificVersion>False</SpecificVersion>
@@ -92,10 +89,7 @@
<Compile Include="NAVFiles\NAVDateSpecs.cs" />
<Compile Include="NAVFiles\NAVModifySpecs.cs" />
<Compile Include="NAVFiles\NAVVersionTagsSpecs.cs" />
- <Compile Include="PackageMgt\VersioningSpecs.cs" />
- <Compile Include="PackageMgt\RollbackSpecs.cs" />
<Compile Include="PackageMgt\RoutingSpecs.cs" />
- <Compile Include="PackageMgt\ReleaseDiscoveringSpecs.cs" />
<Compile Include="PackageMgt\FeedSpecs.cs" />
<Compile Include="PackageMgt\NugetData.cs" />
<Compile Include="PackageMgt\NuSpecFileSpecs.cs" />
@@ -246,7 +240,9 @@
<Content Include="NAVFiles\Codeunit_1_Modified.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
- <None Include="packages.config" />
+ <None Include="packages.config">
+ <SubType>Designer</SubType>
+ </None>
<None Include="TestData\deployments\jQuery\active\jQuery.1.7.1.nupkg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
@@ -274,18 +270,14 @@
</None>
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\..\app\Fake.Deploy\Fake.Deploy.fsproj">
- <Project>{ed164049-bcfd-4837-96f4-9a5fa417931d}</Project>
- <Name>Fake.Deploy</Name>
- </ProjectReference>
<ProjectReference Include="..\..\app\FakeLib\FakeLib.fsproj">
<Project>{13D56521-772A-41DB-9772-1DA1A4AA8E3A}</Project>
<Name>FakeLib</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ <!-- 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>
@@ -3,7 +3,7 @@
using Fake;
using Machine.Specifications;
-namespace Test.FAKECore.PackageMgt
+namespace Test.Fake.Deploy.PackageMgt
{
public class when_getting_all_active_releases_from_test_folder
{
@@ -1,7 +1,7 @@
using Fake;
using Machine.Specifications;
-namespace Test.FAKECore.PackageMgt
+namespace Test.Fake.Deploy.PackageMgt
{
public class when_trying_to_get_the_previous_package
{
@@ -0,0 +1,7 @@
+namespace Test.Fake.Deploy.PackageMgt
+{
+ public static class TestData
+ {
+ public const string TestDataDir = "TestData";
+ }
+}
@@ -1,7 +1,7 @@
using Fake;
using Machine.Specifications;
-namespace Test.FAKECore.PackageMgt
+namespace Test.Fake.Deploy.PackageMgt
{
public class when_checking_the_given_version
{
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Test.Fake.Deploy")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Test.Fake.Deploy")]
+[assembly: AssemblyCopyright("Copyright © 2013")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("cf733aa7-a937-499a-9f51-52784fd7c649")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
@@ -0,0 +1,83 @@
+<?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>
+ <ProjectGuid>{0203A0DD-836B-4F9E-A766-73396DDE8F34}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Test.Fake.Deploy</RootNamespace>
+ <AssemblyName>Test.Fake.Deploy</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ <TargetFrameworkProfile />
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>..\..\..\test\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>..\..\..\test\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="FSharp.Core">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\..\..\tools\FSharp\FSharp.Core.dll</HintPath>
+ </Reference>
+ <Reference Include="Machine.Specifications, Version=0.5.10.0, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\..\..\packages\Machine.Specifications.0.5.10\lib\net40\Machine.Specifications.dll</HintPath>
+ </Reference>
+ <Reference Include="Machine.Specifications.Clr4">
+ <HintPath>..\..\..\packages\Machine.Specifications.0.5.10\lib\net40\Machine.Specifications.Clr4.dll</HintPath>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Xml.Linq" />
+ <Reference Include="Microsoft.CSharp" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="PackageMgt\ReleaseDiscoveringSpecs.cs" />
+ <Compile Include="PackageMgt\RollbackSpecs.cs" />
+ <Compile Include="PackageMgt\TestData.cs" />
+ <Compile Include="PackageMgt\VersioningSpecs.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\app\Fake.Deploy.Lib\Fake.Deploy.Lib.fsproj">
+ <Project>{83b7d6e7-6ae1-4786-9c26-4e2e73216ec9}</Project>
+ <Name>Fake.Deploy.Lib</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\..\app\Fake.Deploy\Fake.Deploy.fsproj">
+ <Project>{ed164049-bcfd-4837-96f4-9a5fa417931d}</Project>
+ <Name>Fake.Deploy</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\..\app\FakeLib\FakeLib.fsproj">
+ <Project>{13d56521-772a-41db-9772-1da1a4aa8e3a}</Project>
+ <Name>FakeLib</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\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>
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="Machine.Specifications" version="0.5.10" targetFramework="net40" />
+</packages>

0 comments on commit 08a8138

Please sign in to comment.