Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'hotfix-0.6.2'

  • Loading branch information...
commit e5364ed4dfd8034f6a9725c10117dcca42a57724 2 parents 4086e1f + 318e2f3
@danielmarbach danielmarbach authored
Showing with 355 additions and 33,797 deletions.
  1. +5 −4 .gitignore
  2. +7 −0 CONTRIBUTING.md
  3. +4 −0 Gemfile
  4. +23 −0 Gemfile.lock
  5. +57 −0 HOW_TO_BUILD.md
  6. +1 −1  README.markdown → README.md
  7. +1 −1  Source/Examples/Example.Failing/FailingContext.cs
  8. +0 −1  Source/Machine.Specifications.Should.Specs/Machine.Specifications.Should.Specs.csproj
  9. +0 −1  Source/Machine.Specifications.Should/Machine.Specifications.Should.csproj
  10. +81 −81 Source/{Machine.Specifications.Should.Specs → Machine.Specifications.Specs}/CatchSpecs.cs
  11. +1 −0  Source/Machine.Specifications.Specs/Machine.Specifications.Specs.csproj
  12. 0  Source/{Machine.Specifications.Should → Machine.Specifications}/Catch.cs
  13. +1 −0  Source/Machine.Specifications/Framework.cs
  14. +1 −0  Source/Machine.Specifications/Machine.Specifications.csproj
  15. +2 −1  Source/Runners/Machine.Specifications.ConsoleRunner/Machine.Specifications.ConsoleRunner.csproj
  16. +45 −0 Source/Runners/Machine.Specifications.ConsoleRunner/Machine.Specifications.ConsoleRunner.targets
  17. +4 −9 Source/Runners/Machine.Specifications.ReSharperRunner.6.1/Explorers/MSpecTestMetadataExplorer.cs
  18. +4 −9 Source/Runners/Machine.Specifications.ReSharperRunner.8.0/Explorers/MSpecTestMetadataExplorer.cs
  19. +0 −5 ...hine.Specifications.ReSharperRunner.Debug.VS2010/Machine.Specifications.ReSharperRunner.Debug.VS2010.csproj
  20. +9 −6 Source/Runners/Machine.Specifications.TDNetRunner/Machine.Specifications.TDNetRunner.csproj
  21. +1 −1  ...cifications.TDNetRunner/{Machine.Specifications.dll.tdnet.template → Machine.Specifications.dll.tdnet}
  22. +0 −57 Tools/Gallio/ASL - Apache Software Foundation License.txt
  23. +0 −14 Tools/Gallio/Gallio License.txt
  24. BIN  Tools/Gallio/bin/Gallio.Echo.exe
  25. +0 −29 Tools/Gallio/bin/Gallio.Echo.exe.config
  26. +0 −18 Tools/Gallio/bin/Gallio.Echo.plugin
  27. BIN  Tools/Gallio/bin/Gallio.Reports.dll
  28. +0 −298 Tools/Gallio/bin/Gallio.Reports.plugin
  29. BIN  Tools/Gallio/bin/Gallio.UI.dll
  30. +0 −127 Tools/Gallio/bin/Gallio.UI.plugin
  31. BIN  Tools/Gallio/bin/Gallio.dll
  32. +0 −676 Tools/Gallio/bin/Gallio.plugin
  33. BIN  Tools/Gallio/bin/NUnit/254-10/Gallio.NUnitAdapter254-10.dll
  34. +0 −84 Tools/Gallio/bin/NUnit/254-10/Gallio.NUnitAdapter254-10.plugin
  35. +0 −12 Tools/Gallio/bin/NUnit/254-10/Readme.txt
  36. BIN  Tools/Gallio/bin/NUnit/254-10/Resources/NUnit.ico
  37. +0 −1  Tools/Gallio/bin/NUnit/254-10/addins/NUnit Addins Readme.txt
  38. +0 −15 Tools/Gallio/bin/NUnit/254-10/license.txt
  39. BIN  Tools/Gallio/bin/NUnit/254-10/nunit.core.dll
  40. BIN  Tools/Gallio/bin/NUnit/254-10/nunit.core.interfaces.dll
  41. BIN  Tools/Gallio/bin/NUnit/254-10/nunit.framework.dll
  42. +0 −6 Tools/Gallio/bin/NUnit/254-10/nunit.framework.dll.tdnet
  43. BIN  Tools/Gallio/bin/NUnit/254-10/nunit.util.dll
  44. BIN  Tools/Gallio/bin/NUnit/Latest/Gallio.NUnitAdapterLatest.dll
  45. +0 −84 Tools/Gallio/bin/NUnit/Latest/Gallio.NUnitAdapterLatest.plugin
  46. +0 −12 Tools/Gallio/bin/NUnit/Latest/Readme.txt
  47. BIN  Tools/Gallio/bin/NUnit/Latest/Resources/NUnit.ico
  48. +0 −1  Tools/Gallio/bin/NUnit/Latest/addins/NUnit Addins Readme.txt
  49. +0 −15 Tools/Gallio/bin/NUnit/Latest/license.txt
  50. BIN  Tools/Gallio/bin/NUnit/Latest/nunit.core.dll
  51. BIN  Tools/Gallio/bin/NUnit/Latest/nunit.core.interfaces.dll
  52. BIN  Tools/Gallio/bin/NUnit/Latest/nunit.framework.dll
  53. +0 −6 Tools/Gallio/bin/NUnit/Latest/nunit.framework.dll.tdnet
  54. +0 −10,960 Tools/Gallio/bin/NUnit/Latest/nunit.framework.xml
  55. BIN  Tools/Gallio/bin/NUnit/Latest/nunit.util.dll
  56. +0 −42 Tools/Gallio/bin/Resources/vm/Gallio-Report.txt-common.vm
  57. +0 −5 Tools/Gallio/bin/Resources/vm/Gallio-Report.txt.vm
  58. +0 −30 Tools/Rake/assemblyinfo.rb
  59. BIN  Tools/Rake/bin/msvcrt-ruby18.dll
  60. +0 −31 Tools/Rake/bin/rake
  61. BIN  Tools/Rake/bin/ruby.exe
  62. +0 −23 Tools/Rake/filelist.rb
  63. +0 −1,708 Tools/Rake/lib/ruby/1.8/date.rb
  64. +0 −1,088 Tools/Rake/lib/ruby/1.8/date/format.rb
  65. +0 −335 Tools/Rake/lib/ruby/1.8/delegate.rb
  66. +0 −826 Tools/Rake/lib/ruby/1.8/erb.rb
  67. +0 −1,591 Tools/Rake/lib/ruby/1.8/fileutils.rb
  68. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/Win32API.so
  69. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/bigdecimal.so
  70. +0 −92 Tools/Rake/lib/ruby/1.8/i386-mswin32/config.h
  71. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/curses.so
  72. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/dbm.so
  73. +0 −262 Tools/Rake/lib/ruby/1.8/i386-mswin32/defines.h
  74. +0 −32 Tools/Rake/lib/ruby/1.8/i386-mswin32/digest.h
  75. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/digest.so
  76. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/digest/bubblebabble.so
  77. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/digest/md5.so
  78. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/digest/rmd160.so
  79. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/digest/sha1.so
  80. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/digest/sha2.so
  81. +0 −313 Tools/Rake/lib/ruby/1.8/i386-mswin32/dl.h
  82. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/dl.so
  83. +0 −16 Tools/Rake/lib/ruby/1.8/i386-mswin32/dlconfig.h
  84. +0 −40 Tools/Rake/lib/ruby/1.8/i386-mswin32/dln.h
  85. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/enumerator.so
  86. +0 −60 Tools/Rake/lib/ruby/1.8/i386-mswin32/env.h
  87. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/etc.so
  88. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/fcntl.so
  89. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/gdbm.so
  90. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/iconv.so
  91. +0 −508 Tools/Rake/lib/ruby/1.8/i386-mswin32/intern.h
  92. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/io/wait.so
  93. +0 −142 Tools/Rake/lib/ruby/1.8/i386-mswin32/missing.h
  94. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/nkf.so
  95. +0 −474 Tools/Rake/lib/ruby/1.8/i386-mswin32/node.h
  96. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/openssl.so
  97. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/racc/cparse.so
  98. +0 −154 Tools/Rake/lib/ruby/1.8/i386-mswin32/rbconfig.rb
  99. +0 −42 Tools/Rake/lib/ruby/1.8/i386-mswin32/re.h
  100. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/readline.so
  101. +0 −221 Tools/Rake/lib/ruby/1.8/i386-mswin32/regex.h
  102. +0 −759 Tools/Rake/lib/ruby/1.8/i386-mswin32/ruby.h
  103. +0 −88 Tools/Rake/lib/ruby/1.8/i386-mswin32/rubyio.h
  104. +0 −105 Tools/Rake/lib/ruby/1.8/i386-mswin32/rubysig.h
  105. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/sdbm.so
  106. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/socket.so
  107. +0 −72 Tools/Rake/lib/ruby/1.8/i386-mswin32/st.h
  108. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/stringio.so
  109. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/strscan.so
  110. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/syck.so
  111. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/tcltklib.so
  112. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/thread.so
  113. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/tkutil.so
  114. +0 −67 Tools/Rake/lib/ruby/1.8/i386-mswin32/util.h
  115. +0 −19 Tools/Rake/lib/ruby/1.8/i386-mswin32/version.h
  116. +0 −559 Tools/Rake/lib/ruby/1.8/i386-mswin32/win32/win32.h
  117. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/win32ole.so
  118. BIN  Tools/Rake/lib/ruby/1.8/i386-mswin32/zlib.so
  119. +0 −352 Tools/Rake/lib/ruby/1.8/monitor.rb
  120. +0 −1,788 Tools/Rake/lib/ruby/1.8/optparse.rb
  121. +0 −146 Tools/Rake/lib/ruby/1.8/ostruct.rb
  122. +0 −530 Tools/Rake/lib/ruby/1.8/rational.rb
  123. +0 −360 Tools/Rake/lib/ruby/1.8/singleton.rb
  124. +0 −193 Tools/Rake/lib/ruby/1.8/tempfile.rb
  125. +0 −45 Tools/Rake/lib/ruby/1.8/tmpdir.rb
  126. +0 −831 Tools/Rake/lib/ruby/1.8/win32/registry.rb
  127. +0 −436 Tools/Rake/lib/ruby/1.8/yaml.rb
  128. +0 −247 Tools/Rake/lib/ruby/1.8/yaml/baseemitter.rb
  129. +0 −216 Tools/Rake/lib/ruby/1.8/yaml/basenode.rb
  130. +0 −45 Tools/Rake/lib/ruby/1.8/yaml/constants.rb
  131. +0 −111 Tools/Rake/lib/ruby/1.8/yaml/dbm.rb
  132. +0 −33 Tools/Rake/lib/ruby/1.8/yaml/encoding.rb
  133. +0 −34 Tools/Rake/lib/ruby/1.8/yaml/error.rb
  134. +0 −14 Tools/Rake/lib/ruby/1.8/yaml/loader.rb
  135. +0 −408 Tools/Rake/lib/ruby/1.8/yaml/rubytypes.rb
  136. +0 −29 Tools/Rake/lib/ruby/1.8/yaml/store.rb
  137. +0 −40 Tools/Rake/lib/ruby/1.8/yaml/stream.rb
  138. +0 −83 Tools/Rake/lib/ruby/1.8/yaml/stringio.rb
  139. +0 −19 Tools/Rake/lib/ruby/1.8/yaml/syck.rb
  140. +0 −91 Tools/Rake/lib/ruby/1.8/yaml/tag.rb
  141. +0 −194 Tools/Rake/lib/ruby/1.8/yaml/types.rb
  142. +0 −54 Tools/Rake/lib/ruby/1.8/yaml/yamlnode.rb
  143. +0 −52 Tools/Rake/lib/ruby/1.8/yaml/ypath.rb
  144. +0 −12 Tools/Rake/lib/ruby/site_ruby/1.8/configatron.rb
  145. +0 −59 Tools/Rake/lib/ruby/site_ruby/1.8/configatron/configatron.rb
  146. +0 −25 Tools/Rake/lib/ruby/site_ruby/1.8/configatron/core_ext/class.rb
  147. +0 −8 Tools/Rake/lib/ruby/site_ruby/1.8/configatron/core_ext/kernel.rb
  148. +0 −13 Tools/Rake/lib/ruby/site_ruby/1.8/configatron/core_ext/object.rb
  149. +0 −90 Tools/Rake/lib/ruby/site_ruby/1.8/configatron/core_ext/string.rb
  150. +0 −13 Tools/Rake/lib/ruby/site_ruby/1.8/configatron/errors.rb
  151. +0 −104 Tools/Rake/lib/ruby/site_ruby/1.8/configatron/proc.rb
  152. +0 −53 Tools/Rake/lib/ruby/site_ruby/1.8/configatron/rails.rb
  153. +0 −310 Tools/Rake/lib/ruby/site_ruby/1.8/configatron/store.rb
  154. +0 −2,506 Tools/Rake/lib/ruby/site_ruby/1.8/rake.rb
  155. +0 −108 Tools/Rake/lib/ruby/site_ruby/1.8/rake/alt_system.rb
  156. +0 −8 Tools/Rake/lib/ruby/site_ruby/1.8/rake/classic_namespace.rb
  157. +0 −33 Tools/Rake/lib/ruby/site_ruby/1.8/rake/clean.rb
  158. +0 −24 Tools/Rake/lib/ruby/site_ruby/1.8/rake/contrib/compositepublisher.rb
  159. +0 −153 Tools/Rake/lib/ruby/site_ruby/1.8/rake/contrib/ftptools.rb
  160. +0 −75 Tools/Rake/lib/ruby/site_ruby/1.8/rake/contrib/publisher.rb
  161. +0 −18 Tools/Rake/lib/ruby/site_ruby/1.8/rake/contrib/rubyforgepublisher.rb
  162. +0 −47 Tools/Rake/lib/ruby/site_ruby/1.8/rake/contrib/sshpublisher.rb
  163. +0 −209 Tools/Rake/lib/ruby/site_ruby/1.8/rake/contrib/sys.rb
  164. +0 −97 Tools/Rake/lib/ruby/site_ruby/1.8/rake/gempackagetask.rb
  165. +0 −42 Tools/Rake/lib/ruby/site_ruby/1.8/rake/loaders/makefile.rb
  166. +0 −184 Tools/Rake/lib/ruby/site_ruby/1.8/rake/packagetask.rb
  167. +0 −5 Tools/Rake/lib/ruby/site_ruby/1.8/rake/rake_test_loader.rb
  168. +0 −209 Tools/Rake/lib/ruby/site_ruby/1.8/rake/rdoctask.rb
  169. +0 −23 Tools/Rake/lib/ruby/site_ruby/1.8/rake/ruby182_test_unit_fix.rb
  170. +0 −23 Tools/Rake/lib/ruby/site_ruby/1.8/rake/runtest.rb
  171. +0 −23 Tools/Rake/lib/ruby/site_ruby/1.8/rake/tasklib.rb
  172. +0 −161 Tools/Rake/lib/ruby/site_ruby/1.8/rake/testtask.rb
  173. +0 −55 Tools/Rake/lib/ruby/site_ruby/1.8/rake/win32.rb
  174. +0 −10 Tools/Rake/lib/ruby/site_ruby/1.8/rubygems.rb
  175. +0 −10 Tools/Rake/lib/ruby/site_ruby/1.8/ubygems.rb
  176. +0 −7 Tools/Rake/lib/ruby/site_ruby/1.8/yamler.rb
  177. +0 −67 Tools/Rake/lib/ruby/site_ruby/1.8/yamler/template.rb
  178. +0 −35 Tools/Rake/lib/ruby/site_ruby/1.8/yamler/yamler.rb
  179. +0 −43 Tools/Rake/msbuild.rb
  180. +0 −38 Tools/Rake/nunit.rb
  181. +0 −58 Tools/Rake/sevenzip.rb
  182. +0 −29 Tools/Rake/string.rb
  183. +0 −16 Tools/Rake/task.rb
  184. +0 −52 Tools/Rake/teamcity_messages.rb
  185. +1 −1  build.cmd
  186. +101 −145 rakefile.rb
  187. +6 −6 ripple.config
View
9 .gitignore
@@ -12,12 +12,13 @@ NDependOut
*.ncrunchproject
/.nuget/nuget.exe
-/Build
-/Distribution
-/Specs
+/Build/*
+/Distribution/*
+/Specs/*.*
/packages
install.ps1
-mspec.nuspec
+Misc/machine.specifications.nuspec
Source/packages/*
logs/*
+.bundle/*
View
7 CONTRIBUTING.md
@@ -0,0 +1,7 @@
+# How to Contribute
+
+First of all, thank you for wanting to contribute to Machine.Specifications! We really appreciate all the awesome support we get from our community. We want to keep it as easy as possible for you to contribute changes that make Machine.Specifications better for you. There are a few guidelines that we need contributors to follow so that we can all work together happily.
+
+## Preparation
+
+Before starting work on a new bug, feature, etc. ensure that an [issue](https://github.com/machine/machine.specifications/issues) has been raised. Indicate your intention to work on the issue by writing a comment against it. This will prevent duplication of effort. If the issue is a new feature, it's usually best to propose a design in the issue comments.
View
4 Gemfile
@@ -0,0 +1,4 @@
+source 'http://rubygems.org'
+gem 'rake'
+gem 'albacore', '~> 1.0.rc'
+gem 'configatron'
View
23 Gemfile.lock
@@ -0,0 +1,23 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ albacore (1.0.0.rc.2)
+ nokogiri (~> 1.5)
+ rake
+ rubyzip (~> 1.0)
+ configatron (2.13.0)
+ yamler (>= 0.1.0)
+ mini_portile (0.5.2)
+ nokogiri (1.6.1-x86-mingw32)
+ mini_portile (~> 0.5.0)
+ rake (10.1.1)
+ rubyzip (1.1.0)
+ yamler (0.1.0)
+
+PLATFORMS
+ x86-mingw32
+
+DEPENDENCIES
+ albacore (~> 1.0.rc)
+ configatron
+ rake
View
57 HOW_TO_BUILD.md
@@ -0,0 +1,57 @@
+# How to build
+
+These instructions are *only* for building with Rake, which includes compilation, test execution and packaging. This is the simplest way to build.
+
+You can also build the solution using Visual Studio 2012 or later.
+
+*Don't be put off by the prerequisites!* It only takes a few minutes to set them up and only needs to be done once. If you haven't used [Rake](http://rake.rubyforge.org/ "RAKE -- Ruby Make") before then you're in for a real treat!
+
+At the time of writing the build is only confirmed to work on Windows using the Microsoft .NET framework.
+
+## Prerequisites
+
+1. Ensure you have .NET framework 3.5 and 4.0/4.5 installed.
+
+1. Install Ruby 2.0.0 or later.
+
+ For Windows we recommend using [RubyInstaller](http://rubyinstaller.org/) and selecting 'Add Ruby executables to your PATH' when prompted. For alternatives see the [Ruby download page](http://www.ruby-lang.org/en/downloads/). Be sure to use the 32 bit version.
+
+1. Install Ruby DevKit for 2.0.0 or later.
+
+ For Windows we recommend using [RubyInstaller](http://rubyinstaller.org/), follow the instructions for [DevKit](https://github.com/oneclick/rubyinstaller/wiki/Development-Kit) . For alternatives see the [Ruby download page](http://www.ruby-lang.org/en/downloads/). Be sure to use the 32 bit version.
+
+1. Using a command prompt, install bundler:
+
+ `gem install bundler`
+
+1. Install/update necessary build tools, navigate to your clone root folder and execute:
+
+ `bundle install`
+
+## Building
+
+Using a command prompt, navigate to your clone root folder and execute:
+
+`rake`
+
+or use the provided build batch files.
+
+This executes the default build tasks. After the build has completed, the build artifacts will be located in `Build`.
+
+## Extras
+
+* View the full list of build tasks:
+
+ `rake -T`
+
+* Run a specific task:
+
+ `rake spec`
+
+* Run multiple tasks:
+
+ `rake spec pack`
+
+* View the full list of rake options:
+
+ `rake -h`
View
2  README.markdown → README.md
@@ -234,7 +234,7 @@ The MSpec HTML reports can show additional [Selenium](http://seleniumhq.org/)-sp
# ReSharper Integration
-MSpec provides a batch file to integrate with the ReSharper test runner, custom naming rules, and code annotations. MSpec currently supports ReSharper 6.1, 7.0, and 7.1.
+MSpec provides a batch file to integrate with the ReSharper test runner, custom naming rules, and code annotations. MSpec currently supports ReSharper 6.1, 7.0, 7.1, 8.0 and 8.1.
### Code Annotations
View
2  Source/Examples/Example.Failing/FailingContext.cs
@@ -19,7 +19,7 @@ public class context_with_multiple_establish_clauses
It should = () => { };
}
- [DelegateUsage(DelegateUsage.Setup)]
+ [SetupDelegate]
public delegate void Given();
[Tags("example")]
View
1  Source/Machine.Specifications.Should.Specs/Machine.Specifications.Should.Specs.csproj
@@ -46,7 +46,6 @@
<Link>Properties\SharedAssemblyInfo.cs</Link>
</Compile>
<Compile Include="AssertionSpecs.cs" />
- <Compile Include="CatchSpecs.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ShouldBeLikeSpecs.cs" />
<Compile Include="Utility\Internal\ErrorMessageSpecs.cs" />
View
1  Source/Machine.Specifications.Should/Machine.Specifications.Should.csproj
@@ -40,7 +40,6 @@
</Compile>
<Compile Include="Annotations\ReSharperAttributes.cs" />
<Compile Include="AssertComparer.cs" />
- <Compile Include="Catch.cs" />
<Compile Include="ComparerStrategies\ComparableComparer.cs" />
<Compile Include="ComparerStrategies\ComparerFactory.cs" />
<Compile Include="ComparerStrategies\ComparisionResult.cs" />
View
162 ...Machine.Specifications.Should.Specs/CatchSpecs.cs → Source/Machine.Specifications.Specs/CatchSpecs.cs
@@ -1,82 +1,82 @@
-using System;
-
-namespace Machine.Specifications.Should.Specs
-{
- [Subject(typeof(Catch))]
- public class when_calling_Catch_Exception_with_an_Action
- {
- [Subject(typeof(Catch))]
- public class with_a_throwing_Action
- {
- static ArgumentException AnException;
- static Exception Result;
-
- Establish context = () => { AnException = new ArgumentException(); };
-
- Because of = () => { Result = Catch.Exception(() => { throw AnException; }); };
-
- It should_return_the_same_exception =
- () => Result.ShouldBeTheSameAs(AnException);
- }
-
- [Subject(typeof(Catch))]
- public class with_a_non_throwing_Action
- {
- static string ActionSideEffect;
- static Exception Result;
-
- Because of = () => { Result = Catch.Exception(() => { ActionSideEffect = "hi"; }); };
-
- It should_access_the_propety =
- () => ActionSideEffect.ShouldEqual("hi");
-
- It should_return_null =
- () => Result.ShouldBeNull();
- }
- }
-
- [Subject(typeof(Catch))]
- public class when_calling_Catch_Exception_with_a_Func
- {
- class Dummy
- {
- public static readonly ArgumentException AnException = new ArgumentException();
-
- public static string ThrowingProperty
- {
- get { throw AnException; }
- }
-
- public static string NonThrowingProperty
- {
- get { return "hi"; }
- }
- }
-
- [Subject(typeof(Catch))]
- public class with_a_throwing_Func
- {
- static Exception Result;
-
- Because of = () => { Result = Catch.Exception(() => Dummy.ThrowingProperty); };
-
- It should_return_the_same_exception =
- () => Result.ShouldBeTheSameAs(Dummy.AnException);
- }
-
- [Subject(typeof(Catch))]
- public class with_a_non_throwing_Func
- {
- static Exception Result;
- static string PropertyValue;
-
- Because of = () => { Result = Catch.Exception(() => PropertyValue = Dummy.NonThrowingProperty); };
-
- It should_access_the_propety =
- () => PropertyValue.ShouldEqual("hi");
-
- It should_return_null =
- () => Result.ShouldBeNull();
- }
- }
+using System;
+
+namespace Machine.Specifications.Specs
+{
+ [Subject(typeof(Catch))]
+ public class when_calling_Catch_Exception_with_an_Action
+ {
+ [Subject(typeof(Catch))]
+ public class with_a_throwing_Action
+ {
+ static ArgumentException AnException;
+ static Exception Result;
+
+ Establish context = () => { AnException = new ArgumentException(); };
+
+ Because of = () => { Result = Catch.Exception(() => { throw AnException; }); };
+
+ It should_return_the_same_exception =
+ () => Result.ShouldBeTheSameAs(AnException);
+ }
+
+ [Subject(typeof(Catch))]
+ public class with_a_non_throwing_Action
+ {
+ static string ActionSideEffect;
+ static Exception Result;
+
+ Because of = () => { Result = Catch.Exception(() => { ActionSideEffect = "hi"; }); };
+
+ It should_access_the_propety =
+ () => ActionSideEffect.ShouldEqual("hi");
+
+ It should_return_null =
+ () => Result.ShouldBeNull();
+ }
+ }
+
+ [Subject(typeof(Catch))]
+ public class when_calling_Catch_Exception_with_a_Func
+ {
+ class Dummy
+ {
+ public static readonly ArgumentException AnException = new ArgumentException();
+
+ public static string ThrowingProperty
+ {
+ get { throw AnException; }
+ }
+
+ public static string NonThrowingProperty
+ {
+ get { return "hi"; }
+ }
+ }
+
+ [Subject(typeof(Catch))]
+ public class with_a_throwing_Func
+ {
+ static Exception Result;
+
+ Because of = () => { Result = Catch.Exception(() => Dummy.ThrowingProperty); };
+
+ It should_return_the_same_exception =
+ () => Result.ShouldBeTheSameAs(Dummy.AnException);
+ }
+
+ [Subject(typeof(Catch))]
+ public class with_a_non_throwing_Func
+ {
+ static Exception Result;
+ static string PropertyValue;
+
+ Because of = () => { Result = Catch.Exception(() => PropertyValue = Dummy.NonThrowingProperty); };
+
+ It should_access_the_propety =
+ () => PropertyValue.ShouldEqual("hi");
+
+ It should_return_null =
+ () => Result.ShouldBeNull();
+ }
+ }
}
View
1  Source/Machine.Specifications.Specs/Machine.Specifications.Specs.csproj
@@ -65,6 +65,7 @@
<Compile Include="..\SharedAssemblyInfo.cs">
<Link>Properties\SharedAssemblyInfo.cs</Link>
</Compile>
+ <Compile Include="CatchSpecs.cs" />
<Compile Include="ExceptionResultSpecs.cs" />
<Compile Include="Explorers\AssemblyExplorerSpecs.cs" />
<Compile Include="Factories\ContextFactorySpecs.cs" />
View
0  Source/Machine.Specifications.Should/Catch.cs → Source/Machine.Specifications/Catch.cs
File renamed without changes
View
1  Source/Machine.Specifications/Framework.cs
@@ -8,6 +8,7 @@ namespace Machine.Specifications
[AssertDelegate]
public delegate void It();
+
[BehaviorDelegate]
public delegate void Behaves_like<TBehavior>();
View
1  Source/Machine.Specifications/Machine.Specifications.csproj
@@ -71,6 +71,7 @@
</Compile>
<Compile Include="Annotations\ReSharperAttributes.cs" />
<Compile Include="BehaviorsAttribute.cs" />
+ <Compile Include="Catch.cs" />
<Compile Include="DelegateUsageAttribute.cs" />
<Compile Include="Factories\BehaviorFactory.cs" />
<Compile Include="Factories\ITagExtractor.cs" />
View
3  Source/Runners/Machine.Specifications.ConsoleRunner/Machine.Specifications.ConsoleRunner.csproj
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Default;Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -125,6 +125,7 @@
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <Import Project=".\Machine.Specifications.ConsoleRunner.targets" />
<Import Project="$(SolutionDir)\Tools\Ripple\RippleRestoreTask.targets" />
<Import Project="$(SolutionDir)\Tools\GitFlowVersion\build\GitFlowVersionTask.targets" />
<PropertyGroup>
View
45 Source/Runners/Machine.Specifications.ConsoleRunner/Machine.Specifications.ConsoleRunner.targets
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Target Name="Default">
+ <ItemGroup>
+ <ConsoleRunners Include="Item1">
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <PlatformTarget>x86</PlatformTarget>
+ <AssemblyName>mspec-x86</AssemblyName>
+ </ConsoleRunners>
+ <ConsoleRunners Include="Item2">
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <PlatformTarget>x86</PlatformTarget>
+ <AssemblyName>mspec-x86-clr4</AssemblyName>
+ </ConsoleRunners>
+ <ConsoleRunners Include="Item3">
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <PlatformTarget>AnyCPU</PlatformTarget>
+ <AssemblyName>mspec-clr4</AssemblyName>
+ </ConsoleRunners>
+ </ItemGroup>
+ <Copy
+ SourceFiles="$(SolutionDir)\Source\Runners\Machine.Specifications.ConsoleRunner\Machine.Specifications.ConsoleRunner.csproj"
+ DestinationFiles="$(SolutionDir)\Source\Runners\Machine.Specifications.ConsoleRunner\Machine.Specifications.ConsoleRunners.%(ConsoleRunners.PlatformTarget).%(ConsoleRunners.TargetFrameworkVersion).csproj"/>
+
+ <XmlPoke XmlInputPath="$(SolutionDir)\Source\Runners\Machine.Specifications.ConsoleRunner\Machine.Specifications.ConsoleRunners.%(ConsoleRunners.PlatformTarget).%(ConsoleRunners.TargetFrameworkVersion).csproj"
+ Query="/ns:Project/@DefaultTargets"
+ Value="Build" Namespaces="&lt;Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/msbuild/2003' /&gt;"/>
+
+ <XmlPoke XmlInputPath="$(SolutionDir)\Source\Runners\Machine.Specifications.ConsoleRunner\Machine.Specifications.ConsoleRunners.%(ConsoleRunners.PlatformTarget).%(ConsoleRunners.TargetFrameworkVersion).csproj"
+ Query="//ns:AssemblyName"
+ Value="%(ConsoleRunners.AssemblyName)" Namespaces="&lt;Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/msbuild/2003' /&gt;"/>
+ <XmlPoke XmlInputPath="$(SolutionDir)\Source\Runners\Machine.Specifications.ConsoleRunner\Machine.Specifications.ConsoleRunners.%(ConsoleRunners.PlatformTarget).%(ConsoleRunners.TargetFrameworkVersion).csproj"
+ Query="//ns:TargetFrameworkVersion"
+ Value="%(ConsoleRunners.TargetFrameworkVersion)" Namespaces="&lt;Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/msbuild/2003' /&gt;"/>
+ <XmlPoke XmlInputPath="$(SolutionDir)\Source\Runners\Machine.Specifications.ConsoleRunner\Machine.Specifications.ConsoleRunners.%(ConsoleRunners.PlatformTarget).%(ConsoleRunners.TargetFrameworkVersion).csproj"
+ Query="//ns:PlatformTarget"
+ Value="%(ConsoleRunners.PlatformTarget)" Namespaces="&lt;Namespace Prefix='ns' Uri='http://schemas.microsoft.com/developer/msbuild/2003' /&gt;"/>
+ <MSBuild
+ Projects="$(SolutionDir)\Source\Runners\Machine.Specifications.ConsoleRunner\Machine.Specifications.ConsoleRunners.%(ConsoleRunners.PlatformTarget).%(ConsoleRunners.TargetFrameworkVersion).csproj"
+ Targets="Build"
+ Properties="Configuration=$(Configuration);TrackFileAccess=$(TrackFileAccess)"/>
+ <Delete
+ Files="$(SolutionDir)\Source\Runners\Machine.Specifications.ConsoleRunner\Machine.Specifications.ConsoleRunners.%(ConsoleRunners.PlatformTarget).%(ConsoleRunners.TargetFrameworkVersion).csproj" />
+ </Target>
+</Project>
View
13 Source/Runners/Machine.Specifications.ReSharperRunner.6.1/Explorers/MSpecTestMetadataExplorer.cs
@@ -25,16 +25,16 @@ public void ExploreAssembly(IProject project, IMetadataAssembly assembly, UnitTe
{
using (ReadLockCookie.Create()) //Get a read lock so that it is safe to read the assembly
{
- foreach (var metadataTypeInfo in GetExportedTypes(assembly.GetTypes()))
+ foreach (var metadataTypeInfo in GetTypesIncludingNested(assembly.GetTypes()))
this._assemblyExplorer.Explore(project, assembly, consumer, metadataTypeInfo);
}
}
- private static IEnumerable<IMetadataTypeInfo> GetExportedTypes(IEnumerable<IMetadataTypeInfo> types)
+ private static IEnumerable<IMetadataTypeInfo> GetTypesIncludingNested(IEnumerable<IMetadataTypeInfo> types)
{
- foreach (var type in (types ?? Enumerable.Empty<IMetadataTypeInfo>()).Where(IsPublic))
+ foreach (var type in (types ?? Enumerable.Empty<IMetadataTypeInfo>()))
{
- foreach (var nestedType in GetExportedTypes(type.GetNestedTypes())) //getting nested classes too
+ foreach (var nestedType in GetTypesIncludingNested(type.GetNestedTypes())) //getting nested classes too
{
yield return nestedType;
}
@@ -43,11 +43,6 @@ private static IEnumerable<IMetadataTypeInfo> GetExportedTypes(IEnumerable<IMeta
}
}
- private static bool IsPublic(IMetadataTypeInfo type)
- {
- return (type.IsNested && type.IsNestedPublic) || type.IsPublic;
- }
-
public IUnitTestProvider Provider
{
get { return _provider; }
View
13 Source/Runners/Machine.Specifications.ReSharperRunner.8.0/Explorers/MSpecTestMetadataExplorer.cs
@@ -31,16 +31,16 @@ public void ExploreAssembly(IProject project, IMetadataAssembly assembly, UnitTe
{
using (ReadLockCookie.Create()) //Get a read lock so that it is safe to read the assembly
{
- foreach (var metadataTypeInfo in GetExportedTypes(assembly.GetTypes()))
+ foreach (var metadataTypeInfo in GetTypesIncludingNested(assembly.GetTypes()))
this._assemblyExplorer.Explore(project, assembly, consumer, metadataTypeInfo);
}
}
- private static IEnumerable<IMetadataTypeInfo> GetExportedTypes(IEnumerable<IMetadataTypeInfo> types)
+ private static IEnumerable<IMetadataTypeInfo> GetTypesIncludingNested(IEnumerable<IMetadataTypeInfo> types)
{
- foreach (var type in (types ?? Enumerable.Empty<IMetadataTypeInfo>()).Where(IsPublic))
+ foreach (var type in (types ?? Enumerable.Empty<IMetadataTypeInfo>()))
{
- foreach (var nestedType in GetExportedTypes(type.GetNestedTypes())) //getting nested classes too
+ foreach (var nestedType in GetTypesIncludingNested(type.GetNestedTypes())) //getting nested classes too
{
yield return nestedType;
}
@@ -49,11 +49,6 @@ private static IEnumerable<IMetadataTypeInfo> GetExportedTypes(IEnumerable<IMeta
}
}
- private static bool IsPublic(IMetadataTypeInfo type)
- {
- return (type.IsNested && type.IsNestedPublic) || type.IsPublic;
- }
-
public IUnitTestProvider Provider
{
get { return _provider; }
View
5 ...e.Specifications.ReSharperRunner.Debug.VS2010/Machine.Specifications.ReSharperRunner.Debug.VS2010.csproj
@@ -40,11 +40,6 @@
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
- <ItemGroup>
- <Content Include="..\..\..\debugging-resharper.txt">
- <Link>debugging-resharper.txt</Link>
- </Content>
- </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\Tools\Ripple\RippleRestoreTask.targets" />
<Import Project="$(SolutionDir)\Tools\GitFlowVersion\build\GitFlowVersionTask.targets" />
View
15 Source/Runners/Machine.Specifications.TDNetRunner/Machine.Specifications.TDNetRunner.csproj
@@ -83,10 +83,7 @@
<None Include="InstallTDNetRunnerSilent.bat">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
- <None Include="Machine.Specifications.dll.tdnet">
- <CopyToOutputDirectory>Always</CopyToOutputDirectory>
- </None>
- <None Include="Machine.Specifications.dll.tdnet.template" />
+ <None Include="Machine.Specifications.dll.tdnet" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
@@ -112,11 +109,17 @@
<PreBuildEvent>
</PreBuildEvent>
</PropertyGroup>
+ <!-- The after build task prepares the tdnet file -->
+ <Target Name="AfterBuild">
+ <GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
+ <Output TaskParameter="Assemblies" ItemName="AssemblyInfo"/>
+ </GetAssemblyIdentity>
+ <Copy SourceFiles="$(ProjectDir)\Machine.Specifications.dll.tdnet" DestinationFiles="$(TargetDir)\Machine.Specifications.dll.tdnet" />
+ <XmlPoke XmlInputPath="$(TargetDir)\Machine.Specifications.dll.tdnet" Query="//ns:FriendlyName" Value="Machine.Specifications %(AssemblyInfo.Version)" Namespaces="&lt;Namespace Prefix='ns' Uri='' /&gt;" />
+ </Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
- <Target Name="AfterBuild">
- </Target>
-->
</Project>
View
2  ...tRunner/Machine.Specifications.dll.tdnet.template → ...ions.TDNetRunner/Machine.Specifications.dll.tdnet
@@ -1,5 +1,5 @@
<TestRunner>
- <FriendlyName>Machine.Specifications @configatron.version.full@</FriendlyName>
+ <FriendlyName><!-- WILL BE REPLACED BY AFTER BUILD--></FriendlyName>
<AssemblyPath>Machine.Specifications.TDNetRunner.dll</AssemblyPath>
<TypeName>Machine.Specifications.TDNetRunner.SpecificationRunner</TypeName>
</TestRunner>
View
57 Tools/Gallio/ASL - Apache Software Foundation License.txt
@@ -1,57 +0,0 @@
-Apache License, Version 2.0
-
-Apache License
-Version 2.0, January 2004
-http://www.apache.org/licenses/
-
-TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-1. Definitions.
-
-"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
-
-"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
-
-"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
-
-"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
-
-"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
-
-"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
-
-"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
-
-"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
-
-"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
-
-"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
-
-2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
-
-3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
-
-4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
-
- 1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
-
- 2. You must cause any modified files to carry prominent notices stating that You changed the files; and
-
- 3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
-
- 4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
-
-You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
-
-5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
-
-6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
-
-7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
-
-8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
-
-9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
-
-END OF TERMS AND CONDITIONS
View
14 Tools/Gallio/Gallio License.txt
@@ -1,14 +0,0 @@
-Copyright 2005-2010 Gallio Project - http://www.gallio.org/
-Portions Copyright 2000-2004 Jonathan de Halleux
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
View
BIN  Tools/Gallio/bin/Gallio.Echo.exe
Binary file not shown
View
29 Tools/Gallio/bin/Gallio.Echo.exe.config
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<configuration>
- <configSections>
- <section name="gallio" type="Gallio.Runtime.GallioSectionHandler, Gallio" />
- </configSections>
-
- <runtime>
- <!-- Don't kill application on first uncaught exception.
- We don't want the test runner to terminate itself unexpectedly
- without reporting the test failure associated with that exception. -->
- <legacyUnhandledExceptionPolicy enabled="1" />
-
- <!-- Enable loading assemblies over the network in .Net 4.0 -->
- <loadFromRemoteSources enabled="true" />
- </runtime>
-
- <system.runtime.remoting>
- <customErrors mode="off"/>
- </system.runtime.remoting>
-
- <system.diagnostics>
- <assert assertuienabled="false" />
- </system.diagnostics>
-
- <startup>
- <supportedRuntime version="v4.0.30319" />
- <supportedRuntime version="v2.0.50727" />
- </startup>
-</configuration>
View
18 Tools/Gallio/bin/Gallio.Echo.plugin
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<plugin pluginId="Gallio.Echo"
- recommendedInstallationPath=""
- xmlns="http://www.gallio.org/">
- <traits>
- <name>Gallio Echo</name>
- <version>3.4.0.0</version>
- <description>A command-line test runner.</description>
- <icon>plugin://Gallio.Echo/Resources/Gallio.Echo.ico</icon>
- </traits>
-
- <files>
- <file path="Gallio.Echo.plugin" />
- <file path="Gallio.Echo.exe" />
- <file path="Gallio.Echo.exe.config" />
- <file path="Resources\Gallio.Echo.ico" />
- </files>
-</plugin>
View
BIN  Tools/Gallio/bin/Gallio.Reports.dll
Binary file not shown
View
298 Tools/Gallio/bin/Gallio.Reports.plugin
@@ -1,298 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<plugin pluginId="Gallio.Reports"
- recommendedInstallationPath=""
- xmlns="http://www.gallio.org/">
- <traits>
- <name>Gallio Reports Library</name>
- <version>3.4.0.0</version>
- <description>Provides several common report formats including Xml, Html, XHtml, MHtml and Text.</description>
- <icon>plugin://Gallio/Resources/Gallio.ico</icon>
- </traits>
-
- <dependencies>
- <dependency pluginId="Gallio" />
- <dependency pluginId="Gallio.UI" />
- </dependencies>
-
- <files>
- <file path="Gallio.Reports.plugin" />
- <file path="Gallio.Reports.dll" />
- <file path="Gallio.Reports.xml" />
- <file path="Resources\css\Gallio-Report.css" />
- <file path="Resources\img\Failed.gif" />
- <file path="Resources\img\FullStop.gif" />
- <file path="Resources\img\GallioTestReportHeader.png" />
- <file path="Resources\img\header-background.gif" />
- <file path="Resources\img\Ignored.gif" />
- <file path="Resources\img\Minus.gif" />
- <file path="Resources\img\Passed.gif" />
- <file path="Resources\img\Plus.gif" />
- <file path="Resources\img\UnknownTestKind.png" />
- <file path="Resources\js\Gallio-Report.js" />
- <file path="Resources\js\expressInstall.swf" />
- <file path="Resources\js\player.swf" />
- <file path="Resources\js\swfobject.js" />
- <file path="Resources\xsl\Gallio-Report.ccnet-details-condensed.xsl" />
- <file path="Resources\xsl\Gallio-Report.ccnet-details.xsl" />
- <file path="Resources\xsl\Gallio-Report.common.xsl" />
- <file path="Resources\xsl\Gallio-Report.html-condensed.xsl" />
- <file path="Resources\xsl\Gallio-Report.html.xsl" />
- <file path="Resources\xsl\Gallio-Report.html+xhtml.xsl" />
- <file path="Resources\xsl\Gallio-Report.txt.xsl" />
- <file path="Resources\xsl\Gallio-Report.txt-common.xsl" />
- <file path="Resources\xsl\Gallio-Report.txt-condensed.xsl" />
- <file path="Resources\xsl\Gallio-Report.xhtml-condensed.xsl" />
- <file path="Resources\xsl\Gallio-Report.xhtml.xsl" />
- <file path="Resources\vm\Gallio-Report.txt-common.vm" />
- <file path="Resources\vm\Gallio-Report.txt.vm" />
- <file path="Resources\vm\Gallio-Report.txt-condensed.vm" />
- <file path="Resources\vm\Gallio-Report.html+xhtml.vm" />
- <file path="Resources\vm\Gallio-Report.html+xhtml.detailed-item.vm" />
- <file path="Resources\vm\Gallio-Report.html+xhtml.detailed-item.log.vm" />
- <file path="Resources\vm\Gallio-Report.html+xhtml.summary-item.vm" />
- <file path="Resources\vm\Gallio-Report.html.vm" />
- <file path="Resources\vm\Gallio-Report.html-condensed.vm" />
- </files>
-
- <assemblies>
- <assembly
- fullName="Gallio.Reports, Version=3.4.0.0, Culture=neutral, PublicKeyToken=eb9cfa67ee6ab36e"
- codeBase="Gallio.Reports.dll"
- qualifyPartialName="true" />
- </assemblies>
-
- <services>
- <service
- serviceId="Gallio.ReportPreferenceManager"
- serviceType="Gallio.Runner.Reports.Preferences.ReportPreferenceManager, Gallio" />
- </services>
-
- <components>
-
- <!-- Formatters -->
-
- <component
- componentId="ReportFormatter.Xml"
- serviceId="Gallio.ReportFormatter"
- componentType="Gallio.Reports.XmlReportFormatter, Gallio.Reports">
- <parameters>
- <defaultAttachmentContentDisposition>Link</defaultAttachmentContentDisposition>
- </parameters>
- <traits>
- <name>Xml</name>
- <description>
- Generates XML reports with linked attachment files.
-
- Supported report formatter properties:
- - AttachmentContentDisposition: Specifies how attachments should be stored. "Absent", "Link" or "Inline". Default is "Link".
- </description>
- </traits>
- </component>
-
- <component
- componentId="ReportFormatter.Xml-Inline"
- serviceId="Gallio.ReportFormatter"
- componentType="Gallio.Reports.XmlReportFormatter, Gallio.Reports">
- <parameters>
- <defaultAttachmentContentDisposition>Inline</defaultAttachmentContentDisposition>
- </parameters>
- <traits>
- <name>Xml-Inline</name>
- <description>Generates XML reports with inline encoded attachments.</description>
- </traits>
- </component>
-
- <component
- componentId="ReportFormatter.MHtml"
- serviceId="Gallio.ReportFormatter"
- componentType="Gallio.Reports.MHtmlReportFormatter, Gallio.Reports">
- <parameters>
- <htmlReportFormatter>${ReportFormatter.Html}</htmlReportFormatter>
- </parameters>
- <traits>
- <name>MHtml</name>
- <description>Generates MHTML reports.</description>
- </traits>
- </component>
-
- <component
- componentId="ReportFormatter.MHtml-Condensed"
- serviceId="Gallio.ReportFormatter"
- componentType="Gallio.Reports.MHtmlReportFormatter, Gallio.Reports">
- <parameters>
- <htmlReportFormatter>${ReportFormatter.Html-Condensed}</htmlReportFormatter>
- </parameters>
- <traits>
- <name>MHtml-Condensed</name>
- <description>Generates MHTML reports that omit passing tests.</description>
- </traits>
- </component>
-
- <component
- componentId="ReportFormatter.Text"
- serviceId="Gallio.ReportFormatter"
- componentType="Gallio.Reports.VtlReportFormatter, Gallio.Reports">
- <parameters>
- <extension>txt</extension>
- <contentType>text/plain</contentType>
- <defaultAttachmentContentDisposition>Absent</defaultAttachmentContentDisposition>
- <resourceDirectory>plugin://Gallio.Reports/Resources/</resourceDirectory>
- <templatePath>vm/Gallio-Report.txt.vm</templatePath>
- <resourcePaths></resourcePaths>
- <supportSplit>False</supportSplit>
- </parameters>
- <traits>
- <name>Text</name>
- <description>Generates plain text reports.</description>
- </traits>
- </component>
-
- <component
- componentId="ReportFormatter.Text-Condensed"
- serviceId="Gallio.ReportFormatter"
- componentType="Gallio.Reports.VtlReportFormatter, Gallio.Reports">
- <parameters>
- <extension>txt</extension>
- <contentType>text/plain</contentType>
- <defaultAttachmentContentDisposition>Absent</defaultAttachmentContentDisposition>
- <resourceDirectory>plugin://Gallio.Reports/Resources/</resourceDirectory>
- <templatePath>vm/Gallio-Report.txt-condensed.vm</templatePath>
- <resourcePaths></resourcePaths>
- <supportSplit>False</supportSplit>
- </parameters>
- <traits>
- <name>Text-Condensed</name>
- <description>Generates plain text reports without passing tests.</description>
- </traits>
- </component>
-
- <component
- componentId="ReportFormatter.Html"
- serviceId="Gallio.ReportFormatter"
- componentType="Gallio.Reports.VtlReportFormatter, Gallio.Reports">
- <parameters>
- <extension>html</extension>
- <contentType>text/html</contentType>
- <defaultAttachmentContentDisposition>Link</defaultAttachmentContentDisposition>
- <resourceDirectory>plugin://Gallio.Reports/Resources/</resourceDirectory>
- <templatePath>vm/Gallio-Report.html.vm</templatePath>
- <resourcePaths>css;js;img</resourcePaths>
- <supportSplit>True</supportSplit>
- </parameters>
- <traits>
- <name>Html</name>
- <description>
- Generates HTML reports.
-
- Supported report formatter properties:
- - AttachmentContentDisposition: Specifies how attachments should be stored. "Absent", "Link" or "Inline". Default is "Link".
- </description>
- </traits>
- </component>
-
- <component
- componentId="ReportFormatter.Html-Condensed"
- serviceId="Gallio.ReportFormatter"
- componentType="Gallio.Reports.VtlReportFormatter, Gallio.Reports">
- <parameters>
- <extension>html</extension>
- <contentType>text/html</contentType>
- <defaultAttachmentContentDisposition>Link</defaultAttachmentContentDisposition>
- <resourceDirectory>plugin://Gallio.Reports/Resources/</resourceDirectory>
- <templatePath>vm/Gallio-Report.html-condensed.vm</templatePath>
- <resourcePaths>css;js;img</resourcePaths>
- <supportSplit>False</supportSplit>
- </parameters>
- <traits>
- <name>Html-Condensed</name>
- <description>
- Generates HTML reports that omit passing tests.
-
- Supported report formatter properties:
- - AttachmentContentDisposition: Specifies how attachments should be stored. "Absent", "Link" or "Inline". Default is "Link".
- </description>
- </traits>
- </component>
-
- <component
- componentId="ReportFormatter.XHtml"
- serviceId="Gallio.ReportFormatter"
- componentType="Gallio.Reports.VtlReportFormatter, Gallio.Reports">
- <parameters>
- <extension>xhtml</extension>
- <contentType>text/xhtml+xml</contentType>
- <defaultAttachmentContentDisposition>Link</defaultAttachmentContentDisposition>
- <resourceDirectory>plugin://Gallio.Reports/Resources/</resourceDirectory>
- <templatePath>vm/Gallio-Report.xhtml.vm</templatePath>
- <resourcePaths>css;js;img</resourcePaths>
- <supportSplit>True</supportSplit>
- </parameters>
- <traits>
- <name>XHtml</name>
- <description>
- Generates XHTML reports.
-
- Supported report formatter properties:
- - AttachmentContentDisposition: Specifies how attachments should be stored. "Absent", "Link" or "Inline". Default is "Link".
- </description>
- </traits>
- </component>
-
- <component
- componentId="ReportFormatter.XHtml-Condensed"
- serviceId="Gallio.ReportFormatter"
- componentType="Gallio.Reports.VtlReportFormatter, Gallio.Reports">
- <parameters>
- <extension>xhtml</extension>
- <contentType>text/xhtml+xml</contentType>
- <defaultAttachmentContentDisposition>Link</defaultAttachmentContentDisposition>
- <resourceDirectory>plugin://Gallio.Reports/Resources/</resourceDirectory>
- <templatePath>vm/Gallio-Report.xhtml-condensed.vm</templatePath>
- <resourcePaths>css;js;img</resourcePaths>
- <supportSplit>False</supportSplit>
- </parameters>
- <traits>
- <name>XHtml-Condensed</name>
- <description>
- Generates XHTML reports that omit passing tests.
-
- Supported report formatter properties:
- - AttachmentContentDisposition: Specifies how attachments should be stored. "Absent", "Link" or "Inline". Default is "Link".
- </description>
- </traits>
- </component>
-
- <!-- Installation Components -->
-
- <component
- componentId="Gallio.Reports.Installer"
- serviceId="Gallio.Installer"
- componentType="Gallio.Reports.ReportResourcesInstaller, Gallio.Reports">
- <parameters>
- <testKindImageDir>plugin://Gallio.Reports/Resources/img/testkinds/</testKindImageDir>
- <generatedCssFile>plugin://Gallio.Reports/Resources/css/Gallio-Report.Generated.css</generatedCssFile>
- </parameters>
- <traits>
- <requiresElevation>true</requiresElevation>
- </traits>
- </component>
-
- <!-- User Preferences (Control Panel) -->
-
- <component
- componentId="Gallio.UI.ReportPreferencePaneProvider"
- serviceId="Gallio.UI.PreferencePaneProvider"
- componentType="Gallio.UI.Reports.Preferences.ReportPreferencePaneProvider, Gallio.UI">
- <traits>
- <path>Gallio/Reports</path>
- <icon>plugin://Gallio/Resources/Gallio.ico</icon>
- </traits>
- </component>
-
- <component
- componentId="Gallio.ReportPreferenceManager"
- serviceId="Gallio.ReportPreferenceManager"
- componentType="Gallio.Runner.Reports.Preferences.ReportPreferenceManager, Gallio" />
-
- </components>
-</plugin>
View
BIN  Tools/Gallio/bin/Gallio.UI.dll
Binary file not shown
View
127 Tools/Gallio/bin/Gallio.UI.plugin
@@ -1,127 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<plugin pluginId="Gallio.UI"
- recommendedInstallationPath=""
- xmlns="http://www.gallio.org/">
- <traits>
- <name>Gallio UI Library</name>
- <version>3.4.0.0</version>
- <description>Gallio UI components.</description>
- <icon>plugin://Gallio/Resources/Gallio.ico</icon>
- </traits>
-
- <dependencies>
- <dependency pluginId="Gallio" />
- </dependencies>
-
- <files>
- <file path="Gallio.UI.plugin" />
- <file path="Gallio.UI.dll" />
- <file path="Gallio.UI.xml" />
-
- <file path="Aga.Controls.dll" />
- <file path="WeifenLuo.WinFormsUI.Docking.dll" />
-
- <file path="Gallio.Common.Splash.dll" />
- <file path="Gallio.Common.Splash.xml" />
- </files>
-
- <assemblies>
- <assembly fullName="Gallio.UI, Version=3.4.0.0, Culture=neutral, PublicKeyToken=eb9cfa67ee6ab36e"
- codeBase="Gallio.UI.dll"
- qualifyPartialName="true" />
- </assemblies>
-
- <services>
- <service serviceId="Gallio.UI.ControlPanelPresenter"
- serviceType="Gallio.UI.ControlPanel.IControlPanelPresenter, Gallio.UI" />
-
- <service serviceId="Gallio.UI.ControlPanelTabProvider"
- serviceType="Gallio.UI.ControlPanel.IControlPanelTabProvider, Gallio.UI" />
-
- <service serviceId="Gallio.UI.PreferencePaneProvider"
- serviceType="Gallio.UI.ControlPanel.Preferences.IPreferencePaneProvider, Gallio.UI"
- defaultComponentType="Gallio.UI.ControlPanel.Preferences.PlaceholderPreferencePaneProvider, Gallio.UI"/>
-
- <service serviceId="Gallio.UI.EventAggregator"
- serviceType="Gallio.UI.Events.IEventAggregator, Gallio.UI" />
-
- <service serviceId="Gallio.UI.TaskManager"
- serviceType="Gallio.UI.ProgressMonitoring.ITaskManager, Gallio.UI" />
-
- <service serviceId="Gallio.UI.TaskQueue"
- serviceType="Gallio.UI.ProgressMonitoring.ITaskQueue, Gallio.UI" />
-
- <service serviceId="Gallio.UI.TaskRunner"
- serviceType="Gallio.UI.ProgressMonitoring.ITaskRunner, Gallio.UI" />
-
- <service serviceId="Gallio.UI.UnhandledExceptionPolicy"
- serviceType="Gallio.UI.Common.Policies.IUnhandledExceptionPolicy, Gallio.UI" />
- </services>
-
- <components>
- <component componentId="Gallio.UI.ControlPanelPresenter"
- serviceId="Gallio.UI.ControlPanelPresenter"
- componentType="Gallio.UI.ControlPanel.ControlPanelPresenter, Gallio.UI" />
-
- <component componentId="Gallio.UI.PreferenceControlPanelTabProvider"
- serviceId="Gallio.UI.ControlPanelTabProvider"
- componentType="Gallio.UI.ControlPanel.Preferences.PreferenceControlPanelTabProvider, Gallio.UI">
- <traits>
- <name>Preferences</name>
- <order>0</order>
- </traits>
- </component>
-
- <component componentId="Gallio.UI.PluginControlPanelTabProvider"
- serviceId="Gallio.UI.ControlPanelTabProvider"
- componentType="Gallio.UI.ControlPanel.Plugins.PluginControlPanelTabProvider, Gallio.UI">
- <traits>
- <name>Plugins</name>
- <order>100</order>
- </traits>
- </component>
-
- <component componentId="Gallio.UI.PlaceholderPreferencePaneProvider"
- serviceId="Gallio.UI.PreferencePaneProvider">
- <traits>
- <path>Gallio</path>
- <order>-100</order>
- <icon>plugin://Gallio/Resources/Gallio.ico</icon>
- </traits>
- </component>
-
- <component componentId="Gallio.UI.RuntimePreferencePaneProvider"
- serviceId="Gallio.UI.PreferencePaneProvider"
- componentType="Gallio.UI.ControlPanel.Preferences.RuntimePreferencePaneProvider, Gallio.UI">
- <traits>
- <path>Gallio/Runtime</path>
- <icon>plugin://Gallio/Resources/Gallio.ico</icon>
- <scope>Machine</scope>
- </traits>
- </component>
-
- <component componentId="Gallio.UI.RuntimePreferencePaneCommitterElevatedCommand"
- serviceId="Gallio.ElevatedCommand"
- componentType="Gallio.UI.ControlPanel.Preferences.RuntimePreferencePaneCommitterElevatedCommand, Gallio.UI" />
-
- <component componentId="Gallio.UI.EventAggregator"
- serviceId="Gallio.UI.EventAggregator"
- componentType="Gallio.UI.Events.EventAggregator, Gallio.UI" />
-
- <component componentId="Gallio.UI.TaskManager"
- serviceId="Gallio.UI.TaskManager"
- componentType="Gallio.UI.ProgressMonitoring.TaskManager, Gallio.UI" />
-
- <component componentId="Gallio.UI.TaskQueue"
- serviceId="Gallio.UI.TaskQueue"
- componentType="Gallio.UI.ProgressMonitoring.TaskQueue, Gallio.UI" />
-
- <component componentId="Gallio.UI.TaskRunner"
- serviceId="Gallio.UI.TaskRunner"
- componentType="Gallio.UI.ProgressMonitoring.TaskRunner, Gallio.UI" />
-
- <component componentId="Gallio.UI.UnhandledExceptionPolicy"
- serviceId="Gallio.UI.UnhandledExceptionPolicy"
- componentType="Gallio.UI.Common.Policies.UnhandledExceptionPolicy, Gallio.UI" />
- </components>
-</plugin>
View
BIN  Tools/Gallio/bin/Gallio.dll
Binary file not shown
View
676 Tools/Gallio/bin/Gallio.plugin
@@ -1,676 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<plugin pluginId="Gallio"
- recommendedInstallationPath=""
- xmlns="http://www.gallio.org/">
- <traits>
- <name>Gallio</name>
- <version>3.4.0.0</version>
- <description>The heart of Gallio.</description>
- <icon>plugin://Gallio/Resources/Gallio.ico</icon>
- </traits>
-
- <dependencies>
- <dependency pluginId="BuiltIn" />
- </dependencies>
-
- <files>
- <file path="Gallio.plugin" />
- <file path="Gallio.dll" />
- <file path="Gallio.pdb" />
- <file path="Gallio.xml" />
- <file path="Gallio.XmlSerializers.dll" />
- <file path="Gallio.Host.exe" />
- <file path="Gallio.Host.exe.config" />
- <file path="Gallio.Host.x86.exe" />
- <file path="Gallio.Host.x86.exe.config" />
- <file path="Gallio.Host.Elevated.exe" />
- <file path="Gallio.Host.Elevated.exe.config" />
- <file path="Gallio.Host.Elevated.x86.exe" />
- <file path="Gallio.Host.Elevated.x86.exe.config" />
-
- <file path="Resources\Assembly.ico" />
- <file path="Resources\Container.ico" />
- <file path="Resources\Fixture.ico" />
- <file path="Resources\Gallio.ico" />
- <file path="Resources\Test.ico" />
- <file path="Resources\Unsupported.ico" />
- </files>
-
- <assemblies>
- <assembly fullName="Gallio, Version=3.4.0.0, Culture=neutral, PublicKeyToken=eb9cfa67ee6ab36e"
- codeBase="Gallio.dll"
- qualifyPartialName="true" />
- </assemblies>
-
- <services>
- <service serviceId="Gallio.Common.Concurrency.ProcessCreator"
- serviceType="Gallio.Common.Concurrency.IProcessCreator, Gallio" />
-
- <service serviceId="Gallio.Common.Concurrency.ProcessFinder"
- serviceType="Gallio.Common.Concurrency.IProcessFinder, Gallio" />
-
- <service serviceId="Gallio.FileSystem"
- serviceType="Gallio.Common.IO.IFileSystem, Gallio" />
-
- <service serviceId="Gallio.XmlSerializer"
- serviceType="Gallio.Common.Xml.IXmlSerializer, Gallio" />
-
- <service serviceId="Gallio.HostFactory"
- serviceType="Gallio.Runtime.Hosting.IHostFactory, Gallio" />
-
- <service serviceId="Gallio.Debugger"
- serviceType="Gallio.Runtime.Debugging.IDebugger, Gallio" />
-
- <service serviceId="Gallio.DebuggerManager"
- serviceType="Gallio.Runtime.Debugging.IDebuggerManager, Gallio" />
-
- <service serviceId="Gallio.FileTypeRecognizer"
- serviceType="Gallio.Runtime.FileTypes.IFileTypeRecognizer, Gallio"
- defaultComponentType="Gallio.Runtime.FileTypes.SimpleFileTypeRecognizer, Gallio" />
-
- <service serviceId="Gallio.FileTypeManager"
- serviceType="Gallio.Runtime.FileTypes.IFileTypeManager, Gallio" />
-
- <service serviceId="Gallio.UtilityCommandManager"
- serviceType="Gallio.Runtime.UtilityCommands.IUtilityCommandManager, Gallio" />
-
- <service serviceId="Gallio.UtilityCommand"
- serviceType="Gallio.Runtime.UtilityCommands.IUtilityCommand, Gallio" />
-
- <service serviceId="Gallio.InstallerManager"
- serviceType="Gallio.Runtime.Installer.IInstallerManager, Gallio" />
-
- <service serviceId="Gallio.Installer"
- serviceType="Gallio.Runtime.Installer.IInstaller, Gallio" />
-
- <service serviceId="Gallio.Converter"
- serviceType="Gallio.Runtime.Conversions.IConverter, Gallio" />
-
- <service serviceId="Gallio.ConversionRule"
- serviceType="Gallio.Runtime.Conversions.IConversionRule, Gallio" />
-
- <service serviceId="Gallio.Formatter"
- serviceType="Gallio.Runtime.Formatting.IFormatter, Gallio" />
-
- <service serviceId="Gallio.FormattingRule"
- serviceType="Gallio.Runtime.Formatting.IFormattingRule, Gallio" />
-
- <service serviceId="Gallio.ElevatedCommand"
- serviceType="Gallio.Runtime.Security.IElevatedCommand, Gallio" />
-
- <service serviceId="Gallio.ElevationManager"
- serviceType="Gallio.Runtime.Security.IElevationManager, Gallio" />
-
- <service serviceId="Gallio.PreferenceManager"
- serviceType="Gallio.Runtime.Preferences.IPreferenceManager, Gallio" />
-
- <service serviceId="Gallio.TestFramework"
- serviceType="Gallio.Model.ITestFramework, Gallio" />
-
- <service serviceId="Gallio.TestFrameworkManager"
- serviceType="Gallio.Model.ITestFrameworkManager, Gallio" />
-
- <service serviceId="Gallio.TestKind"
- serviceType="Gallio.Model.ITestKind, Gallio"
- defaultComponentType="Gallio.Model.DefaultTestKind, Gallio"/>
-
- <service serviceId="Gallio.TestKindManager"
- serviceType="Gallio.Model.ITestKindManager, Gallio" />
-
- <service serviceId="Gallio.TestContextTracker"
- serviceType="Gallio.Model.Contexts.ITestContextTracker, Gallio" />
-
- <service serviceId="Gallio.TestRunnerFactory"
- serviceType="Gallio.Runner.ITestRunnerFactory, Gallio" />
-
- <service serviceId="Gallio.TestIsolationProvider"
- serviceType="Gallio.Model.Isolation.ITestIsolationProvider, Gallio" />
-
- <service serviceId="Gallio.ReportFormatter"
- serviceType="Gallio.Runner.Reports.IReportFormatter, Gallio" />
-
- <service serviceId="Gallio.TestRunnerManager"
- serviceType="Gallio.Runner.ITestRunnerManager, Gallio" />
-
- <service serviceId="Gallio.TestEnvironment"
- serviceType="Gallio.Model.Environments.ITestEnvironment, Gallio" />
-
- <service serviceId="Gallio.TestEnvironmentManager"
- serviceType="Gallio.Model.Environments.ITestEnvironmentManager, Gallio" />
-
- <service serviceId="Gallio.ReportManager"
- serviceType="Gallio.Runner.Reports.IReportManager, Gallio" />
-
- <service serviceId="Gallio.TestProjectManager"
- serviceType="Gallio.Runner.Projects.ITestProjectManager, Gallio" />
-
- <service serviceId="Gallio.TestRunnerExtensionFactory"
- serviceType="Gallio.Runner.Extensions.ITestRunnerExtensionFactory, Gallio" />
-
- <service serviceId="Gallio.TestRunnerExtensionManager"
- serviceType="Gallio.Runner.Extensions.ITestRunnerExtensionManager, Gallio" />
-
- <service serviceId="Gallio.PatternTestController"
- serviceType="Gallio.Framework.Pattern.PatternTestController, Gallio" />
-
- <service serviceId="Gallio.ExtensionPoints"
- serviceType="Gallio.Runtime.Extensibility.IExtensionPoints, Gallio" />
-
- <service serviceId="Gallio.ComparisonSemantics"
- serviceType="Gallio.Framework.IComparisonSemantics, Gallio" />
- </services>
-
- <components>
- <component componentId="Gallio.FallbackTestFramework"
- serviceId="Gallio.TestFramework"
- componentType="Gallio.Model.FallbackTestFramework, Gallio">
- <traits>
- <name>Fallback</name>
- <icon>plugin://Gallio/Resources/Gallio.ico</icon>
- </traits>
- </component>
-
- <component componentId="Gallio.TestFrameworkManager"
- serviceId="Gallio.TestFrameworkManager"
- componentType="Gallio.Model.DefaultTestFrameworkManager, Gallio">
- <parameters>
- <fallbackTestFrameworkHandle>${Gallio.FallbackTestFramework}</fallbackTestFrameworkHandle>
- </parameters>
- </component>
-
- <component componentId="Gallio.TestRunnerManager"
- serviceId="Gallio.TestRunnerManager"
- componentType="Gallio.Runner.DefaultTestRunnerManager, Gallio" />
-
- <component componentId="Gallio.TestEnvironmentManager"
- serviceId="Gallio.TestEnvironmentManager"
- componentType="Gallio.Model.Environments.DefaultTestEnvironmentManager, Gallio" />
-
- <component componentId="Gallio.ConsoleTestEnvironment"
- serviceId="Gallio.TestEnvironment"
- componentType="Gallio.Model.Environments.ConsoleTestEnvironment, Gallio" />
-
- <component componentId="Gallio.TraceTestEnvironment"
- serviceId="Gallio.TestEnvironment"
- componentType="Gallio.Model.Environments.TraceTestEnvironment, Gallio" />
-
- <component componentId="Gallio.UnhandledExceptionTestEnvironment"
- serviceId="Gallio.TestEnvironment"
- componentType="Gallio.Model.Environments.UnhandledExceptionTestEnvironment, Gallio" />
-
- <component componentId="Gallio.CustomTestEnvironment"
- serviceId="Gallio.TestEnvironment"
- componentType="Gallio.Model.Environments.CustomTestEnvironment, Gallio" />
-
- <component componentId="Gallio.WindowsFormsTestEnvironment"
- serviceId="Gallio.TestEnvironment"
- componentType="Gallio.Model.Environments.WindowsFormsTestEnvironment, Gallio" />
-
- <component componentId="Gallio.ReportManager"
- serviceId="Gallio.ReportManager"
- componentType="Gallio.Runner.Reports.DefaultReportManager, Gallio" />
-
- <component componentId="Gallio.TestProjectManager"
- serviceId="Gallio.TestProjectManager"
- componentType="Gallio.Runner.Projects.DefaultTestProjectManager, Gallio" />
-
- <component componentId="Gallio.TestContextTracker"
- serviceId="Gallio.TestContextTracker"
- componentType="Gallio.Model.Contexts.DefaultTestContextTracker, Gallio" />
-
- <component componentId="Gallio.PatternTestController"
- serviceId="Gallio.PatternTestController"
- componentType="Gallio.Framework.Pattern.PatternTestController, Gallio" />
-
- <component componentId="Gallio.DebuggerManager"
- serviceId="Gallio.DebuggerManager"
- componentType="Gallio.Runtime.Debugging.DefaultDebuggerManager, Gallio" />
-
- <component componentId="Gallio.ElevationManager"
- serviceId="Gallio.ElevationManager"
- componentType="Gallio.Runtime.Security.DefaultElevationManager, Gallio" />
-
- <component componentId="Gallio.PreferenceManager"
- serviceId="Gallio.PreferenceManager"
- componentType="Gallio.Runtime.Preferences.FilePreferenceManager, Gallio" />
-
- <component componentId="Gallio.ExtensionPoints"
- serviceId="Gallio.ExtensionPoints"
- componentType="Gallio.Runtime.Extensibility.DefaultExtensionPoints, Gallio" />
-
- <component componentId="Gallio.ComparisonSemantics"
- serviceId="Gallio.ComparisonSemantics"
- componentType="Gallio.Framework.DefaultComparisonSemantics, Gallio" />
-
- <!-- Host Factories -->
-
- <component componentId="Gallio.LocalHostFactory"
- serviceId="Gallio.HostFactory"
- componentType="Gallio.Runtime.Hosting.LocalHostFactory, Gallio" />
-
- <component componentId="Gallio.IsolatedAppDomainHostFactory"
- serviceId="Gallio.HostFactory"
- componentType="Gallio.Runtime.Hosting.IsolatedAppDomainHostFactory, Gallio" />
-
- <component componentId="Gallio.IsolatedProcessHostFactory"
- serviceId="Gallio.HostFactory"
- componentType="Gallio.Runtime.Hosting.IsolatedProcessHostFactory, Gallio" />
-
- <!-- Test Runner Factories -->
-
- <component componentId="Gallio.LocalTestRunnerFactory"
- serviceId="Gallio.TestRunnerFactory"
- componentType="Gallio.Runner.DefaultTestRunnerFactory, Gallio">
- <parameters>
- <testIsolationProvider>${Gallio.LocalTestIsolationProvider}</testIsolationProvider>
- </parameters>
- <traits>
- <name>Local</name>
- <description>Runs tests locally within the same process and AppDomain as the test runner application. Each test isolation context runs locally. This mode offers no isolation between tests and the test runner; it does not support loading test assembly configuration files or using a different runtime version or processor architecture.</description>
- </traits>
- </component>
-
- <component componentId="Gallio.IsolatedAppDomainTestRunnerFactory"
- serviceId="Gallio.TestRunnerFactory"
- componentType="Gallio.Runner.DefaultTestRunnerFactory, Gallio">
- <parameters>
- <testIsolationProvider>${Gallio.IsolatedAppDomainTestIsolationProvider}</testIsolationProvider>
- </parameters>
- <traits>
- <name>IsolatedAppDomain</name>
- <description>Runs tests within an isolated AppDomain of the same process as the test runner application. Each test isolation context runs in its own AppDomain. This mode provides lightweight but limited isolation between tests and the test runner; it does not support using different runtime version or processor architecture.</description>
- </traits>
- </component>
-
- <component componentId="Gallio.IsolatedProcessTestRunnerFactory"
- serviceId="Gallio.TestRunnerFactory"
- componentType="Gallio.Runner.DefaultTestRunnerFactory, Gallio">
- <parameters>
- <testIsolationProvider>${Gallio.IsolatedProcessTestIsolationProvider}</testIsolationProvider>
- </parameters>
- <traits>
- <name>IsolatedProcess</name>
- <description>Runs tests within an isolated process external to the test runner. Each test isolation context runs in its own process. This mode protects the test runner application from most faults that may occur during test execution; it supports all features.</description>
- </traits>
- </component>
-
- <!-- Test Isolation Providers -->
-
- <component componentId="Gallio.LocalTestIsolationProvider"
- serviceId="Gallio.TestIsolationProvider"
- componentType="Gallio.Model.Isolation.HostedTestIsolationProvider, Gallio">
- <parameters>
- <hostFactory>${Gallio.LocalHostFactory}</hostFactory>
- </parameters>
- </component>
-
- <component componentId="Gallio.IsolatedAppDomainTestIsolationProvider"
- serviceId="Gallio.TestIsolationProvider"
- componentType="Gallio.Model.Isolation.HostedTestIsolationProvider, Gallio">
- <parameters>
- <hostFactory>${Gallio.IsolatedAppDomainHostFactory}</hostFactory>
- </parameters>
- </component>
-
- <component componentId="Gallio.IsolatedProcessTestIsolationProvider"
- serviceId="Gallio.TestIsolationProvider"
- componentType="Gallio.Model.Isolation.HostedTestIsolationProvider, Gallio">
- <parameters>
- <hostFactory>${Gallio.IsolatedProcessHostFactory}</hostFactory>
- </parameters>
- </component>
-
- <component componentId="Gallio.TestRunnerExtensionManager"
- serviceId="Gallio.TestRunnerExtensionManager"
- componentType="Gallio.Runner.Extensions.DefaultTestRunnerExtensionManager, Gallio" />
-
- <!-- Converters -->
- <component componentId="Gallio.Converter"
- serviceId="Gallio.Converter"
- componentType="Gallio.Runtime.Conversions.RuleBasedConverter, Gallio" />
-
- <component componentId="Gallio.ArrayToArrayConversionRule"
- serviceId="Gallio.ConversionRule"
- componentType="Gallio.Runtime.Conversions.ArrayToArrayConversionRule, Gallio" />
-
- <component componentId="Gallio.ConvertibleToConvertibleConversionRule"
- serviceId="Gallio.ConversionRule"
- componentType="Gallio.Runtime.Conversions.ConvertibleToConvertibleConversionRule, Gallio" />
-
- <component componentId="Gallio.ObjectToStringConversionRule"
- serviceId="Gallio.ConversionRule"
- componentType="Gallio.Runtime.Conversions.ObjectToStringConversionRule, Gallio" />
-
- <component componentId="Gallio.StringToXmlDocumentConversionRule"
- serviceId="Gallio.ConversionRule"
- componentType="Gallio.Runtime.Conversions.StringToXmlDocumentConversionRule, Gallio" />
-
- <component componentId="Gallio.XPathNavigableToXPathNavigatorConversionRule"
- serviceId="Gallio.ConversionRule"
- componentType="Gallio.Runtime.Conversions.XPathNavigableToXPathNavigatorConversionRule, Gallio" />
-
- <component componentId="Gallio.XPathNavigatorToStringConversionRule"
- serviceId="Gallio.ConversionRule"
- componentType="Gallio.Runtime.Conversions.XPathNavigatorToStringConversionRule, Gallio" />
-
- <component componentId="Gallio.XPathNavigatorToXmlSerializableTypeConversionRule"
- serviceId="Gallio.ConversionRule"
- componentType="Gallio.Runtime.Conversions.XPathNavigatorToXmlSerializableTypeConversionRule, Gallio" />
-
- <component componentId="Gallio.StringToEnumConversionRule"
- serviceId="Gallio.ConversionRule"
- componentType="Gallio.Runtime.Conversions.StringToEnumConversionRule, Gallio" />
-
- <!-- Formatters -->
- <component componentId="Gallio.Formatter"
- serviceId="Gallio.Formatter"
- componentType="Gallio.Runtime.Formatting.RuleBasedFormatter, Gallio" />
-
- <component componentId="Gallio.BooleanFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.BooleanFormattingRule, Gallio" />
-
- <component componentId="Gallio.ByteFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.ByteFormattingRule, Gallio" />
-
- <component componentId="Gallio.CharFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.CharFormattingRule, Gallio" />
-
- <component componentId="Gallio.ConvertToStringFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.ConvertToStringFormattingRule, Gallio" />
-
- <component componentId="Gallio.DateTimeFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.DateTimeFormattingRule, Gallio" />
-
- <component componentId="Gallio.DBNullFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.DBNullFormattingRule, Gallio" />
-
- <component componentId="Gallio.DecimalFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.DecimalFormattingRule, Gallio" />
-
- <component componentId="Gallio.DictionaryEntryFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.DictionaryEntryFormattingRule, Gallio" />
-
- <component componentId="Gallio.DoubleFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.DoubleFormattingRule, Gallio" />
-
- <component componentId="Gallio.EnumerableFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.EnumerableFormattingRule, Gallio" />
-
- <component componentId="Gallio.IntegerFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.IntegerFormattingRule, Gallio" />
-
- <component componentId="Gallio.KeyValuePairFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.KeyValuePairFormattingRule, Gallio" />
-
- <component componentId="Gallio.SByteFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.SByteFormattingRule, Gallio" />
-
- <component componentId="Gallio.SingleFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.SingleFormattingRule, Gallio" />
-
- <component componentId="Gallio.StringFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.StringFormattingRule, Gallio" />
-
- <component componentId="Gallio.TypeFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.TypeFormattingRule, Gallio" />
-
- <component componentId="Gallio.MemberInfoFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.MemberInfoFormattingRule, Gallio" />
-
- <component componentId="Gallio.XPathNavigableFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.XPathNavigableFormattingRule, Gallio" />
-
- <component componentId="Gallio.StructuralFormattingRule"
- serviceId="Gallio.FormattingRule"
- componentType="Gallio.Runtime.Formatting.StructuralFormattingRule, Gallio" />
-
- <!-- File types -->
-
- <component componentId="Gallio.FileTypeManager"
- serviceId="Gallio.FileTypeManager"
- componentType="Gallio.Runtime.FileTypes.FileTypeManager, Gallio" />
-
- <component componentId="Gallio.FileTypeRecognizers.Project"
- serviceId="Gallio.FileTypeRecognizer">
- <traits>
- <id>Project</id>
- <description>A Gallio project file.</description>
- <fileNameRegex>.*\.gallio$</fileNameRegex>
- </traits>
- </component>
-
- <component componentId="Gallio.FileTypeRecognizers.Executable"
- serviceId="Gallio.FileTypeRecognizer">
- <traits>
- <id>Executable</id>
- <description>A library or program file.</description>
- <fileNameRegex>.*\.(dll|exe)$</fileNameRegex>
- </traits>
- </component>
-
- <component componentId="Gallio.FileTypeRecognizers.Assembly"
- serviceId="Gallio.FileTypeRecognizer"
- componentType="Gallio.Runtime.FileTypes.AssemblyFileTypeRecognizer, Gallio">
- <traits>
- <id>Assembly</id>
- <description>A .Net assembly.</description>
- <superTypeId>Executable</superTypeId>
- </traits>
- </component>
-
- <!-- Common helpers -->
-
- <component componentId="Gallio.Common.Concurrency.ProcessCreator"
- serviceId="Gallio.Common.Concurrency.ProcessCreator"
- componentType="Gallio.Common.Concurrency.ProcessCreator, Gallio" />
-
- <component componentId="Gallio.Common.Concurrency.ProcessFinder"
- serviceId="Gallio.Common.Concurrency.ProcessFinder"
- componentType="Gallio.Common.Concurrency.ProcessFinder, Gallio" />
-
- <component componentId="Gallio.FileSystem"
- serviceId="Gallio.FileSystem"
- componentType="Gallio.Common.IO.FileSystem, Gallio" />
-
- <component componentId="Gallio.XmlSerializer"
- serviceId="Gallio.XmlSerializer"
- componentType="Gallio.Common.Xml.DefaultXmlSerializer, Gallio" />
-
- <!-- Utility commands -->
-
- <component componentId="Gallio.UtilityCommandManager"
- serviceId="Gallio.UtilityCommandManager"
- componentType="Gallio.Runtime.UtilityCommands.DefaultUtilityCommandManager, Gallio" />
-
- <component componentId="Gallio.ClearCurrentUserPluginCacheUtilityCommand"
- serviceId="Gallio.UtilityCommand"
- componentType="Gallio.Runtime.UtilityCommands.ClearCurrentUserPluginCacheUtilityCommand, Gallio">
- <traits>
- <!-- Note: This particular command name is special and is also hardcoded in the Gallio.Utility.exe program itself
- because we want to be able to run the command without initializing the runtime itself.
- -->
- <name>ClearCurrentUserPluginCache</name>
- <description>Clears the plugin cache of the current user.</description>
- </traits>
- </component>
-
- <component componentId="Gallio.FormatReportUtilityCommand"
- serviceId="Gallio.UtilityCommand"
- componentType="Gallio.Runtime.UtilityCommands.FormatReportUtilityCommand, Gallio">
- <traits>
- <name>FormatReport</name>
- <description>Formats an existing XML test report. The command must be used with the following syntax:
- "FormatReport {file} /ReportType:{type} [/ReportNameFormat:{format} /ReportOutput:{dir} /ReportArchive /ReportFormatterProperty:{property}]"
- - {file} is the relative or absolute path of the existing XML test report.
- - ReportType (short form: /rt) specifies the type of the output report ('txt', 'txt-common', 'txt-condensed', 'html', 'html+xhtml', 'html-condensed', 'xhtml', 'xhtml-condensed'')
- - ReportNameFormat (short form: /rnf) specifies the format of the output report (optional; if not specified, the same name is kept). The tags '{0}' and '{1}' are replaced respectively by the date and the time of the test run, or by the curent date/time if not applicable.
- - ReportOutput (short form: /ro) specifies the output directory (optional; if not specified the current directory is used).
- - ReportArchive (short form: /ra) compresses the output report in a file archive (zip).
- - ReportFormatterProperty (short form: /rfp) specifies one or several key/value properties to report formatter (optional).</description>
- </traits>
- </component>
-
- <component componentId="Gallio.VerifyInstallationUtilityCommand"
- serviceId="Gallio.UtilityCommand"
- componentType="Gallio.Runtime.UtilityCommands.VerifyInstallationUtilityCommand, Gallio">
- <traits>
- <name>VerifyInstallation</name>
- <description>Checks for runtime installation errors.</description>
- </traits>
- </component>
-
- <component componentId="Gallio.MergeReportsUtilityCommand"
- serviceId="Gallio.UtilityCommand"
- componentType="Gallio.Runtime.UtilityCommands.MergeReportsUtilityCommand, Gallio">
- <traits>
- <name>MergeReports</name>
- <description>
- Merge several XML test reports. The command must be used with the following syntax:
- "MergeReports {file1}[,{file2},{file3}...] [/ReportNameFormat:{format} /ReportType:{type} /ReportOutput:{dir} /ReportArchive /ReportFormatterProperty:{property}]"
- - {fileN} is the relative or absolute path of the existing XML test reports to be merged together.
- - ReportNameFormat (short form: /rnf) specifies the format of the output report (optional; if not specified, a default name is used). The tags '{0}' and '{1}' are replaced respectively by the date and the time of the test run, or by the curent date/time if not applicable.
- - ReportOutput (short form: /ro) specifies the output directory (optional; if not specified the current directory is used).
- - ReportType (short form: /rt) specifies the type of the output report ('txt', 'txt-common', 'txt-condensed', 'html', 'html+xhtml', 'html-condensed', 'xhtml', 'xhtml-condensed')
- - ReportArchive (short form: /ra) compresses the output report in a file archive (zip).
- - ReportFormatterProperty (short form: /rfp) specifies one or several key/value properties to report formatter (optional).</description>
- </traits>
- </component>
-
- <component componentId="Gallio.SetupUtilityCommand"
- serviceId="Gallio.UtilityCommand"
- componentType="Gallio.Runtime.Installer.SetupUtilityCommand, Gallio">
- <traits>
- <name>Setup</name>
- <description>Installs or uninstalls components.</description>
- </traits>
- </component>
-
- <component componentId="Gallio.ResetInstallationIdUtilityCommand"
- serviceId="Gallio.UtilityCommand"
- componentType="Gallio.Runtime.UtilityCommands.ResetInstallationIdUtilityCommand, Gallio">
- <traits>
- <name>ResetInstallationId</name>
- <description>Resets the installation id. The plugin list will be refreshed the next time a Gallio application is started.</description>
- </traits>
- </component>
-
- <component componentId="Gallio.ResetInstallationIdElevatedCommand"
- serviceId="Gallio.ElevatedCommand"
- componentType="Gallio.Runtime.UtilityCommands.ResetInstallationIdElevatedCommand, Gallio" />
-
- <!-- Installers -->
-
- <component componentId="Gallio.InstallerElevatedCommand"
- serviceId="Gallio.ElevatedCommand"
- componentType="Gallio.Runtime.Installer.InstallerElevatedCommand, Gallio" />
-
- <component componentId="Gallio.InstallerManager"
- serviceId="Gallio.InstallerManager"
- componentType="Gallio.Runtime.Installer.DefaultInstallerManager, Gallio" />
-
- <!-- Test Kinds -->
-
- <component componentId="Gallio.TestKindManager"
- serviceId="Gallio.TestKindManager"
- componentType="Gallio.Model.DefaultTestKindManager, Gallio" />
-
- <component componentId="Gallio.TestKinds.Root"
- serviceId="Gallio.TestKind">
- <traits>
- <name>Root</name>
- <description>The root node of the test tree.</description>
- <icon>plugin://Gallio/Resources/Assembly.ico</icon>
- </traits>
- </component>
-
- <component componentId="Gallio.TestKinds.Assembly"
- serviceId="Gallio.TestKind">
- <traits>
- <name>Assembly</name>
- <description>A test assembly.</description>
- <icon>plugin://Gallio/Resources/Assembly.ico</icon>
- </traits>
- </component>
-
- <component componentId="Gallio.TestKinds.File"
- serviceId="Gallio.TestKind">
- <traits>
- <name>File</name>
- <description>A test file.</description>
- <icon>plugin://Gallio/Resources/Container.ico</icon>
- </traits>
- </component>
-
- <component componentId="Gallio.TestKinds.Namespace"
- serviceId="Gallio.TestKind">
- <traits>
- <name>Namespace</name>
- <description>A test namespace.</description>
- <icon>plugin://Gallio/Resources/Container.ico</icon>
- </traits>
- </component>
-
- <component componentId="Gallio.TestKinds.Group"
- serviceId="Gallio.TestKind">
- <traits>
- <name>Group</name>
- <description>A test group.</description>
- <icon>plugin://Gallio/Resources/Container.ico</icon>
- </traits>
- </component>
-
- <component componentId="Gallio.TestKinds.Suite"
- serviceId="Gallio.TestKind">
- <traits>
- <name>Suite</name>
- <description>A test suite.</description>
- <icon>plugin://Gallio/Resources/Container.ico</icon>
- </traits>
- </component>
-
- <component componentId="Gallio.TestKinds.Fixture"
- serviceId="Gallio.TestKind">
- <traits>
- <name>Fixture</name>
- <description>A test fixture.</description>
- <icon>plugin://Gallio/Resources/Fixture.ico</icon>
- </traits>
- </component>
-
- <component componentId="Gallio.TestKinds.Test"
- serviceId="Gallio.TestKind">
- <traits>
- <name>Test</name>
- <description>A test case.</description>
- <icon>plugin://Gallio/Resources/Test.ico</icon>
- </traits>
- </component>
-
- <component componentId="Gallio.TestKinds.Unsupported"
- serviceId="Gallio.TestKind">
- <traits>
- <name>Unsupported</name>
- <description>An unsupported test.</description>
- <icon>plugin://Gallio/Resources/Unsupported.ico</icon>
- </traits>
- </component>
- </components>
-</plugin>
View
BIN  Tools/Gallio/bin/NUnit/254-10/Gallio.NUnitAdapter254-10.dll
Binary file not shown
View
84 Tools/Gallio/bin/NUnit/254-10/Gallio.NUnitAdapter254-10.plugin
@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<plugin pluginId="Gallio.NUnitAdapter254-10"
- recommendedInstallationPath="NUnit\254-10"
- xmlns="http://www.gallio.org/">
- <traits>
- <name>NUnit v2.5.4-10 Adapter Plugin</name>
- <version>3.4.0.0</version>
- <description>Provides support for running NUnit v2.5.4-10 tests.</description>
- <icon>plugin://Gallio.NUnitAdapter254-10/Resources/NUnit.ico</icon>
- </traits>
-
- <dependencies>
- <dependency pluginId="Gallio" />
- </dependencies>
-
- <files>
- <file path="Gallio.NUnitAdapter254-10.plugin" />
- <file path="Gallio.NUnitAdapter254-10.dll" />
- <file path="license.txt" />
- <file path="Readme.txt" />
- <file path="nunit.core.dll" />
- <file path="nunit.core.interfaces.dll" />
- <file path="nunit.framework.dll" />
- <file path="nunit.framework.dll.tdnet" />
- <file path="nunit.framework.xml" />
- <file path="nunit.util.dll" />
- <file path="addins\NUnit Addins Readme.txt" />
- <file path="Resources\NUnit.ico" />
- </files>
-
- <assemblies>
- <assembly fullName="Gallio.NUnitAdapter254-10, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null"
- codeBase="Gallio.NUnitAdapter254-10.dll"
- qualifyPartialName="true" />
-
- <assembly fullName="nunit.core, Version=2.5.10.11092, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77"
- codeBase="nunit.core.dll">
- <bindingRedirects>
- <bindingRedirect oldVersion="2.5.4.0-2.5.10.65535" />
- </bindingRedirects>
- </assembly>
-
- <assembly fullName="nunit.core.interfaces, Version=2.5.10.11092, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77"
- codeBase="nunit.core.interfaces.dll">
- <bindingRedirects>
- <bindingRedirect oldVersion="2.5.4.0-2.5.10.65535" />
- </bindingRedirects>
- </assembly>
-
- <assembly fullName="nunit.util, Version=2.5.10.11092, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77"
- codeBase="nunit.util.dll">
- <bindingRedirects>
- <bindingRedirect oldVersion="2.5.4.0-2.5.10.65535" />
- </bindingRedirects>
- </assembly>
- </assemblies>
-
- <probingPaths>
- <probingPath>254-10</probingPath>
- </probingPaths>
-
- <components>
- <component componentId="NUnitAdapter254-10.TestFramework"
- serviceId="Gallio.TestFramework"
- componentType="Gallio.NUnitAdapter.Model.NUnitTestFramework, Gallio.NUnitAdapter254-10">
- <traits>
- <name>NUnit v2.5.4-10</name>
- <frameworkAssemblies>nunit.framework, Version=2.5.4.0-2.5.10.65535</frameworkAssemblies>
- <version>2.5.10.11092</version>
- <fileTypes>Assembly</fileTypes>
- <icon>plugin://Gallio.NUnitAdapter254-10/Resources/NUnit.ico</icon>
- </traits>
- </component>
-
- <component componentId="NUnitAdapter254-10.TestKinds.NUnitTestAssembly"
- serviceId="Gallio.TestKind">
- <traits>
- <name>NUnit v2.5.4-10 Assembly</name>
- <description>NUnit v2.5.4-10 Test Assembly</description>
- <icon>plugin://Gallio.NUnitAdapter254-10/Resources/NUnit.ico</icon>
- </traits>
- </component>
- </components>
-</plugin>
View
12 Tools/Gallio/bin/NUnit/254-10/Readme.txt
@@ -1,12 +0,0 @@
-NUnit Adapter Plugin
-====================
-
-This plugin uses the NUnit test runner to adapt NUnit tests so that
-they can run within Gallio and be manipulated by Gallio-based tools.
-
-The plugin assembly is deliberately NOT signed using a strong name.
-You can replace the underlying test framework with newer versions as
-long as they are binary compatible with the originally distributed version.
-
-However, it may be necessary to update the version numbers that
-appear in the plugin files.
View
BIN  Tools/Gallio/bin/NUnit/254-10/Resources/NUnit.ico
Binary file not shown
View
1  Tools/Gallio/bin/NUnit/254-10/addins/NUnit Addins Readme.txt
@@ -1 +0,0 @@
-Put your Addins in this folder so that Gallio can find them.
View
15 Tools/Gallio/bin/NUnit/254-10/license.txt
@@ -1,15 +0,0 @@
-Copyright © 2002-2007 Charlie Poole
-Copyright © 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov
-Copyright © 2000-2002 Philip A. Craig
-
-This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
-
-Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
-
-1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment (see the following) in the product documentation is required.
-
-Portions Copyright © 2002-2007 Charlie Poole or Copyright © 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov or Copyright © 2000-2002 Philip A. Craig
-
-2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
-
-3. This notice may not be removed or altered from any source distribution.
View
BIN  Tools/Gallio/bin/NUnit/254-10/nunit.core.dll
Binary file not shown
View
BIN  Tools/Gallio/bin/NUnit/254-10/nunit.core.interfaces.dll
Binary file not shown
View
BIN  Tools/Gallio/bin/NUnit/254-10/nunit.framework.dll
Binary file not shown
View
6 Tools/Gallio/bin/NUnit/254-10/nunit.framework.dll.tdnet
@@ -1,6 +0,0 @@
-<TestRunner>
- <FriendlyName>NUnit v{0}.{1}.{2}</FriendlyName>
- <AssemblyPath>..\..\TDNet\Gallio.TDNetRunner.dll</AssemblyPath>
- <TypeName>Gallio.TDNetRunner.GallioResidentTestRunner</TypeName>
- <TestRunnerType>Resident</TestRunnerType>
-</TestRunner>
View
BIN  Tools/Gallio/bin/NUnit/254-10/nunit.util.dll
Binary file not shown
View
BIN  Tools/Gallio/bin/NUnit/Latest/Gallio.NUnitAdapterLatest.dll
Binary file not shown
View
84 Tools/Gallio/bin/NUnit/Latest/Gallio.NUnitAdapterLatest.plugin
@@ -1,84 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<plugin pluginId="Gallio.NUnitAdapterLatest"
- recommendedInstallationPath="NUnit\Latest"
- xmlns="http://www.gallio.org/">
- <traits>
- <name>NUnit v2.6+ Adapter Plugin</name>
- <version>3.4.0.0</version>
- <description>Provides support for running NUnit v2.6+ tests.</description>
- <icon>plugin://Gallio.NUnitAdapterLatest/Resources/NUnit.ico</icon>
- </traits>
-
- <dependencies>
- <dependency pluginId="Gallio" />
- </dependencies>
-
- <files>
- <file path="Gallio.NUnitAdapterLatest.plugin" />
- <file path="Gallio.NUnitAdapterLatest.dll" />
- <file path="license.txt" />
- <file path="Readme.txt" />
- <file path="nunit.core.dll" />
- <file path="nunit.core.interfaces.dll" />
- <file path="nunit.framework.dll" />
- <file path="nunit.framework.dll.tdnet" />
- <file path="nunit.framework.xml" />
- <file path="nunit.util.dll" />
- <file path="addins\NUnit Addins Readme.txt" />
- <file path="Resources\NUnit.ico" />
- </files>
-
- <assemblies>
- <assembly fullName="Gallio.NUnitAdapterLatest, Version=3.4.0.0, Culture=neutral, PublicKeyToken=null"
- codeBase="Gallio.NUnitAdapterLatest.dll"
- qualifyPartialName="true" />
-
- <assembly fullName="nunit.core, Version=2.6.0.12051, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77"
- codeBase="nunit.core.dll">
- <bindingRedirects>
- <bindingRedirect oldVersion="2.6.0.0-2.6.65535.65535" />
- </bindingRedirects>
- </assembly>
-
- <assembly fullName="nunit.core.interfaces, Version=2.6.0.12051, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77"
- codeBase="nunit.core.interfaces.dll">
- <bindingRedirects>
- <bindingRedirect oldVersion="2.6.0.0-2.6.65535.65535" />
- </bindingRedirects>
- </assembly>
-
- <assembly fullName="nunit.util, Version=2.6.0.12051, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77"
- codeBase="nunit.util.dll">
- <bindingRedirects>
- <bindingRedirect oldVersion="2.6.0.0-2.6.65535.65535" />
- </bindingRedirects>
- </assembly>
- </assemblies>
-
- <probingPaths>
- <probingPath>Latest</probingPath>
- </probingPaths>
-
- <components>
- <component componentId="NUnitAdapterLatest.TestFramework"
- serviceId="Gallio.TestFramework"
- componentType="Gallio.NUnitAdapter.Model.NUnitTestFramework, Gallio.NUnitAdapterLatest">
- <traits>
- <name>NUnit v2.6+</name>
- <frameworkAssemblies>nunit.framework, Version=2.6.0.0-2.6.65535.65535</frameworkAssemblies>
- <version>2.6.0.12051</version>
- <fileTypes>Assembly</fileTypes>
- <icon>plugin://Gallio.NUnitAdapterLatest/Resources/NUnit.ico</icon>
- </traits>
- </component>
-
- <component componentId="NUnitAdapterLatest.TestKinds.NUnitTestAssembly"
- serviceId="Gallio.TestKind">
- <traits>
- <name>NUnit v2.6+ Assembly</name>
- <description>NUnit v2.6+ Test Assembly</description>
- <icon>plugin://Gallio.NUnitAdapterLatest/Resources/NUnit.ico</icon>
- </traits>
- </component>
- </components>
-</plugin>
View
12 Tools/Gallio/bin/NUnit/Latest/Readme.txt
@@ -1,12 +0,0 @@
-NUnit Adapter Plugin
-====================
-
-This plugin uses the NUnit test runner to adapt NUnit tests so that
-they can run within Gallio and be manipulated by Gallio-based tools.
-
-The plugin assembly is deliberately NOT signed using a strong name.
-You can replace the underlying test framework with newer versions as
-long as they are binary compatible with the originally distributed version.
-
-However, it may be necessary to update the version numbers that
-appear in the plugin files.
View
BIN  Tools/Gallio/bin/NUnit/Latest/Resources/NUnit.ico
Binary file not shown
View
1  Tools/Gallio/bin/NUnit/Latest/addins/NUnit Addins Readme.txt
@@ -1 +0,0 @@
-Put your Addins in this folder so that Gallio can find them.
View
15 Tools/Gallio/bin/NUnit/Latest/license.txt
@@ -1,15 +0,0 @@
-Copyright � 2002-2007 Charlie Poole
-Copyright � 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov
-Copyright � 2000-2002 Philip A. Craig
-
-This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
-
-Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
-
-1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment (see the following) in the product documentation is required.
-
-Portions Copyright � 2002-2007 Charlie Poole or Copyright � 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov or Copyright � 2000-2002 Philip A. Craig
-
-2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
-