albacore 1.0.0.rc.2 → 1.0.0.rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.travis.yml +1 -1
- data/Guardfile +0 -9
- data/README.md +4 -4
- data/Rakefile +9 -14
- data/albacore.gemspec +29 -31
- data/lib/albacore.rb +22 -15
- data/lib/albacore/aspnetcompiler.rb +66 -44
- data/lib/albacore/assemblyinfo.rb +101 -120
- data/lib/albacore/assemblyinfolanguages/assemblyinfoengine.rb +13 -0
- data/lib/albacore/config/aspnetcompilerconfig.rb +5 -4
- data/lib/albacore/config/assemblyinfoconfig.rb +2 -4
- data/lib/albacore/config/cscconfig.rb +3 -3
- data/lib/albacore/config/docuconfig.rb +4 -8
- data/lib/albacore/config/execconfig.rb +9 -5
- data/lib/albacore/config/fluentmigratorconfig.rb +19 -0
- data/lib/albacore/config/ilmergeconfig.rb +5 -10
- data/lib/albacore/config/msbuildconfig.rb +3 -3
- data/lib/albacore/config/mspecconfig.rb +19 -0
- data/lib/albacore/config/mstestconfig.rb +19 -0
- data/lib/albacore/config/nantconfig.rb +9 -6
- data/lib/albacore/config/nchurnconfig.rb +9 -5
- data/lib/albacore/config/ncoverconsoleconfig.rb +9 -5
- data/lib/albacore/config/ncoverreportconfig.rb +9 -6
- data/lib/albacore/config/ndependconfig.rb +9 -5
- data/lib/albacore/config/netversion.rb +10 -6
- data/lib/albacore/config/nugetinstallconfig.rb +18 -0
- data/lib/albacore/config/nugetpackconfig.rb +2 -3
- data/lib/albacore/config/nugetpushconfig.rb +5 -6
- data/lib/albacore/config/nugetupdateconfig.rb +2 -3
- data/lib/albacore/config/nunitconfig.rb +19 -0
- data/lib/albacore/config/nuspecconfig.rb +18 -0
- data/lib/albacore/config/plinkconfig.rb +18 -0
- data/lib/albacore/config/specflowconfig.rb +18 -0
- data/lib/albacore/config/sqlcmdconfig.rb +9 -6
- data/lib/albacore/config/unzipconfig.rb +9 -5
- data/lib/albacore/config/xbuildconfig.rb +9 -6
- data/lib/albacore/config/xunitconfig.rb +18 -0
- data/lib/albacore/config/zipdirectoryconfig.rb +9 -6
- data/lib/albacore/csc.rb +56 -46
- data/lib/albacore/docu.rb +20 -23
- data/lib/albacore/exec.rb +8 -6
- data/lib/albacore/fluentmigrator.rb +69 -0
- data/lib/albacore/ilmerge.rb +23 -50
- data/lib/albacore/msbuild.rb +36 -59
- data/lib/albacore/mspec.rb +39 -0
- data/lib/albacore/mstest.rb +47 -0
- data/lib/albacore/nant.rb +23 -20
- data/lib/albacore/nchurn.rb +34 -59
- data/lib/albacore/ncoverconsole.rb +38 -50
- data/lib/albacore/ncoverreport.rb +24 -46
- data/lib/albacore/ncoverreports.rb +16 -0
- data/lib/albacore/ncoverreports/codecoveragebase.rb +8 -6
- data/lib/albacore/ncoverreports/cyclomaticcomplexity.rb +3 -3
- data/lib/albacore/ncoverreports/fullcoveragereport.rb +5 -9
- data/lib/albacore/ncoverreports/reportbase.rb +23 -0
- data/lib/albacore/ncoverreports/reportfilterbase.rb +10 -7
- data/lib/albacore/ncoverreports/summaryreport.rb +5 -14
- data/lib/albacore/ndepend.rb +17 -17
- data/lib/albacore/nugetinstall.rb +48 -43
- data/lib/albacore/nugetpack.rb +33 -37
- data/lib/albacore/nugetpush.rb +25 -31
- data/lib/albacore/nugetupdate.rb +28 -29
- data/lib/albacore/nunit.rb +46 -0
- data/lib/albacore/nuspec.rb +79 -77
- data/lib/albacore/output.rb +77 -80
- data/lib/albacore/plink.rb +35 -32
- data/lib/albacore/specflow.rb +30 -0
- data/lib/albacore/sqlcmd.rb +46 -61
- data/lib/albacore/support/platform.rb +25 -0
- data/lib/albacore/unzip.rb +42 -34
- data/lib/albacore/version.rb +1 -1
- data/lib/albacore/xbuild.rb +25 -38
- data/lib/albacore/xunit.rb +44 -0
- data/lib/albacore/zipdirectory.rb +106 -107
- data/spec/albacoremodel_spec.rb +52 -53
- data/spec/aspnetcompiler_spec.rb +84 -0
- data/spec/{support/TestSolution/TestSolution/Properties → assemblyinfo}/AssemblyInfo.cs +36 -36
- data/spec/assemblyinfo_spec.rb +209 -477
- data/spec/attrmethods_spec.rb +135 -136
- data/spec/config_spec.rb +32 -34
- data/spec/createtask_spec.rb +234 -237
- data/spec/csc_spec.rb +86 -253
- data/spec/docu_spec.rb +31 -109
- data/spec/exec_spec.rb +25 -45
- data/spec/fluentmigrator_spec.rb +88 -0
- data/spec/ilmerge_spec.rb +21 -79
- data/spec/msbuild_spec.rb +55 -287
- data/spec/mspec_spec.rb +30 -28
- data/spec/mstest_spec.rb +35 -0
- data/spec/nant_spec.rb +40 -110
- data/spec/nchurn_spec.rb +80 -75
- data/spec/ncoverconsole_spec.rb +80 -353
- data/spec/ncoverreport_spec.rb +139 -619
- data/spec/ndepend_spec.rb +26 -72
- data/spec/netversion_spec.rb +51 -53
- data/spec/nugetinstall_spec.rb +59 -47
- data/spec/nugetpack_spec.rb +49 -0
- data/spec/nugetpush_spec.rb +39 -0
- data/spec/nugetupdate_spec.rb +49 -42
- data/spec/nunit_spec.rb +35 -0
- data/spec/{support/nuspec → nuspec}/nuspec.xsd +0 -0
- data/spec/nuspec_spec.rb +74 -127
- data/spec/output/bar/bar.txt +0 -0
- data/spec/output/baz.txt +0 -0
- data/spec/output/erb.txt +1 -0
- data/spec/output/foo/foo/foo.txt +0 -0
- data/spec/output_spec.rb +67 -147
- data/spec/patch/system_patch.rb +12 -0
- data/spec/platform_spec.rb +15 -0
- data/spec/plink_spec.rb +56 -62
- data/spec/runcommand_spec.rb +92 -94
- data/spec/spec_helper.rb +20 -16
- data/spec/specflow_spec.rb +30 -0
- data/spec/sqlcmd_spec.rb +66 -334
- data/spec/unzip_spec.rb +1 -2
- data/spec/xbuild_spec.rb +40 -15
- data/spec/xunit_spec.rb +30 -200
- data/spec/yaml/test.yml +3 -0
- data/spec/yamlconfig_spec.rb +53 -49
- data/spec/zip/baz.txt +0 -0
- data/spec/zip/foo/bar/bar.txt +0 -0
- data/spec/zip/foo/foo.txt +0 -0
- data/spec/zip_spec.rb +63 -187
- metadata +78 -1098
- checksums.yaml +0 -7
- data/.rvmrc +0 -1
- data/lib/albacore/config/fluentmigratorrunnerconfig.rb +0 -15
- 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/nugetpublishconfig.rb +0 -19
- data/lib/albacore/config/nunittestrunnerconfig.rb +0 -14
- data/lib/albacore/config/specflowreportconfig.rb +0 -24
- data/lib/albacore/config/vssgetconfig.rb +0 -14
- data/lib/albacore/config/xunittestrunnerconfig.rb +0 -15
- data/lib/albacore/fluentmigratorrunner.rb +0 -52
- data/lib/albacore/msdeploy.rb +0 -122
- data/lib/albacore/mspectestrunner.rb +0 -50
- data/lib/albacore/mstesttestrunner.rb +0 -43
- data/lib/albacore/nugetpublish.rb +0 -47
- data/lib/albacore/nunittestrunner.rb +0 -41
- data/lib/albacore/specflowreport.rb +0 -62
- data/lib/albacore/support/supportlinux.rb +0 -21
- data/lib/albacore/vssget.rb +0 -44
- data/lib/albacore/xunittestrunner.rb +0 -56
- data/samples/Rakefile +0 -154
- data/spec/README.md +0 -9
- data/spec/assemblyinfo_contexts.rb +0 -52
- data/spec/fluentmigratorrunner_spec.rb +0 -263
- data/spec/msdeploy_spec.rb +0 -124
- data/spec/mstesttestrunner_spec.rb +0 -144
- data/spec/nunittestrunner_spec.rb +0 -115
- 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/spec.opts +0 -1
- data/spec/specflowreport_spec.rb +0 -143
- data/spec/support/AssemblyInfo/AssemblyInfo.test +0 -6
- 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/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/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
@@ -0,0 +1,84 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe AspNetCompiler do
|
4
|
+
subject(:task) do
|
5
|
+
task = AspNetCompiler.new()
|
6
|
+
task.extend(SystemPatch)
|
7
|
+
task.command = "aspnetcompiler"
|
8
|
+
task.physical_path = "physical/path"
|
9
|
+
task.target_path = "target/path"
|
10
|
+
task.clean
|
11
|
+
task.debug
|
12
|
+
task.force
|
13
|
+
task.fixed_names
|
14
|
+
task.delay_sign
|
15
|
+
task.updateable
|
16
|
+
task.no_logo
|
17
|
+
task
|
18
|
+
end
|
19
|
+
|
20
|
+
let(:cmd) { task.system_command }
|
21
|
+
|
22
|
+
context "when overriding all values" do
|
23
|
+
before :each do
|
24
|
+
task.virtual_path = "virtual/path"
|
25
|
+
task.execute
|
26
|
+
end
|
27
|
+
|
28
|
+
it "should use the command" do
|
29
|
+
cmd.should include("aspnetcompiler")
|
30
|
+
end
|
31
|
+
|
32
|
+
it "should use the physical path" do
|
33
|
+
cmd.should include("-p \"physical/path\"") if Albacore::Support::Platform.linux?
|
34
|
+
cmd.should include("-p \"physical\\path\"") if !Albacore::Support::Platform.linux?
|
35
|
+
end
|
36
|
+
|
37
|
+
it "should use the target path" do
|
38
|
+
cmd.should include("\"target/path\"") if Albacore::Support::Platform.linux?
|
39
|
+
cmd.should include("\"target\\path\"") if !Albacore::Support::Platform.linux?
|
40
|
+
end
|
41
|
+
|
42
|
+
it "should use default virtual path" do
|
43
|
+
cmd.should include("-v virtual/path")
|
44
|
+
end
|
45
|
+
|
46
|
+
it "should be clean" do
|
47
|
+
cmd.should include("-c")
|
48
|
+
end
|
49
|
+
|
50
|
+
it "should show no logo" do
|
51
|
+
cmd.should include("-nologo")
|
52
|
+
end
|
53
|
+
|
54
|
+
it "should delay sign" do
|
55
|
+
cmd.should include("-delaysign")
|
56
|
+
end
|
57
|
+
|
58
|
+
it "should use fixed names" do
|
59
|
+
cmd.should include("-fixednames")
|
60
|
+
end
|
61
|
+
|
62
|
+
it "should be updateable" do
|
63
|
+
cmd.should include("-u")
|
64
|
+
end
|
65
|
+
|
66
|
+
it "should force" do
|
67
|
+
cmd.should include("-f")
|
68
|
+
end
|
69
|
+
|
70
|
+
it "should debug" do
|
71
|
+
cmd.should include("-d")
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
context "when relying on defaults" do
|
76
|
+
before :each do
|
77
|
+
task.execute
|
78
|
+
end
|
79
|
+
|
80
|
+
it "should use the default virtual path" do
|
81
|
+
cmd.should include("-v /")
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -1,36 +1,36 @@
|
|
1
|
-
|
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
|
+
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")]
|
data/spec/assemblyinfo_spec.rb
CHANGED
@@ -1,477 +1,209 @@
|
|
1
|
-
require
|
2
|
-
require
|
3
|
-
require
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
end
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
end
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
before :
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
end
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
@asm.title = @tester.title
|
211
|
-
@asm.description = @tester.description
|
212
|
-
@asm.copyright = @tester.copyright
|
213
|
-
@asm.com_visible = @tester.com_visible
|
214
|
-
@asm.com_guid = @tester.com_guid
|
215
|
-
@asm.file_version = @tester.file_version
|
216
|
-
@asm.informational_version = @tester.informational_version
|
217
|
-
@asm.trademark = @tester.trademark
|
218
|
-
@asm.company_name = @tester.company_name
|
219
|
-
|
220
|
-
using_engine settings[:engine] unless settings[:engine].nil?
|
221
|
-
end
|
222
|
-
|
223
|
-
let(:s) { settings[:start_token] }
|
224
|
-
let(:e) { settings[:end_token] }
|
225
|
-
let(:using) { settings[:using] }
|
226
|
-
let(:d) { settings[:nsdelim] || '.' }
|
227
|
-
let(:t) { settings[:statement_terminator] || ';'}
|
228
|
-
|
229
|
-
subject { @tester.build_and_read_assemblyinfo_file @asm }
|
230
|
-
|
231
|
-
it "should use the system.reflection namespace" do
|
232
|
-
subject.scan(%Q|#{using}System#{d}Reflection#{t}|).length.should == 1
|
233
|
-
end
|
234
|
-
|
235
|
-
it "should use the system.runtime.interopservices namespace" do
|
236
|
-
subject.scan(%Q|#{using}System#{d}Runtime#{d}InteropServices#{t}|).length.should == 1
|
237
|
-
end
|
238
|
-
|
239
|
-
it "should use custom namespaces" do
|
240
|
-
subject.scan(%Q|#{using}My#{d}Name#{d}Space#{t}|).length.should == 1
|
241
|
-
end
|
242
|
-
|
243
|
-
it "shold be using the other custom namespace, too" do
|
244
|
-
subject.scan(%Q|#{using}Another#{d}Namespace#{d}GoesHere#{t}|).length.should == 1
|
245
|
-
end
|
246
|
-
|
247
|
-
it "should contain the specified version information" do
|
248
|
-
subject.scan(%Q|#{s}assembly: AssemblyVersion("#{@tester.version}")#{e}|).length.should == 1
|
249
|
-
end
|
250
|
-
|
251
|
-
it "should contain the assembly title" do
|
252
|
-
subject.scan(%Q|#{s}assembly: AssemblyTitle("#{@tester.title}")#{e}|).length.should == 1
|
253
|
-
end
|
254
|
-
|
255
|
-
it "should contain the assembly description" do
|
256
|
-
subject.scan(%Q|#{s}assembly: AssemblyDescription("#{@tester.description}")#{e}|).length.should == 1
|
257
|
-
end
|
258
|
-
|
259
|
-
it "should contain the copyright information" do
|
260
|
-
subject.scan(%Q|#{s}assembly: AssemblyCopyright("#{@tester.copyright}")#{e}|).length.should == 1
|
261
|
-
end
|
262
|
-
|
263
|
-
it "should contain the com visible information" do
|
264
|
-
subject.scan(%Q|#{s}assembly: ComVisible(#{@tester.com_visible})#{e}|).length.should == 1
|
265
|
-
subject.scan(%Q|#{s}assembly: Guid("#{@tester.com_guid}")#{e}|).length.should == 1
|
266
|
-
end
|
267
|
-
|
268
|
-
it "should contain the company name information" do
|
269
|
-
subject.scan(%Q|#{s}assembly: AssemblyCompany("#{@tester.company_name}")#{e}|).length.should == 1
|
270
|
-
end
|
271
|
-
|
272
|
-
it "should contain the product information" do
|
273
|
-
subject.scan(%Q|#{s}assembly: AssemblyProduct("#{@tester.product_name}")#{e}|).length.should == 1
|
274
|
-
end
|
275
|
-
|
276
|
-
it "should contain the file version information" do
|
277
|
-
subject.scan(%Q|#{s}assembly: AssemblyFileVersion("#{@tester.file_version}")#{e}|).length.should == 1
|
278
|
-
end
|
279
|
-
|
280
|
-
it "should contain the trademark information" do
|
281
|
-
subject.scan(%Q|#{s}assembly: AssemblyTrademark("#{@tester.trademark}")#{e}|).length.should == 1
|
282
|
-
end
|
283
|
-
|
284
|
-
it "should contain the informational version information" do
|
285
|
-
subject.scan(%Q|#{s}assembly: AssemblyInformationalVersion("#{@tester.informational_version}")#{e}|).length.should == 1
|
286
|
-
end
|
287
|
-
end
|
288
|
-
end
|
289
|
-
|
290
|
-
describe AssemblyInfo, "when generating an assembly info file with no attributes provided" do
|
291
|
-
include_context "asminfo task"
|
292
|
-
|
293
|
-
subject do
|
294
|
-
@tester.build_and_read_assemblyinfo_file @asm
|
295
|
-
end
|
296
|
-
|
297
|
-
it "should not contain the specified version information" do
|
298
|
-
subject.scan(%Q|[assembly: AssemblyVersion("#{@tester.version}")]|).should be_empty
|
299
|
-
end
|
300
|
-
|
301
|
-
it "should not contain the assembly title" do
|
302
|
-
subject.scan(%Q|[assembly: AssemblyTitle("#{@tester.title}")]|).should be_empty
|
303
|
-
end
|
304
|
-
|
305
|
-
it "should not contain the assembly description" do
|
306
|
-
subject.scan(%Q|[assembly: AssemblyDescription("#{@tester.description}")]|).should be_empty
|
307
|
-
end
|
308
|
-
|
309
|
-
it "should not contain the copyright information" do
|
310
|
-
subject.scan(%Q|[assembly: AssemblyCopyright("#{@tester.copyright}")]|).should be_empty
|
311
|
-
end
|
312
|
-
|
313
|
-
it "should not contain the com visible information" do
|
314
|
-
subject.scan(%Q|[assembly: ComVisible(#{@tester.com_visible})]|).should be_empty
|
315
|
-
subject.scan(%Q|[assembly: Guid("#{@tester.com_guid}")]|).should be_empty
|
316
|
-
end
|
317
|
-
|
318
|
-
it "should not contain the company name information" do
|
319
|
-
subject.scan(%Q|[assembly: AssemblyCompany("#{@tester.company_name}")]|).should be_empty
|
320
|
-
end
|
321
|
-
|
322
|
-
it "should not contain the product information" do
|
323
|
-
subject.scan(%Q|[assembly: AssemblyProduct("#{@tester.product_name}")]|).should be_empty
|
324
|
-
end
|
325
|
-
|
326
|
-
it "should not contain the file version information" do
|
327
|
-
subject.scan(%Q|[assembly: AssemblyFileVersion("#{@tester.file_version}")]|).should be_empty
|
328
|
-
end
|
329
|
-
|
330
|
-
it "should not contain the trademark information" do
|
331
|
-
subject.scan(%Q|[assembly: AssemblyTrademark("#{@tester.trademark}")]|).should be_empty
|
332
|
-
end
|
333
|
-
|
334
|
-
it "should not contain the informational version information" do
|
335
|
-
subject.scan(%Q|[assembly: AssemblyInformationalVersion("#{@tester.informational_version}")]|).should be_empty
|
336
|
-
end
|
337
|
-
end
|
338
|
-
|
339
|
-
describe AssemblyInfo, "when configuring the assembly info generator with a yaml file" do
|
340
|
-
before :all do
|
341
|
-
@asm = AssemblyInfo.new
|
342
|
-
@asm.configure(AssemblyInfoTester.new.yaml_file)
|
343
|
-
end
|
344
|
-
|
345
|
-
it "should set the values for the provided attributes" do
|
346
|
-
@asm.version.should == "0.0.1"
|
347
|
-
@asm.company_name.should == "some company name"
|
348
|
-
end
|
349
|
-
end
|
350
|
-
|
351
|
-
describe AssemblyInfo, "when assembly info configuration is provided" do
|
352
|
-
let :asm do
|
353
|
-
Albacore.configure do |config|
|
354
|
-
config.assemblyinfo do |asm|
|
355
|
-
asm.company_name = "foo"
|
356
|
-
asm.version = "bar"
|
357
|
-
end
|
358
|
-
end
|
359
|
-
AssemblyInfo.new
|
360
|
-
end
|
361
|
-
it "should use the supplied info" do
|
362
|
-
asm.company_name.should == "foo"
|
363
|
-
asm.version.should == "bar"
|
364
|
-
end
|
365
|
-
end
|
366
|
-
|
367
|
-
describe AssemblyInfo, "when specifying custom data" do
|
368
|
-
|
369
|
-
include_context "asminfo task"
|
370
|
-
|
371
|
-
before :all do
|
372
|
-
@asm.custom_data "// foo", "// bar"
|
373
|
-
end
|
374
|
-
|
375
|
-
subject{ @tester.build_and_read_assemblyinfo_file @asm }
|
376
|
-
|
377
|
-
it "should write data unmodified to the output" do
|
378
|
-
subject.scan('// foo').length.should == 1
|
379
|
-
subject.scan('// bar').length.should == 1
|
380
|
-
end
|
381
|
-
end
|
382
|
-
|
383
|
-
describe AssemblyInfo, "when an input file is provided" do
|
384
|
-
|
385
|
-
include_context "asminfo task"
|
386
|
-
|
387
|
-
before :all do
|
388
|
-
@asm.version = @tester.version
|
389
|
-
@asm.file_version = @tester.file_version
|
390
|
-
@asm.namespaces "My.Custom.Namespace"
|
391
|
-
@asm.custom_attributes :CustomAttribute => nil
|
392
|
-
@asm.custom_data "// foo", "// baz"
|
393
|
-
|
394
|
-
# make it use existing file
|
395
|
-
@tester.use_input_file
|
396
|
-
end
|
397
|
-
|
398
|
-
subject { @tester.build_and_read_assemblyinfo_file @asm }
|
399
|
-
|
400
|
-
it "should contain correct version attribute" do
|
401
|
-
subject.scan(%Q|[assembly: AssemblyVersion("#{@tester.version}")]|).length.should == 1
|
402
|
-
end
|
403
|
-
|
404
|
-
it "shoud leave comment untouched" do
|
405
|
-
subject.scan(%Q|// A comment we want to see maintained|).length.should == 1
|
406
|
-
end
|
407
|
-
|
408
|
-
it "should introduce a new fileversion attribute" do
|
409
|
-
subject.scan(%Q|[assembly: AssemblyFileVersion("#{@tester.file_version}")]|).length.should == 1
|
410
|
-
end
|
411
|
-
|
412
|
-
it "should still leave custom data that's already in there intact" do
|
413
|
-
subject.scan(%Q|// foo|).length.should == 1
|
414
|
-
end
|
415
|
-
|
416
|
-
it "should add custom data that's still missing" do
|
417
|
-
subject.scan(%Q|// baz|).length.should == 1
|
418
|
-
end
|
419
|
-
|
420
|
-
it "should add namespaces to the top of the file" do
|
421
|
-
# Top of file is assumed to be before the first attribute. Comments are ignored.
|
422
|
-
s = subject.split($/)
|
423
|
-
first_attr_line = s.index { |l| l =~ /^\[/ }
|
424
|
-
s.index(%Q|using My.Custom.Namespace;|).should be < first_attr_line
|
425
|
-
s.index(%Q|using System.Reflection;|).should be < first_attr_line
|
426
|
-
s.index(%Q|using System.Runtime.InteropServices;|).should be < first_attr_line
|
427
|
-
end
|
428
|
-
|
429
|
-
it "should not duplicate namespaces" do
|
430
|
-
subject.scan(%Q|using My.Custom.Namespace;|).length.should == 1
|
431
|
-
subject.scan(%Q|using System.Reflection;|).length.should == 1
|
432
|
-
subject.scan(%Q|using System.Runtime.InteropServices;|).length.should == 1
|
433
|
-
end
|
434
|
-
|
435
|
-
it "should update existing custom attributes" do
|
436
|
-
subject.scan(%Q|[assembly: CustomAttribute()]|).length.should == 1
|
437
|
-
subject.scan(%Q|[assembly: CustomAttribute(12345)]|).length.should == 0
|
438
|
-
end
|
439
|
-
end
|
440
|
-
|
441
|
-
describe AssemblyInfo, "when an input file is provided with no attributes" do
|
442
|
-
|
443
|
-
include_context "asminfo task"
|
444
|
-
|
445
|
-
before :all do
|
446
|
-
@asm.company_name = nil
|
447
|
-
@asm.version = nil
|
448
|
-
|
449
|
-
# make it use existing file
|
450
|
-
@tester.use_input_file
|
451
|
-
end
|
452
|
-
|
453
|
-
subject { @tester.build_and_read_assemblyinfo_file @asm }
|
454
|
-
|
455
|
-
# will give a false-positive if input file has no blank lines at the bottom
|
456
|
-
it "should output one blank line at the bottom" do
|
457
|
-
subject.scan(/[^\n]\n\z/).length.should == 1
|
458
|
-
end
|
459
|
-
end
|
460
|
-
|
461
|
-
describe AssemblyInfo, "when specifying initial comments" do
|
462
|
-
|
463
|
-
include_context "asminfo task"
|
464
|
-
|
465
|
-
before :all do
|
466
|
-
@asm.initial_comments "// foo", "// bar"
|
467
|
-
end
|
468
|
-
|
469
|
-
subject{ @tester.build_and_read_assemblyinfo_file @asm }
|
470
|
-
|
471
|
-
it "should write the initial comments at the top of the file" do
|
472
|
-
# Top of file is assumed to be before the first attribute. Comments are ignored.
|
473
|
-
s = subject.split($/)
|
474
|
-
s.index(%Q|// foo|).should == 0
|
475
|
-
s.index(%Q|// bar|).should == 1
|
476
|
-
end
|
477
|
-
end
|
1
|
+
require "fileutils"
|
2
|
+
require "spec_helper"
|
3
|
+
require "tempfile"
|
4
|
+
|
5
|
+
describe AssemblyInfo do
|
6
|
+
let(:input_path) { File.expand_path("spec/assemblyinfo/AssemblyInfo.cs") }
|
7
|
+
let(:output_path) { Tempfile.new("AssemblyInfo") }
|
8
|
+
let(:content) { File.read(output_path) }
|
9
|
+
|
10
|
+
subject(:task) do
|
11
|
+
task = AssemblyInfo.new()
|
12
|
+
task.output_file = output_path
|
13
|
+
task.version = "1.0.0"
|
14
|
+
task.file_version = "1.0.0"
|
15
|
+
task.informational_version = "1.0.0"
|
16
|
+
task.title = "title"
|
17
|
+
task.description = "description"
|
18
|
+
task.copyright = "copyright"
|
19
|
+
task.company_name = "company"
|
20
|
+
task.product_name = "product"
|
21
|
+
task.trademark = "trademark"
|
22
|
+
task.com_visible
|
23
|
+
task.com_guid = "00000000-0000-0000-0000-000000000000"
|
24
|
+
task.initial_comments = ["//comment"]
|
25
|
+
task.namespaces = ["Foo.Bar"]
|
26
|
+
task.custom_data = ["whatever"]
|
27
|
+
task.custom_attributes = {
|
28
|
+
:String => "string",
|
29
|
+
:Null => nil,
|
30
|
+
:Literal => false,
|
31
|
+
:Multiple => ["string", true, 0],
|
32
|
+
:Named => {:one => "string", :two => true, :three => 0},
|
33
|
+
:Mixed => ["string", {:two => true}]
|
34
|
+
}
|
35
|
+
task
|
36
|
+
end
|
37
|
+
|
38
|
+
after :each do
|
39
|
+
FileUtils.rm_rf(output_path)
|
40
|
+
end
|
41
|
+
|
42
|
+
context "when using the default engine (csharp)" do
|
43
|
+
before :each do
|
44
|
+
task.execute
|
45
|
+
end
|
46
|
+
|
47
|
+
it "should write the comments first" do
|
48
|
+
content.should include("//comment")
|
49
|
+
end
|
50
|
+
|
51
|
+
it "should write the custom namespaces" do
|
52
|
+
content.should include("using Foo.Bar;")
|
53
|
+
end
|
54
|
+
|
55
|
+
it "should write the required namespaces" do
|
56
|
+
content.should include("using System.Reflection;")
|
57
|
+
content.should include("using System.Runtime.InteropServices;")
|
58
|
+
end
|
59
|
+
|
60
|
+
it "should write the title" do
|
61
|
+
content.should include("[assembly: AssemblyTitle(\"title\")]")
|
62
|
+
end
|
63
|
+
|
64
|
+
it "should write the description" do
|
65
|
+
content.should include("[assembly: AssemblyDescription(\"description\")]")
|
66
|
+
end
|
67
|
+
|
68
|
+
it "should write the company" do
|
69
|
+
content.should include("[assembly: AssemblyCompany(\"company\")]")
|
70
|
+
end
|
71
|
+
|
72
|
+
it "should write the product" do
|
73
|
+
content.should include("[assembly: AssemblyProduct(\"product\")]")
|
74
|
+
end
|
75
|
+
|
76
|
+
it "should write the copyright" do
|
77
|
+
content.should include("[assembly: AssemblyCopyright(\"copyright\")]")
|
78
|
+
end
|
79
|
+
|
80
|
+
it "should write the trademark" do
|
81
|
+
content.should include("[assembly: AssemblyTrademark(\"trademark\")]")
|
82
|
+
end
|
83
|
+
|
84
|
+
it "should be COM visible" do
|
85
|
+
content.should include("[assembly: ComVisible(true)]")
|
86
|
+
end
|
87
|
+
|
88
|
+
it "should write the COM guid" do
|
89
|
+
content.should include("[assembly: Guid(\"00000000-0000-0000-0000-000000000000\")]")
|
90
|
+
end
|
91
|
+
|
92
|
+
it "should write the version" do
|
93
|
+
content.should include("[assembly: AssemblyVersion(\"1.0.0\")]")
|
94
|
+
end
|
95
|
+
|
96
|
+
it "should write the file version" do
|
97
|
+
content.should include("[assembly: AssemblyFileVersion(\"1.0.0\")]")
|
98
|
+
end
|
99
|
+
|
100
|
+
it "should write the informational version" do
|
101
|
+
content.should include("[assembly: AssemblyInformationalVersion(\"1.0.0\")]")
|
102
|
+
end
|
103
|
+
|
104
|
+
it "should write the custom string attribute" do
|
105
|
+
content.should include("[assembly: String(\"string\")]")
|
106
|
+
end
|
107
|
+
|
108
|
+
it "should write the custom null attribute" do
|
109
|
+
content.should include("[assembly: Null()]")
|
110
|
+
end
|
111
|
+
|
112
|
+
it "should write the custom literal attribute" do
|
113
|
+
content.should include("[assembly: Literal(false)]")
|
114
|
+
end
|
115
|
+
|
116
|
+
it "should write the custom multi-value attribute" do
|
117
|
+
content.should include("[assembly: Multiple(\"string\", true, 0)]")
|
118
|
+
end
|
119
|
+
|
120
|
+
it "should write the custom multi-value-named attribute" do
|
121
|
+
content.should include("[assembly: Named(one = \"string\", two = true, three = 0)]")
|
122
|
+
end
|
123
|
+
|
124
|
+
it "should write the custom mixed-multi-value attribute" do
|
125
|
+
content.should include("[assembly: Mixed(\"string\", two = true)]")
|
126
|
+
end
|
127
|
+
|
128
|
+
it "should write the custom data" do
|
129
|
+
content.should include("whatever")
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
context "when starting from an input file" do
|
134
|
+
before :each do
|
135
|
+
task.input_file = input_path
|
136
|
+
task.title = nil #=> so it isn't overwritten
|
137
|
+
task.execute
|
138
|
+
end
|
139
|
+
|
140
|
+
it "should not lose existing comments" do
|
141
|
+
content.should include("// General Information about an assembly is controlled through the following")
|
142
|
+
end
|
143
|
+
|
144
|
+
it "should not lose existing namespaces" do
|
145
|
+
content.should include("using System.Runtime.InteropServices;")
|
146
|
+
end
|
147
|
+
|
148
|
+
it "should not lose existing attributes" do
|
149
|
+
content.should include("[assembly: AssemblyTitle(\"TestSolution\")]")
|
150
|
+
end
|
151
|
+
|
152
|
+
it "should overwrite customized properties" do
|
153
|
+
content.should include("[assembly: AssemblyVersion(\"1.0.0\")]")
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
context "when using the fsharp engine" do
|
158
|
+
before :each do
|
159
|
+
task.lang_engine = FSharpEngine.new()
|
160
|
+
task.execute
|
161
|
+
end
|
162
|
+
|
163
|
+
it "should contain a module definition" do
|
164
|
+
content.should include("module AssemblyInfo")
|
165
|
+
end
|
166
|
+
|
167
|
+
it "should contain the module definition ending" do
|
168
|
+
content.should include("()")
|
169
|
+
end
|
170
|
+
|
171
|
+
it "should use open for namespaces" do
|
172
|
+
content.should include("open System.Reflection")
|
173
|
+
end
|
174
|
+
|
175
|
+
it "should use angle brackets for attributes" do
|
176
|
+
content.should include("[<assembly: AssemblyTitle(\"title\")>]")
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
context "when using the vbnet engine" do
|
181
|
+
before :each do
|
182
|
+
task.lang_engine = VbNetEngine.new()
|
183
|
+
task.execute
|
184
|
+
end
|
185
|
+
|
186
|
+
it "should use imports for namespaces" do
|
187
|
+
content.should include("Imports System.Reflection")
|
188
|
+
end
|
189
|
+
|
190
|
+
it "should use angle brackets for attributes" do
|
191
|
+
content.should include("<assembly: AssemblyTitle(\"title\")>")
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
context "when using the cpp cli engine" do
|
196
|
+
before :each do
|
197
|
+
task.lang_engine = CppCliEngine.new()
|
198
|
+
task.execute
|
199
|
+
end
|
200
|
+
|
201
|
+
it "should use using for namespaces" do
|
202
|
+
content.should include("using namespace System::Reflection;")
|
203
|
+
end
|
204
|
+
|
205
|
+
it "should use square brackets for attributes" do
|
206
|
+
content.should include("[assembly: AssemblyTitle(\"title\")]")
|
207
|
+
end
|
208
|
+
end
|
209
|
+
end
|