Permalink
Browse files

Initial addition of files.

  • Loading branch information...
1 parent daf17d5 commit 8426e07c1ff6514e6541297a92caf6f957b633bd Ben Aston committed Oct 1, 2011
Showing with 13,292 additions and 0 deletions.
  1. +136 −0 .gitignore
  2. +56 −0 build/build.bat
  3. +36 −0 build/run-tests.bat
  4. +674 −0 gpl.txt
  5. +3 −0 readme.md
  6. +84 −0 src/NHelpfulExceptions.Test.Fast/ArrayExtensionsTests.cs
  7. +29 −0 src/NHelpfulExceptions.Test.Fast/HelpfulExceptionTests.cs
  8. +87 −0 src/NHelpfulExceptions.Test.Fast/NHelpfulExceptions.Test.Fast.csproj
  9. +36 −0 src/NHelpfulExceptions.Test.Fast/Properties/AssemblyInfo.cs
  10. +4 −0 src/NHelpfulExceptions.Test.Fast/packages.config
  11. +31 −0 src/NHelpfulExceptions.sln
  12. +39 −0 src/NHelpfulExceptions/ArrayExtensions.cs
  13. +27 −0 src/NHelpfulExceptions/HelpfulException.cs
  14. +72 −0 src/NHelpfulExceptions/NHelpfulExceptions.csproj
  15. +17 −0 src/NHelpfulExceptions/NHelpfulExceptions.nuspec
  16. +16 −0 src/NHelpfulExceptions/Properties/AssemblyInfo.cs
  17. +8 −0 src/clean.bat
  18. BIN src/packages/NUnit.2.5.10.11092/Logo.ico
  19. BIN src/packages/NUnit.2.5.10.11092/NUnit.2.5.10.11092.nupkg
  20. +277 −0 src/packages/NUnit.2.5.10.11092/NUnitFitTests.html
  21. +342 −0 src/packages/NUnit.2.5.10.11092/fit-license.txt
  22. BIN src/packages/NUnit.2.5.10.11092/lib/nunit.framework.dll
  23. +10,407 −0 src/packages/NUnit.2.5.10.11092/lib/nunit.framework.xml
  24. BIN src/packages/NUnit.2.5.10.11092/lib/nunit.mocks.dll
  25. BIN src/packages/NUnit.2.5.10.11092/lib/pnunit.framework.dll
  26. +15 −0 src/packages/NUnit.2.5.10.11092/license.txt
  27. +124 −0 src/packages/NUnit.2.5.10.11092/tools/NUnitTests.VisualState.xml
  28. +85 −0 src/packages/NUnit.2.5.10.11092/tools/NUnitTests.config
  29. +14 −0 src/packages/NUnit.2.5.10.11092/tools/NUnitTests.nunit
  30. +4 −0 src/packages/NUnit.2.5.10.11092/tools/agent.conf
  31. BIN src/packages/NUnit.2.5.10.11092/tools/lib/Failure.png
  32. BIN src/packages/NUnit.2.5.10.11092/tools/lib/Ignored.png
  33. BIN src/packages/NUnit.2.5.10.11092/tools/lib/Inconclusive.png
  34. BIN src/packages/NUnit.2.5.10.11092/tools/lib/Skipped.png
  35. BIN src/packages/NUnit.2.5.10.11092/tools/lib/Success.png
  36. BIN src/packages/NUnit.2.5.10.11092/tools/lib/fit.dll
  37. BIN src/packages/NUnit.2.5.10.11092/tools/lib/log4net.dll
  38. BIN src/packages/NUnit.2.5.10.11092/tools/lib/nunit-console-runner.dll
  39. BIN src/packages/NUnit.2.5.10.11092/tools/lib/nunit-gui-runner.dll
  40. BIN src/packages/NUnit.2.5.10.11092/tools/lib/nunit.core.dll
  41. BIN src/packages/NUnit.2.5.10.11092/tools/lib/nunit.core.interfaces.dll
  42. BIN src/packages/NUnit.2.5.10.11092/tools/lib/nunit.fixtures.dll
  43. BIN src/packages/NUnit.2.5.10.11092/tools/lib/nunit.uiexception.dll
  44. BIN src/packages/NUnit.2.5.10.11092/tools/lib/nunit.uikit.dll
  45. BIN src/packages/NUnit.2.5.10.11092/tools/lib/nunit.util.dll
  46. BIN src/packages/NUnit.2.5.10.11092/tools/nunit-agent-x86.exe
  47. +69 −0 src/packages/NUnit.2.5.10.11092/tools/nunit-agent-x86.exe.config
  48. BIN src/packages/NUnit.2.5.10.11092/tools/nunit-agent.exe
  49. +69 −0 src/packages/NUnit.2.5.10.11092/tools/nunit-agent.exe.config
  50. BIN src/packages/NUnit.2.5.10.11092/tools/nunit-console-x86.exe
  51. +69 −0 src/packages/NUnit.2.5.10.11092/tools/nunit-console-x86.exe.config
  52. BIN src/packages/NUnit.2.5.10.11092/tools/nunit-console.exe
  53. +69 −0 src/packages/NUnit.2.5.10.11092/tools/nunit-console.exe.config
  54. BIN src/packages/NUnit.2.5.10.11092/tools/nunit-x86.exe
  55. +83 −0 src/packages/NUnit.2.5.10.11092/tools/nunit-x86.exe.config
  56. BIN src/packages/NUnit.2.5.10.11092/tools/nunit.exe
  57. +83 −0 src/packages/NUnit.2.5.10.11092/tools/nunit.exe.config
  58. BIN src/packages/NUnit.2.5.10.11092/tools/nunit.framework.dll
  59. BIN src/packages/NUnit.2.5.10.11092/tools/pnunit-agent.exe
  60. +77 −0 src/packages/NUnit.2.5.10.11092/tools/pnunit-agent.exe.config
  61. BIN src/packages/NUnit.2.5.10.11092/tools/pnunit-launcher.exe
  62. +77 −0 src/packages/NUnit.2.5.10.11092/tools/pnunit-launcher.exe.config
  63. BIN src/packages/NUnit.2.5.10.11092/tools/pnunit.framework.dll
  64. BIN src/packages/NUnit.2.5.10.11092/tools/pnunit.tests.dll
  65. BIN src/packages/NUnit.2.5.10.11092/tools/runFile.exe
  66. +43 −0 src/packages/NUnit.2.5.10.11092/tools/runFile.exe.config
  67. +2 −0 src/packages/NUnit.2.5.10.11092/tools/runpnunit.bat
  68. +24 −0 src/packages/NUnit.2.5.10.11092/tools/test.conf
  69. +4 −0 src/packages/repositories.config
View
@@ -0,0 +1,136 @@
+# VS Bits
+[Oo]bj
+[Bb]in
+[Cc]lient[Bb]in
+
+*.suo
+Publish.xml
+
+# p4merge
+*.orig
+
+# other merge artifacts
+*.REMOTE.*
+*.BASE.*
+*.BACKUP.*
+*.LOCAL.*
+
+# database temp dir
+[Ww]ebsite/[Dd]atabase/[Tt]emp
+
+# Some random build artifact...
+Libs/*.dll
+
+# ReSharper
+_ReSharper.*
+*.ReSharper
+*.user
+
+#dotCover
+*.dotCover
+
+# VS Productivity Power Tools
+*.docstates
+
+# Runtime/Misc Junk :)
+*.log*
+.sass-cache
+*.orig
+Website/GG.Web.Website/content/2011/.livereload
+Website/GG.Web.Website.Logs/*.*
+.DS_Store
+
+# Compiled CSS conventional location; SS (Grab me if this causes problems!!)
+*compiled/*.css
+
+# SASS local tools for IDE
+*.idea
+Website/GG.Web.Website/content/tabulous/sass/.idea/*.*
+
+# SASS-Generated Files
+Website/GG.Web.Website/content/tabulous/css/**/*.css
+Website/GG.Web.Website/content/*/css/*/*.css
+Website/GG.Web.Website/content/*/css
+Website/GG.Web.Website/content/2011/css/**/*.css
+Website/GG.Web.Website/content/2011/css/*.css
+Website/GG.Web.Website/jg-refresh/css/compiled/*.css
+
+
+# Project Build Output
+Website/GG.Service.MSMQListenerService.Installer/Debug/
+Integration/Libs/GG.Integration.ThreeDSecure.dll
+/Website/GG.Web.Website/GG.Web.Website.Publish.xml
+Website/GG.Service.MSMQListenerService.Installer/Staging
+/Integration/EmailVision/GG.Integration.EmailVision.MsmqService.Installer/Debug
+/Integration/EmailVision/GG.Integration.EmailVision.MsmqService.Installer/Release
+/Website/GG.Web.Website/GG.Api.Services.Sms_deploy/.htaccess
+/Website/GG.Web.Website/GG.Api.Services.Sms_deploy/Content/JG.png
+/Website/GG.Web.Website/GG.Api.Services.Sms_deploy/Global.asax
+/Website/GG.Web.Website/GG.Api.Services.Sms_deploy/Web.config
+/Website/GG.Web.Website/GG.Api.Services.Sms_deploy/urlrewrite/default.aspx
+/Website/GG.Api.Services.Sms.Test.Unit/GG.Api.Services.Sms.Test.Unit.csproj.VisualState.xml
+/Website/GG.Api.Services.Sms.Test.Unit/TestResult.xml
+/Website/GG.Api.Services.Sms/GG.Api.Services.Sms.csproj.VisualState.xml
+/Website/GG.Api.Services.Sms/TestResult.xml
+/Website/GG.DataAccess/GG.DataAccess.csproj.VisualState.xml
+/Website/GG.DataAccess/TestResult.xml
+/Website/GG.Service.MSMQListenerService.Installer/TeamServer/GG.Service.MSMQListenerService.Installer.msi
+/Website/GG.Service.MSMQListenerService.Installer/TeamServer/setup.exe
+/Website/GG.Service.PaymentProcessing.Setup/TeamServer/GG.Service.PaymentProcessing.Setup.msi
+/Website/GG.Service.PaymentProcessing.Setup/TeamServer/setup.exe
+/Website/GG.Service.RealTimeEmailProcessing.Setup/TeamServer/GG.Service.RealTimeEmailProcessing.Setup.msi
+/Website/GG.Service.RealTimeEmailProcessing.Setup/TeamServer/setup.exe
+/Build/Output
+/Certificates/SmsApiSignRoot.cer
+/Certificates/SmsApiSignRoot.pvk
+
+# Companies
+Website/GG.Web.Website.Companies/[Cc]ontent/css/compiled/*.css
+Website/GG.Web.Website.Companies/content/images/imagecache/*.*
+
+/QuantivProjects/BB01/Deployments/V2.0.0/20100202T173901/Configuration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100202T173901/DeploymentInfo.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100202T173901/SecurityConfiguration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100423T161959/Configuration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100423T161959/DeploymentInfo.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100423T161959/SecurityConfiguration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100423T162037/Configuration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100423T162037/DeploymentInfo.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100423T162037/SecurityConfiguration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100426T081339/Configuration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100426T081339/DeploymentInfo.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100426T081339/SecurityConfiguration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100811T104335/Configuration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100811T104335/DeploymentInfo.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100811T104335/SecurityConfiguration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100906T141818/Configuration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100906T141818/DeploymentInfo.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100906T141818/SecurityConfiguration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100929T125232/Configuration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100929T125232/DeploymentInfo.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20100929T125232/SecurityConfiguration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20101019T150239/Configuration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20101019T150239/DeploymentInfo.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20101019T150239/SecurityConfiguration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20101104T173517/Configuration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20101104T173517/DeploymentInfo.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20101104T173517/SecurityConfiguration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20110302T165302/Configuration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20110302T165302/DeploymentInfo.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20110302T165302/SecurityConfiguration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20110321T120014/Configuration.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20110321T120014/DeploymentInfo.xml
+/QuantivProjects/BB01/Deployments/V2.0.0/20110321T120014/SecurityConfiguration.xml
+
+/Build/Output
+/Website/GG.Api.Services.Data.Sdk/build/output
+/Database/Temp/Build/Coverage/
+coverage.xml
+TestResult.xml
+coverage.xml.bkp
+Main.1.1.dotCover
+ClientBin/
+/Database/Temp/dbdeploy-output.sql
+/Database/Temp/dbdeploy-output.sql
+/Database/Temp/dbdeploy-output.sql
+/Database/Temp/dbdeploy-output.sql
View
@@ -0,0 +1,56 @@
+@echo off
+cd /d %0\..
+
+:: Accept command line parameter for non-interactive mode
+if "%1" == "" goto loop
+set task= "%1"
+set interactive= "false"
+goto switch
+
+:loop
+set interactive= "true"
+set /p task= usage: (b)uild(d)ebug / (b)uild(s)taging / (b)uild(r)elease / (c)lean / (f)ast (t)ests / (s)low (t)ests?:
+:: Weird string normalisation or something..
+set task= "%task%"
+
+:switch
+if %task% == "bd" goto builddebug
+if %task% == "br" goto buildrelease
+if %task% == "bs" goto buildstaging
+if %task% == "c" goto clean
+if %task% == "ft" goto fasttests
+if %task% == "st" goto slowtests
+
+:resume
+echo.
+echo Completed at %date% %time%
+echo.
+if %interactive% == "true" goto loop
+goto done
+
+:builddebug
+C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /m:8 /verbosity:q /p:Configuration=Debug "%CD%\..\src\nhelpfulexceptions.sln"
+goto resume
+
+:buildrelease
+C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /m:8 /p:Configuration=Release "%CD%\..\src\nhelpfulexceptions.sln"
+goto resume
+
+:buildstaging
+C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /m:8 /p:Configuration=Staging "%CD%\..\src\nhelpfulexceptions.sln"
+goto resume
+
+:clean
+cd %CD%\..\src\
+call %CD%\..\src\clean.bat
+goto resume
+
+:fasttests
+call %CD%\run-tests.bat "f"
+goto resume
+
+:slowtests
+call %CD%\run-tests.bat "s"
+goto resume
+
+:done
View
@@ -0,0 +1,36 @@
+REM This script finds the tests of the specified type in the repository and run them using nunit-console.
+REM It is horrendously slow, and there *will* be a better way to do this.
+echo Always remember to compile before running tests this way.
+REM Enables use of the !var! syntax.
+setlocal enabledelayedexpansion
+set fastTestSuffix=Test.Fast.dll
+set slowTestSuffix=Test.Slow.dll
+set repositoryRoot=%CD%\..\
+set nunitConsoleLocation=!repositoryroot!src\packages\NUnit.2.5.10.11092\tools\nunit-console-x86.exe
+set slowTestCategories=Slow
+set fastTestCategories=Fast
+set teststorun=%1
+@echo off
+
+set nunitCommand=!nunitConsoleLocation!
+if !teststorun! == "f" (
+set suffix=!fastTestSuffix!
+set testCategoriesToExclude=!slowTestCategories!
+echo Running fast tests...
+) else (
+set suffix=!slowTestSuffix!
+set testCategoriesToExclude=!fastTestCategories!
+echo Running slow tests...
+)
+FOR /F "DELIMS==" %%d in ('DIR "!repositoryRoot!src\" /AD /B') DO (
+ set directory=!repositoryRoot!src\%%d\bin\Debug\
+
+ for /F "delims==" %%f in ('DIR "!directory!" /B') do (
+ echo %%f|findstr /i !suffix! >nul:
+ if not !errorlevel!==1 (
+ echo %%f|findstr /i !suffix!.config >nul:
+ if !errorlevel!==1 (set nunitCommand=!nunitCommand! !directory!%%f)
+ )
+ )
+)
+call %nunitCommand% /nologo /exclude:!testCategoriesToExclude!,WIP
Oops, something went wrong.

0 comments on commit 8426e07

Please sign in to comment.