Permalink
Browse files

auto fix newlines

  • Loading branch information...
1 parent 198d518 commit fed50f511eb422b13e671422f3a88d26beca1505 @handcraftsman handcraftsman committed Apr 7, 2010
Showing with 11,239 additions and 11,239 deletions.
  1. +7 −7 Build.bat
  2. +80 −80 RakeFile
  3. +80 −80 build_support/BuildUtils.rb
  4. +30 −30 build_support/Ruby_Not_Installed.txt
  5. +2 −2 lib/FluentAssert/provenance.txt
  6. +5 −5 lib/JetBrains.Annotations/provenance.txt
  7. +277 −277 lib/NUnit/NUnitFitTests.html
  8. +84 −84 lib/NUnit/NUnitTests.config
  9. +14 −14 lib/NUnit/NUnitTests.nunit
  10. +3 −3 lib/NUnit/agent.conf
  11. +18 −18 lib/NUnit/agent.log.conf
  12. +18 −18 lib/NUnit/launcher.log.conf
  13. +15 −15 lib/NUnit/license.txt
  14. +86 −86 lib/NUnit/nunit-agent-x86.exe.config
  15. +86 −86 lib/NUnit/nunit-agent.exe.config
  16. +86 −86 lib/NUnit/nunit-console-x86.exe.config
  17. +86 −86 lib/NUnit/nunit-console.exe.config
  18. +94 −94 lib/NUnit/nunit-x86.exe.config
  19. +94 −94 lib/NUnit/nunit.exe.config
  20. +86 −86 lib/NUnit/pnunit-agent.exe.config
  21. +86 −86 lib/NUnit/pnunit-launcher.exe.config
  22. +3 −3 lib/NUnit/provenance.txt
  23. +43 −43 lib/NUnit/runFile.exe.config
  24. +1 −1 lib/NUnit/runpnunit.bat
  25. +23 −23 lib/NUnit/test.conf
  26. +5,413 −5,413 lib/RhinoMocks/Rhino.Mocks.xml
  27. +3 −3 lib/RhinoMocks/WhereDidThisComeFrom.txt
  28. +1 −1 lib/RhinoMocks/acknowledgements.txt
  29. +24 −24 lib/RhinoMocks/license.txt
  30. +1,099 −1,099 src/MvbaCore.4.5.resharper
  31. +1,094 −1,094 src/MvbaCore.resharper
  32. +26 −26 src/MvbaCore.sln
  33. +8 −8 src/MvbaCore/DefaultKeyAttribute.cs
  34. +85 −85 src/MvbaCore/Extensions/IEnumerableTExtensions.cs
  35. +33 −33 src/MvbaCore/Extensions/NamedConstantExtensions.cs
  36. +35 −35 src/MvbaCore/Extensions/StringExtensions.cs
  37. +22 −22 src/MvbaCore/Extensions/TExtensions.cs
  38. +6 −6 src/MvbaCore/INamedConstant.cs
  39. +10 −10 src/MvbaCore/MethodCallData.cs
  40. +78 −78 src/MvbaCore/MvbaCore.csproj
  41. +169 −169 src/MvbaCore/Notification.cs
  42. +68 −68 src/MvbaCore/NotificationMessage.cs
  43. +8 −8 src/MvbaCore/NotificationSeverity.cs
  44. +38 −38 src/MvbaCore/Properties/AssemblyInfo.cs
  45. +12 −12 src/MvbaCore/PropertyMappingInfo.cs
  46. +279 −279 src/MvbaCore/Reflection.cs
  47. +135 −135 src/MvbaCoreTests/Extensions/IEnumerableTExtensionsTests.cs
  48. +117 −117 src/MvbaCoreTests/Extensions/NamedConstantExtensionsTests.cs
  49. +158 −158 src/MvbaCoreTests/Extensions/StringExtensionsTests.cs
  50. +52 −52 src/MvbaCoreTests/Extensions/TExtensionsTests.cs
  51. +88 −88 src/MvbaCoreTests/MvbaCoreTests.csproj
  52. +44 −44 src/MvbaCoreTests/NotificationMessageTests.cs
  53. +181 −181 src/MvbaCoreTests/NotificationTests_Add.cs
  54. +35 −35 src/MvbaCoreTests/NotificationTests_ErrorFor.cs
  55. +36 −36 src/MvbaCoreTests/NotificationTests_For.cs
  56. +35 −35 src/MvbaCoreTests/NotificationTests_InfoFor.cs
  57. +26 −26 src/MvbaCoreTests/NotificationTests_IsNull.cs
  58. +48 −48 src/MvbaCoreTests/NotificationTests_IsValid.cs
  59. +35 −35 src/MvbaCoreTests/NotificationTests_WarningFor.cs
  60. +38 −38 src/MvbaCoreTests/Properties/AssemblyInfo.cs
  61. +293 −293 src/MvbaCoreTests/ReflectionTests.cs
View
@@ -1,8 +1,8 @@
-@ECHO OFF
-rake %*
-IF %ERRORLEVEL%==9009 GOTO:rake_failed
-GOTO:EOF
-
-:rake_failed
-type build_support\Ruby_Not_Installed.txt
+@ECHO OFF
+rake %*
+IF %ERRORLEVEL%==9009 GOTO:rake_failed
+GOTO:EOF
+
+:rake_failed
+type build_support\Ruby_Not_Installed.txt
GOTO :EOF
View
160 RakeFile
@@ -1,81 +1,81 @@
-COMPILE_TARGET = "debug"
-require "build_support/BuildUtils.rb"
-
-include FileTest
-
-require 'rubygems'
-
-require 'zip/zip'
-require 'zip/zipfilesystem'
-
-RESULTS_DIR = "results"
-BUILD_NUMBER = "0.1.0."
-PRODUCT = "SuitSystem"
-COPYRIGHT = 'Copyright 2009 McCreary, Veselka, Bragg & Allen, P.C. All rights reserved.';
-COMMON_ASSEMBLY_INFO = 'src/CommonAssemblyInfo.cs';
-CLR_VERSION = "v3.5"
-
-versionNumber = ENV["BUILD_NUMBER"].nil? ? 0 : ENV["BUILD_NUMBER"]
-
-props = { :archive => "build_mvbacore" }
-
-desc "Compiles, unit tests"
-task :all => [:default]
-
-desc "**Default**, compiles and runs tests"
-task :default => [:compile, :test] do
- puts "Build Succeeded"
-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
-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
-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])
-end
-
-desc "Compiles the app"
-task :compile => [:clean, :version] do
- MSBuildRunner.compile :compilemode => COMPILE_TARGET, :solutionfile => 'src/MvbaCore.sln', :clrversion => CLR_VERSION
-
- outDir = "src/MvbaCore/bin/#{COMPILE_TARGET}"
-
- Dir.glob(File.join(outDir, "*.{dll,pdb}")){|file|
- copy(file, props[:archive]) if File.file?(file)
- }
-end
-
-desc "Runs unit tests"
-task :test => [:unit_test]
-
-desc "Runs MvbaCore.Tests unit tests"
-task :unit_test => :compile do
- runner = NUnitRunner.new :compilemode => COMPILE_TARGET, :source => 'src', :platform => 'x86'
- runner.executeTests ['MvbaCoreTests']
-end
-
-desc "Target used for the CI server"
+COMPILE_TARGET = "debug"
+require "build_support/BuildUtils.rb"
+
+include FileTest
+
+require 'rubygems'
+
+require 'zip/zip'
+require 'zip/zipfilesystem'
+
+RESULTS_DIR = "results"
+BUILD_NUMBER = "0.1.0."
+PRODUCT = "SuitSystem"
+COPYRIGHT = 'Copyright 2009 McCreary, Veselka, Bragg & Allen, P.C. All rights reserved.';
+COMMON_ASSEMBLY_INFO = 'src/CommonAssemblyInfo.cs';
+CLR_VERSION = "v3.5"
+
+versionNumber = ENV["BUILD_NUMBER"].nil? ? 0 : ENV["BUILD_NUMBER"]
+
+props = { :archive => "build_mvbacore" }
+
+desc "Compiles, unit tests"
+task :all => [:default]
+
+desc "**Default**, compiles and runs tests"
+task :default => [:compile, :test] do
+ puts "Build Succeeded"
+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
+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
+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])
+end
+
+desc "Compiles the app"
+task :compile => [:clean, :version] do
+ MSBuildRunner.compile :compilemode => COMPILE_TARGET, :solutionfile => 'src/MvbaCore.sln', :clrversion => CLR_VERSION
+
+ outDir = "src/MvbaCore/bin/#{COMPILE_TARGET}"
+
+ Dir.glob(File.join(outDir, "*.{dll,pdb}")){|file|
+ copy(file, props[:archive]) if File.file?(file)
+ }
+end
+
+desc "Runs unit tests"
+task :test => [:unit_test]
+
+desc "Runs MvbaCore.Tests unit tests"
+task :unit_test => :compile do
+ runner = NUnitRunner.new :compilemode => COMPILE_TARGET, :source => 'src', :platform => 'x86'
+ runner.executeTests ['MvbaCoreTests']
+end
+
+desc "Target used for the CI server"
task :ci => [:unit_test]
View
@@ -1,80 +1,80 @@
-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
+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
Oops, something went wrong.

0 comments on commit fed50f5

Please sign in to comment.