Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Standardized build process and cleaned up README

  • Loading branch information...
commit 904ab2737b3bb467e8fafac987809368235055df 1 parent 3ee227b
@wbinford wbinford authored
Showing with 29,890 additions and 274 deletions.
  1. +10 −2 .gitignore
  2. +1 −1  Build.bat
  3. +8 −0 InstallGems.bat
  4. +9 −0 License.txt
  5. +22 −6 README.md
  6. +133 −59 RakeFile
  7. 0  {build_support → }/Ruby_Not_Installed.txt
  8. +0 −80 build_support/BuildUtils.rb
  9. +2 −0  go.bat
  10. BIN  lib/FluentAssert/FluentAssert.dll
  11. BIN  lib/FluentAssert/FluentAssert.pdb
  12. BIN  lib/NUnit/NUnit-2.5.3.9345.zip
  13. BIN  lib/NUnit/lib/nunit-console-runner.dll
  14. BIN  lib/NUnit/lib/nunit-gui-runner.dll
  15. BIN  lib/NUnit/lib/nunit.core.dll
  16. BIN  lib/NUnit/lib/nunit.core.interfaces.dll
  17. BIN  lib/NUnit/lib/nunit.uiexception.dll
  18. BIN  lib/NUnit/lib/nunit.uikit.dll
  19. BIN  lib/NUnit/lib/nunit.util.dll
  20. BIN  lib/NUnit/nunit-agent-x86.exe
  21. BIN  lib/NUnit/nunit-agent.exe
  22. BIN  lib/NUnit/nunit-console-x86.exe
  23. BIN  lib/NUnit/nunit-console.exe
  24. BIN  lib/NUnit/nunit-x86.exe
  25. BIN  lib/NUnit/nunit.exe
  26. BIN  lib/NUnit/nunit.framework.dll
  27. BIN  lib/NUnit/pnunit-agent.exe
  28. BIN  lib/NUnit/pnunit-launcher.exe
  29. BIN  lib/NUnit/pnunit.framework.dll
  30. BIN  lib/NUnit/pnunit.tests.dll
  31. +6 −4 lib/NUnit/provenance.txt
  32. +2 −0  settings/build.yaml
  33. +2 −0  settings/developer.default.yaml
  34. BIN  tools/NUnit/Logo.ico
  35. 0  {lib → tools}/NUnit/NUnitFitTests.html
  36. +6 −0 tools/NUnit/Provenance.txt
  37. +277 −0 tools/NUnit/bin/NUnitFitTests.html
  38. +124 −0 tools/NUnit/bin/NUnitTests.VisualState.xml
  39. +1 −0  {lib/NUnit → tools/NUnit/bin}/NUnitTests.config
  40. 0  {lib/NUnit → tools/NUnit/bin}/NUnitTests.nunit
  41. 0  {lib/NUnit → tools/NUnit/bin}/agent.conf
  42. 0  {lib/NUnit → tools/NUnit/bin}/agent.log.conf
  43. BIN  tools/NUnit/bin/framework/nunit.framework.dll
  44. +10,407 −0 tools/NUnit/bin/framework/nunit.framework.xml
  45. BIN  tools/NUnit/bin/framework/nunit.mocks.dll
  46. BIN  tools/NUnit/bin/framework/pnunit.framework.dll
  47. 0  {lib/NUnit → tools/NUnit/bin}/launcher.log.conf
  48. 0  {lib/NUnit → tools/NUnit/bin}/lib/Failure.png
  49. 0  {lib/NUnit → tools/NUnit/bin}/lib/Ignored.png
  50. 0  {lib/NUnit → tools/NUnit/bin}/lib/Inconclusive.png
  51. 0  {lib/NUnit → tools/NUnit/bin}/lib/Skipped.png
  52. 0  {lib/NUnit → tools/NUnit/bin}/lib/Success.png
  53. 0  {lib/NUnit → tools/NUnit/bin}/lib/fit.dll
  54. 0  {lib/NUnit → tools/NUnit/bin}/lib/log4net.dll
  55. BIN  tools/NUnit/bin/lib/nunit-console-runner.dll
  56. BIN  tools/NUnit/bin/lib/nunit-gui-runner.dll
  57. BIN  tools/NUnit/bin/lib/nunit.core.dll
  58. BIN  tools/NUnit/bin/lib/nunit.core.interfaces.dll
  59. BIN  {lib/NUnit → tools/NUnit/bin}/lib/nunit.fixtures.dll
  60. BIN  tools/NUnit/bin/lib/nunit.uiexception.dll
  61. BIN  tools/NUnit/bin/lib/nunit.uikit.dll
  62. BIN  tools/NUnit/bin/lib/nunit.util.dll
  63. BIN  tools/NUnit/bin/nunit-agent-x86.exe
  64. +1 −19 {lib/NUnit → tools/NUnit/bin}/nunit-agent-x86.exe.config
  65. BIN  tools/NUnit/bin/nunit-agent.exe
  66. +1 −19 {lib/NUnit → tools/NUnit/bin}/nunit-agent.exe.config
  67. BIN  tools/NUnit/bin/nunit-console-x86.exe
  68. +1 −19 {lib/NUnit → tools/NUnit/bin}/nunit-console-x86.exe.config
  69. BIN  tools/NUnit/bin/nunit-console.exe
  70. +1 −19 {lib/NUnit → tools/NUnit/bin}/nunit-console.exe.config
  71. BIN  tools/NUnit/bin/nunit-x86.exe
  72. +1 −13 {lib/NUnit → tools/NUnit/bin}/nunit-x86.exe.config
  73. BIN  tools/NUnit/bin/nunit.exe
  74. +1 −13 {lib/NUnit → tools/NUnit/bin}/nunit.exe.config
  75. BIN  tools/NUnit/bin/nunit.framework.dll
  76. BIN  tools/NUnit/bin/pnunit-agent.exe
  77. +0 −10 {lib/NUnit → tools/NUnit/bin}/pnunit-agent.exe.config
  78. BIN  tools/NUnit/bin/pnunit-launcher.exe
  79. +0 −10 {lib/NUnit → tools/NUnit/bin}/pnunit-launcher.exe.config
  80. BIN  tools/NUnit/bin/pnunit.framework.dll
  81. BIN  tools/NUnit/bin/pnunit.tests.dll
  82. 0  {lib/NUnit → tools/NUnit/bin}/runFile.exe
  83. 0  {lib/NUnit → tools/NUnit/bin}/runFile.exe.config
  84. 0  {lib/NUnit → tools/NUnit/bin}/runpnunit.bat
  85. 0  {lib/NUnit → tools/NUnit/bin}/test.conf
  86. BIN  tools/NUnit/bin/tests/loadtest-assembly.dll
  87. BIN  tools/NUnit/bin/tests/mock-assembly.dll
  88. BIN  tools/NUnit/bin/tests/nonamespace-assembly.dll
  89. BIN  tools/NUnit/bin/tests/nunit-console.tests.dll
  90. BIN  tools/NUnit/bin/tests/nunit-gui.tests.dll
  91. BIN  tools/NUnit/bin/tests/nunit.core.tests.dll
  92. BIN  tools/NUnit/bin/tests/nunit.fixtures.tests.dll
  93. BIN  tools/NUnit/bin/tests/nunit.framework.dll
  94. BIN  tools/NUnit/bin/tests/nunit.framework.tests.dll
  95. BIN  tools/NUnit/bin/tests/nunit.mocks.tests.dll
  96. BIN  tools/NUnit/bin/tests/nunit.uiexception.tests.dll
  97. BIN  tools/NUnit/bin/tests/nunit.uikit.tests.dll
  98. BIN  tools/NUnit/bin/tests/nunit.util.tests.dll
  99. BIN  tools/NUnit/bin/tests/test-assembly.dll
  100. BIN  tools/NUnit/bin/tests/test-utilities.dll
  101. BIN  tools/NUnit/bin/tests/timing-tests.dll
  102. +110 −0 tools/NUnit/doc/addinsDialog.html
  103. +112 −0 tools/NUnit/doc/assemblyIsolation.html
  104. +105 −0 tools/NUnit/doc/assertions.html
  105. +108 −0 tools/NUnit/doc/attributes.html
  106. +284 −0 tools/NUnit/doc/category.html
  107. +77 −0 tools/NUnit/doc/codeFuncs.js
  108. +176 −0 tools/NUnit/doc/collectionAssert.html
  109. +333 −0 tools/NUnit/doc/collectionConstraints.html
  110. +126 −0 tools/NUnit/doc/combinatorial.html
  111. +269 −0 tools/NUnit/doc/comparisonAsserts.html
  112. +239 −0 tools/NUnit/doc/comparisonConstraints.html
  113. +96 −0 tools/NUnit/doc/compoundConstraints.html
  114. +142 −0 tools/NUnit/doc/conditionAsserts.html
  115. +213 −0 tools/NUnit/doc/conditionConstraints.html
  116. +104 −0 tools/NUnit/doc/configEditor.html
  117. +160 −0 tools/NUnit/doc/configFiles.html
  118. +315 −0 tools/NUnit/doc/consoleCommandLine.html
  119. +167 −0 tools/NUnit/doc/constraintModel.html
  120. +117 −0 tools/NUnit/doc/contextMenu.html
  121. +274 −0 tools/NUnit/doc/culture.html
  122. +112 −0 tools/NUnit/doc/customConstraints.html
  123. +143 −0 tools/NUnit/doc/datapoint.html
  124. +124 −0 tools/NUnit/doc/datapointProviders.html
  125. +94 −0 tools/NUnit/doc/delayedConstraint.html
  126. +197 −0 tools/NUnit/doc/description.html
  127. +168 −0 tools/NUnit/doc/directoryAssert.html
  128. +275 −0 tools/NUnit/doc/equalConstraint.html
  129. +185 −0 tools/NUnit/doc/equalityAsserts.html
  130. +105 −0 tools/NUnit/doc/eventListeners.html
  131. +317 −0 tools/NUnit/doc/exception.html
  132. +234 −0 tools/NUnit/doc/exceptionAsserts.html
  133. +275 −0 tools/NUnit/doc/explicit.html
  134. +78 −0 tools/NUnit/doc/extensibility.html
  135. +95 −0 tools/NUnit/doc/extensionTips.html
  136. BIN  tools/NUnit/doc/favicon.ico
  137. +112 −0 tools/NUnit/doc/fileAssert.html
  138. BIN  tools/NUnit/doc/files/QuickStart.Spanish.doc
  139. BIN  tools/NUnit/doc/files/QuickStart.doc
  140. +108 −0 tools/NUnit/doc/files/Results.xsd
  141. +47 −0 tools/NUnit/doc/files/Summary.xslt
  142. +239 −0 tools/NUnit/doc/fixtureSetup.html
  143. +239 −0 tools/NUnit/doc/fixtureTeardown.html
  144. +80 −0 tools/NUnit/doc/getStarted.html
  145. +194 −0 tools/NUnit/doc/guiCommandLine.html
  146. +97 −0 tools/NUnit/doc/identityAsserts.html
  147. +268 −0 tools/NUnit/doc/ignore.html
  148. BIN  tools/NUnit/doc/img/addinsDialog.jpg
  149. BIN  tools/NUnit/doc/img/advancedSettings.jpg
  150. BIN  tools/NUnit/doc/img/assembliesTab.jpg
  151. BIN  tools/NUnit/doc/img/assemblyReloadSettings.jpg
  152. BIN  tools/NUnit/doc/img/bulletOff.gif
  153. BIN  tools/NUnit/doc/img/bulletOn.gif
  154. BIN  tools/NUnit/doc/img/configEditor.jpg
  155. BIN  tools/NUnit/doc/img/console-mock.jpg
  156. BIN  tools/NUnit/doc/img/generalSettings.jpg
  157. BIN  tools/NUnit/doc/img/generalTab.jpg
  158. BIN  tools/NUnit/doc/img/gui-screenshot.jpg
  159. BIN  tools/NUnit/doc/img/gui-verify.jpg
  160. BIN  tools/NUnit/doc/img/internalTraceSettings.jpg
  161. BIN  tools/NUnit/doc/img/langFilter.gif
  162. BIN  tools/NUnit/doc/img/logo.gif
  163. BIN  tools/NUnit/doc/img/miniGui.jpg
  164. BIN  tools/NUnit/doc/img/testLoadSettings.jpg
  165. BIN  tools/NUnit/doc/img/testOutputSettings.jpg
  166. BIN  tools/NUnit/doc/img/testProperties.jpg
  167. BIN  tools/NUnit/doc/img/testResultSettings.jpg
  168. BIN  tools/NUnit/doc/img/textOutputSettings.jpg
  169. BIN  tools/NUnit/doc/img/treeDisplaySettings.jpg
  170. BIN  tools/NUnit/doc/img/visualStudioSettings.jpg
  171. +77 −0 tools/NUnit/doc/index.html
  172. +126 −0 tools/NUnit/doc/installation.html
  173. +88 −0 tools/NUnit/doc/license.html
  174. +99 −0 tools/NUnit/doc/listMapper.html
  175. +276 −0 tools/NUnit/doc/mainMenu.html
  176. +120 −0 tools/NUnit/doc/maxtime.html
  177. +135 −0 tools/NUnit/doc/multiAssembly.html
  178. +97 −0 tools/NUnit/doc/nunit-agent.html
  179. +95 −0 tools/NUnit/doc/nunit-console.html
  180. +138 −0 tools/NUnit/doc/nunit-gui.html
  181. +126 −0 tools/NUnit/doc/nunit.css
  182. +223 −0 tools/NUnit/doc/nunitAddins.html
  183. +110 −0 tools/NUnit/doc/pairwise.html
  184. +156 −0 tools/NUnit/doc/parameterizedTests.html
  185. +193 −0 tools/NUnit/doc/pathConstraints.html
  186. +312 −0 tools/NUnit/doc/platform.html
  187. +100 −0 tools/NUnit/doc/pnunit.html
  188. +220 −0 tools/NUnit/doc/projectEditor.html
  189. +244 −0 tools/NUnit/doc/property.html
  190. +141 −0 tools/NUnit/doc/propertyConstraint.html
  191. +314 −0 tools/NUnit/doc/quickStart.html
  192. +134 −0 tools/NUnit/doc/random.html
  193. +145 −0 tools/NUnit/doc/range.html
  194. +1,398 −0 tools/NUnit/doc/releaseNotes.html
  195. +100 −0 tools/NUnit/doc/repeat.html
  196. +149 −0 tools/NUnit/doc/requiredAddin.html
  197. +148 −0 tools/NUnit/doc/requiresMTA.html
  198. +149 −0 tools/NUnit/doc/requiresSTA.html
  199. +149 −0 tools/NUnit/doc/requiresThread.html
  200. +161 −0 tools/NUnit/doc/reusableConstraint.html
  201. +108 −0 tools/NUnit/doc/runningTests.html
  202. +122 −0 tools/NUnit/doc/runtimeSelection.html
  203. +100 −0 tools/NUnit/doc/sameasConstraint.html
  204. +124 −0 tools/NUnit/doc/samples.html
  205. +128 −0 tools/NUnit/doc/sequential.html
  206. +192 −0 tools/NUnit/doc/setCulture.html
  207. +192 −0 tools/NUnit/doc/setUICulture.html
  208. +321 −0 tools/NUnit/doc/settingsDialog.html
  209. +240 −0 tools/NUnit/doc/setup.html
  210. +217 −0 tools/NUnit/doc/setupFixture.html
  211. +105 −0 tools/NUnit/doc/stringAssert.html
  212. +243 −0 tools/NUnit/doc/stringConstraints.html
  213. +239 −0 tools/NUnit/doc/suite.html
  214. +101 −0 tools/NUnit/doc/suiteBuilders.html
  215. +240 −0 tools/NUnit/doc/teardown.html
  216. +216 −0 tools/NUnit/doc/test.html
  217. +181 −0 tools/NUnit/doc/testCase.html
  218. +326 −0 tools/NUnit/doc/testCaseSource.html
  219. +112 −0 tools/NUnit/doc/testDecorators.html
  220. +430 −0 tools/NUnit/doc/testFixture.html
  221. +87 −0 tools/NUnit/doc/testProperties.html
  222. +112 −0 tools/NUnit/doc/testcaseBuilders.html
  223. +140 −0 tools/NUnit/doc/testcaseProviders.html
  224. +192 −0 tools/NUnit/doc/theory.html
  225. +157 −0 tools/NUnit/doc/throwsConstraint.html
  226. +124 −0 tools/NUnit/doc/timeout.html
  227. +129 −0 tools/NUnit/doc/typeAsserts.html
  228. +102 −0 tools/NUnit/doc/typeConstraints.html
  229. +98 −0 tools/NUnit/doc/upgrade.html
  230. +125 −0 tools/NUnit/doc/utilityAsserts.html
  231. +158 −0 tools/NUnit/doc/valueSource.html
  232. +132 −0 tools/NUnit/doc/values.html
  233. +145 −0 tools/NUnit/doc/vsSupport.html
  234. 0  {lib → tools}/NUnit/fit-license.txt
  235. 0  {lib → tools}/NUnit/license.txt
View
12 .gitignore
@@ -1,11 +1,19 @@
*resharper.user
+[Dd]ebug/
+[Rr]elease/
build/
+dist/
[Bb]in/
[Oo]bj/
+[Hh]elp/
*.suo
*.sln.cache
_ReSharper.*/
*.user
-dist
+VERSION
+*.nupkg
+TestResult.xml
CommonAssemblyInfo.cs
-TestResult.xml
+dist/
+!tools/NUnit/bin
+dist.bat
View
2  Build.bat
@@ -4,5 +4,5 @@ IF %ERRORLEVEL%==9009 GOTO:rake_failed
GOTO:EOF
:rake_failed
-type build_support\Ruby_Not_Installed.txt
+type Ruby_Not_Installed.txt
GOTO :EOF
View
8 InstallGems.bat
@@ -0,0 +1,8 @@
+@ECHO *** Installing Rake
+@call gem install rake --no-rdoc --no-ri
+
+@ECHO *** Installing RubyZip
+@call gem install rubyzip --no-rdoc --no-ri
+
+@ECHO *** Installing Albacore (build support tools)
+@call gem install albacore --no-rdoc --no-ri
View
9 License.txt
@@ -0,0 +1,9 @@
+The MIT License (MIT)
+
+Copyright (c) 2011 McCreary, Veselka, Bragg & Allen, P.C.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
View
28 README.md
@@ -1,6 +1,10 @@
-A simple utility that lets you use LINQ syntax to query HTML.
+LinqToHtml ReadMe
+===
+### Description
-## Samples
+LinqToHtml is a simple utility that lets you use LINQ syntax to query HTML.
+
+### Samples
const string html = @"
<html>
@@ -81,15 +85,27 @@ mapping
text.Id.ShouldBeEqualTo("hello");
text.TabKey.ShouldBeEqualTo(1);
-
-## License
note: the .Should... syntax comes from the [FluentAssert][FluentAssert] library.
+### How To Build:
+
+The build script requires Ruby with rake installed.
+
+1. Run `InstallGems.bat` to get the ruby dependencies (only needs to be run once per computer)
+1. open a command prompt to the root folder and type `rake` to execute rakefile.rb
+
+If you do not have ruby:
+
+1. You need to create a src\CommonAssemblyInfo.cs file. Go.bat will copy src\CommonAssemblyInfo.cs.default to src\CommonAssemblyInfo.cs
+1. open src\StarterTree.sln with Visual Studio and build the solution
+
+### License
+
[MIT License][mitlicense]
-This project is part of [MVBA Law Commons][mvbalawcommons].
+This project is part of [MVBA's Open Source Projects][MvbaLawGithub].
-[mvbalawcommons]: http://code.google.com/p/mvbalaw-commons/
[FluentAssert]: http://github.com/mvba/FluentAssert/
+[MvbaLawGithub]: http://mvbalaw.github.io/
[mitlicense]: http://www.opensource.org/licenses/mit-license.php
View
192 RakeFile
@@ -1,82 +1,156 @@
-COMPILE_TARGET = "debug"
-$LOAD_PATH.unshift(File.dirname(__FILE__))
-require "build_support/BuildUtils.rb"
+require 'albacore'
-include FileTest
+PRODUCT_NAME = "LinqToHtml"
+CLR_TOOLS_VERSION = "v3.5"
+DEFAULT_BUILD_NUMBER = "1.0.0"
+COMPANY_NAME = "MVBA, P.C."
+COPYRIGHT = "MVBA, P.C. (c) 2009-2013"
+ARTIFACTS = File.expand_path("dist")
+COMPILE_TARGET = "Debug"
+STAGE = File.expand_path("build")
+SETTINGS_DIR = "settings"
-require 'rubygems'
+nunit_cmd = "tools/NUnit/bin/nunit-console.exe"
-require 'zip/zip'
-require 'zip/zipfilesystem'
+beginning = Time.now
-RESULTS_DIR = "results"
-BUILD_NUMBER = "1.0.0."
-PRODUCT = "LinqToHtml"
-COPYRIGHT = 'Copyright 2009-2010 McCreary, Veselka, Bragg & Allen, P.C. All rights reserved.';
-COMMON_ASSEMBLY_INFO = 'src/CommonAssemblyInfo.cs';
-CLR_VERSION = "v3.5"
+default_settings = { :artifacts => ARTIFACTS,
+ :compile_target => COMPILE_TARGET,
+ :stage => STAGE
+
+ }
-versionNumber = ENV["BUILD_NUMBER"].nil? ? 0 : ENV["BUILD_NUMBER"]
+def read_config(settings_directory, env)
+ settings = {}
+ default_settings_file = "#{settings_directory}/#{env}.default.yaml"
+ if File.exists?(default_settings_file) then
+ settings = YAML.load_file(default_settings_file)
+ end
+ settings_file = "#{settings_directory}/#{env}.yaml"
+ if File.exists?(settings_file) then
+ overrides = YAML.load_file(settings_file)
+ overrides.each do |k,v|
+ settings[k] = v
+ end
+ end
+ return settings
+end
+
+environment = ENV['environment']
+settings = read_config(SETTINGS_DIR, environment)
+default_settings.each { |key, val| if settings[key].nil? then settings[key] = default_settings[key] end }
-props = { :archive => "dist" }
+puts "Rakefile settings:"
+settings.each { |key, val| puts "#{key} => #{val}" }
+puts
-desc "Compiles, unit tests"
-task :all => [:default]
-desc "**Default**, compiles and runs tests"
-task :default => [:compile, :test] do
- puts "Build Succeeded"
+desc "** Default **"
+task :default => [:build, :copy_artifacts, :test, :archive] do
+ puts "Build Succeeded - time elapsed: #{Time.now - beginning} seconds"
end
-desc "Displays a list of tasks"
-task :help do
- taskHash = Hash[*(`rake.cmd -T`.split(/\n/).collect { |l| l.match(/rake (\S+)\s+\#\s(.+)/).to_a }.collect { |l| [l[1], l[2]] }).flatten]
-
- indent = " "
-
- puts "rake #{indent}#Runs the 'default' task"
-
- taskHash.each_pair do |key, value|
- if key.nil?
- next
- end
- puts "rake #{key}#{indent.slice(0, indent.length - key.length)}##{value}"
- end
+desc "Creates CommonAssemblyInfo.cs file"
+assemblyinfo :assemblyinfo do |asm|
+ build_number = get_build_number
+ build_number_with_hash = get_build_number_with_hash
+ asm.product_name = PRODUCT_NAME
+ asm.version = build_number
+ asm.file_version = build_number
+ asm.trademark = build_number_with_hash
+ asm.company_name = COMPANY_NAME
+ asm.copyright = COPYRIGHT
+ asm.output_file = "src/CommonAssemblyInfo.cs"
end
-desc "Update the version information for the build"
-task :version do
- builder = AsmInfoBuilder.new(BUILD_NUMBER, {'Product' => PRODUCT, 'Copyright' => COPYRIGHT})
- buildNumber = builder.buildnumber
- puts "The build number is #{buildNumber}"
- builder.write COMMON_ASSEMBLY_INFO
+desc "Builds the #{PRODUCT_NAME} solution"
+msbuild :build => [:clean, :assemblyinfo] do |msb|
+ puts "Compiling #{PRODUCT_NAME} in #{settings[:compile_target]} mode..."
+ msb.properties :configuration => settings[:compile_target]
+ msb.targets :Clean, :Build
+ msb.solution = "src/#{PRODUCT_NAME}.sln"
+ msb.verbosity = "quiet"
+ sleep 1
+end
+
+desc "Copy build artifacts to the staging folder"
+task :copy_artifacts => [:build] do
+ puts "Copying files from bin folders to the build folder (#{settings[:stage]})..."
+ copy_output_files "src/#{PRODUCT_NAME}.Core/bin/#{settings[:compile_target]}", "*.{dll,pdb,exe}", settings[:stage]
+ copy_output_files "src/#{PRODUCT_NAME}.Tests/bin/#{settings[:compile_target]}", "*.{dll,pdb,exe}", settings[:stage]
end
desc "Prepares the working directory for a new build"
task :clean do
- #TODO: do any other tasks required to clean/prepare the working directory
- Dir.mkdir props[:archive] unless exists?(props[:archive])
+ FileUtils.rm_rf settings[:stage]
+ # work around nasty latency issue where folder still exists for a short while after it is removed
+ wait_for { !Dir.exists?(settings[:stage]) }
+ Dir.mkdir settings[:stage]
+ Dir.mkdir settings[:artifacts] unless Dir.exists?(settings[:artifacts])
+end
+
+desc "Runs the unit tests"
+nunit :test do |nunit|
+ puts "Running the unit tests in the build folder (#{settings[:stage]})..."
+ nunit.command = nunit_cmd
+ nunit.options "/framework #{CLR_TOOLS_VERSION}"
+ nunit.assemblies "#{settings[:stage]}/#{PRODUCT_NAME}.Tests.dll"
end
-desc "Compiles the app"
-task :compile => [:clean, :version] do
- MSBuildRunner.compile :compilemode => COMPILE_TARGET, :solutionfile => 'src/LinqToHtml.sln', :clrversion => CLR_VERSION
-
- outDir = "src/LinqToHtml/bin/#{COMPILE_TARGET}"
-
- Dir.glob(File.join(outDir, "*.{dll,pdb}")){|file|
- copy(file, props[:archive]) if File.file?(file)
- }
+desc "Zips up the build results"
+zip :archive do |zip|
+ puts "Zipping up the build folder and copying to artifact folder (#{settings[:artifacts]})..."
+ mkdir settings[:artifacts] unless Dir.exists?(settings[:artifacts])
+ build_number = get_build_number
+ zip.directories_to_zip = [settings[:stage]]
+ zip.output_file = "#{PRODUCT_NAME}_#{build_number}.#{settings[:compile_target]}.zip"
+ zip.output_path = [settings[:artifacts]]
+ puts "Artifacts are available in the artifact folder: #{settings[:artifacts]}"
end
-desc "Runs unit tests"
-task :test => [:unit_test]
-desc "Runs LinqToHtml.Tests unit tests"
-task :unit_test => :compile do
- runner = NUnitRunner.new :compilemode => COMPILE_TARGET, :source => 'src', :platform => 'x86'
- runner.executeTests ['LinqToHtml.Tests']
+def copy_output_files(fromDir, filePattern, outDir)
+ Dir.glob(File.join(fromDir, filePattern)){|file|
+ copy(file, outDir) if File.file?(file)
+ }
end
-desc "Target used for the CI server"
-task :ci => [:unit_test]
+def get_build_number
+ begin
+ gittag = `git describe --long`.chomp # looks something like v0.1.0-63-g3f10c2e
+ puts "gittag: #{gittag}"
+ parts = gittag.split("-")
+ base_version = parts[0].gsub("v","")
+ git_build_revision = parts[1]
+ git_short_hash = parts[2]
+ puts "base_version: #{base_version}"
+ puts "git_build_revision: #{git_build_revision}"
+ puts "git_short_hash: #{git_short_hash}"
+ build_number = "#{base_version}.#{git_build_revision}"
+ rescue
+ build_number = DEFAULT_BUILD_NUMBER
+ end
+end
+
+def get_build_number_with_hash
+ begin
+ gittag = `git describe --long`.chomp # looks something like v0.1.0-63-g3f10c2e
+ #puts "gittag: #{gittag}"
+ parts = gittag.split("-")
+ base_version = parts[0].gsub("v","")
+ git_build_revision = parts[1]
+ git_short_hash = parts[2]
+ build_number_with_hash = "#{base_version}.#{git_build_revision}-#{git_short_hash}"
+ rescue
+ build_number_with_hash = DEFAULT_BUILD_NUMBER
+ end
+end
+
+def wait_for(&block)
+ checks = 0
+ until block.call || checks >10
+ sleep 0.5
+ checks += 1
+ end
+ raise 'waitfor timeout expired' if checks > 10
+end
View
0  build_support/Ruby_Not_Installed.txt → Ruby_Not_Installed.txt
File renamed without changes
View
80 build_support/BuildUtils.rb
@@ -1,80 +0,0 @@
-require 'erb'
-
-class NUnitRunner
- include FileTest
-
- def initialize(paths)
- @sourceDir = paths.fetch(:source, 'source')
- @resultsDir = paths.fetch(:results, 'results')
- @compilePlatform = paths.fetch(:platform, '')
- @compileTarget = paths.fetch(:compilemode, 'debug')
-
- @nunitExe = File.join('lib', 'nunit', "nunit-console#{(@compilePlatform.empty? ? '' : "-#{@compilePlatform}")}.exe").gsub('/','\\') + ' /nothread'
- end
-
- def executeTests(assemblies)
- Dir.mkdir @resultsDir unless exists?(@resultsDir)
-
- assemblies.each do |assem|
- file = File.expand_path("#{@sourceDir}/#{assem}/bin/#{@compileTarget}/#{assem}.dll")
- sh "#{@nunitExe} #{file}"
- end
- end
-end
-
-class MSBuildRunner
- def self.compile(attributes)
- version = attributes.fetch(:clrversion, 'v3.5')
- compileTarget = attributes.fetch(:compilemode, 'debug')
- solutionFile = attributes[:solutionfile]
-
- frameworkDir = File.join(ENV['windir'].dup, 'Microsoft.NET', 'Framework', version)
- msbuildFile = File.join(frameworkDir, 'msbuild.exe')
-
- sh "#{msbuildFile} #{solutionFile} /nologo /maxcpucount /v:m /property:BuildInParallel=false /property:Configuration=#{compileTarget} /t:Rebuild"
- end
-end
-
-class AspNetCompilerRunner
- def self.compile(attributes)
-
- webPhysDir = attributes.fetch(:webPhysDir, '')
- webVirDir = attributes.fetch(:webVirDir, 'This_Value_Is_Not_Used')
-
- frameworkDir = File.join(ENV['windir'].dup, 'Microsoft.NET', 'Framework', 'v2.0.50727')
- aspNetCompiler = File.join(frameworkDir, 'aspnet_compiler.exe')
-
- sh "#{aspNetCompiler} -nologo -errorstack -c -p #{webPhysDir} -v #{webVirDir}"
- end
-end
-
-class AsmInfoBuilder
- attr_reader :buildnumber
-
- def initialize(baseVersion, properties)
- @properties = properties;
-
- @buildnumber = baseVersion + (ENV["CCNetLabel"].nil? ? '0' : ENV["CCNetLabel"].to_s)
- @properties['Version'] = @properties['InformationalVersion'] = buildnumber;
- end
-
-
-
- def write(file)
- template = %q{
-using System;
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-<% @properties.each {|k, v| %>
-[assembly: Assembly<%=k%>Attribute("<%=v%>")]
-<% } %>
- }.gsub(/^ /, '')
-
- erb = ERB.new(template, 0, "%<>")
-
- File.open(file, 'w') do |file|
- file.puts erb.result(binding)
- end
- end
-end
View
2  go.bat
@@ -0,0 +1,2 @@
+
+copy .\src\CommonAssemblyInfo.cs.default .\src\CommonAssemblyInfo.cs
View
BIN  lib/FluentAssert/FluentAssert.dll
Binary file not shown
View
BIN  lib/FluentAssert/FluentAssert.pdb
Binary file not shown
View
BIN  lib/NUnit/NUnit-2.5.3.9345.zip
Binary file not shown
View
BIN  lib/NUnit/lib/nunit-console-runner.dll
Binary file not shown
View
BIN  lib/NUnit/lib/nunit-gui-runner.dll
Binary file not shown
View
BIN  lib/NUnit/lib/nunit.core.dll
Binary file not shown
View
BIN  lib/NUnit/lib/nunit.core.interfaces.dll
Binary file not shown
View
BIN  lib/NUnit/lib/nunit.uiexception.dll
Binary file not shown
View
BIN  lib/NUnit/lib/nunit.uikit.dll
Binary file not shown
View
BIN  lib/NUnit/lib/nunit.util.dll
Binary file not shown
View
BIN  lib/NUnit/nunit-agent-x86.exe
Binary file not shown
View
BIN  lib/NUnit/nunit-agent.exe
Binary file not shown
View
BIN  lib/NUnit/nunit-console-x86.exe
Binary file not shown
View
BIN  lib/NUnit/nunit-console.exe
Binary file not shown
View
BIN  lib/NUnit/nunit-x86.exe
Binary file not shown
View
BIN  lib/NUnit/nunit.exe
Binary file not shown
View
BIN  lib/NUnit/nunit.framework.dll
Binary file not shown
View
BIN  lib/NUnit/pnunit-agent.exe
Binary file not shown
View
BIN  lib/NUnit/pnunit-launcher.exe
Binary file not shown
View
BIN  lib/NUnit/pnunit.framework.dll
Binary file not shown
View
BIN  lib/NUnit/pnunit.tests.dll
Binary file not shown
View
10 lib/NUnit/provenance.txt
@@ -1,4 +1,6 @@
-NUnit-2.5.3.9345
-http://www.nunit.org/index.php?p=home
-Downloaded from the nunit site on 1/28/2010:
-http://launchpad.net/nunitv2/2.5.3/2.5.3/+download/NUnit-2.5.3.9345.zip
+NUnit 2.5.10.11092
+http://www.nunit.org
+Downloaded from the NUnit website on 8/16/2011:
+http://www.nunit.org/index.php?p=download
+
+Only copied the nunit.framework.dll to the /lib folder. The NUnit program was copied to the /tools folder.
View
2  settings/build.yaml
@@ -0,0 +1,2 @@
+:artifacts: '//archive1/term/SERVER/BuildAgents/LinqToHtml/master'
+:stage: 'c:/projects/LinqToHtml/build'
View
2  settings/developer.default.yaml
@@ -0,0 +1,2 @@
+:artifacts: 'c:/projects/etlgate/dist/'
+:stage: 'c:/projects/etlgate/build/'
View
BIN  tools/NUnit/Logo.ico
Binary file not shown
View
0  lib/NUnit/NUnitFitTests.html → tools/NUnit/NUnitFitTests.html
File renamed without changes
View
6 tools/NUnit/Provenance.txt
@@ -0,0 +1,6 @@
+NUnit 2.5.10.11092
+http://www.nunit.org
+Downloaded from the NUnit website on 8/16/2011:
+http://www.nunit.org/index.php?p=download
+
+Only copied the nunit.framework.dll to the /lib folder. The NUnit program was copied to the /tools folder.
View
277 tools/NUnit/bin/NUnitFitTests.html
@@ -0,0 +1,277 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+ <body>
+ <h1>NUnit Acceptance Tests</h1>
+ <p>
+ Developers love self-referential programs! Hence, NUnit has always run all it's
+ own tests, even those that are not really unit tests.
+ <p>Now, beginning with NUnit 2.4, NUnit has top-level tests using Ward Cunningham's
+ FIT framework. At this time, the tests are pretty rudimentary, but it's a start
+ and it's a framework for doing more.
+ <h2>Running the Tests</h2>
+ <p>Open a console or shell window and navigate to the NUnit bin directory, which
+ contains this file. To run the test under Microsoft .Net, enter the command
+ <pre> runFile NUnitFitTests.html TestResults.html .</pre>
+ To run it under Mono, enter
+ <pre> mono runFile.exe NUnitFitTests.html TestResults.html .</pre>
+ Note the space and dot at the end of each command. The results of your test
+ will be in TestResults.html in the same directory.
+ <h2>Platform and CLR Version</h2>
+ <table BORDER cellSpacing="0" cellPadding="5">
+ <tr>
+ <td colspan="2">NUnit.Fixtures.PlatformInfo</td>
+ </tr>
+ </table>
+ <h2>Verify Unit Tests</h2>
+ <p>
+ Load and run the NUnit unit tests, verifying that the results are as expected.
+ When these tests are run on different platforms, different numbers of tests may
+ be skipped, so the values for Skipped and Run tests are informational only.
+ <p>
+ The number of tests in each assembly should be constant across all platforms -
+ any discrepancy usually means that one of the test source files was not
+ compiled on the platform. There should be no failures and no tests ignored.
+ <p><b>Note:</b>
+ At the moment, the nunit.extensions.tests assembly is failing because the
+ fixture doesn't initialize addins in the test domain.
+ <p>
+ <table BORDER cellSpacing="0" cellPadding="5">
+ <tr>
+ <td colspan="6">NUnit.Fixtures.AssemblyRunner</td>
+ </tr>
+ <tr>
+ <td>Assembly</td>
+ <td>Tests()</td>
+ <td>Run()</td>
+ <td>Skipped()</td>
+ <td>Ignored()</td>
+ <td>Failures()</td>
+ </tr>
+ <tr>
+ <td>nunit.framework.tests.dll</td>
+ <td>397</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>0</td>
+ <td>0</td>
+ </tr>
+ <tr>
+ <td>nunit.core.tests.dll</td>
+ <td>355</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>0</td>
+ <td>0</td>
+ </tr>
+ <tr>
+ <td>nunit.util.tests.dll</td>
+ <td>238</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>0</td>
+ <td>0</td>
+ </tr>
+ <tr>
+ <td>nunit.mocks.tests.dll</td>
+ <td>43</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>0</td>
+ <td>0</td>
+ </tr>
+ <tr>
+ <td>nunit.extensions.tests.dll</td>
+ <td>5</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>0</td>
+ <td>0</td>
+ </tr>
+ <tr>
+ <td>nunit-console.tests.dll</td>
+ <td>40</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>0</td>
+ <td>0</td>
+ </tr>
+ <tr>
+ <td>nunit.uikit.tests.dll</td>
+ <td>34</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>0</td>
+ <td>0</td>
+ </tr>
+ <tr>
+ <td>nunit-gui.tests.dll</td>
+ <td>15</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>0</td>
+ <td>0</td>
+ </tr>
+ <tr>
+ <td>nunit.fixtures.tests.dll</td>
+ <td>6</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ <td>0</td>
+ <td>0</td>
+ </tr>
+ </table>
+ <h2>Code Snippet Tests</h2>
+ <p>
+ These tests create a test assembly from a snippet of code and then load and run
+ the tests that it contains, verifying that the structure of the loaded tests is
+ as expected and that the number of tests run, skipped, ignored or failed is
+ correct.
+ <p>
+ <table BORDER cellSpacing="0" cellPadding="5">
+ <tr>
+ <td colspan="6">NUnit.Fixtures.SnippetRunner</td>
+ </tr>
+ <tr>
+ <td>Code</td>
+ <td>Tree()</td>
+ <td>Run()</td>
+ <td>Skipped()</td>
+ <td>Ignored()</td>
+ <td>Failures()</td>
+ </tr>
+ <tr>
+ <td><pre>public class TestClass
+{
+}</pre>
+ </td>
+ <td>EMPTY</td>
+ <td>0</td>
+ <td>0</td>
+ <td>0</td>
+ <td>0</td>
+ </tr>
+ <tr>
+ <td><pre>using NUnit.Framework;
+
+[TestFixture]
+public class TestClass
+{
+}</pre>
+ </td>
+ <td>TestClass</td>
+ <td>0</td>
+ <td>0</td>
+ <td>0</td>
+ <td>0</td>
+ </tr>
+ <tr>
+ <td><pre>using NUnit.Framework;
+
+[TestFixture]
+public class TestClass
+{
+ [Test]
+ public void T1() { }
+ [Test]
+ public void T2() { }
+ [Test]
+ public void T3() { }
+}</pre>
+ </td>
+ <td><pre>TestClass
+&gt;T1
+&gt;T2
+&gt;T3</pre>
+ </td>
+ <td>3</td>
+ <td>0</td>
+ <td>0</td>
+ <td>0</td>
+ </tr>
+ <tr>
+ <td><pre>using NUnit.Framework;
+
+[TestFixture]
+public class TestClass1
+{
+ [Test]
+ public void T1() { }
+}
+
+[TestFixture]
+public class TestClass2
+{
+ [Test]
+ public void T2() { }
+ [Test]
+ public void T3() { }
+}</pre>
+ </td>
+ <td><pre>TestClass1
+&gt;T1
+TestClass2
+&gt;T2
+&gt;T3</pre>
+ </td>
+ <td>3</td>
+ <td>0</td>
+ <td>0</td>
+ <td>0</td>
+ </tr>
+ <tr>
+ <td><pre>using NUnit.Framework;
+
+[TestFixture]
+public class TestClass
+{
+ [Test]
+ public void T1() { }
+ [Test, Ignore]
+ public void T2() { }
+ [Test]
+ public void T3() { }
+}</pre>
+ </td>
+ <td><pre>TestClass
+&gt;T1
+&gt;T2
+&gt;T3</pre>
+ </td>
+ <td>2</td>
+ <td>0</td>
+ <td>1</td>
+ <td>0</td>
+ </tr>
+ <tr>
+ <td><pre>using NUnit.Framework;
+
+[TestFixture]
+public class TestClass
+{
+ [Test]
+ public void T1() { }
+ [Test, Explicit]
+ public void T2() { }
+ [Test]
+ public void T3() { }
+}</pre>
+ </td>
+ <td><pre>TestClass
+&gt;T1
+&gt;T2
+&gt;T3</pre>
+ </td>
+ <td>2</td>
+ <td>1</td>
+ <td>0</td>
+ <td>0</td>
+ </tr>
+ </table>
+ <h2>Summary Information</h2>
+ <table BORDER cellSpacing="0" cellPadding="5">
+ <tr>
+ <td colspan="2">fit.Summary</td>
+ </tr>
+ </table>
+ </body>
+</html>
View
124 tools/NUnit/bin/NUnitTests.VisualState.xml
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="utf-8"?>
+<VisualState xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ShowCheckBoxes="false">
+ <TopNode>[0-1000]D:\Dev\NUnit\nunit-2.5\work\build\net\2.0\release\NUnitTests.nunit</TopNode>
+ <SelectedNode>[0-1000]D:\Dev\NUnit\nunit-2.5\work\build\net\2.0\release\NUnitTests.nunit</SelectedNode>
+ <ExcludeCategories>false</ExcludeCategories>
+ <Nodes>
+ <Node UniqueName="[0-1000]D:\Dev\NUnit\nunit-2.5\work\build\net\2.0\release\NUnitTests.nunit" Expanded="true" />
+ <Node UniqueName="[0-2832]D:\Dev\NUnit\nunit-2.5\work\build\net\2.0\release\tests/nunit.framework.tests.dll" Expanded="true" />
+ <Node UniqueName="[0-2833]NUnit" Expanded="true" />
+ <Node UniqueName="[0-2834]NUnit.Framework" Expanded="true" />
+ <Node UniqueName="[0-2835]NUnit.Framework.Constraints" Expanded="true" />
+ <Node UniqueName="[0-1001]NUnit.Framework.Constraints.AfterConstraintTest" Expanded="true" />
+ <Node UniqueName="[0-1023]NUnit.Framework.Constraints.AndTest" Expanded="true" />
+ <Node UniqueName="[0-1914]NUnit.Framework.Constraints.AssignableFromTest" Expanded="true" />
+ <Node UniqueName="[0-1924]NUnit.Framework.Constraints.AssignableToTest" Expanded="true" />
+ <Node UniqueName="[0-1934]NUnit.Framework.Constraints.AttributeExistsConstraintTest" Expanded="true" />
+ <Node UniqueName="[0-1697]NUnit.Framework.Constraints.BinarySerializableTest" Expanded="true" />
+ <Node UniqueName="[0-1144]NUnit.Framework.Constraints.ComparerTests" Expanded="true" />
+ <Node UniqueName="[0-1271]NUnit.Framework.Constraints.EmptyConstraintTest" Expanded="true" />
+ <Node UniqueName="[0-1806]NUnit.Framework.Constraints.EndsWithTest" Expanded="true" />
+ <Node UniqueName="[0-1826]NUnit.Framework.Constraints.EndsWithTestIgnoringCase" Expanded="true" />
+ <Node UniqueName="[0-1300]NUnit.Framework.Constraints.EqualConstraintTest" Expanded="true" />
+ <Node UniqueName="[0-1893]NUnit.Framework.Constraints.ExactTypeTest" Expanded="true" />
+ <Node UniqueName="[0-1060]NUnit.Framework.Constraints.FalseConstraintTest" Expanded="true" />
+ <Node UniqueName="[0-1196]NUnit.Framework.Constraints.GreaterThanOrEqualTest" Expanded="true" />
+ <Node UniqueName="[0-1176]NUnit.Framework.Constraints.GreaterThanTest" Expanded="true" />
+ <Node UniqueName="[0-1904]NUnit.Framework.Constraints.InstanceOfTypeTest" Expanded="true" />
+ <Node UniqueName="[0-1234]NUnit.Framework.Constraints.LessThanOrEqualTest" Expanded="true" />
+ <Node UniqueName="[0-1214]NUnit.Framework.Constraints.LessThanTest" Expanded="true" />
+ <Node UniqueName="[0-1398]NUnit.Framework.Constraints.MsgUtilTests" Expanded="true" />
+ <Node UniqueName="[0-1076]NUnit.Framework.Constraints.NaNConstraintTest" Expanded="true" />
+ <Node UniqueName="[0-1429]NUnit.Framework.Constraints.NotTest" Expanded="true" />
+ <Node UniqueName="[0-1035]NUnit.Framework.Constraints.NullConstraintTest" Expanded="true" />
+ <Node UniqueName="[0-1288]NUnit.Framework.Constraints.NullOrEmptyStringConstraintTest" Expanded="true" />
+ <Node UniqueName="[0-1443]NUnit.Framework.Constraints.NumericsTest" Expanded="true" />
+ <Node UniqueName="[0-1477]NUnit.Framework.Constraints.OrTest" Expanded="true" />
+ <Node UniqueName="[0-1643]NUnit.Framework.Constraints.PropertyExistsTest" Expanded="true" />
+ <Node UniqueName="[0-1660]NUnit.Framework.Constraints.PropertyTest" Expanded="true" />
+ <Node UniqueName="[0-1252]NUnit.Framework.Constraints.RangeConstraintTest" Expanded="true" />
+ <Node UniqueName="[0-1677]NUnit.Framework.Constraints.ReusableConstraintTests" Expanded="true" />
+ <Node UniqueName="[0-1684]NUnit.Framework.Constraints.SameAsTest" Expanded="true" />
+ <Node UniqueName="[0-1615]NUnit.Framework.Constraints.SamePathOrUnderTest_Linux" Expanded="true" />
+ <Node UniqueName="[0-1592]NUnit.Framework.Constraints.SamePathOrUnderTest_Windows" Expanded="true" />
+ <Node UniqueName="[0-1507]NUnit.Framework.Constraints.SamePathTest_Linux" Expanded="true" />
+ <Node UniqueName="[0-1488]NUnit.Framework.Constraints.SamePathTest_Windows" Expanded="true" />
+ <Node UniqueName="[0-1766]NUnit.Framework.Constraints.StartsWithTest" Expanded="true" />
+ <Node UniqueName="[0-1786]NUnit.Framework.Constraints.StartsWithTestIgnoringCase" Expanded="true" />
+ <Node UniqueName="[0-1559]NUnit.Framework.Constraints.SubPathTest_Linux" Expanded="true" />
+ <Node UniqueName="[0-1529]NUnit.Framework.Constraints.SubPathTest_Windows" Expanded="true" />
+ <Node UniqueName="[0-1728]NUnit.Framework.Constraints.SubstringTest" Expanded="true" />
+ <Node UniqueName="[0-1748]NUnit.Framework.Constraints.SubstringTestIgnoringCase" Expanded="true" />
+ <Node UniqueName="[0-1846]NUnit.Framework.Constraints.ThrowsConstraintTest_ExactType" Expanded="true" />
+ <Node UniqueName="[0-1859]NUnit.Framework.Constraints.ThrowsConstraintTest_InstanceOfType" Expanded="true" />
+ <Node UniqueName="[0-1873]NUnit.Framework.Constraints.ThrowsConstraintTest_WithConstraint" Expanded="true" />
+ <Node UniqueName="[0-1044]NUnit.Framework.Constraints.TrueConstraintTest" Expanded="true" />
+ <Node UniqueName="[0-1711]NUnit.Framework.Constraints.XmlSerializableTest" Expanded="true" />
+ <Node UniqueName="[0-2836]NUnit.Framework.Syntax" Expanded="true" />
+ <Node UniqueName="[0-2093]NUnit.Framework.Syntax.InvalidCodeTests" Expanded="true" />
+ <Node UniqueName="[0-2837]NUnit.Framework.Tests" Expanded="true" />
+ <Node UniqueName="[0-2772]NUnit.Framework.Tests.ValuesAttributeTests" Expanded="true" />
+ <Node UniqueName="[0-3878]D:\Dev\NUnit\nunit-2.5\work\build\net\2.0\release\tests/nunit.core.tests.dll" Expanded="true" />
+ <Node UniqueName="[0-3879]NUnit" Expanded="true" />
+ <Node UniqueName="[0-3880]NUnit.Core" Expanded="true" />
+ <Node UniqueName="[0-3881]NUnit.Core.Tests" Expanded="true" />
+ <Node UniqueName="[0-2919]NUnit.Core.Tests.CategoryAttributeTests" Expanded="true" />
+ <Node UniqueName="[0-2929]NUnit.Core.Tests.CombinatorialTests" Expanded="true" />
+ <Node UniqueName="[0-2998]NUnit.Core.Tests.CultureSettingAndDetectionTests" Expanded="true" />
+ <Node UniqueName="[0-3021]NUnit.Core.Tests.EventQueueTests" Expanded="true" />
+ <Node UniqueName="[0-3882]NUnit.Core.Tests.Generic" Expanded="true" />
+ <Node UniqueName="[0-2838]NUnit.Core.Tests.Generic.DeduceTypeArgsFromArgs&lt;T1,T2&gt;" Expanded="true" />
+ <Node UniqueName="[0-2839]NUnit.Core.Tests.Generic.DeduceTypeArgsFromArgs&lt;Double,Int32&gt;(100.0d,42)" Expanded="true" />
+ <Node UniqueName="[0-2842]NUnit.Core.Tests.Generic.DeduceTypeArgsFromArgs&lt;Int32,Double&gt;(42,100.0d)" Expanded="true" />
+ <Node UniqueName="[0-2845]NUnit.Core.Tests.Generic.SimpleGenericFixture&lt;TList&gt;" Expanded="true" />
+ <Node UniqueName="[0-2850]NUnit.Core.Tests.Generic.SimpleGenericMethods" Expanded="true" />
+ <Node UniqueName="[0-2866]NUnit.Core.Tests.Generic.TypeParameterUsedWithTestMethod&lt;T&gt;" Expanded="true" />
+ <Node UniqueName="[0-2867]NUnit.Core.Tests.Generic.TypeParameterUsedWithTestMethod&lt;Double&gt;" Expanded="true" />
+ <Node UniqueName="[0-3158]NUnit.Core.Tests.PairwiseTest" Expanded="true" />
+ <Node UniqueName="[0-3169]NUnit.Core.Tests.PairwiseTest+LiveTest" Expanded="true" />
+ <Node UniqueName="[0-3178]NUnit.Core.Tests.ParameterizedTestFixture" Expanded="true" />
+ <Node UniqueName="[0-3195]NUnit.Core.Tests.ParameterizedTestFixtureWithDataSources" Expanded="true" />
+ <Node UniqueName="[0-3196]NUnit.Core.Tests.ParameterizedTestFixtureWithDataSources(42)" Expanded="true" />
+ <Node UniqueName="[0-3188]NUnit.Core.Tests.ParameterizedTestFixtureWithNullArguments" Expanded="true" />
+ <Node UniqueName="[0-3297]NUnit.Core.Tests.RuntimeFrameworkTests" Expanded="true" />
+ <Node UniqueName="[0-3466]NUnit.Core.Tests.TestCaseAttributeTests" Expanded="true" />
+ <Node UniqueName="[0-3536]NUnit.Core.Tests.TestCaseSourceTests" Expanded="true" />
+ <Node UniqueName="[0-3753]NUnit.Core.Tests.TheoryTests" Expanded="true" />
+ <Node UniqueName="[0-3775]NUnit.Core.Tests.TheoryTests+SqrtTests_DisplayResults" Expanded="true" />
+ <Node UniqueName="[0-3817]NUnit.Core.Tests.TypeHelperTests" Expanded="true" />
+ <Node UniqueName="[0-3844]NUnit.Core.Tests.ValueSourceTests" Expanded="true" />
+ <Node UniqueName="[0-4250]D:\Dev\NUnit\nunit-2.5\work\build\net\2.0\release\tests/nunit.util.tests.dll" Expanded="true" />
+ <Node UniqueName="[0-4251]NUnit" Expanded="true" />
+ <Node UniqueName="[0-4252]NUnit.Util" Expanded="true" />
+ <Node UniqueName="[0-4134]NUnit.Util.Tests.ServiceManagerSetUpFixture" Expanded="true" />
+ <Node UniqueName="[0-4110]NUnit.Util.Tests.RuntimeFrameworkSelectorTests" Expanded="true" />
+ <Node UniqueName="[0-4302]D:\Dev\NUnit\nunit-2.5\work\build\net\2.0\release\tests/nunit.mocks.tests.dll" Expanded="true" />
+ <Node UniqueName="[0-4303]NUnit" Expanded="true" />
+ <Node UniqueName="[0-4304]NUnit.Mocks" Expanded="true" />
+ <Node UniqueName="[0-4305]NUnit.Mocks.Tests" Expanded="true" />
+ <Node UniqueName="[0-4361]D:\Dev\NUnit\nunit-2.5\work\build\net\2.0\release\tests/nunit-console.tests.dll" Expanded="true" />
+ <Node UniqueName="[0-4362]NUnit" Expanded="true" />
+ <Node UniqueName="[0-4363]NUnit.ConsoleRunner" Expanded="true" />
+ <Node UniqueName="[0-4364]NUnit.ConsoleRunner.Tests" Expanded="true" />
+ <Node UniqueName="[0-4345]NUnit.ConsoleRunner.Tests.TestNameParserTests" Expanded="true" />
+ <Node UniqueName="[0-4604]D:\Dev\NUnit\nunit-2.5\work\build\net\2.0\release\tests/nunit.uiexception.tests.dll" Expanded="true" />
+ <Node UniqueName="[0-4605]NUnit" Expanded="true" />
+ <Node UniqueName="[0-4606]NUnit.UiException" Expanded="true" />
+ <Node UniqueName="[0-4607]NUnit.UiException.Tests" Expanded="true" />
+ <Node UniqueName="[0-4608]NUnit.UiException.Tests.CodeFormatters" Expanded="true" />
+ <Node UniqueName="[0-4609]NUnit.UiException.Tests.Controls" Expanded="true" />
+ <Node UniqueName="[0-4610]NUnit.UiException.Tests.StackTraceAnalyzers" Expanded="true" />
+ <Node UniqueName="[0-4665]D:\Dev\NUnit\nunit-2.5\work\build\net\2.0\release\tests/nunit.uikit.tests.dll" Expanded="true" />
+ <Node UniqueName="[0-4666]NUnit" Expanded="true" />
+ <Node UniqueName="[0-4667]NUnit.UiKit" Expanded="true" />
+ <Node UniqueName="[0-4668]NUnit.UiKit.Tests" Expanded="true" />
+ <Node UniqueName="[0-4687]D:\Dev\NUnit\nunit-2.5\work\build\net\2.0\release\tests/nunit-gui.tests.dll" Expanded="true" />
+ <Node UniqueName="[0-4688]NUnit" Expanded="true" />
+ <Node UniqueName="[0-4689]NUnit.Gui" Expanded="true" />
+ <Node UniqueName="[0-4690]NUnit.Gui.Tests" Expanded="true" />
+ <Node UniqueName="[0-4699]D:\Dev\NUnit\nunit-2.5\work\build\net\2.0\release\tests/nunit.fixtures.tests.dll" Expanded="true" />
+ <Node UniqueName="[0-4700]NUnit" Expanded="true" />
+ <Node UniqueName="[0-4701]NUnit.Fixtures" Expanded="true" />
+ <Node UniqueName="[0-4702]NUnit.Fixtures.Tests" Expanded="true" />
+ </Nodes>
+</VisualState>
View
1  lib/NUnit/NUnitTests.config → tools/NUnit/bin/NUnitTests.config
@@ -47,6 +47,7 @@
<TestRunner>
<add key="ApartmentState" value="MTA" />
<add key="ThreadPriority" value="Normal" />
+ <add key="DefaultLogThreshold" value="Info" />
</TestRunner>
</NUnit>
-->
View
0  lib/NUnit/NUnitTests.nunit → tools/NUnit/bin/NUnitTests.nunit
File renamed without changes
View
0  lib/NUnit/agent.conf → tools/NUnit/bin/agent.conf
File renamed without changes
View
0  lib/NUnit/agent.log.conf → tools/NUnit/bin/agent.log.conf
File renamed without changes
View
BIN  tools/NUnit/bin/framework/nunit.framework.dll
Binary file not shown
View
10,407 tools/NUnit/bin/framework/nunit.framework.xml
10,407 additions, 0 deletions not shown
View
BIN  tools/NUnit/bin/framework/nunit.mocks.dll
Binary file not shown
View
BIN  tools/NUnit/bin/framework/pnunit.framework.dll
Binary file not shown
View
0  lib/NUnit/launcher.log.conf → tools/NUnit/bin/launcher.log.conf
File renamed without changes
View
0  lib/NUnit/lib/Failure.png → tools/NUnit/bin/lib/Failure.png
File renamed without changes
View
0  lib/NUnit/lib/Ignored.png → tools/NUnit/bin/lib/Ignored.png
File renamed without changes
View
0  lib/NUnit/lib/Inconclusive.png → tools/NUnit/bin/lib/Inconclusive.png
File renamed without changes
View
0  lib/NUnit/lib/Skipped.png → tools/NUnit/bin/lib/Skipped.png
File renamed without changes
View
0  lib/NUnit/lib/Success.png → tools/NUnit/bin/lib/Success.png
File renamed without changes
View
0  lib/NUnit/lib/fit.dll → tools/NUnit/bin/lib/fit.dll
File renamed without changes
View
0  lib/NUnit/lib/log4net.dll → tools/NUnit/bin/lib/log4net.dll
File renamed without changes
View
BIN  tools/NUnit/bin/lib/nunit-console-runner.dll
Binary file not shown
View
BIN  tools/NUnit/bin/lib/nunit-gui-runner.dll
Binary file not shown
View
BIN  tools/NUnit/bin/lib/nunit.core.dll
Binary file not shown
View
BIN  tools/NUnit/bin/lib/nunit.core.interfaces.dll
Binary file not shown
View
BIN  lib/NUnit/lib/nunit.fixtures.dll → tools/NUnit/bin/lib/nunit.fixtures.dll
Binary file not shown
View
BIN  tools/NUnit/bin/lib/nunit.uiexception.dll
Binary file not shown
View
BIN  tools/NUnit/bin/lib/nunit.uikit.dll
Binary file not shown
View
BIN  tools/NUnit/bin/lib/nunit.util.dll
Binary file not shown
View
BIN  tools/NUnit/bin/nunit-agent-x86.exe
Binary file not shown
View
20 lib/NUnit/nunit-agent-x86.exe.config → tools/NUnit/bin/nunit-agent-x86.exe.config
@@ -1,23 +1,5 @@
-<?xml version="1.0" encoding="Windows-1252"?>
+<?xml version="1.0" encoding="utf-8"?>
<configuration>
- <!--
- Application settings for nunit-agent.exe. Do NOT put settings
- for use by your tests here.
- -->
- <appSettings>
- <!--
- Specify the location to be used by .NET for the cache
- -->
- <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
- </appSettings>
-
- <!-- Set the level for tracing NUnit itself -->
- <!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
- <system.diagnostics>
- <switches>
- <add name="NTrace" value="0" />
- </switches>
- </system.diagnostics>
<runtime>
<!-- We need this so test exceptions don't crash NUnit -->
View
BIN  tools/NUnit/bin/nunit-agent.exe
Binary file not shown
View
20 lib/NUnit/nunit-agent.exe.config → tools/NUnit/bin/nunit-agent.exe.config
@@ -1,23 +1,5 @@
-<?xml version="1.0" encoding="Windows-1252"?>
+<?xml version="1.0" encoding="utf-8"?>
<configuration>
- <!--
- Application settings for nunit-agent.exe. Do NOT put settings
- for use by your tests here.
- -->
- <appSettings>
- <!--
- Specify the location to be used by .NET for the cache
- -->
- <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
- </appSettings>
-
- <!-- Set the level for tracing NUnit itself -->
- <!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
- <system.diagnostics>
- <switches>
- <add name="NTrace" value="0" />
- </switches>
- </system.diagnostics>
<runtime>
<!-- We need this so test exceptions don't crash NUnit -->
View
BIN  tools/NUnit/bin/nunit-console-x86.exe
Binary file not shown
View
20 lib/NUnit/nunit-console-x86.exe.config → tools/NUnit/bin/nunit-console-x86.exe.config
@@ -1,23 +1,5 @@
-<?xml version="1.0" encoding="Windows-1252"?>
+<?xml version="1.0" encoding="utf-8"?>
<configuration>
- <!--
- Application settings for NUnit-console.exe. Do NOT put settings
- for use by your tests here.
- -->
- <appSettings>
- <!--
- Specify the location to be used by .NET for the cache
- -->
- <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
- </appSettings>
-
- <!-- Set the level for tracing NUnit itself -->
- <!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
- <system.diagnostics>
- <switches>
- <add name="NTrace" value="0" />
- </switches>
- </system.diagnostics>
<runtime>
<!-- We need this so test exceptions don't crash NUnit -->
View
BIN  tools/NUnit/bin/nunit-console.exe
Binary file not shown
View
20 lib/NUnit/nunit-console.exe.config → tools/NUnit/bin/nunit-console.exe.config
@@ -1,23 +1,5 @@
-<?xml version="1.0" encoding="Windows-1252"?>
+<?xml version="1.0" encoding="utf-8"?>
<configuration>
- <!--
- Application settings for NUnit-console.exe. Do NOT put settings
- for use by your tests here.
- -->
- <appSettings>
- <!--
- Specify the location to be used by .NET for the cache
- -->
- <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
- </appSettings>
-
- <!-- Set the level for tracing NUnit itself -->
- <!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
- <system.diagnostics>
- <switches>
- <add name="NTrace" value="0" />
- </switches>
- </system.diagnostics>
<runtime>
<!-- We need this so test exceptions don't crash NUnit -->
View
BIN  tools/NUnit/bin/nunit-x86.exe
Binary file not shown
View
14 lib/NUnit/nunit-x86.exe.config → tools/NUnit/bin/nunit-x86.exe.config
@@ -1,14 +1,10 @@
-<?xml version="1.0" encoding="Windows-1252"?>
+<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!--
Application settings for NUnit-gui.exe. Do NOT put settings
for use by your tests here.
-->
<appSettings>
- <!--
- Specify the location to be used by .NET for the cache
- -->
- <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
<!--
Uncomment to specify the url to be used for help. If not used, the
default value is something like
@@ -19,14 +15,6 @@
<!-- <add key="helpUrl" value="http://www.nunit.org" /> -->
</appSettings>
- <!-- Set the level for tracing NUnit itself -->
- <!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
- <system.diagnostics>
- <switches>
- <add name="NTrace" value="0" />
- </switches>
- </system.diagnostics>
-
<runtime>
<!-- We need this so test exceptions don't crash NUnit -->
<legacyUnhandledExceptionPolicy enabled="1" />
View
BIN  tools/NUnit/bin/nunit.exe
Binary file not shown
View
14 lib/NUnit/nunit.exe.config → tools/NUnit/bin/nunit.exe.config
@@ -1,14 +1,10 @@
-<?xml version="1.0" encoding="Windows-1252"?>
+<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!--
Application settings for NUnit-gui.exe. Do NOT put settings
for use by your tests here.
-->
<appSettings>
- <!--
- Specify the location to be used by .NET for the cache
- -->
- <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
<!--
Uncomment to specify the url to be used for help. If not used, the
default value is something like
@@ -19,14 +15,6 @@
<!-- <add key="helpUrl" value="http://www.nunit.org" /> -->
</appSettings>
- <!-- Set the level for tracing NUnit itself -->
- <!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
- <system.diagnostics>
- <switches>
- <add name="NTrace" value="0" />
- </switches>
- </system.diagnostics>
-
<runtime>
<!-- We need this so test exceptions don't crash NUnit -->
<legacyUnhandledExceptionPolicy enabled="1" />
View
BIN  tools/NUnit/bin/nunit.framework.dll
Binary file not shown
View
BIN  tools/NUnit/bin/pnunit-agent.exe
Binary file not shown
View
10 lib/NUnit/pnunit-agent.exe.config → tools/NUnit/bin/pnunit-agent.exe.config
@@ -1,15 +1,5 @@
<?xml version="1.0" encoding="Windows-1252"?>
<configuration>
- <!--
- Application settings for pnunit-agent.exe. Do NOT put settings
- for use by your tests here.
- -->
- <appSettings>
- <!--
- Specify the location to be used by .NET for the cache
- -->
- <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
- </appSettings>
<!-- Set the level for tracing NUnit itself -->
<!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
View
BIN  tools/NUnit/bin/pnunit-launcher.exe
Binary file not shown
View
10 lib/NUnit/pnunit-launcher.exe.config → tools/NUnit/bin/pnunit-launcher.exe.config
@@ -1,15 +1,5 @@
<?xml version="1.0" encoding="Windows-1252"?>
<configuration>
- <!--
- Application settings for pnunit-launch.exe. Do NOT put settings
- for use by your tests here.
- -->
- <appSettings>
- <!--
- Specify the location to be used by .NET for the cache
- -->
- <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
- </appSettings>
<!-- Set the level for tracing NUnit itself -->
<!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
View
BIN  tools/NUnit/bin/pnunit.framework.dll
Binary file not shown
View
BIN  tools/NUnit/bin/pnunit.tests.dll
Binary file not shown
View
0  lib/NUnit/runFile.exe → tools/NUnit/bin/runFile.exe
File renamed without changes
View
0  lib/NUnit/runFile.exe.config → tools/NUnit/bin/runFile.exe.config
File renamed without changes
View
0  lib/NUnit/runpnunit.bat → tools/NUnit/bin/runpnunit.bat
File renamed without changes
View
0  lib/NUnit/test.conf → tools/NUnit/bin/test.conf
File renamed without changes
View
BIN  tools/NUnit/bin/tests/loadtest-assembly.dll
Binary file not shown
View
BIN  tools/NUnit/bin/tests/mock-assembly.dll
Binary file not shown
View
BIN  tools/NUnit/bin/tests/nonamespace-assembly.dll
Binary file not shown
View
BIN  tools/NUnit/bin/tests/nunit-console.tests.dll
Binary file not shown
View
BIN  tools/NUnit/bin/tests/nunit-gui.tests.dll
Binary file not shown
View
BIN  tools/NUnit/bin/tests/nunit.core.tests.dll
Binary file not shown
View
BIN  tools/NUnit/bin/tests/nunit.fixtures.tests.dll
Binary file not shown
View
BIN  tools/NUnit/bin/tests/nunit.framework.dll
Binary file not shown
View
BIN  tools/NUnit/bin/tests/nunit.framework.tests.dll
Binary file not shown
View
BIN  tools/NUnit/bin/tests/nunit.mocks.tests.dll
Binary file not shown
View
BIN  tools/NUnit/bin/tests/nunit.uiexception.tests.dll
Binary file not shown
View
BIN  tools/NUnit/bin/tests/nunit.uikit.tests.dll
Binary file not shown
View
BIN  tools/NUnit/bin/tests/nunit.util.tests.dll
Binary file not shown
View
BIN  tools/NUnit/bin/tests/test-assembly.dll
Binary file not shown
View
BIN  tools/NUnit/bin/tests/test-utilities.dll
Binary file not shown
View
BIN  tools/NUnit/bin/tests/timing-tests.dll
Binary file not shown
View
110 tools/NUnit/doc/addinsDialog.html
@@ -0,0 +1,110 @@
+<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+<!-- Standard Head Part -->
+<head>
+<title>NUnit - AddinsDialog</title>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<meta http-equiv="Content-Language" content="en-US">
+<link rel="stylesheet" type="text/css" href="nunit.css">
+<link rel="shortcut icon" href="favicon.ico">
+</head>
+<!-- End Standard Head Part -->
+
+<body>
+
+<!-- Standard Header for NUnit.org -->
+<div id="header">
+ <a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
+ <div id="nav">
+ <a href="http://www.nunit.org">NUnit</a>
+ <a class="active" href="index.html">Documentation</a>
+ </div>
+</div>
+<!-- End of Header -->
+
+<div id="content">
+
+<h2>Addins Dialog</h2>
+
+<p>The Addins Dialog is displayed using the Tools | Addins menu item on the main
+menu. It lists all addins that have been found and loaded by NUnit.</p>
+
+<div class="screenshot-right">
+ <img src="img/addinsDialog.jpg"></div>
+
+<h3>Addin</h3>
+
+<p>This column lists the name of the addin, as defined by its author.
+
+<h3>Status</h3>
+
+<p>This column shows the status of each addin. Possible values are
+<ul>
+<li>Unknown
+<li>Enabled
+<li>Disabled
+<li>Loaded
+<li>Error
+</ul>
+
+<h3>Description</h3>
+
+<p>If the author of an addin has provided a description, it is
+shown here when the addin is selected.
+
+<h3>Message</h3>
+
+<p>If the addin failed to load, its status will be shown as Error
+and any error message displayed here when that addin is selected.
+
+</div>
+
+<!-- Submenu -->
+<div id="subnav">
+<ul>
+<li><a href="index.html">NUnit 2.5.10</a></li>
+<ul>
+<li><a href="getStarted.html">Getting&nbsp;Started</a></li>
+<li><a href="assertions.html">Assertions</a></li>
+<li><a href="constraintModel.html">Constraints</a></li>
+<li><a href="attributes.html">Attributes</a></li>
+<li><a href="runningTests.html">Running&nbsp;Tests</a></li>
+<ul>
+<li><a href="nunit-console.html">Console&nbsp;Runner</a></li>
+<li><a href="nunit-gui.html">Gui&nbsp;Runner</a></li>
+<ul>
+<li><a href="guiCommandLine.html">Command-Line</a></li>
+<li><a href="mainMenu.html">Main&nbsp;Menu</a></li>
+<li><a href="contextMenu.html">Context&nbsp;Menu</a></li>
+<li><a href="settingsDialog.html">Settings&nbsp;Dialog</a></li>
+<li id="current"><a href="addinsDialog.html">Addins&nbsp;Dialog</a></li>
+<li><a href="testProperties.html">Test&nbsp;Properties</a></li>
+<li><a href="configEditor.html">Configuration&nbsp;Editor</a></li>
+<li><a href="projectEditor.html">Project&nbsp;Editor</a></li>
+</ul>
+<li><a href="pnunit.html">PNUnit&nbsp;Runner</a></li>
+<li><a href="nunit-agent.html">NUnit&nbsp;Agent</a></li>
+<li><a href="runtimeSelection.html">Runtime&nbsp;Selection</a></li>
+<li><a href="assemblyIsolation.html">Assembly&nbsp;Isolation</a></li>
+<li><a href="configFiles.html">Configuration&nbsp;Files</a></li>
+<li><a href="multiAssembly.html">Multiple&nbsp;Assemblies</a></li>
+<li><a href="vsSupport.html">Visual&nbsp;Studio&nbsp;Support</a></li>
+</ul>
+<li><a href="extensibility.html">Extensibility</a></li>
+<li><a href="releaseNotes.html">Release&nbsp;Notes</a></li>
+<li><a href="samples.html">Samples</a></li>
+<li><a href="license.html">License</a></li>
+</ul>
+</ul>
+</div>
+<!-- End of Submenu -->
+
+
+<!-- Standard Footer for NUnit.org -->
+<div id="footer">
+ Copyright &copy; 2010 Charlie Poole. All Rights Reserved.
+</div>
+<!-- End of Footer -->
+
+</body>
+</html>
View
112 tools/NUnit/doc/assemblyIsolation.html
@@ -0,0 +1,112 @@
+<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+<!-- Standard Head Part -->
+<head>
+<title>NUnit - AssemblyIsolation</title>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<meta http-equiv="Content-Language" content="en-US">
+<link rel="stylesheet" type="text/css" href="nunit.css">
+<link rel="shortcut icon" href="favicon.ico">
+</head>
+<!-- End Standard Head Part -->
+
+<body>
+
+<!-- Standard Header for NUnit.org -->
+<div id="header">
+ <a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
+ <div id="nav">
+ <a href="http://www.nunit.org">NUnit</a>
+ <a class="active" href="index.html">Documentation</a>
+ </div>
+</div>
+<!-- End of Header -->
+
+<div id="content">
+
+<h3>Assembly Isolation</h3>
+
+<p>NUnit isolates test assemblies from its own code and from one another
+ by use of separate AppDomains and/or Processes.
+
+<p>By default, NUnit loads a test assembly into a separate <b>AppDomain</b>,
+ while its own code runs in the primary <b>AppDomain</b>.
+
+<p>When multiple assemblies are run at the same time, NUnit loads them differently
+ depending on how they were specified. For assemblies that are part of an
+ NUnit project, then a single <b>AppDomain</b> is used. If the assemblies
+ were specified on the console runner command line, then a separate
+ <b>AppDomain</b> is used for each of them.
+
+<p>If greater separation is desired, test assemblies may be loaded into
+ a separate <b>Process</b> or into multiple processes. This is done
+ automatically by NUnit in the case where the tests are to be run under
+ a different runtime from the one that NUnit is currently using. Tests
+ running in a separate process are executed under the control of the
+ <a href="nunit-agent.html">nunit-agent</a> program.
+
+<h3>Controlling Isolation</h3>
+
+<p>Beyond the NUnit default behavior, the user may control the level of isolation
+ through the command line or through NUnit's general settings. Process and AppDomain
+ isolation may also be specified as part of the settings of an NUnit project.
+
+<h4>Command Line</h4>
+
+<p>Assembly Isolation may be specified on the console runner commandline using
+ the <b>/process</b> and <b>/domain</b> options. See
+ <a href="consoleCommandLine.html">NUnit-Console Command Line Options</a> for more information.
+
+<h4>General Settings</h4>
+
+<p>The built-in NUnit defaults may be overridden using the <b>Assembly Isolation</b>
+ panel of the NUnit <b>Settings Dialog</b>. Settings made here are saved and become
+ the new default values for all executions of NUnit until changed. For more info,
+ see the <a href="settingsDialog.html">Settings Dialog</a> page.
+
+<h4>Project Settings</h4>
+
+<p>Isolation settings may be specified for an individual NUnit project using the
+ <a href="projectEditor.html">Project Editor</a>.
+
+</div>
+
+<!-- Submenu -->
+<div id="subnav">
+<ul>
+<li><a href="index.html">NUnit 2.5.10</a></li>
+<ul>
+<li><a href="getStarted.html">Getting&nbsp;Started</a></li>
+<li><a href="assertions.html">Assertions</a></li>
+<li><a href="constraintModel.html">Constraints</a></li>
+<li><a href="attributes.html">Attributes</a></li>
+<li><a href="runningTests.html">Running&nbsp;Tests</a></li>
+<ul>
+<li><a href="nunit-console.html">Console&nbsp;Runner</a></li>
+<li><a href="nunit-gui.html">Gui&nbsp;Runner</a></li>
+<li><a href="pnunit.html">PNUnit&nbsp;Runner</a></li>
+<li><a href="nunit-agent.html">NUnit&nbsp;Agent</a></li>
+<li><a href="runtimeSelection.html">Runtime&nbsp;Selection</a></li>
+<li id="current"><a href="assemblyIsolation.html">Assembly&nbsp;Isolation</a></li>
+<li><a href="configFiles.html">Configuration&nbsp;Files</a></li>
+<li><a href="multiAssembly.html">Multiple&nbsp;Assemblies</a></li>
+<li><a href="vsSupport.html">Visual&nbsp;Studio&nbsp;Support</a></li>
+</ul>
+<li><a href="extensibility.html">Extensibility</a></li>
+<li><a href="releaseNotes.html">Release&nbsp;Notes</a></li>
+<li><a href="samples.html">Samples</a></li>
+<li><a href="license.html">License</a></li>
+</ul>
+</ul>
+</div>
+<!-- End of Submenu -->
+
+
+<!-- Standard Footer for NUnit.org -->
+<div id="footer">
+ Copyright &copy; 2010 Charlie Poole. All Rights Reserved.
+</div>
+<!-- End of Footer -->
+
+</body>
+</html>
View
105 tools/NUnit/doc/assertions.html
@@ -0,0 +1,105 @@
+<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+<!-- Standard Head Part -->
+<head>
+<title>NUnit - Assertions</title>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<meta http-equiv="Content-Language" content="en-US">
+<link rel="stylesheet" type="text/css" href="nunit.css">
+<link rel="shortcut icon" href="favicon.ico">
+</head>
+<!-- End Standard Head Part -->
+
+<body>
+
+<!-- Standard Header for NUnit.org -->
+<div id="header">
+ <a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
+ <div id="nav">
+ <a href="http://www.nunit.org">NUnit</a>
+ <a class="active" href="index.html">Documentation</a>
+ </div>
+</div>
+<!-- End of Header -->
+
+<div id="content">
+
+<h2>Assertions</h2>
+
+<p>Assertions are central to unit testing in any of the xUnit frameworks, and NUnit
+ is no exception. NUnit provides a rich set of assertions as static methods of
+ the Assert class.</p>
+
+<p>If an assertion fails, the method call does not return and an error is reported.
+ If a test contains multiple assertions, any that follow the one that failed
+ will not be executed. For this reason, it's usually best to try for one
+ assertion per test.</p>
+
+<p>Each method may be called without a message, with a simple text message or with
+ a message and arguments. In the last case the message is formatted using the
+ provided text and arguments.</p>
+
+<h3>Two Models</h3>
+
+<p>Before NUnit 2.4, a separate method of the Assert class was used for each
+ different assertion. We call this the "Classic Model." It
+ continues to be supported in NUnit, since many people prefer it.</p>
+
+<p>Beginning with NUnit 2.4, a new "Constraint-based" model was
+ introduced. This approach uses a single method of the Assert class
+ for all assertions, passing a <a href="constraintModel.html">Constraint</a> object that specifies the test to be performed.
+
+<p>This constraint-based model is now used internally by NUnit
+ for all assertions. The methods of the classic approach have been
+ re-implemented on top of this new model.
+
+ <!--
+<h4>See Also...</h4>
+<ul>
+<li>
+</ul>
+-->
+
+</div>
+
+<!-- Submenu -->
+<div id="subnav">
+<ul>
+<li><a href="index.html">NUnit 2.5.10</a></li>
+<ul>
+<li><a href="getStarted.html">Getting&nbsp;Started</a></li>
+<li id="current"><a href="assertions.html">Assertions</a></li>
+<ul>
+<li><a href="equalityAsserts.html">Equality&nbsp;Asserts</a></li>
+<li><a href="identityAsserts.html">Identity&nbsp;Asserts</a></li>
+<li><a href="conditionAsserts.html">Condition&nbsp;Asserts</a></li>
+<li><a href="comparisonAsserts.html">Comparison&nbsp;Asserts</a></li>
+<li><a href="typeAsserts.html">Type&nbsp;Asserts</a></li>
+<li><a href="exceptionAsserts.html">Exception&nbsp;Asserts</a></li>
+<li><a href="utilityAsserts.html">Utility&nbsp;Methods</a></li>
+<li><a href="stringAssert.html">String&nbsp;Assert</a></li>
+<li><a href="collectionAssert.html">Collection&nbsp;Assert</a></li>
+<li><a href="fileAssert.html">File&nbsp;Assert</a></li>
+<li><a href="directoryAssert.html">Directory&nbsp;Assert</a></li>
+</ul>
+<li><a href="constraintModel.html">Constraints</a></li>
+<li><a href="attributes.html">Attributes</a></li>
+<li><a href="runningTests.html">Running&nbsp;Tests</a></li>
+<li><a href="extensibility.html">Extensibility</a></li>
+<li><a href="releaseNotes.html">Release&nbsp;Notes</a></li>
+<li><a href="samples.html">Samples</a></li>
+<li><a href="license.html">License</a></li>
+</ul>
+</ul>
+</div>
+<!-- End of Submenu -->
+
+
+<!-- Standard Footer for NUnit.org -->
+<div id="footer">
+ Copyright &copy; 2010 Charlie Poole. All Rights Reserved.
+</div>
+<!-- End of Footer -->
+
+</body>
+</html>
View
108 tools/NUnit/doc/attributes.html
@@ -0,0 +1,108 @@
+<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+<!-- Standard Head Part -->
+<head>
+<title>NUnit - Attributes</title>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<meta http-equiv="Content-Language" content="en-US">
+<link rel="stylesheet" type="text/css" href="nunit.css">
+<link rel="shortcut icon" href="favicon.ico">
+</head>
+<!-- End Standard Head Part -->
+
+<body>
+
+<!-- Standard Header for NUnit.org -->
+<div id="header">
+ <a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
+ <div id="nav">
+ <a href="http://www.nunit.org">NUnit</a>
+ <a class="active" href="index.html">Documentation</a>
+ </div>
+</div>
+<!-- End of Header -->
+
+<div id="content">
+
+<h2>Attributes</h2>
+<p>Version 1 of NUnit used the classic approach to identifying tests based on
+ inheritance and naming conventions. From version 2.0 on, NUnit has used custom
+ attributes for this purpose.</p>
+<p>Because NUnit test fixtures do not inherit from a framework class, the developer
+ is free to use inheritance in other ways. And because there is no arbitrary
+ convention for naming tests, the choice of names can be entirely oriented
+ toward communicating the purpose of the test.</p>
+<p>All NUnit attributes are contained in the NUnit.Framework namespace. Each source
+ file that contains tests must include a using statement for that namespace and
+ the project must reference the framework assembly, nunit.framework.dll.</p>
+<p>Beginning with NUnit 2.4.6, NUnit's attributes are no longer sealed and any
+ attributes that derive from them will be recognized by NUnit.
+
+</div>
+
+<!-- Submenu -->
+<div id="subnav">
+<ul>
+<li><a href="index.html">NUnit 2.5.10</a></li>
+<ul>
+<li><a href="getStarted.html">Getting&nbsp;Started</a></li>
+<li><a href="assertions.html">Assertions</a></li>
+<li><a href="constraintModel.html">Constraints</a></li>
+<li id="current"><a href="attributes.html">Attributes</a></li>
+<ul>
+<li><a href="category.html">Category</a></li>
+<li><a href="combinatorial.html">Combinatorial</a></li>
+<li><a href="culture.html">Culture</a></li>
+<li><a href="datapoint.html">Datapoint(s)</a></li>
+<li><a href="description.html">Description</a></li>
+<li><a href="exception.html">Exception</a></li>
+<li><a href="explicit.html">Explicit</a></li>
+<li><a href="ignore.html">Ignore</a></li>
+<li><a href="maxtime.html">Maxtime</a></li>
+<li><a href="pairwise.html">Pairwise</a></li>
+<li><a href="platform.html">Platform</a></li>
+<li><a href="property.html">Property</a></li>
+<li><a href="random.html">Random</a></li>
+<li><a href="range.html">Range</a></li>
+<li><a href="repeat.html">Repeat</a></li>
+<li><a href="requiredAddin.html">RequiredAddin</a></li>
+<li><a href="requiresMTA.html">Requires&nbsp;MTA</a></li>
+<li><a href="requiresSTA.html">Requires&nbsp;STA</a></li>
+<li><a href="requiresThread.html">Requires&nbsp;Thread</a></li>
+<li><a href="sequential.html">Sequential</a></li>
+<li><a href="setCulture.html">SetCulture</a></li>
+<li><a href="setUICulture.html">SetUICulture</a></li>
+<li><a href="setup.html">Setup</a></li>
+<li><a href="setupFixture.html">SetupFixture</a></li>
+<li><a href="suite.html">Suite</a></li>
+<li><a href="teardown.html">Teardown</a></li>
+<li><a href="test.html">Test</a></li>
+<li><a href="testCase.html">TestCase</a></li>
+<li><a href="testCaseSource.html">TestCaseSource</a></li>
+<li><a href="testFixture.html">TestFixture</a></li>
+<li><a href="fixtureSetup.html">TestFixtureSetUp</a></li>
+<li><a href="fixtureTeardown.html">TestFixtureTearDown</a></li>
+<li><a href="theory.html">Theory</a></li>
+<li><a href="timeout.html">Timeout</a></li>
+<li><a href="values.html">Values</a></li>
+<li><a href="valueSource.html">ValueSource</a></li>
+</ul>
+<li><a href="runningTests.html">Running&nbsp;Tests</a></li>
+<li><a href="extensibility.html">Extensibility</a></li>
+<li><a href="releaseNotes.html">Release&nbsp;Notes</a></li>
+<li><a href="samples.html">Samples</a></li>
+<li><a href="license.html">License</a></li>
+</ul>
+</ul>
+</div>
+<!-- End of Submenu -->
+
+
+<!-- Standard Footer for NUnit.org -->
+<div id="footer">
+ Copyright &copy; 2010 Charlie Poole. All Rights Reserved.
+</div>
+<!-- End of Footer -->
+
+</body>
+</html>
View
284 tools/NUnit/doc/category.html
@@ -0,0 +1,284 @@
+<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+<!-- Standard Head Part -->
+<head>
+<title>NUnit - Category</title>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<meta http-equiv="Content-Language" content="en-US">
+<link rel="stylesheet" type="text/css" href="nunit.css">
+<link rel="shortcut icon" href="favicon.ico">
+</head>
+<!-- End Standard Head Part -->
+
+<body>
+
+<!-- Standard Header for NUnit.org -->
+<div id="header">
+ <a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
+ <div id="nav">
+ <a href="http://www.nunit.org">NUnit</a>
+ <a class="active" href="index.html">Documentation</a>
+ </div>
+</div>
+<!-- End of Header -->
+
+<div id="content">
+
+<script language="JavaScript" src="codeFuncs.js" ></script> <!-- Do it this way for IE -->
+
+<h3>CategoryAttribute (NUnit 2.2)</h3>
+<p>The Category attribute provides an alternative to suites for dealing with groups
+ of tests. Either individual test cases or fixtures may be identified as
+ belonging to a particular category. Both the gui and console test runners allow
+ specifying a list of categories to be included in or excluded from the run.
+ When categories are used, only the tests in the selected categories will be
+ run. Those tests in categories that are not selected are not reported at all.</p>
+<p>This feature is accessible by use of the /include and /exclude arguments to the
+ console runner and through a separate "Categories" tab in the gui. The gui
+ provides a visual indication of which categories are selected at any time.</p>
+
+<h4>Test Fixture Syntax</h4>
+
+<div class="code">
+
+<div class="langFilter">
+ <a href="javascript:Show('DD1')" onmouseover="Show('DD1')"><img src="img/langFilter.gif" width="14" height="14" alt="Language Filter"></a>
+ <div id="DD1" class="dropdown" style="display: none;" onclick="Hide('DD1')">
+ <a href="javascript:ShowCS()">C#</a><br>
+ <a href="javascript:ShowVB()">VB</a><br>
+ <a href="javascript:ShowMC()">C++</a><br>
+ <a href="javascript:ShowJS()">J#</a><br>
+ </div>
+</div>
+
+<pre class="cs">namespace NUnit.Tests
+{
+ using System;
+ using NUnit.Framework;
+
+ [TestFixture]
+ [Category(&quot;LongRunning&quot;)]
+ public class LongRunningTests
+ {
+ // ...
+ }
+}
+</pre>
+
+<pre class="vb">Imports System
+Imports Nunit.Framework
+
+Namespace Nunit.Tests
+
+ &lt;TestFixture(), Category(&quot;LongRunning&quot;)&gt;
+ Public Class LongRunningTests
+ &#39; ...
+ End Class
+End Namespace
+</pre>
+
+<pre class="mc">#using &lt;Nunit.Framework.dll&gt;
+using namespace System;
+using namespace NUnit::Framework;
+
+namespace NUnitTests
+{
+ [TestFixture]
+ [Category(&quot;LongRunning&quot;)]
+ public __gc class LongRunningTests
+ {
+ // ...
+ };
+}
+
+#include &quot;cppsample.h&quot;
+
+namespace NUnitTests {
+ // ...
+}
+</pre>
+