Updated NUnit to version 2.5.9.
This commit is contained in:
parent
8013dfcaf3
commit
71943e1e23
41 changed files with 5733 additions and 5560 deletions
|
@ -47,6 +47,7 @@
|
|||
<TestRunner>
|
||||
<add key="ApartmentState" value="MTA" />
|
||||
<add key="ThreadPriority" value="Normal" />
|
||||
<add key="DefaultLogThreshold" value="Info" />
|
||||
</TestRunner>
|
||||
</NUnit>
|
||||
-->
|
||||
|
|
|
@ -1,96 +0,0 @@
|
|||
@echo off
|
||||
rem Run a program under a particular version of the .Net framework
|
||||
rem by setting the COMPLUS_Version environment variable.
|
||||
rem
|
||||
rem This command was written by Charlie Poole for the NUnit project.
|
||||
rem You may use it separately from NUnit at your own risk.
|
||||
|
||||
if "%1"=="/?" goto help
|
||||
if "%1"=="?" goto help
|
||||
if "%1"=="" goto GetVersion
|
||||
if /I "%1"=="off" goto RemoveVersion
|
||||
if "%2"=="" goto SetVersion
|
||||
goto main
|
||||
|
||||
:help
|
||||
echo Control the version of the .Net framework that is used. The
|
||||
echo command has several forms:
|
||||
echo.
|
||||
echo CLR
|
||||
echo Reports the version of the CLR that has been set
|
||||
echo.
|
||||
echo CLR version
|
||||
echo Sets the local shell environment to use a specific
|
||||
echo version of the CLR for subsequent commands.
|
||||
echo.
|
||||
echo CLR version command [arguments]
|
||||
echo Executes a single command using the specified CLR version.
|
||||
echo.
|
||||
echo CLR off
|
||||
echo Turns off specific version selection for commands
|
||||
echo.
|
||||
echo The CLR version may be specified as vn.n.n or n.n.n. In addition,
|
||||
echo the following shortcuts are recognized:
|
||||
echo net-1.0, 1.0 For version 1.0.3705
|
||||
echo net-1.1, 1.1 For version 1.1.4322
|
||||
echo beta2 For version 2.0.50215
|
||||
echo net-2.0, 2.0 For version 2.0.50727
|
||||
echo.
|
||||
echo NOTE:
|
||||
echo Any specific settings for required or supported runtime in
|
||||
echo the ^<startup^> section of a program's config file will
|
||||
echo override the version specified by this command, and the
|
||||
echo command will have no effect.
|
||||
echo.
|
||||
goto done
|
||||
|
||||
:main
|
||||
|
||||
setlocal
|
||||
set CMD=
|
||||
call :SetVersion %1
|
||||
shift /1
|
||||
|
||||
:loop 'Copy remaining arguments to form the command
|
||||
if "%1"=="" goto run
|
||||
set CMD=%CMD% %1
|
||||
shift /1
|
||||
goto :loop
|
||||
|
||||
:run 'Execute the command
|
||||
%CMD%
|
||||
endlocal
|
||||
goto done
|
||||
|
||||
:SetVersion
|
||||
set COMPLUS_Version=%1
|
||||
|
||||
rem Substitute proper format for certain names
|
||||
if /I "%COMPLUS_Version:~0,1%"=="v" goto useit
|
||||
if /I "%COMPLUS_Version%"=="net-1.0" set COMPLUS_Version=v1.0.3705&goto report
|
||||
if /I "%COMPLUS_Version%"=="1.0" set COMPLUS_Version=v1.0.3705&goto report
|
||||
if /I "%COMPLUS_Version%"=="net-1.1" set COMPLUS_Version=v1.1.4322&goto report
|
||||
if /I "%COMPLUS_Version%"=="1.1" set COMPLUS_Version=v1.1.4322&goto report
|
||||
if /I "%COMPLUS_Version%"=="beta2" set COMPLUS_Version=v2.0.50215&goto report
|
||||
if /I "%COMPLUS_Version%"=="net-2.0" set COMPLUS_Version=v2.0.50727&goto report
|
||||
if /I "%COMPLUS_Version%"=="2.0" set COMPLUS_Version=v2.0.50727&goto report
|
||||
|
||||
rem Add additional substitutions here, branching to report
|
||||
|
||||
rem assume it's a version number without 'v'
|
||||
set COMPLUS_Version=v%COMPLUS_Version%
|
||||
|
||||
:report
|
||||
echo Setting CLR version to %COMPLUS_Version%
|
||||
goto done
|
||||
|
||||
:GetVersion
|
||||
if "%COMPLUS_Version%"=="" echo CLR version is not set
|
||||
if NOT "%COMPLUS_Version%"=="" echo CLR version is set to %COMPLUS_Version%
|
||||
goto done
|
||||
|
||||
:RemoveVersion
|
||||
set COMPLUS_Version=
|
||||
echo CLR version is no longer set
|
||||
|
||||
:done
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
References/Tools/NUnit/nunit-agent-x86.exe
Normal file
BIN
References/Tools/NUnit/nunit-agent-x86.exe
Normal file
Binary file not shown.
69
References/Tools/NUnit/nunit-agent-x86.exe.config
Normal file
69
References/Tools/NUnit/nunit-agent-x86.exe.config
Normal file
|
@ -0,0 +1,69 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
|
||||
<runtime>
|
||||
<!-- We need this so test exceptions don't crash NUnit -->
|
||||
<legacyUnhandledExceptionPolicy enabled="1" />
|
||||
|
||||
<!-- Look for addins in the addins directory for now -->
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<probing privatePath="lib;addins"/>
|
||||
</assemblyBinding>
|
||||
|
||||
<!--
|
||||
The following <assemblyBinding> section allows running nunit under
|
||||
.NET 1.0 by redirecting assemblies. The appliesTo attribute
|
||||
causes the section to be ignored except under .NET 1.0
|
||||
on a machine with only the .NET version 1.0 runtime installed.
|
||||
If application and its tests were built for .NET 1.1 you will
|
||||
also need to redirect system assemblies in the test config file,
|
||||
which controls loading of the tests.
|
||||
-->
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
|
||||
appliesTo="v1.0.3705">
|
||||
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System"
|
||||
publicKeyToken="b77a5c561934e089"
|
||||
culture="neutral"/>
|
||||
<bindingRedirect oldVersion="1.0.5000.0"
|
||||
newVersion="1.0.3300.0"/>
|
||||
</dependentAssembly>
|
||||
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Data"
|
||||
publicKeyToken="b77a5c561934e089"
|
||||
culture="neutral"/>
|
||||
<bindingRedirect oldVersion="1.0.5000.0"
|
||||
newVersion="1.0.3300.0"/>
|
||||
</dependentAssembly>
|
||||
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Drawing"
|
||||
publicKeyToken="b03f5f7f11d50a3a"
|
||||
culture="neutral"/>
|
||||
<bindingRedirect oldVersion="1.0.5000.0"
|
||||
newVersion="1.0.3300.0"/>
|
||||
</dependentAssembly>
|
||||
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Windows.Forms"
|
||||
publicKeyToken="b77a5c561934e089"
|
||||
culture="neutral"/>
|
||||
<bindingRedirect oldVersion="1.0.5000.0"
|
||||
newVersion="1.0.3300.0"/>
|
||||
</dependentAssembly>
|
||||
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Xml"
|
||||
publicKeyToken="b77a5c561934e089"
|
||||
culture="neutral"/>
|
||||
<bindingRedirect oldVersion="1.0.5000.0"
|
||||
newVersion="1.0.3300.0"/>
|
||||
</dependentAssembly>
|
||||
|
||||
</assemblyBinding>
|
||||
|
||||
</runtime>
|
||||
|
||||
</configuration>
|
Binary file not shown.
|
@ -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 -->
|
||||
|
|
Binary file not shown.
|
@ -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 -->
|
||||
|
|
Binary file not shown.
|
@ -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 -->
|
||||
|
|
Binary file not shown.
|
@ -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" />
|
||||
|
|
Binary file not shown.
|
@ -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" />
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -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 -->
|
||||
|
|
Binary file not shown.
|
@ -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 -->
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue