albacore 0.3.6 → 0.6.2.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -22
- data/.travis.yml +13 -15
- data/Gemfile +14 -13
- data/Guardfile +7 -0
- data/README.md +148 -0
- data/Rakefile +9 -25
- data/albacore.gemspec +20 -5
- data/lib/albacore.rb +3 -9
- data/lib/albacore/albacore_module.rb +53 -0
- data/lib/albacore/application.rb +32 -0
- data/lib/albacore/asmver.rb +67 -0
- data/lib/albacore/asmver/cpp.rb +20 -0
- data/lib/albacore/asmver/cs.rb +17 -0
- data/lib/albacore/asmver/engine.rb +43 -0
- data/lib/albacore/asmver/fs.rb +25 -0
- data/lib/albacore/asmver/vb.rb +17 -0
- data/lib/albacore/build.rb +203 -0
- data/lib/albacore/cmd_config.rb +55 -0
- data/lib/albacore/cross_platform_cmd.rb +177 -0
- data/lib/albacore/dsl.rb +118 -0
- data/lib/albacore/errors/unfilled_property_error.rb +14 -0
- data/lib/albacore/ext/README.md +12 -0
- data/lib/albacore/ext/teamcity.rb +64 -0
- data/lib/albacore/facts.rb +25 -0
- data/lib/albacore/logging.rb +29 -0
- data/lib/albacore/migrate.rb +175 -0
- data/lib/albacore/nugets_authentication.rb +9 -0
- data/lib/albacore/nugets_pack.rb +283 -0
- data/lib/albacore/nugets_restore.rb +131 -0
- data/lib/albacore/paths.rb +30 -0
- data/lib/albacore/project.rb +104 -0
- data/lib/albacore/restore_hint_paths.rb +112 -0
- data/lib/albacore/semver.rb +5 -0
- data/lib/albacore/tasks/README.md +16 -0
- data/lib/albacore/tasks/albasemver.rb +49 -0
- data/lib/albacore/tasks/projectlint.rb +81 -0
- data/lib/albacore/tasks/versionizer.rb +65 -0
- data/lib/albacore/test_runner.rb +39 -0
- data/lib/albacore/version.rb +3 -0
- data/spec/Rakefile +5 -0
- data/spec/albacore_spec.rb +35 -0
- data/spec/cross_platform_cmd_spec.rb +77 -0
- data/spec/ext_teamcity_spec.rb +71 -0
- data/spec/facts_spec.rb +7 -0
- data/spec/migrate_spec.rb +80 -0
- data/spec/nugets_pack_spec.rb +66 -0
- data/spec/nugets_restore_spec.rb +55 -0
- data/spec/project_spec.rb +26 -0
- data/spec/projectlint/added_but_not_on_filesystem/aproject.csproj +29 -0
- data/spec/projectlint/correct/File.cs +1 -0
- data/spec/projectlint/correct/Image.txt +1 -0
- data/spec/projectlint/correct/MyHeavy.heavy +1 -0
- data/spec/projectlint/correct/Schema.xsd +1 -0
- data/spec/projectlint/correct/SubFolder/AnotherFile.cs +1 -0
- data/spec/projectlint/correct/aproject.csproj +29 -0
- data/spec/projectlint/on_filesystem_but_not_added/File.cs +1 -0
- data/spec/projectlint/on_filesystem_but_not_added/Image.txt +1 -0
- data/spec/projectlint/on_filesystem_but_not_added/aproject.csproj +11 -0
- data/spec/projectlint_spec.rb +77 -0
- data/spec/sh_interceptor.rb +33 -0
- data/spec/smoke_spec.rb +9 -0
- data/spec/spec_helper.rb +13 -15
- data/spec/testdata/Library1.fs +4 -0
- data/spec/testdata/Project.fsproj +58 -0
- data/spec/testdata/Project/Project.sln +20 -0
- data/spec/testdata/Project/Project.v11.suo +0 -0
- data/spec/testdata/example.nuspec +14 -0
- data/spec/testdata/packages.config +6 -0
- metadata +235 -662
- data/.bundle/config +0 -2
- data/.rspec +0 -2
- data/.rvmrc +0 -1
- data/README.markdown +0 -71
- data/lib/albacore/albacoretask.rb +0 -50
- data/lib/albacore/aspnetcompiler.rb +0 -58
- data/lib/albacore/assemblyinfo.rb +0 -172
- data/lib/albacore/assemblyinfolanguages/assemblyinfoengine.rb +0 -41
- data/lib/albacore/assemblyinfolanguages/cppcliengine.rb +0 -18
- data/lib/albacore/assemblyinfolanguages/csharpengine.rb +0 -15
- data/lib/albacore/assemblyinfolanguages/fsharpengine.rb +0 -23
- data/lib/albacore/assemblyinfolanguages/vbnetengine.rb +0 -15
- data/lib/albacore/config/aspnetcompilerconfig.rb +0 -29
- data/lib/albacore/config/assemblyinfoconfig.rb +0 -20
- data/lib/albacore/config/config.rb +0 -22
- data/lib/albacore/config/cscconfig.rb +0 -28
- data/lib/albacore/config/docuconfig.rb +0 -23
- data/lib/albacore/config/execconfig.rb +0 -15
- data/lib/albacore/config/fluentmigratorrunnerconfig.rb +0 -15
- data/lib/albacore/config/ilmergeconfig.rb +0 -24
- data/lib/albacore/config/msbuildconfig.rb +0 -29
- data/lib/albacore/config/msdeployconfig.rb +0 -15
- data/lib/albacore/config/mspectestrunnerconfig.rb +0 -15
- data/lib/albacore/config/mstesttestrunnerconfig.rb +0 -15
- data/lib/albacore/config/nantconfig.rb +0 -15
- data/lib/albacore/config/nchurnconfig.rb +0 -15
- data/lib/albacore/config/ncoverconsoleconfig.rb +0 -15
- data/lib/albacore/config/ncoverreportconfig.rb +0 -15
- data/lib/albacore/config/ndependconfig.rb +0 -15
- data/lib/albacore/config/netversion.rb +0 -24
- data/lib/albacore/config/nugetpackconfig.rb +0 -19
- data/lib/albacore/config/nugetpublishconfig.rb +0 -19
- data/lib/albacore/config/nugetpushconfig.rb +0 -19
- data/lib/albacore/config/nugetupdateconfig.rb +0 -19
- data/lib/albacore/config/nunittestrunnerconfig.rb +0 -14
- data/lib/albacore/config/specflowreportconfig.rb +0 -24
- data/lib/albacore/config/sqlcmdconfig.rb +0 -15
- data/lib/albacore/config/unzipconfig.rb +0 -15
- data/lib/albacore/config/vssgetconfig.rb +0 -14
- data/lib/albacore/config/xbuildconfig.rb +0 -15
- data/lib/albacore/config/xunittestrunnerconfig.rb +0 -15
- data/lib/albacore/config/zipdirectoryconfig.rb +0 -15
- data/lib/albacore/csc.rb +0 -67
- data/lib/albacore/docu.rb +0 -41
- data/lib/albacore/exec.rb +0 -18
- data/lib/albacore/fluentmigratorrunner.rb +0 -51
- data/lib/albacore/ilmerge.rb +0 -65
- data/lib/albacore/msbuild.rb +0 -78
- data/lib/albacore/msdeploy.rb +0 -122
- data/lib/albacore/mspectestrunner.rb +0 -50
- data/lib/albacore/mstesttestrunner.rb +0 -43
- data/lib/albacore/nant.rb +0 -38
- data/lib/albacore/nchurn.rb +0 -74
- data/lib/albacore/ncoverconsole.rb +0 -68
- data/lib/albacore/ncoverreport.rb +0 -62
- data/lib/albacore/ncoverreports/assemblyfilter.rb +0 -10
- data/lib/albacore/ncoverreports/branchcoverage.rb +0 -10
- data/lib/albacore/ncoverreports/classfilter.rb +0 -9
- data/lib/albacore/ncoverreports/codecoveragebase.rb +0 -25
- data/lib/albacore/ncoverreports/cyclomaticcomplexity.rb +0 -23
- data/lib/albacore/ncoverreports/documentfilter.rb +0 -9
- data/lib/albacore/ncoverreports/fullcoveragereport.rb +0 -13
- data/lib/albacore/ncoverreports/methodcoverage.rb +0 -10
- data/lib/albacore/ncoverreports/methodfilter.rb +0 -9
- data/lib/albacore/ncoverreports/namespacefilter.rb +0 -9
- data/lib/albacore/ncoverreports/reportfilterbase.rb +0 -26
- data/lib/albacore/ncoverreports/summaryreport.rb +0 -18
- data/lib/albacore/ncoverreports/symbolcoverage.rb +0 -9
- data/lib/albacore/ndepend.rb +0 -33
- data/lib/albacore/nugetinstall.rb +0 -57
- data/lib/albacore/nugetpack.rb +0 -54
- data/lib/albacore/nugetpublish.rb +0 -47
- data/lib/albacore/nugetpush.rb +0 -46
- data/lib/albacore/nugetupdate.rb +0 -51
- data/lib/albacore/nunittestrunner.rb +0 -41
- data/lib/albacore/nuspec.rb +0 -178
- data/lib/albacore/output.rb +0 -103
- data/lib/albacore/plink.rb +0 -47
- data/lib/albacore/specflowreport.rb +0 -62
- data/lib/albacore/sqlcmd.rb +0 -82
- data/lib/albacore/support/attrmethods.rb +0 -33
- data/lib/albacore/support/createtask.rb +0 -50
- data/lib/albacore/support/failure.rb +0 -15
- data/lib/albacore/support/logging.rb +0 -38
- data/lib/albacore/support/openstruct.rb +0 -13
- data/lib/albacore/support/runcommand.rb +0 -45
- data/lib/albacore/support/supportlinux.rb +0 -21
- data/lib/albacore/support/updateattributes.rb +0 -13
- data/lib/albacore/support/yamlconfig.rb +0 -18
- data/lib/albacore/unzip.rb +0 -28
- data/lib/albacore/vssget.rb +0 -44
- data/lib/albacore/xbuild.rb +0 -54
- data/lib/albacore/xunittestrunner.rb +0 -56
- data/lib/albacore/zipdirectory.rb +0 -106
- data/lib/version.rb +0 -3
- data/samples/Rakefile +0 -154
- data/spec/README.md +0 -9
- data/spec/albacoremodel_spec.rb +0 -53
- data/spec/assemblyinfo_contexts.rb +0 -52
- data/spec/assemblyinfo_spec.rb +0 -459
- data/spec/attrmethods_spec.rb +0 -136
- data/spec/config_spec.rb +0 -34
- data/spec/createtask_spec.rb +0 -237
- data/spec/csc_spec.rb +0 -253
- data/spec/docu_spec.rb +0 -109
- data/spec/exec_spec.rb +0 -45
- data/spec/fluentmigratorrunner_spec.rb +0 -256
- data/spec/ilmerge_spec.rb +0 -93
- data/spec/msbuild_spec.rb +0 -287
- data/spec/msdeploy_spec.rb +0 -124
- data/spec/mspec_spec.rb +0 -28
- data/spec/mstesttestrunner_spec.rb +0 -144
- data/spec/nant_spec.rb +0 -110
- data/spec/nchurn_spec.rb +0 -75
- data/spec/ncoverconsole_spec.rb +0 -353
- data/spec/ncoverreport_spec.rb +0 -619
- data/spec/ndepend_spec.rb +0 -72
- data/spec/netversion_spec.rb +0 -53
- data/spec/nugetinstall_spec.rb +0 -47
- data/spec/nugetupdate_spec.rb +0 -42
- data/spec/nunittestrunner_spec.rb +0 -115
- data/spec/nuspec_spec.rb +0 -85
- data/spec/output_spec.rb +0 -149
- data/spec/patches/docu_patch.rb +0 -13
- data/spec/patches/fail_patch.rb +0 -9
- data/spec/patches/system_patch.rb +0 -20
- data/spec/plink_spec.rb +0 -62
- data/spec/runcommand_spec.rb +0 -94
- data/spec/spec.opts +0 -1
- data/spec/specflowreport_spec.rb +0 -143
- data/spec/sqlcmd_spec.rb +0 -334
- data/spec/support/AssemblyInfo/AssemblyInfo.test +0 -9
- data/spec/support/AssemblyInfo/AssemblyInfoInput.test +0 -9
- data/spec/support/AssemblyInfo/assemblyinfo.yml +0 -2
- data/spec/support/CodeCoverage/mspec/assemblies/Machine.Specifications.dll +0 -0
- data/spec/support/CodeCoverage/mspec/assemblies/TestSolution.MSpecTests.dll +0 -0
- data/spec/support/CodeCoverage/mspec/assemblies/TestSolution.dll +0 -0
- data/spec/support/CodeCoverage/mspec/assemblies/nunit.framework.dll +0 -0
- data/spec/support/CodeCoverage/mstest/TestSolution.MSTestTests.NET40.dll +0 -0
- data/spec/support/CodeCoverage/mstest/TestSolution.MSTestTests.dll +0 -0
- data/spec/support/CodeCoverage/nunit/assemblies/TestSolution.Tests.dll +0 -0
- data/spec/support/CodeCoverage/nunit/assemblies/TestSolution.dll +0 -0
- data/spec/support/CodeCoverage/nunit/assemblies/nunit.framework.dll +0 -0
- data/spec/support/CodeCoverage/nunit/assemblies/with spaces/TestSolution.Tests.dll +0 -0
- data/spec/support/CodeCoverage/nunit/assemblies/with spaces/TestSolution.dll +0 -0
- data/spec/support/CodeCoverage/nunit/assemblies/with spaces/nunit.framework.dll +0 -0
- data/spec/support/CodeCoverage/nunit/failing_assemblies/TestSolution.FailingTests.dll +0 -0
- data/spec/support/CodeCoverage/nunit/failing_assemblies/nunit.framework.dll +0 -0
- data/spec/support/CodeCoverage/report/coverage.xml +0 -4578
- data/spec/support/CodeCoverage/xunit/assemblies/TestSolution.XUnitTests.dll +0 -0
- data/spec/support/CodeCoverage/xunit/assemblies/TestSolution.dll +0 -0
- data/spec/support/CodeCoverage/xunit/assemblies/xunit.dll +0 -0
- data/spec/support/CodeCoverage/xunit/assemblies/xunit.xml +0 -2604
- data/spec/support/FluentMigrator/FluentMigrator.dll +0 -0
- data/spec/support/FluentMigrator/TestSolution.FluentMigrator.dll +0 -0
- data/spec/support/SpecFlow/TechTalk.SpecFlow.dll +0 -0
- data/spec/support/SpecFlow/TestSolution.SpecFlow.dll +0 -0
- data/spec/support/SpecFlow/TestSolution.SpecFlow.pdb +0 -0
- data/spec/support/SpecFlow/TestSolution.dll +0 -0
- data/spec/support/SpecFlow/TestSolution.pdb +0 -0
- data/spec/support/SpecFlow/nunit.framework.dll +0 -0
- data/spec/support/TestSolution/LocalTestRun.testrunconfig +0 -5
- data/spec/support/TestSolution/NDependProject.xml +0 -315
- data/spec/support/TestSolution/TestSolution.5.0.ReSharper.user +0 -27
- data/spec/support/TestSolution/TestSolution.FailingTests/FailingTestFixture.cs +0 -19
- data/spec/support/TestSolution/TestSolution.FailingTests/Properties/AssemblyInfo.cs +0 -36
- data/spec/support/TestSolution/TestSolution.FailingTests/TestSolution.FailingTests.csproj +0 -101
- data/spec/support/TestSolution/TestSolution.FluentMigrator/M001_SampleMigration.cs +0 -19
- data/spec/support/TestSolution/TestSolution.FluentMigrator/Properties/AssemblyInfo.cs +0 -36
- data/spec/support/TestSolution/TestSolution.FluentMigrator/TestSolution.FluentMigrator.csproj +0 -101
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy.sln +0 -20
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx +0 -13
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx.designer.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx +0 -60
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx.designer.cs +0 -26
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx +0 -13
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx.designer.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx +0 -49
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx.designer.cs +0 -35
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx +0 -75
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx.cs +0 -32
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx.designer.cs +0 -35
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Web.config +0 -18
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx.designer.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Global.asax +0 -1
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Global.asax.cs +0 -47
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Properties/AssemblyInfo.cs +0 -35
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1-vsdoc.js +0 -8061
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1.js +0 -6111
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1.min.js +0 -167
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master +0 -51
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master.cs +0 -17
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master.designer.cs +0 -71
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Styles/Site.css +0 -294
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/TestSolution.MSDeploy.Publish.xml +0 -2
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/TestSolution.MSDeploy.csproj +0 -163
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.Debug.config +0 -30
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.Release.config +0 -31
- data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.config +0 -52
- data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/Properties/AssemblyInfo.cs +0 -36
- data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/TestSolution.MSTestTests.NET40.csproj +0 -53
- data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/Tests.cs +0 -20
- data/spec/support/TestSolution/TestSolution.MSTestTests/Properties/AssemblyInfo.cs +0 -35
- data/spec/support/TestSolution/TestSolution.MSTestTests/TestSolution.MSTestTests.csproj +0 -97
- data/spec/support/TestSolution/TestSolution.MSTestTests/Tests.cs +0 -20
- data/spec/support/TestSolution/TestSolution.MSpecTests/Properties/AssemblyInfo.cs +0 -36
- data/spec/support/TestSolution/TestSolution.MSpecTests/SomeSpecTest.cs +0 -18
- data/spec/support/TestSolution/TestSolution.MSpecTests/TestSolution.MSpecTests.csproj +0 -110
- data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature +0 -8
- data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature.cs +0 -73
- data/spec/support/TestSolution/TestSolution.SpecFlow/Properties/AssemblyInfo.cs +0 -36
- data/spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs +0 -30
- data/spec/support/TestSolution/TestSolution.SpecFlow/TestSolution.SpecFlow.csproj +0 -122
- data/spec/support/TestSolution/TestSolution.Tests/Properties/AssemblyInfo.cs +0 -36
- data/spec/support/TestSolution/TestSolution.Tests/SomeTestFixture.cs +0 -23
- data/spec/support/TestSolution/TestSolution.Tests/TestSolution.Tests.csproj +0 -107
- data/spec/support/TestSolution/TestSolution.XUnitTests/Class1.cs +0 -20
- data/spec/support/TestSolution/TestSolution.XUnitTests/FailingTestFixture.cs +0 -14
- data/spec/support/TestSolution/TestSolution.XUnitTests/Properties/AssemblyInfo.cs +0 -36
- data/spec/support/TestSolution/TestSolution.XUnitTests/TestSolution.XUnitTests.csproj +0 -108
- data/spec/support/TestSolution/TestSolution.build +0 -25
- data/spec/support/TestSolution/TestSolution.sln +0 -75
- data/spec/support/TestSolution/TestSolution.vsmdi +0 -6
- data/spec/support/TestSolution/TestSolution/Class1.cs +0 -17
- data/spec/support/TestSolution/TestSolution/Properties/AssemblyInfo.cs +0 -36
- data/spec/support/TestSolution/TestSolution/TestSolution.csproj +0 -97
- data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.MSBuild.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.NAnt.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Runner.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Runner.pdb +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Tests.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Tests.pdb +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.pdb +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/Migrate.exe +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/Migrate.exe.config +0 -6
- data/spec/support/Tools/FluentMigrator-0.9/Moq.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/Moq.xml +0 -3467
- data/spec/support/Tools/FluentMigrator-0.9/MySql.Data.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/NAnt.Core.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/NAnt.Core.xml +0 -14880
- data/spec/support/Tools/FluentMigrator-0.9/Oracle.DataAccess.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/System.Data.SQLite.DLL +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/log4net.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/nunit.framework.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/nunit.should.dll +0 -0
- data/spec/support/Tools/FluentMigrator-0.9/testscript.sql +0 -1
- data/spec/support/Tools/MSTest-2008/MSTest.exe +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.CommandLine.dll +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Common.dll +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.ControllerObject.dll +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.TMI.dll +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter.dll +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.AssemblyResolver.dll +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.ObjectModel.dll +0 -0
- data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Tip.dll +0 -0
- data/spec/support/Tools/MSTest-2010/MSTest.exe +0 -0
- data/spec/support/Tools/MSTest-2010/MSTest.exe.config +0 -31
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.AgentObject.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.AgentProcessManager.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CMI.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CheckinPolicies.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodeCoverage.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodedUITest.Controls.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodedUITestFramework.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CommandLine.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Common.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Controller.SpooledJob.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.ControllerObject.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.DataCollectionAgentObject.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAdapter.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAgent.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Linking.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTest.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.dll.manifest +0 -296
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.vsto +0 -150
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelCommon.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelCommon.tlb +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExec.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestPackage.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestUI.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.NICServices.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.NetworkEmulation.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.OperationalStore.ClientHelper.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.RecorderBar.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.RecorderBarBHO100.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Resource.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Sqm.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.TMI.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.TestCaseManagement.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.GenericTest.Adapter.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.GenericTest.ObjectModel.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.GenericTest.Tip.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.ManualTest.Adapter.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.ManualTest.ObjectModel.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.ManualTest.Tip.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.Adapter.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.ObjectModel.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.Tip.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.TuipPackage.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.AssemblyResolver.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.ObjectModel.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Tip.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.WebLoadTest.Tip.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Vsip.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.WarehouseCommon.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.WebTestFramework.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.WebTestPlayback.dll +0 -0
- data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Wizard.TestProjectWizards.dll +0 -0
- data/spec/support/Tools/MSTest-2010/mstest.reg +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/lib/Machine.Specifications.TDNetRunner.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/lib/Machine.Specifications.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/lib/Machine.Specifications.dll.tdnet +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/CommandLine.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/CommandLine.xml +0 -504
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.4.1.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.4.5.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.0 - VS2008.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.0 - VS2010.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.1 - VS2008.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.1 - VS2010.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.0 - VS2008.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.0 - VS2010.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.1 - VS2008.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.1 - VS2010.bat +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallTDNetRunner.bat +0 -16
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallTDNetRunnerSilent.bat +0 -16
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/License.txt +0 -54
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.GallioAdapter.3.1.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.GallioAdapter.plugin +0 -43
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.4.1.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.4.5.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.5.0.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.5.1.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.6.0.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.6.1.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.Reporting.Templates.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.Reporting.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.SeleniumSupport.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.TDNetRunner.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.WatinSupport.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.dll.tdnet +0 -5
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Spark.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/TestDriven.Framework.dll +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/install.ps1 +0 -6
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-clr4.exe +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-clr4.exe.config +0 -6
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-x86-clr4.exe +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-x86-clr4.exe.config +0 -6
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-x86.exe +0 -0
- data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec.exe +0 -0
- data/spec/support/Tools/NAnt-0.85/COPYING.txt +0 -340
- data/spec/support/Tools/NAnt-0.85/README.txt +0 -144
- data/spec/support/Tools/NChurn-v0.4/LICENSE.txt +0 -133
- data/spec/support/Tools/NChurn-v0.4/NChurn.exe +0 -0
- data/spec/support/Tools/NChurn-v0.4/README.md +0 -171
- data/spec/support/Tools/NChurn-v0.4/VERSION +0 -1
- data/spec/support/Tools/NChurn-v0.4/churn-0.4.0.0.txt +0 -178
- data/spec/support/Tools/NCover-v3.3/ActiproEULA.hml +0 -287
- data/spec/support/Tools/NCover-v3.3/ActiproSoftware.Shared.Wpf30.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/ActiproSoftware.SyntaxEditor.Addons.DotNet.Wpf30.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/ActiproSoftware.SyntaxEditor.Wpf30.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/ActiproSoftware.Text.Net20.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/AdminBootstrapper.exe +0 -0
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/MSBuildNCoverExample.proj +0 -237
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/MSBuildReportingExample.proj +0 -224
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NAntNCoverExample.build +0 -241
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NAntReportingExample.build +0 -218
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCover.MSBuildTasks.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCover.NAntTasks.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCoverExplorer.MSBuildTasks.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCoverExplorer.NAntTasks.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/CC.Net/NCoverReporting30.xsl +0 -2313
- data/spec/support/Tools/NCover-v3.3/CC.Net/dashboard.config +0 -55
- data/spec/support/Tools/NCover-v3.3/CC.Net/excanvas.js +0 -35
- data/spec/support/Tools/NCover-v3.3/CC.Net/g.png +0 -0
- data/spec/support/Tools/NCover-v3.3/CC.Net/jquery-1.3.2.min.js +0 -19
- data/spec/support/Tools/NCover-v3.3/CC.Net/r.png +0 -0
- data/spec/support/Tools/NCover-v3.3/CC.Net/readme.txt +0 -51
- data/spec/support/Tools/NCover-v3.3/CC.Net/trends.js +0 -184
- data/spec/support/Tools/NCover-v3.3/CC.Net/y.png +0 -0
- data/spec/support/Tools/NCover-v3.3/MSVCM90.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/MSVCP90.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/MSVCR90.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/Microsoft.VC90.CRT.manifest +0 -13
- data/spec/support/Tools/NCover-v3.3/Mindscape.LightSpeed.Linq.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/Mindscape.LightSpeed.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Console.exe +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Console.exe.config +0 -55
- data/spec/support/Tools/NCover-v3.3/NCover.Data.x86.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Explorer.Framework.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Explorer.exe +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Explorer.exe.config +0 -16
- data/spec/support/Tools/NCover-v3.3/NCover.Framework.XmlSerializers.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Framework.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Interfaces.Core.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Interfaces.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Legacy.Configuration.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Lib.x86.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Registration.exe +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Reporting.exe +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Runner.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.UpConvert.exe +0 -0
- data/spec/support/Tools/NCover-v3.3/NCover.Utilities.dll +0 -0
- data/spec/support/Tools/NCover-v3.3/NCoverEULA.pdf +0 -0
- data/spec/support/Tools/NCover-v3.3/NCoverExplorer.Console.exe +0 -0
- data/spec/support/Tools/NCover-v3.3/ReportingExample.config +0 -213
- data/spec/support/Tools/NCover-v3.3/System.Data.SQLite.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/EULA_NDepend.txt +0 -94
- data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.Data.v8.2.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.OfficeSkins.v8.2.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.Utils.v8.2.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.XtraBars.v8.2.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.XtraEditors.v8.2.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.XtraNavBar.v8.2.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/EnvDTE.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.Drawing.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.GraphViewerGdi.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.GraphViewerGdi.dll.config +0 -3
- data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.VisualStudio.OLE.Interop.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.VisualStudio.Shell.Interop.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.VisualStudio.Shell.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Mono.Cecil.Pdb.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/Mono.Cecil.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.AddIn.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Analysis.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.CQL.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Framework.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Platform.DotNet.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Skins.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.UI.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/msvcp71.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/Lib/msvcr71.dll +0 -0
- data/spec/support/Tools/NDepend-v2.12/NDepend.Console.exe +0 -0
- data/spec/support/Tools/NDepend-v2.12/NDepend.Console.exe.config +0 -8
- data/spec/support/Tools/NDepend-v2.12/QuickStartTutorial_NDepend.txt +0 -152
- data/spec/support/Tools/NDepend-v2.12/VisualNDepend.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/NUnitFitTests.html +0 -277
- data/spec/support/Tools/NUnit-v2.5/NUnitTests.config +0 -84
- data/spec/support/Tools/NUnit-v2.5/NUnitTests.nunit +0 -14
- data/spec/support/Tools/NUnit-v2.5/TestResult.xml +0 -32
- data/spec/support/Tools/NUnit-v2.5/agent.conf +0 -4
- data/spec/support/Tools/NUnit-v2.5/agent.log.conf +0 -18
- data/spec/support/Tools/NUnit-v2.5/clr.bat +0 -96
- data/spec/support/Tools/NUnit-v2.5/framework/nunit.framework.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/framework/nunit.framework.xml +0 -10088
- data/spec/support/Tools/NUnit-v2.5/framework/nunit.mocks.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/framework/pnunit.framework.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/launcher.log.conf +0 -18
- data/spec/support/Tools/NUnit-v2.5/lib/Failure.png +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/Ignored.png +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/Inconclusive.png +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/Skipped.png +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/Success.png +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/fit.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/log4net.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/nunit-console-runner.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/nunit-gui-runner.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/nunit.core.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/nunit.core.interfaces.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/nunit.fixtures.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/nunit.uiexception.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/nunit.uikit.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/lib/nunit.util.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/nunit-agent.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/nunit-agent.exe.config +0 -87
- data/spec/support/Tools/NUnit-v2.5/nunit-console-x86.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/nunit-console-x86.exe.config +0 -87
- data/spec/support/Tools/NUnit-v2.5/nunit-console.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/nunit-console.exe.config +0 -87
- data/spec/support/Tools/NUnit-v2.5/nunit-x86.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/nunit-x86.exe.config +0 -95
- data/spec/support/Tools/NUnit-v2.5/nunit.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/nunit.exe.config +0 -95
- data/spec/support/Tools/NUnit-v2.5/nunit.framework.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/pnunit-agent.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/pnunit-agent.exe.config +0 -87
- data/spec/support/Tools/NUnit-v2.5/pnunit-launcher.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/pnunit-launcher.exe.config +0 -87
- data/spec/support/Tools/NUnit-v2.5/pnunit.framework.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/pnunit.tests.dll +0 -0
- data/spec/support/Tools/NUnit-v2.5/runFile.exe +0 -0
- data/spec/support/Tools/NUnit-v2.5/runFile.exe.config +0 -43
- data/spec/support/Tools/NUnit-v2.5/runpnunit.bat +0 -2
- data/spec/support/Tools/NUnit-v2.5/test.conf +0 -24
- data/spec/support/Tools/PartCover-v2.3/Interop.PartCover.dll +0 -0
- data/spec/support/Tools/PartCover-v2.3/PartCover Browser Manual.rtf +0 -28853
- data/spec/support/Tools/PartCover-v2.3/PartCover Console Manual.rtf +0 -203
- data/spec/support/Tools/PartCover-v2.3/PartCover.Browser.Api.dll +0 -0
- data/spec/support/Tools/PartCover-v2.3/PartCover.Browser.exe +0 -0
- data/spec/support/Tools/PartCover-v2.3/PartCover.Browser.exe.config +0 -51
- data/spec/support/Tools/PartCover-v2.3/PartCover.CorDriver.dll +0 -0
- data/spec/support/Tools/PartCover-v2.3/PartCover.Framework.dll +0 -0
- data/spec/support/Tools/PartCover-v2.3/PartCover.exe +0 -0
- data/spec/support/Tools/PartCover-v2.3/PartCover.exe.config +0 -4
- data/spec/support/Tools/PartCover-v2.3/PartViewer.dll +0 -0
- data/spec/support/Tools/PartCover-v2.3/app.ico +0 -0
- data/spec/support/Tools/PartCover-v2.3/log4net.dll +0 -0
- data/spec/support/Tools/PartCover-v2.3/xslt/Report By Assembly.xslt +0 -54
- data/spec/support/Tools/PartCover-v2.3/xslt/Report By Class.xslt +0 -52
- data/spec/support/Tools/SpecFlow/Antlr3.Runtime.dll +0 -0
- data/spec/support/Tools/SpecFlow/Interop.SHDocVw.dll +0 -0
- data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.Generator.dll +0 -0
- data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.Parser.dll +0 -0
- data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.Reporting.dll +0 -0
- data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.VsIntegration.dll +0 -0
- data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.dll +0 -0
- data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.targets +0 -58
- data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.tasks +0 -17
- data/spec/support/Tools/SpecFlow/changelog.txt +0 -50
- data/spec/support/Tools/SpecFlow/specflow.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/EULA.txt +0 -29
- data/spec/support/Tools/XUnit-v1.9/HTML.xslt +0 -126
- data/spec/support/Tools/XUnit-v1.9/NUnitXml.xslt +0 -121
- data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.exe.config +0 -21
- data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.x86.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.x86.exe.config +0 -21
- data/spec/support/Tools/XUnit-v1.9/xunit.console.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.console.exe.config +0 -21
- data/spec/support/Tools/XUnit-v1.9/xunit.console.x86.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.console.x86.exe.config +0 -21
- data/spec/support/Tools/XUnit-v1.9/xunit.dll +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.dll.tdnet +0 -5
- data/spec/support/Tools/XUnit-v1.9/xunit.extensions.dll +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.extensions.xml +0 -805
- data/spec/support/Tools/XUnit-v1.9/xunit.gui.clr4.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.gui.clr4.x86.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.gui.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.gui.x86.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.installer.exe +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.runner.msbuild.dll +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.runner.tdnet.dll +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.runner.utility.dll +0 -0
- data/spec/support/Tools/XUnit-v1.9/xunit.runner.utility.xml +0 -1212
- data/spec/support/Tools/XUnit-v1.9/xunit.xml +0 -2604
- data/spec/support/assemblyinfotester.rb +0 -52
- data/spec/support/csc/File1.cs +0 -9
- data/spec/support/csc/File2.cs +0 -9
- data/spec/support/csc/output/ignorethis.txt +0 -1
- data/spec/support/ironruby_validator.rb +0 -26
- data/spec/support/msbuildtestdata.rb +0 -32
- data/spec/support/nanttestdata.rb +0 -33
- data/spec/support/ncoverconsoletestdata.rb +0 -20
- data/spec/support/ncoverreporttestdata.rb +0 -26
- data/spec/support/nokogiri_validator.rb +0 -15
- data/spec/support/nuspec/nuspec.xsd +0 -84
- data/spec/support/outputtestdata.rb +0 -13
- data/spec/support/test.yml +0 -4
- data/spec/support/yamlconfig/msbuild.yml +0 -5
- data/spec/support/yamlconfig/yaml_autoconfig_test.yml +0 -1
- data/spec/support/zip/files/subfolder/sub file.txt +0 -1
- data/spec/support/zip/files/testfile.txt +0 -1
- data/spec/support/ziptestdata.rb +0 -13
- data/spec/unzip_spec.rb +0 -15
- data/spec/xbuild_spec.rb +0 -15
- data/spec/xunit_spec.rb +0 -200
- data/spec/yamlconfig_spec.rb +0 -49
- data/spec/zip_spec.rb +0 -160
@@ -0,0 +1,71 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'albacore/ext/teamcity'
|
3
|
+
|
4
|
+
describe Albacore::Ext::TeamCity, 'When outputting Teamcity progress messages' do
|
5
|
+
|
6
|
+
def capture_stdout &block
|
7
|
+
yield
|
8
|
+
@output
|
9
|
+
end
|
10
|
+
|
11
|
+
describe 'Simple escaping' do
|
12
|
+
it 'Should escape [ with a pipe |' do
|
13
|
+
Albacore::Ext::TeamCity.escape('[').should == '|['
|
14
|
+
end
|
15
|
+
it 'Should escape ] with a pipe |' do
|
16
|
+
Albacore::Ext::TeamCity.escape(']').should == '|]'
|
17
|
+
end
|
18
|
+
it 'Should escape | with a pipe |' do
|
19
|
+
Albacore::Ext::TeamCity.escape('|').should == '||'
|
20
|
+
end
|
21
|
+
it 'Should escape \' with a pipe |' do
|
22
|
+
Albacore::Ext::TeamCity.escape('\'').should == '|\''
|
23
|
+
end
|
24
|
+
it 'Should escape \\n with a pipe |' do
|
25
|
+
Albacore::Ext::TeamCity.escape("\n").should == '|n'
|
26
|
+
end
|
27
|
+
it 'Should escape \\r with a pipe |' do
|
28
|
+
Albacore::Ext::TeamCity.escape("\r").should == '|r'
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
describe 'Escaping in text block' do
|
33
|
+
text = "Some sample text.\nDidn't need to use [ brackets ].\r\n"
|
34
|
+
it 'Should escape the text correctly' do
|
35
|
+
Albacore::Ext::TeamCity.escape(text).should == 'Some sample text.|nDidn|\'t need to use |[ brackets |].|r|n'
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
describe 'When tracking nested progress blocks' do
|
40
|
+
|
41
|
+
it 'Should progressFinish on current progress when supplying no name' do
|
42
|
+
out = capture_stdout do
|
43
|
+
message = 'Successfully deployed'
|
44
|
+
Albacore.publish :start_progress, OpenStruct.new(:message => message)
|
45
|
+
Albacore.publish :finish_progress, OpenStruct.new(:message => message)
|
46
|
+
end
|
47
|
+
out.string.should == "##teamcity[progressStart 'Successfully deployed']\n##teamcity[progressFinish 'Successfully deployed']\n"
|
48
|
+
end
|
49
|
+
|
50
|
+
it 'Should output progressFinish on parent progress then on children when supplying parent progress name' do
|
51
|
+
parent_message = 'Deploy'
|
52
|
+
out = capture_stdout do
|
53
|
+
Albacore.publish :start_progress, OpenStruct.new(:message => parent_message)
|
54
|
+
Albacore.publish :start_progress, OpenStruct.new(:message => 'child progress')
|
55
|
+
Albacore.publish :finish_progress, OpenStruct.new(:message => parent_message)
|
56
|
+
end
|
57
|
+
out.string.should == "##teamcity[progressStart '#{parent_message}']\n##teamcity[progressStart 'child progress']\n##teamcity[progressFinish 'child progress']\n##teamcity[progressFinish '#{parent_message}']\n"
|
58
|
+
end
|
59
|
+
|
60
|
+
it 'Should output progress messages in the order they are defined' do
|
61
|
+
parent_message = 'Deploy'
|
62
|
+
out = capture_stdout do
|
63
|
+
Albacore.publish :start_progress, OpenStruct.new(:message => parent_message)
|
64
|
+
Albacore.publish :start_progress, OpenStruct.new(:message => 'child progress')
|
65
|
+
Albacore.publish :progress, OpenStruct.new(:message => 'some progress')
|
66
|
+
Albacore.publish :finish_progress, OpenStruct.new(:message => parent_message)
|
67
|
+
end
|
68
|
+
out.string.should == "##teamcity[progressStart '#{parent_message}']\n##teamcity[progressStart 'child progress']\n##teamcity[progressMessage 'some progress']\n##teamcity[progressFinish 'child progress']\n##teamcity[progressFinish '#{parent_message}']\n"
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
data/spec/facts_spec.rb
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'albacore/migrate'
|
3
|
+
require 'map'
|
4
|
+
require 'sh_interceptor'
|
5
|
+
|
6
|
+
describe Albacore::Migrate::MigrateCmdFactory, "when constructing" do
|
7
|
+
subject { Albacore::Migrate::MigrateCmdFactory.create :interactive => false, :conn => 'c'}
|
8
|
+
it { should_not be_nil }
|
9
|
+
|
10
|
+
describe 'with :file context' do
|
11
|
+
it 'raises error about file' do
|
12
|
+
expect { Albacore::Migrate::MigrateCmdFactory.create :file => 'migrate_these.txt', :interactive => false, :conn => 'c' }.
|
13
|
+
to raise_error(ArgumentError, /not find/)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
describe Albacore::Migrate::Cmd, "when calling #execute" do
|
19
|
+
|
20
|
+
def cmd *args
|
21
|
+
opts = Map.options(args).apply({
|
22
|
+
:interactive => false,
|
23
|
+
:conn => 'connection-string'
|
24
|
+
})
|
25
|
+
@logger.debug "calling new with #{opts.inspect}"
|
26
|
+
c = Albacore::Migrate::Cmd.new opts
|
27
|
+
c.extend ShInterceptor
|
28
|
+
c
|
29
|
+
end
|
30
|
+
|
31
|
+
# requires a let(:c)
|
32
|
+
shared_context 'executing command' do
|
33
|
+
subject { c.execute ; c.received_args[1] }
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'calling with no connection' do
|
37
|
+
it 'raises ArgumentError' do
|
38
|
+
expect { Albacore::Migrate::Cmd.new :interactive => false }.
|
39
|
+
to raise_error(ArgumentError, /connection/)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
describe 'calling with no dll' do
|
44
|
+
it 'raises ArgumentError' do
|
45
|
+
expect { Albacore::Migrate::Cmd.new :interactive => false,
|
46
|
+
:dll => '',
|
47
|
+
:conn => 'abc' }.
|
48
|
+
to raise_error(ArgumentError, /dll/)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'when given :task_override' do
|
53
|
+
let (:c) { cmd :task_override => '--toversion=4' }
|
54
|
+
include_context 'executing command'
|
55
|
+
it 'does not contain --task' do
|
56
|
+
subject.should_not include('--task')
|
57
|
+
end
|
58
|
+
it 'includes --toversion=4' do
|
59
|
+
subject.should include('--toversion=4')
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
describe 'when given extras' do
|
64
|
+
let (:extras) { [ '--a', '--b' ] }
|
65
|
+
let (:c) { cmd :extras => extras }
|
66
|
+
include_context 'executing command'
|
67
|
+
it 'should contain extras' do
|
68
|
+
extras.
|
69
|
+
each { |e| subject.should include(e) }
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
describe 'when given :direction' do
|
74
|
+
let (:task) { 'migrate:down' }
|
75
|
+
let (:c) { cmd :direction => "migrate:down" }
|
76
|
+
include_context 'executing command'
|
77
|
+
it { should include('migrate:down') }
|
78
|
+
end
|
79
|
+
|
80
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'albacore/nugets_pack'
|
3
|
+
require 'albacore/dsl'
|
4
|
+
require 'sh_interceptor'
|
5
|
+
|
6
|
+
class NGConf
|
7
|
+
self.extend Albacore::DSL
|
8
|
+
end
|
9
|
+
|
10
|
+
describe Albacore::NugetsPack::Cmd, "when calling #execute" do
|
11
|
+
subject {
|
12
|
+
cfg = Albacore::NugetsPack::Config.new
|
13
|
+
cfg.out = 'src/packages'
|
14
|
+
cfg.files = FileList['src/**/*.{csproj,fsproj}']
|
15
|
+
|
16
|
+
cmd = Albacore::NugetsPack::Cmd.new nil, 'NuGet.exe', cfg.opts()
|
17
|
+
cmd.extend(ShInterceptor)
|
18
|
+
cmd.execute './spec/testdata/example.nuspec'
|
19
|
+
cmd
|
20
|
+
}
|
21
|
+
|
22
|
+
it "should run the correct thing" do
|
23
|
+
expected_args = %W["NuGet.exe" "pack" "-OutputDirectory" "src/packages" "./spec/testdata/example.nuspec"]
|
24
|
+
expected_args.unshift '"mono"' unless ::Rake::Win32.windows?
|
25
|
+
expected_args = expected_args.to_a.join(' ')
|
26
|
+
|
27
|
+
subject.received_args[0].should eq expected_args
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
describe Albacore::NugetsPack::ProjectTask do
|
32
|
+
it "reject .nuspec files" do
|
33
|
+
Albacore::NugetsPack::ProjectTask.accept?('some.nuspec').should eq false
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
describe Albacore::NugetsPack::NuspecTask do
|
38
|
+
|
39
|
+
it "accepts .nuspec files" do
|
40
|
+
Albacore::NugetsPack::NuspecTask.accept?('some.nuspec').should eq true
|
41
|
+
end
|
42
|
+
|
43
|
+
describe "when calling #execute" do
|
44
|
+
subject {
|
45
|
+
cfg = Albacore::NugetsPack::Config.new
|
46
|
+
cfg.out = 'src/packages'
|
47
|
+
cfg.files = FileList['src/**/*.{csproj,fsproj,nuspec}']
|
48
|
+
|
49
|
+
cmd = Albacore::NugetsPack::Cmd.new nil, 'NuGet.exe', cfg.opts()
|
50
|
+
cmd.extend(ShInterceptor)
|
51
|
+
|
52
|
+
task = Albacore::NugetsPack::NuspecTask.new cmd, cfg, './spec/testdata/example.nuspec'
|
53
|
+
task.execute
|
54
|
+
cmd
|
55
|
+
}
|
56
|
+
|
57
|
+
it "should run the correct thing" do
|
58
|
+
expected_args = %W["NuGet.exe" "pack" "-OutputDirectory" "src/packages" "./spec/testdata/example.nuspec"]
|
59
|
+
expected_args.unshift '"mono"' unless ::Rake::Win32.windows?
|
60
|
+
expected_args = expected_args.to_a.join(' ')
|
61
|
+
|
62
|
+
subject.received_args[0].should eq expected_args
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'albacore'
|
3
|
+
require 'albacore/nugets_restore'
|
4
|
+
require 'albacore/dsl'
|
5
|
+
require 'sh_interceptor'
|
6
|
+
|
7
|
+
class NGConf
|
8
|
+
self.extend Albacore::DSL
|
9
|
+
end
|
10
|
+
|
11
|
+
shared_context 'cmd context' do
|
12
|
+
let (:hafsrc) { OpenStruct.new(:name => 'haf-source', :uri => 'https://haf.se/nugets') }
|
13
|
+
before(:each) { cmd.extend ShInterceptor }
|
14
|
+
subject { cmd.execute ; cmd.received_args[1] }
|
15
|
+
end
|
16
|
+
|
17
|
+
|
18
|
+
describe Albacore::NugetsRestore::RemoveSourceCmd, 'when calling #execute' do
|
19
|
+
let(:cmd) { Albacore::NugetsRestore::RemoveSourceCmd.new 'nuget.exe', hafsrc }
|
20
|
+
include_context 'cmd context'
|
21
|
+
%w[remove sources -name haf-source].each { |k|
|
22
|
+
it { should include(k) }
|
23
|
+
}
|
24
|
+
end
|
25
|
+
|
26
|
+
describe Albacore::NugetsRestore::AddSourceCmd, 'when calling #execute' do
|
27
|
+
let (:cmd) { Albacore::NugetsRestore::AddSourceCmd.new 'nuget.exe', hafsrc, 'u', 'p' }
|
28
|
+
include_context 'cmd context'
|
29
|
+
%w[sources add -name haf-source].each { |k|
|
30
|
+
it { should include(k) }
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
describe Albacore::NugetsRestore::Cmd, "when calling #execute" do
|
35
|
+
|
36
|
+
let (:cmd) {
|
37
|
+
cfg = Albacore::NugetsRestore::Config.new
|
38
|
+
cfg.out = 'src/packages'
|
39
|
+
cfg.add_parameter '-Source'
|
40
|
+
cfg.add_parameter 'http://localhost:8081'
|
41
|
+
|
42
|
+
cmd = Albacore::NugetsRestore::Cmd.new nil, 'NuGet.exe', cfg.opts_for_pkgcfg('src/Proj/packages.config')
|
43
|
+
}
|
44
|
+
|
45
|
+
let (:path) {
|
46
|
+
::Rake::Win32.windows?() ? 'src\\Proj\\packages.config' : 'src/Proj/packages.config'
|
47
|
+
}
|
48
|
+
|
49
|
+
include_context 'cmd context'
|
50
|
+
|
51
|
+
%W[install -OutputDirectory src/packages -Source http://localhost:8081].each { |parameter|
|
52
|
+
it { should include(parameter) }
|
53
|
+
}
|
54
|
+
it { should include(path) }
|
55
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'albacore/semver'
|
3
|
+
require 'albacore/project'
|
4
|
+
|
5
|
+
describe Albacore::Project, "when loading packages.config" do
|
6
|
+
subject {
|
7
|
+
p = File.expand_path('../testdata/Project.fsproj', __FILE__)
|
8
|
+
#puts "path: #{p}"
|
9
|
+
Albacore::Project.new(p)
|
10
|
+
}
|
11
|
+
let(:nlog) { subject.declared_packages.find { |p| p.id == 'NLog' } }
|
12
|
+
it("should have three packages") { subject.declared_packages.length.should == 3 }
|
13
|
+
it("should contain NLog") { nlog.should_not be_nil }
|
14
|
+
it("should have a four number on NLog") { nlog.version.should eq("2.0.0.2000") }
|
15
|
+
it("should have a semver number") { nlog.semver.should eq(Albacore::SemVer.new(2, 0, 0)) }
|
16
|
+
end
|
17
|
+
|
18
|
+
describe Albacore::Project, "when reading project file" do
|
19
|
+
subject {
|
20
|
+
p = File.expand_path('../testdata/Project.fsproj', __FILE__)
|
21
|
+
Albacore::Project.new(p)
|
22
|
+
}
|
23
|
+
let(:library1) { subject.included_files.find { |p| p.include == 'Library1.fs' } }
|
24
|
+
it("should contain library1") { library1.should_not be_nil }
|
25
|
+
|
26
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3
|
+
<PropertyGroup>
|
4
|
+
<Configuration Condition=" '$(Configuration)' == '' ">
|
5
|
+
Debug
|
6
|
+
</Configuration>
|
7
|
+
<Platform Condition=" '$(Platform)' == '' ">
|
8
|
+
AnyCPU
|
9
|
+
</Platform>
|
10
|
+
</PropertyGroup>
|
11
|
+
<ItemGroup>
|
12
|
+
<Compile Include="SomeOtherFolder\SomeFile.cs">
|
13
|
+
<Link>SomeNewFolder\SomeFile.cs</Link>
|
14
|
+
</Compile>
|
15
|
+
<Compile Include="File.cs" />
|
16
|
+
<Compile Include="SubFolder\AnotherFile.cs" />
|
17
|
+
</ItemGroup>
|
18
|
+
<ItemGroup>
|
19
|
+
<Content Include="Image.txt" />
|
20
|
+
</ItemGroup>
|
21
|
+
<ItemGroup>
|
22
|
+
<EmbeddedResource Include="MyHeavy.heavy">
|
23
|
+
<SubType>Designer</SubType>
|
24
|
+
</EmbeddedResource>
|
25
|
+
<None Include="Schema.xsd">
|
26
|
+
<SubType>Designer</SubType>
|
27
|
+
</None>
|
28
|
+
</ItemGroup>
|
29
|
+
</Project>
|
@@ -0,0 +1 @@
|
|
1
|
+
code!
|
@@ -0,0 +1 @@
|
|
1
|
+
An image
|
@@ -0,0 +1 @@
|
|
1
|
+
My very heavy file
|
@@ -0,0 +1 @@
|
|
1
|
+
An xsd, nothing to be done
|
@@ -0,0 +1 @@
|
|
1
|
+
Another file with code
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3
|
+
<PropertyGroup>
|
4
|
+
<Configuration Condition=" '$(Configuration)' == '' ">
|
5
|
+
Debug
|
6
|
+
</Configuration>
|
7
|
+
<Platform Condition=" '$(Platform)' == '' ">
|
8
|
+
AnyCPU
|
9
|
+
</Platform>
|
10
|
+
</PropertyGroup>
|
11
|
+
<ItemGroup>
|
12
|
+
<Compile Include="SomeOtherFolder\SomeFile.cs">
|
13
|
+
<Link>SomeNewFolder\SomeFile.cs</Link>
|
14
|
+
</Compile>
|
15
|
+
<Compile Include="File.cs" />
|
16
|
+
<Compile Include="SubFolder\AnotherFile.cs" />
|
17
|
+
</ItemGroup>
|
18
|
+
<ItemGroup>
|
19
|
+
<Content Include="Image.txt" />
|
20
|
+
</ItemGroup>
|
21
|
+
<ItemGroup>
|
22
|
+
<EmbeddedResource Include="MyHeavy.heavy">
|
23
|
+
<SubType>Designer</SubType>
|
24
|
+
</EmbeddedResource>
|
25
|
+
<None Include="Schema.xsd">
|
26
|
+
<SubType>Designer</SubType>
|
27
|
+
</None>
|
28
|
+
</ItemGroup>
|
29
|
+
</Project>
|
@@ -0,0 +1 @@
|
|
1
|
+
code!
|
@@ -0,0 +1 @@
|
|
1
|
+
An image
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3
|
+
<PropertyGroup>
|
4
|
+
<Configuration Condition=" '$(Configuration)' == '' ">
|
5
|
+
Debug
|
6
|
+
</Configuration>
|
7
|
+
<Platform Condition=" '$(Platform)' == '' ">
|
8
|
+
AnyCPU
|
9
|
+
</Platform>
|
10
|
+
</PropertyGroup>
|
11
|
+
</Project>
|
@@ -0,0 +1,77 @@
|
|
1
|
+
require 'albacore'
|
2
|
+
require 'albacore/tasks/projectlint'
|
3
|
+
|
4
|
+
class ProjectLintReturn
|
5
|
+
attr_reader :failed, :failure_message
|
6
|
+
def initialize(failed, message=nil)
|
7
|
+
@failed = failed
|
8
|
+
@failure_message = message
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
def project_lint_on(name, path, ignores=nil)
|
13
|
+
root_folder = File.expand_path(File.join(File.dirname(__FILE__),'projectlint'))
|
14
|
+
f = Albacore::Tasks::ProjectLint.new name do |c|
|
15
|
+
c.project = File.join(root_folder, path)
|
16
|
+
if ignores
|
17
|
+
c.ignores = ignores
|
18
|
+
end
|
19
|
+
end
|
20
|
+
begin
|
21
|
+
f.execute
|
22
|
+
rescue Exception => e
|
23
|
+
return ProjectLintReturn.new(true, e.message)
|
24
|
+
end
|
25
|
+
return ProjectLintReturn.new(false)
|
26
|
+
end
|
27
|
+
|
28
|
+
describe "when supplying a csproj file with files added but not present on the filesystem" do
|
29
|
+
before(:all) { @f = project_lint_on(:first, File.join( 'added_but_not_on_filesystem', 'aproject.csproj')) }
|
30
|
+
|
31
|
+
it("should fail") { @f.failed.should be_true }
|
32
|
+
|
33
|
+
it("should report failure") { @f.failure_message.should include("-") }
|
34
|
+
|
35
|
+
it("should report file.cs") { @f.failure_message.should include('File.cs') }
|
36
|
+
|
37
|
+
it("should report Image.txt") { @f.failure_message.should include('Image.txt') }
|
38
|
+
|
39
|
+
it("should report MyHeavy.heavy") { @f.failure_message.should include('MyHeavy.heavy') }
|
40
|
+
|
41
|
+
it("should report Schema.xsd") { @f.failure_message.should include('Schema.xsd') }
|
42
|
+
|
43
|
+
it("should report SubFolder/AnotherFile.cs") { @f.failure_message.should include('AnotherFile.cs') }
|
44
|
+
|
45
|
+
it("should not report linked files") { @f.failure_message.should_not include('SomeFile.cs') }
|
46
|
+
end
|
47
|
+
|
48
|
+
describe "when supplying a correct csproj file with files added and present on the filesystem" do
|
49
|
+
|
50
|
+
before(:all) { @f = project_lint_on(:second, File.join( 'correct', 'aproject.csproj')) }
|
51
|
+
|
52
|
+
it("should not fail") {
|
53
|
+
@f.failed.should be_false
|
54
|
+
}
|
55
|
+
it("no message") { @f.failure_message.should be_nil }
|
56
|
+
end
|
57
|
+
|
58
|
+
describe "when supplying a csproj file with files not added but present on the filesystem" do
|
59
|
+
before(:all) { @f = project_lint_on(:third, File.join( 'on_filesystem_but_not_added', 'aproject.csproj')) }
|
60
|
+
|
61
|
+
it("should fail") { @f.failed.should be_true }
|
62
|
+
|
63
|
+
it("should report failure") { @f.failure_message.should include("+") }
|
64
|
+
|
65
|
+
it("should report file.cs") { @f.failure_message.should include('File.cs') }
|
66
|
+
|
67
|
+
it("should report Image.txt") { @f.failure_message.should include('Image.txt') }
|
68
|
+
end
|
69
|
+
|
70
|
+
|
71
|
+
describe "when supplying a csproj files with files on filesystem ignored" do
|
72
|
+
before(:all) {
|
73
|
+
@f = project_lint_on(:fourth, File.join('on_filesystem_but_not_added', 'aproject.csproj'), [/.*\.txt$/, /.*\.cs$/])
|
74
|
+
}
|
75
|
+
|
76
|
+
it("should not fail") { @f.failed.should be_false }
|
77
|
+
end
|