parent
afd1ee9454
commit
7a9ef8725e
32 changed files with 1750 additions and 0 deletions
@ -0,0 +1,76 @@ |
||||
<?xml version="1.0" encoding="utf-8" ?> |
||||
<configuration> |
||||
<!-- |
||||
This is the configuration file for the NUnitTests.nunit test project. You may |
||||
need to create a similar configuration file for your own test project. |
||||
|
||||
In your own configuration file, the include any appSettings that you require. |
||||
The <NUnit> section is only needed if you want to use a non-default value |
||||
for any of the settings. |
||||
|
||||
NOTE: A bug in .NET 2.0 Beta 2.0 requires that you make changes below |
||||
when running in that environment. This is supposed to be fixed in a |
||||
later release. |
||||
--> |
||||
<configSections> |
||||
<sectionGroup name="NUnit"> |
||||
<section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler"/> |
||||
<section name="TestRunner" type="System.Configuration.NameValueSectionHandler"/> |
||||
<!-- For .NET 2.0 Beta 2 replace the lines with the following --> |
||||
<!-- |
||||
<section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler, System, Version=2.0.50215.44, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
||||
<section name="TestRunner" type="System.Configuration.NameValueSectionHandler, System, Version=2.0.50215.44, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> |
||||
--> |
||||
</sectionGroup> |
||||
</configSections> |
||||
|
||||
<appSettings> |
||||
<!-- User application and configured property settings go here.--> |
||||
<!-- Example: <add key="settingName" value="settingValue"/> --> |
||||
<add key="test.setting" value="54321" /> |
||||
</appSettings> |
||||
|
||||
<NUnit> |
||||
<TestCaseBuilder> |
||||
<add key="OldStyleTestCases" value="false" /> |
||||
</TestCaseBuilder> |
||||
<TestRunner> |
||||
<!-- Valid values are STA,MTA. Others ignored. --> |
||||
<add key="ApartmentState" value="MTA" /> |
||||
|
||||
<!-- See ThreadPriority enum for other valid values --> |
||||
<add key="ThreadPriority" value="Normal" /> |
||||
</TestRunner> |
||||
</NUnit> |
||||
|
||||
<!-- |
||||
The following <runtime> section allows running nunit tests under |
||||
.NET 1.0 by redirecting assemblies. The appliesTo attribute |
||||
causes the section to be ignored except under .NET 1.0. |
||||
--> |
||||
<runtime> |
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" |
||||
appliesTo="v1.0.3705"> |
||||
<dependentAssembly> |
||||
<assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture="" /> |
||||
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> |
||||
</dependentAssembly> |
||||
<dependentAssembly> |
||||
<assemblyIdentity name="System.Data" publicKeyToken="b77a5c561934e089" culture="" /> |
||||
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> |
||||
</dependentAssembly> |
||||
<dependentAssembly> |
||||
<assemblyIdentity name="System.Drawing" publicKeyToken="b03f5f7f11d50a3a" culture="" /> |
||||
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> |
||||
</dependentAssembly> |
||||
<dependentAssembly> |
||||
<assemblyIdentity name="System.Windows.Forms" publicKeyToken="b77a5c561934e089" culture="" /> |
||||
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> |
||||
</dependentAssembly> |
||||
<dependentAssembly> |
||||
<assemblyIdentity name="System.Xml" publicKeyToken="b77a5c561934e089" culture="" /> |
||||
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> |
||||
</dependentAssembly> |
||||
</assemblyBinding> |
||||
</runtime> |
||||
</configuration> |
@ -0,0 +1,11 @@ |
||||
<NUnitProject> |
||||
<Config name="Default" binpathtype="Auto"> |
||||
<assembly path="nunit.framework.tests.dll" /> |
||||
<assembly path="nunit.util.tests.dll" /> |
||||
<assembly path="nunit.mocks.tests.dll" /> |
||||
<assembly path="nunit.uikit.tests.dll" /> |
||||
<assembly path="nunit-console.tests.dll" /> |
||||
<assembly path="nunit-gui.tests.dll" /> |
||||
<assembly path="nunit.extensions.tests.dll" /> |
||||
</Config> |
||||
</NUnitProject> |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,96 @@ |
||||
@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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,97 @@ |
||||
<?xml version="1.0" encoding="Windows-1252"?> |
||||
<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> |
||||
|
||||
<!-- |
||||
The startup section may be used to specify the runtime versions |
||||
supported in the order that they will be used if more than one |
||||
is present. As supplied, this section is commented out, which |
||||
causes nunit-console to use the version of the framework with |
||||
which it was built. |
||||
|
||||
Since .NET 1.0 does not recognize the <supportedRuntime> elements, |
||||
a <requiredRuntime> element is used in case it is the only version |
||||
of the framework that is installed. |
||||
--> |
||||
<!-- |
||||
<startup> |
||||
<supportedRuntime version="v2.0.50727" /> |
||||
<supportedRuntime version="v2.0.50215" /> |
||||
<supportedRuntime version="v2.0.40607" /> |
||||
<supportedRuntime version="v1.1.4322" /> |
||||
<supportedRuntime version="v1.0.3705" /> |
||||
|
||||
<requiredRuntime version="v1.0.3705" /> |
||||
</startup> |
||||
--> |
||||
|
||||
<!-- |
||||
The following <runtime> section allows running nunit under |
||||
.NET 1.0 by redirecting assemblies. The appliesTo attribute |
||||
causes the section to be ignored except under .NET 1.0version 1 |
||||
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. |
||||
--> |
||||
|
||||
<runtime> |
||||
|
||||
<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.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,109 @@ |
||||
<?xml version="1.0" encoding="Windows-1252"?> |
||||
<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 |
||||
file://localhost/C:/Program Files/NUnit 2.2/doc/index.html |
||||
This setting is provided in case your default browser doesn't |
||||
support this format. |
||||
--> |
||||
<!-- <add key="helpUrl" value="http://www.nunit.org" /> --> |
||||
|
||||
</appSettings> |
||||
|
||||
|
||||
<!-- |
||||
The startup section may be used to specify the runtime versions |
||||
supported in the order that they will be used if more than one |
||||
is present. As supplied, this section is commented out, which |
||||
causes nunit-console to use the version of the framework with |
||||
which it was built. |
||||
|
||||
Since .NET 1.0 does not recognize the <supportedRuntime> elements, |
||||
a <requiredRuntime> element is used in case it is the only version |
||||
of the framework that is installed. |
||||
--> |
||||
<!-- |
||||
<startup> |
||||
<supportedRuntime version="v2.0.50727" /> |
||||
<supportedRuntime version="v2.0.50215" /> |
||||
<supportedRuntime version="v2.0.40607" /> |
||||
<supportedRuntime version="v1.1.4322" /> |
||||
<supportedRuntime version="v1.0.3705" /> |
||||
|
||||
<requiredRuntime version="v1.0.3705" /> |
||||
|
||||
</startup> |
||||
--> |
||||
<!-- |
||||
The following <runtime> 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 |
||||
just as we do for nunit.tests.dll. |
||||
--> |
||||
|
||||
<runtime> |
||||
|
||||
<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.
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue