albacore 0.2.0.preview1 → 0.2.0.preview2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) hide show
  1. data/README.markdown +7 -2
  2. data/VERSION +1 -1
  3. data/install_dependencies.rb +1 -1
  4. data/lib/albacore.rb +6 -17
  5. data/lib/albacore/albacoretask.rb +43 -0
  6. data/lib/albacore/assemblyinfo.rb +10 -7
  7. data/lib/albacore/config/assemblyinfoconfig.rb +4 -12
  8. data/lib/albacore/config/config.rb +16 -8
  9. data/lib/albacore/config/cscconfig.rb +2 -7
  10. data/lib/albacore/config/docuconfig.rb +3 -5
  11. data/lib/albacore/config/execconfig.rb +4 -11
  12. data/lib/albacore/config/msbuildconfig.rb +2 -5
  13. data/lib/albacore/config/mspectestrunnerconfig.rb +15 -0
  14. data/lib/albacore/config/nantconfig.rb +4 -11
  15. data/lib/albacore/config/ncoverconsoleconfig.rb +4 -11
  16. data/lib/albacore/config/ncoverreportconfig.rb +4 -11
  17. data/lib/albacore/config/ndependconfig.rb +4 -11
  18. data/lib/albacore/config/netversion.rb +0 -2
  19. data/lib/albacore/config/nunittestrunnerconfig.rb +14 -0
  20. data/lib/albacore/config/specflowreportconfig.rb +2 -5
  21. data/lib/albacore/config/sqlcmdconfig.rb +4 -11
  22. data/lib/albacore/config/unzipconfig.rb +4 -11
  23. data/lib/albacore/config/xbuildconfig.rb +4 -11
  24. data/lib/albacore/config/xunittestrunnerconfig.rb +15 -0
  25. data/lib/albacore/config/zipdirectoryconfig.rb +15 -0
  26. data/lib/albacore/csc.rb +31 -5
  27. data/lib/albacore/docu.rb +2 -3
  28. data/lib/albacore/exec.rb +3 -5
  29. data/lib/albacore/msbuild.rb +3 -3
  30. data/lib/albacore/mspectestrunner.rb +5 -6
  31. data/lib/albacore/nant.rb +4 -6
  32. data/lib/albacore/ncoverconsole.rb +4 -6
  33. data/lib/albacore/ncoverreport.rb +4 -6
  34. data/lib/albacore/ncoverreports/codecoveragebase.rb +2 -2
  35. data/lib/albacore/ncoverreports/cyclomaticcomplexity.rb +2 -2
  36. data/lib/albacore/ncoverreports/fullcoveragereport.rb +0 -8
  37. data/lib/albacore/ncoverreports/reportfilterbase.rb +2 -2
  38. data/lib/albacore/ncoverreports/summaryreport.rb +0 -4
  39. data/lib/albacore/ndepend.rb +4 -6
  40. data/lib/albacore/nunittestrunner.rb +4 -5
  41. data/lib/albacore/specflowreport.rb +2 -2
  42. data/lib/albacore/sqlcmd.rb +33 -11
  43. data/lib/albacore/support/createtask.rb +30 -0
  44. data/lib/albacore/support/runcommand.rb +21 -30
  45. data/lib/albacore/support/updateattributes.rb +13 -0
  46. data/lib/albacore/unzip.rb +3 -5
  47. data/lib/albacore/xbuild.rb +5 -6
  48. data/lib/albacore/xunittestrunner.rb +4 -5
  49. data/lib/albacore/zipdirectory.rb +5 -6
  50. data/rakefile.rb +7 -8
  51. data/spec/albacoremodel_spec.rb +20 -2
  52. data/spec/assemblyinfo_spec.rb +27 -14
  53. data/spec/config_spec.rb +17 -2
  54. data/spec/createtask_spec.rb +51 -28
  55. data/spec/csc_spec.rb +135 -3
  56. data/spec/docu_spec.rb +11 -14
  57. data/spec/exec_spec.rb +1 -1
  58. data/spec/msbuild_spec.rb +9 -9
  59. data/spec/nant_spec.rb +4 -4
  60. data/spec/ncoverconsole_spec.rb +13 -13
  61. data/spec/ncoverreport_spec.rb +17 -17
  62. data/spec/ndepend_spec.rb +6 -6
  63. data/spec/runcommand_spec.rb +22 -3
  64. data/spec/sqlcmd_spec.rb +154 -12
  65. data/spec/support/assemblyinfotester.rb +1 -1
  66. data/spec/support/spec_helper.rb +2 -2
  67. data/spec/yamlconfig_spec.rb +3 -3
  68. data/spec/zip_spec.rb +4 -4
  69. metadata +32 -119
  70. data/lib/albacore/albacoremodel.rb +0 -28
  71. data/lib/albacore/config/mspecconfig.rb +0 -21
  72. data/lib/albacore/config/nunitconfig.rb +0 -20
  73. data/lib/albacore/config/xunitconfig.rb +0 -22
  74. data/lib/albacore/config/zipconfig.rb +0 -22
  75. data/lib/rake/assemblyinfotask.rb +0 -3
  76. data/lib/rake/csctask.rb +0 -3
  77. data/lib/rake/docutask.rb +0 -3
  78. data/lib/rake/exectask.rb +0 -3
  79. data/lib/rake/msbuildtask.rb +0 -3
  80. data/lib/rake/mspectask.rb +0 -3
  81. data/lib/rake/nanttask.rb +0 -3
  82. data/lib/rake/ncoverconsoletask.rb +0 -3
  83. data/lib/rake/ncoverreporttask.rb +0 -3
  84. data/lib/rake/ndependtask.rb +0 -3
  85. data/lib/rake/nunittask.rb +0 -3
  86. data/lib/rake/specflowreporttask.rb +0 -3
  87. data/lib/rake/sqlcmdtask.rb +0 -3
  88. data/lib/rake/support/albacoretask.rb +0 -30
  89. data/lib/rake/support/createtask.rb +0 -21
  90. data/lib/rake/unziptask.rb +0 -3
  91. data/lib/rake/xbuildtask.rb +0 -7
  92. data/lib/rake/xunittask.rb +0 -3
  93. data/lib/rake/ziptask.rb +0 -3
  94. data/spec/assemblyinfotask_spec.rb +0 -32
  95. data/spec/csctask_spec.rb +0 -1
  96. data/spec/docutask_spec.rb +0 -52
  97. data/spec/exectask_spec.rb +0 -46
  98. data/spec/msbuildtask_spec.rb +0 -46
  99. data/spec/mspectask_spec.rb +0 -46
  100. data/spec/nanttask_spec.rb +0 -46
  101. data/spec/ncoverconsoletask_spec.rb +0 -46
  102. data/spec/ncoverreporttask_spec.rb +0 -46
  103. data/spec/ndependtask_spec.rb +0 -46
  104. data/spec/nunittask_spec.rb +0 -46
  105. data/spec/spec.opts +0 -1
  106. data/spec/specflowreporttask_spec.rb +0 -48
  107. data/spec/sqlcmdtask_spec.rb +0 -32
  108. data/spec/support/AssemblyInfo/assemblyinfo.yml +0 -2
  109. data/spec/support/CodeCoverage/mspec/assemblies/Machine.Specifications.NUnit.dll +0 -0
  110. data/spec/support/CodeCoverage/mspec/assemblies/Machine.Specifications.dll +0 -0
  111. data/spec/support/CodeCoverage/mspec/assemblies/TestSolution.MSpecTests.dll +0 -0
  112. data/spec/support/CodeCoverage/mspec/assemblies/TestSolution.dll +0 -0
  113. data/spec/support/CodeCoverage/mspec/assemblies/nunit.framework.dll +0 -0
  114. data/spec/support/CodeCoverage/nunit/assemblies/TestSolution.Tests.dll +0 -0
  115. data/spec/support/CodeCoverage/nunit/assemblies/TestSolution.dll +0 -0
  116. data/spec/support/CodeCoverage/nunit/assemblies/nunit.framework.dll +0 -0
  117. data/spec/support/CodeCoverage/nunit/assemblies/with spaces/TestSolution.Tests.dll +0 -0
  118. data/spec/support/CodeCoverage/nunit/assemblies/with spaces/TestSolution.dll +0 -0
  119. data/spec/support/CodeCoverage/nunit/assemblies/with spaces/nunit.framework.dll +0 -0
  120. data/spec/support/CodeCoverage/nunit/failing_assemblies/TestSolution.FailingTests.dll +0 -0
  121. data/spec/support/CodeCoverage/nunit/failing_assemblies/nunit.framework.dll +0 -0
  122. data/spec/support/CodeCoverage/report/coverage.xml +0 -4578
  123. data/spec/support/CodeCoverage/xunit/assemblies/TestSolution.XUnitTests.dll +0 -0
  124. data/spec/support/CodeCoverage/xunit/assemblies/TestSolution.dll +0 -0
  125. data/spec/support/CodeCoverage/xunit/assemblies/xunit.dll +0 -0
  126. data/spec/support/CodeCoverage/xunit/assemblies/xunit.xml +0 -2306
  127. data/spec/support/SpecFlow/TechTalk.SpecFlow.dll +0 -0
  128. data/spec/support/SpecFlow/TestSolution.SpecFlow.dll +0 -0
  129. data/spec/support/SpecFlow/TestSolution.SpecFlow.pdb +0 -0
  130. data/spec/support/SpecFlow/TestSolution.dll +0 -0
  131. data/spec/support/SpecFlow/TestSolution.pdb +0 -0
  132. data/spec/support/SpecFlow/nunit.framework.dll +0 -0
  133. data/spec/support/TestSolution/NDependProject.xml +0 -315
  134. data/spec/support/TestSolution/TestSolution.5.0.ReSharper.user +0 -27
  135. data/spec/support/TestSolution/TestSolution.FailingTests/FailingTestFixture.cs +0 -19
  136. data/spec/support/TestSolution/TestSolution.FailingTests/Properties/AssemblyInfo.cs +0 -36
  137. data/spec/support/TestSolution/TestSolution.FailingTests/TestSolution.FailingTests.csproj +0 -63
  138. data/spec/support/TestSolution/TestSolution.MSpecTests/Properties/AssemblyInfo.cs +0 -36
  139. data/spec/support/TestSolution/TestSolution.MSpecTests/SomeSpecTest.cs +0 -18
  140. data/spec/support/TestSolution/TestSolution.MSpecTests/TestSolution.MSpecTests.csproj +0 -77
  141. data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature +0 -8
  142. data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature.cs +0 -73
  143. data/spec/support/TestSolution/TestSolution.SpecFlow/Properties/AssemblyInfo.cs +0 -36
  144. data/spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs +0 -30
  145. data/spec/support/TestSolution/TestSolution.SpecFlow/TestSolution.SpecFlow.csproj +0 -84
  146. data/spec/support/TestSolution/TestSolution.Tests/Properties/AssemblyInfo.cs +0 -36
  147. data/spec/support/TestSolution/TestSolution.Tests/SomeTestFixture.cs +0 -23
  148. data/spec/support/TestSolution/TestSolution.Tests/TestSolution.Tests.csproj +0 -69
  149. data/spec/support/TestSolution/TestSolution.XUnitTests/Class1.cs +0 -19
  150. data/spec/support/TestSolution/TestSolution.XUnitTests/FailingTestFixture.cs +0 -14
  151. data/spec/support/TestSolution/TestSolution.XUnitTests/Properties/AssemblyInfo.cs +0 -36
  152. data/spec/support/TestSolution/TestSolution.XUnitTests/TestSolution.XUnitTests.csproj +0 -70
  153. data/spec/support/TestSolution/TestSolution.build +0 -25
  154. data/spec/support/TestSolution/TestSolution.sln +0 -50
  155. data/spec/support/TestSolution/TestSolution/Class1.cs +0 -17
  156. data/spec/support/TestSolution/TestSolution/Properties/AssemblyInfo.cs +0 -36
  157. data/spec/support/TestSolution/TestSolution/TestSolution.csproj +0 -59
  158. data/spec/support/csc/File1.cs +0 -9
  159. data/spec/support/csc/File2.cs +0 -9
  160. data/spec/support/csc/output/ignorethis.txt +0 -1
  161. data/spec/support/test.yml +0 -4
  162. data/spec/support/yamlconfig/msbuild.yml +0 -5
  163. data/spec/support/yamlconfig/yaml_autoconfig_test.yml +0 -1
  164. data/spec/support/zip/files/subfolder/sub file.txt +0 -1
  165. data/spec/support/zip/files/testfile.txt +0 -1
  166. data/spec/xunittask_spec.rb +0 -32
  167. data/spec/ziptask_spec.rb +0 -33
@@ -1,19 +0,0 @@
1
- using System;
2
- using System.Collections.Generic;
3
- using System.Linq;
4
- using System.Text;
5
- using Xunit;
6
-
7
- namespace TestSolution.XUnitTests
8
- {
9
- public class SomeTestFixture
10
- {
11
- [Fact]
12
- public void foo()
13
- {
14
- Class1 c1 = new Class1();
15
- string s = c1.Foo();
16
- Assert.Equal("bar", s);
17
- }
18
- }
19
- }
@@ -1,14 +0,0 @@
1
- using Xunit;
2
-
3
- namespace TestSolution.XUnitTests
4
- {
5
- public class FailingTestFixture
6
- {
7
-
8
- [Fact]
9
- public void FailingTest()
10
- {
11
- Assert.True(false);
12
- }
13
- }
14
- }
@@ -1,36 +0,0 @@
1
- using System.Reflection;
2
- using System.Runtime.CompilerServices;
3
- using System.Runtime.InteropServices;
4
-
5
- // General Information about an assembly is controlled through the following
6
- // set of attributes. Change these attribute values to modify the information
7
- // associated with an assembly.
8
- [assembly: AssemblyTitle("TestSolution.XUnitTests")]
9
- [assembly: AssemblyDescription("")]
10
- [assembly: AssemblyConfiguration("")]
11
- [assembly: AssemblyCompany("")]
12
- [assembly: AssemblyProduct("TestSolution.XUnitTests")]
13
- [assembly: AssemblyCopyright("Copyright © 2009")]
14
- [assembly: AssemblyTrademark("")]
15
- [assembly: AssemblyCulture("")]
16
-
17
- // Setting ComVisible to false makes the types in this assembly not visible
18
- // to COM components. If you need to access a type in this assembly from
19
- // COM, set the ComVisible attribute to true on that type.
20
- [assembly: ComVisible(false)]
21
-
22
- // The following GUID is for the ID of the typelib if this project is exposed to COM
23
- [assembly: Guid("95bcd8d6-2532-4b98-b0e9-161c94027a93")]
24
-
25
- // Version information for an assembly consists of the following four values:
26
- //
27
- // Major Version
28
- // Minor Version
29
- // Build Number
30
- // Revision
31
- //
32
- // You can specify all the values or you can default the Build and Revision Numbers
33
- // by using the '*' as shown below:
34
- // [assembly: AssemblyVersion("1.0.*")]
35
- [assembly: AssemblyVersion("1.0.0.0")]
36
- [assembly: AssemblyFileVersion("1.0.0.0")]
@@ -1,70 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <PropertyGroup>
4
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6
- <ProductVersion>9.0.30729</ProductVersion>
7
- <SchemaVersion>2.0</SchemaVersion>
8
- <ProjectGuid>{D9503B26-F9BF-4B16-B287-B998B9077371}</ProjectGuid>
9
- <OutputType>Library</OutputType>
10
- <AppDesignerFolder>Properties</AppDesignerFolder>
11
- <RootNamespace>TestSolution.XUnitTests</RootNamespace>
12
- <AssemblyName>TestSolution.XUnitTests</AssemblyName>
13
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14
- <FileAlignment>512</FileAlignment>
15
- </PropertyGroup>
16
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17
- <DebugSymbols>true</DebugSymbols>
18
- <DebugType>full</DebugType>
19
- <Optimize>false</Optimize>
20
- <OutputPath>bin\Debug\</OutputPath>
21
- <DefineConstants>DEBUG;TRACE</DefineConstants>
22
- <ErrorReport>prompt</ErrorReport>
23
- <WarningLevel>4</WarningLevel>
24
- </PropertyGroup>
25
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26
- <DebugType>pdbonly</DebugType>
27
- <Optimize>true</Optimize>
28
- <OutputPath>bin\Release\</OutputPath>
29
- <DefineConstants>TRACE</DefineConstants>
30
- <ErrorReport>prompt</ErrorReport>
31
- <WarningLevel>4</WarningLevel>
32
- </PropertyGroup>
33
- <ItemGroup>
34
- <Reference Include="System" />
35
- <Reference Include="System.Core">
36
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
37
- </Reference>
38
- <Reference Include="System.Xml.Linq">
39
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
40
- </Reference>
41
- <Reference Include="System.Data.DataSetExtensions">
42
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
43
- </Reference>
44
- <Reference Include="System.Data" />
45
- <Reference Include="System.Xml" />
46
- <Reference Include="xunit, Version=1.5.0.1479, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
47
- <SpecificVersion>False</SpecificVersion>
48
- <HintPath>..\..\Tools\XUnit-v1.5\xunit.dll</HintPath>
49
- </Reference>
50
- </ItemGroup>
51
- <ItemGroup>
52
- <Compile Include="Class1.cs" />
53
- <Compile Include="FailingTestFixture.cs" />
54
- <Compile Include="Properties\AssemblyInfo.cs" />
55
- </ItemGroup>
56
- <ItemGroup>
57
- <ProjectReference Include="..\TestSolution\TestSolution.csproj">
58
- <Project>{36F8C06F-3BBA-4D11-9333-83573A760284}</Project>
59
- <Name>TestSolution</Name>
60
- </ProjectReference>
61
- </ItemGroup>
62
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
63
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
64
- Other similar extension points exist, see Microsoft.Common.targets.
65
- <Target Name="BeforeBuild">
66
- </Target>
67
- <Target Name="AfterBuild">
68
- </Target>
69
- -->
70
- </Project>
@@ -1,25 +0,0 @@
1
- <?xml version="1.0"?>
2
- <project name="Test Solution" default="build">
3
- <property name="debug" value="true"/>
4
- <property name="version" value="0.0.1"/>
5
- <property name="build.mode" value="debug"/>
6
- <property name="out.file.dir" value="out/${version}/${build.mode}"/>
7
-
8
- <target name="clean">
9
- <delete>
10
- <fileset>
11
- <include name="out/**"/>
12
- </fileset>
13
- </delete>
14
- </target>
15
-
16
- <target name="build">
17
- <mkdir dir="${out.file.dir}" />
18
- <echo message="I am an output file." file="${out.file.dir}/buildfile.txt" append="false"/>
19
- </target>
20
-
21
- <target name="other">
22
- <mkdir dir="${out.file.dir}" if="${not directory::exists('${out.file.dir}')}" />
23
- <echo message="I am the extra file." file="${out.file.dir}/otherfile.txt" append="false"/>
24
- </target>
25
- </project>
@@ -1,50 +0,0 @@
1
- 
2
- Microsoft Visual Studio Solution File, Format Version 10.00
3
- # Visual Studio 2008
4
- Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSolution", "TestSolution\TestSolution.csproj", "{36F8C06F-3BBA-4D11-9333-83573A760284}"
5
- EndProject
6
- Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSolution.Tests", "TestSolution.Tests\TestSolution.Tests.csproj", "{48CA57DD-F6F9-46EF-9030-1E6A8D383F1C}"
7
- EndProject
8
- Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSolution.FailingTests", "TestSolution.FailingTests\TestSolution.FailingTests.csproj", "{8D680D34-363A-4AB4-BC8B-ECA28AFE1D46}"
9
- EndProject
10
- Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSolution.MSpecTests", "TestSolution.MSpecTests\TestSolution.MSpecTests.csproj", "{DC8BF855-3A09-4349-8A66-C20AF0EA00DF}"
11
- EndProject
12
- Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSolution.XUnitTests", "TestSolution.XUnitTests\TestSolution.XUnitTests.csproj", "{D9503B26-F9BF-4B16-B287-B998B9077371}"
13
- EndProject
14
- Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSolution.SpecFlow", "TestSolution.SpecFlow\TestSolution.SpecFlow.csproj", "{57F50D38-0EA8-401F-AD2A-CA50738F4F14}"
15
- EndProject
16
- Global
17
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
18
- Debug|Any CPU = Debug|Any CPU
19
- Release|Any CPU = Release|Any CPU
20
- EndGlobalSection
21
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
22
- {36F8C06F-3BBA-4D11-9333-83573A760284}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23
- {36F8C06F-3BBA-4D11-9333-83573A760284}.Debug|Any CPU.Build.0 = Debug|Any CPU
24
- {36F8C06F-3BBA-4D11-9333-83573A760284}.Release|Any CPU.ActiveCfg = Release|Any CPU
25
- {36F8C06F-3BBA-4D11-9333-83573A760284}.Release|Any CPU.Build.0 = Release|Any CPU
26
- {48CA57DD-F6F9-46EF-9030-1E6A8D383F1C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27
- {48CA57DD-F6F9-46EF-9030-1E6A8D383F1C}.Debug|Any CPU.Build.0 = Debug|Any CPU
28
- {48CA57DD-F6F9-46EF-9030-1E6A8D383F1C}.Release|Any CPU.ActiveCfg = Release|Any CPU
29
- {48CA57DD-F6F9-46EF-9030-1E6A8D383F1C}.Release|Any CPU.Build.0 = Release|Any CPU
30
- {8D680D34-363A-4AB4-BC8B-ECA28AFE1D46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
31
- {8D680D34-363A-4AB4-BC8B-ECA28AFE1D46}.Debug|Any CPU.Build.0 = Debug|Any CPU
32
- {8D680D34-363A-4AB4-BC8B-ECA28AFE1D46}.Release|Any CPU.ActiveCfg = Release|Any CPU
33
- {8D680D34-363A-4AB4-BC8B-ECA28AFE1D46}.Release|Any CPU.Build.0 = Release|Any CPU
34
- {DC8BF855-3A09-4349-8A66-C20AF0EA00DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
35
- {DC8BF855-3A09-4349-8A66-C20AF0EA00DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
36
- {DC8BF855-3A09-4349-8A66-C20AF0EA00DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
37
- {DC8BF855-3A09-4349-8A66-C20AF0EA00DF}.Release|Any CPU.Build.0 = Release|Any CPU
38
- {D9503B26-F9BF-4B16-B287-B998B9077371}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
39
- {D9503B26-F9BF-4B16-B287-B998B9077371}.Debug|Any CPU.Build.0 = Debug|Any CPU
40
- {D9503B26-F9BF-4B16-B287-B998B9077371}.Release|Any CPU.ActiveCfg = Release|Any CPU
41
- {D9503B26-F9BF-4B16-B287-B998B9077371}.Release|Any CPU.Build.0 = Release|Any CPU
42
- {57F50D38-0EA8-401F-AD2A-CA50738F4F14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
43
- {57F50D38-0EA8-401F-AD2A-CA50738F4F14}.Debug|Any CPU.Build.0 = Debug|Any CPU
44
- {57F50D38-0EA8-401F-AD2A-CA50738F4F14}.Release|Any CPU.ActiveCfg = Release|Any CPU
45
- {57F50D38-0EA8-401F-AD2A-CA50738F4F14}.Release|Any CPU.Build.0 = Release|Any CPU
46
- EndGlobalSection
47
- GlobalSection(SolutionProperties) = preSolution
48
- HideSolutionNode = FALSE
49
- EndGlobalSection
50
- EndGlobal
@@ -1,17 +0,0 @@
1
- using System;
2
- using System.Collections.Generic;
3
- using System.Linq;
4
- using System.Text;
5
-
6
- namespace TestSolution
7
- {
8
- public class Class1
9
- {
10
-
11
- public string Foo()
12
- {
13
- return "bar";
14
- }
15
-
16
- }
17
- }
@@ -1,36 +0,0 @@
1
- using System.Reflection;
2
- using System.Runtime.CompilerServices;
3
- using System.Runtime.InteropServices;
4
-
5
- // General Information about an assembly is controlled through the following
6
- // set of attributes. Change these attribute values to modify the information
7
- // associated with an assembly.
8
- [assembly: AssemblyTitle("TestSolution")]
9
- [assembly: AssemblyDescription("")]
10
- [assembly: AssemblyConfiguration("")]
11
- [assembly: AssemblyCompany("")]
12
- [assembly: AssemblyProduct("TestSolution")]
13
- [assembly: AssemblyCopyright("Copyright © 2009")]
14
- [assembly: AssemblyTrademark("")]
15
- [assembly: AssemblyCulture("")]
16
-
17
- // Setting ComVisible to false makes the types in this assembly not visible
18
- // to COM components. If you need to access a type in this assembly from
19
- // COM, set the ComVisible attribute to true on that type.
20
- [assembly: ComVisible(false)]
21
-
22
- // The following GUID is for the ID of the typelib if this project is exposed to COM
23
- [assembly: Guid("dbabb27c-a536-4b5b-91f1-2226b6e3655c")]
24
-
25
- // Version information for an assembly consists of the following four values:
26
- //
27
- // Major Version
28
- // Minor Version
29
- // Build Number
30
- // Revision
31
- //
32
- // You can specify all the values or you can default the Build and Revision Numbers
33
- // by using the '*' as shown below:
34
- // [assembly: AssemblyVersion("1.0.*")]
35
- [assembly: AssemblyVersion("1.0.0.0")]
36
- [assembly: AssemblyFileVersion("1.0.0.0")]
@@ -1,59 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <PropertyGroup>
4
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6
- <ProductVersion>9.0.30729</ProductVersion>
7
- <SchemaVersion>2.0</SchemaVersion>
8
- <ProjectGuid>{36F8C06F-3BBA-4D11-9333-83573A760284}</ProjectGuid>
9
- <OutputType>Library</OutputType>
10
- <AppDesignerFolder>Properties</AppDesignerFolder>
11
- <RootNamespace>TestSolution</RootNamespace>
12
- <AssemblyName>TestSolution</AssemblyName>
13
- <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14
- <FileAlignment>512</FileAlignment>
15
- </PropertyGroup>
16
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17
- <DebugSymbols>true</DebugSymbols>
18
- <DebugType>full</DebugType>
19
- <Optimize>false</Optimize>
20
- <OutputPath>bin\Debug\</OutputPath>
21
- <DefineConstants>DEBUG;TRACE</DefineConstants>
22
- <ErrorReport>prompt</ErrorReport>
23
- <WarningLevel>4</WarningLevel>
24
- </PropertyGroup>
25
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26
- <DebugType>pdbonly</DebugType>
27
- <Optimize>true</Optimize>
28
- <OutputPath>bin\Release\</OutputPath>
29
- <DefineConstants>TRACE</DefineConstants>
30
- <ErrorReport>prompt</ErrorReport>
31
- <WarningLevel>4</WarningLevel>
32
- </PropertyGroup>
33
- <ItemGroup>
34
- <Reference Include="System" />
35
- <Reference Include="System.Core">
36
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
37
- </Reference>
38
- <Reference Include="System.Xml.Linq">
39
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
40
- </Reference>
41
- <Reference Include="System.Data.DataSetExtensions">
42
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
43
- </Reference>
44
- <Reference Include="System.Data" />
45
- <Reference Include="System.Xml" />
46
- </ItemGroup>
47
- <ItemGroup>
48
- <Compile Include="Class1.cs" />
49
- <Compile Include="Properties\AssemblyInfo.cs" />
50
- </ItemGroup>
51
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
52
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
53
- Other similar extension points exist, see Microsoft.Common.targets.
54
- <Target Name="BeforeBuild">
55
- </Target>
56
- <Target Name="AfterBuild">
57
- </Target>
58
- -->
59
- </Project>
@@ -1,9 +0,0 @@
1
- using System;
2
-
3
- public class Foo
4
- {
5
- public void Bar()
6
- {
7
- Console.WriteLine("foo bar");
8
- }
9
- }
@@ -1,9 +0,0 @@
1
- using System;
2
-
3
- public class Baz
4
- {
5
- public void Bar()
6
- {
7
- Console.WriteLine("foo bar");
8
- }
9
- }
@@ -1 +0,0 @@
1
- placeholder for git.
@@ -1,4 +0,0 @@
1
- some_name: some value
2
- another_name: another value
3
- a_hash: {name: value, foo: bar}
4
- what_ever: :a_symbol
@@ -1,5 +0,0 @@
1
- properties:
2
- :configuration: :release
3
- :platform: 'Any CPU'
4
- targets: [:clean, :build]
5
- solution: "spec/support/TestSolution/TestSolution.sln"
@@ -1 +0,0 @@
1
- some_attribute: "this value was loaded from a folder, specified by Albacore.configure.yaml_config_folder"
@@ -1 +0,0 @@
1
- this is a sub file for the zip task.
@@ -1 +0,0 @@
1
- this is a test file for the zip task
@@ -1,32 +0,0 @@
1
- require File.join(File.dirname(__FILE__), 'support', 'spec_helper')
2
- require 'albacore/xunittestrunner'
3
- require 'rake/xunittask'
4
- require 'fail_patch'
5
-
6
- describe "when running" do
7
- before :all do
8
- xunit :xunit do |t|
9
- t.extend(FailPatch)
10
- @yielded_object = t
11
- end
12
- Rake::Task[:xunit].invoke
13
- end
14
-
15
- it "should yield the xunit api" do
16
- @yielded_object.kind_of?(XUnitTestRunner).should be_true
17
- end
18
- end
19
-
20
- describe "when execution fails" do
21
- before :all do
22
- xunit :xunit_fail do |t|
23
- t.extend(FailPatch)
24
- t.fail
25
- end
26
- Rake::Task[:xunit_fail].invoke
27
- end
28
-
29
- it "should fail the rake task" do
30
- $task_failed.should == true
31
- end
32
- end
@@ -1,33 +0,0 @@
1
- require File.join(File.dirname(__FILE__), 'support', 'spec_helper')
2
- require 'albacore/zipdirectory'
3
- require 'rake/ziptask'
4
- require 'fail_patch'
5
-
6
- describe "when running" do
7
- before :all do
8
- zip :zip do |t|
9
- t.extend(FailPatch)
10
- t.output_file = 'test.zip'
11
- @yielded_object = t
12
- end
13
- Rake::Task[:zip].invoke
14
- end
15
-
16
- it "should yield the zip api" do
17
- @yielded_object.kind_of?(ZipDirectory).should be_true
18
- end
19
- end
20
-
21
- describe "when execution fails" do
22
- before :all do
23
- zip :zip_fail do |t|
24
- t.extend(FailPatch)
25
- t.fail
26
- end
27
- Rake::Task[:zip_fail].invoke
28
- end
29
-
30
- it "should fail the rake task" do
31
- $task_failed.should == true
32
- end
33
- end