Updated NUnit to version 2.5.9.

This commit is contained in:
Dario Solera 2010-12-26 10:51:24 +00:00
parent 8013dfcaf3
commit 71943e1e23
41 changed files with 5733 additions and 5560 deletions

View file

@ -1,277 +1,277 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html> <html>
<body> <body>
<h1>NUnit Acceptance Tests</h1> <h1>NUnit Acceptance Tests</h1>
<p> <p>
Developers love self-referential programs! Hence, NUnit has always run all it's Developers love self-referential programs! Hence, NUnit has always run all it's
own tests, even those that are not really unit tests. 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 <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 FIT framework. At this time, the tests are pretty rudimentary, but it's a start
and it's a framework for doing more. and it's a framework for doing more.
<h2>Running the Tests</h2> <h2>Running the Tests</h2>
<p>Open a console or shell window and navigate to the NUnit bin directory, which <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 contains this file. To run the test under Microsoft .Net, enter the command
<pre> runFile NUnitFitTests.html TestResults.html .</pre> <pre> runFile NUnitFitTests.html TestResults.html .</pre>
To run it under Mono, enter To run it under Mono, enter
<pre> mono runFile.exe NUnitFitTests.html TestResults.html .</pre> <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 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. will be in TestResults.html in the same directory.
<h2>Platform and CLR Version</h2> <h2>Platform and CLR Version</h2>
<table BORDER cellSpacing="0" cellPadding="5"> <table BORDER cellSpacing="0" cellPadding="5">
<tr> <tr>
<td colspan="2">NUnit.Fixtures.PlatformInfo</td> <td colspan="2">NUnit.Fixtures.PlatformInfo</td>
</tr> </tr>
</table> </table>
<h2>Verify Unit Tests</h2> <h2>Verify Unit Tests</h2>
<p> <p>
Load and run the NUnit unit tests, verifying that the results are as expected. 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 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. be skipped, so the values for Skipped and Run tests are informational only.
<p> <p>
The number of tests in each assembly should be constant across all platforms - 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 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. compiled on the platform. There should be no failures and no tests ignored.
<p><b>Note:</b> <p><b>Note:</b>
At the moment, the nunit.extensions.tests assembly is failing because the At the moment, the nunit.extensions.tests assembly is failing because the
fixture doesn't initialize addins in the test domain. fixture doesn't initialize addins in the test domain.
<p> <p>
<table BORDER cellSpacing="0" cellPadding="5"> <table BORDER cellSpacing="0" cellPadding="5">
<tr> <tr>
<td colspan="6">NUnit.Fixtures.AssemblyRunner</td> <td colspan="6">NUnit.Fixtures.AssemblyRunner</td>
</tr> </tr>
<tr> <tr>
<td>Assembly</td> <td>Assembly</td>
<td>Tests()</td> <td>Tests()</td>
<td>Run()</td> <td>Run()</td>
<td>Skipped()</td> <td>Skipped()</td>
<td>Ignored()</td> <td>Ignored()</td>
<td>Failures()</td> <td>Failures()</td>
</tr> </tr>
<tr> <tr>
<td>nunit.framework.tests.dll</td> <td>nunit.framework.tests.dll</td>
<td>397</td> <td>397</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
</tr> </tr>
<tr> <tr>
<td>nunit.core.tests.dll</td> <td>nunit.core.tests.dll</td>
<td>355</td> <td>355</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
</tr> </tr>
<tr> <tr>
<td>nunit.util.tests.dll</td> <td>nunit.util.tests.dll</td>
<td>238</td> <td>238</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
</tr> </tr>
<tr> <tr>
<td>nunit.mocks.tests.dll</td> <td>nunit.mocks.tests.dll</td>
<td>43</td> <td>43</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
</tr> </tr>
<tr> <tr>
<td>nunit.extensions.tests.dll</td> <td>nunit.extensions.tests.dll</td>
<td>5</td> <td>5</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
</tr> </tr>
<tr> <tr>
<td>nunit-console.tests.dll</td> <td>nunit-console.tests.dll</td>
<td>40</td> <td>40</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
</tr> </tr>
<tr> <tr>
<td>nunit.uikit.tests.dll</td> <td>nunit.uikit.tests.dll</td>
<td>34</td> <td>34</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
</tr> </tr>
<tr> <tr>
<td>nunit-gui.tests.dll</td> <td>nunit-gui.tests.dll</td>
<td>15</td> <td>15</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
</tr> </tr>
<tr> <tr>
<td>nunit.fixtures.tests.dll</td> <td>nunit.fixtures.tests.dll</td>
<td>6</td> <td>6</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>&nbsp;</td> <td>&nbsp;</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
</tr> </tr>
</table> </table>
<h2>Code Snippet Tests</h2> <h2>Code Snippet Tests</h2>
<p> <p>
These tests create a test assembly from a snippet of code and then load and run 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 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 as expected and that the number of tests run, skipped, ignored or failed is
correct. correct.
<p> <p>
<table BORDER cellSpacing="0" cellPadding="5"> <table BORDER cellSpacing="0" cellPadding="5">
<tr> <tr>
<td colspan="6">NUnit.Fixtures.SnippetRunner</td> <td colspan="6">NUnit.Fixtures.SnippetRunner</td>
</tr> </tr>
<tr> <tr>
<td>Code</td> <td>Code</td>
<td>Tree()</td> <td>Tree()</td>
<td>Run()</td> <td>Run()</td>
<td>Skipped()</td> <td>Skipped()</td>
<td>Ignored()</td> <td>Ignored()</td>
<td>Failures()</td> <td>Failures()</td>
</tr> </tr>
<tr> <tr>
<td><pre>public class TestClass <td><pre>public class TestClass
{ {
}</pre> }</pre>
</td> </td>
<td>EMPTY</td> <td>EMPTY</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
</tr> </tr>
<tr> <tr>
<td><pre>using NUnit.Framework; <td><pre>using NUnit.Framework;
[TestFixture] [TestFixture]
public class TestClass public class TestClass
{ {
}</pre> }</pre>
</td> </td>
<td>TestClass</td> <td>TestClass</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
</tr> </tr>
<tr> <tr>
<td><pre>using NUnit.Framework; <td><pre>using NUnit.Framework;
[TestFixture] [TestFixture]
public class TestClass public class TestClass
{ {
[Test] [Test]
public void T1() { } public void T1() { }
[Test] [Test]
public void T2() { } public void T2() { }
[Test] [Test]
public void T3() { } public void T3() { }
}</pre> }</pre>
</td> </td>
<td><pre>TestClass <td><pre>TestClass
&gt;T1 &gt;T1
&gt;T2 &gt;T2
&gt;T3</pre> &gt;T3</pre>
</td> </td>
<td>3</td> <td>3</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
</tr> </tr>
<tr> <tr>
<td><pre>using NUnit.Framework; <td><pre>using NUnit.Framework;
[TestFixture] [TestFixture]
public class TestClass1 public class TestClass1
{ {
[Test] [Test]
public void T1() { } public void T1() { }
} }
[TestFixture] [TestFixture]
public class TestClass2 public class TestClass2
{ {
[Test] [Test]
public void T2() { } public void T2() { }
[Test] [Test]
public void T3() { } public void T3() { }
}</pre> }</pre>
</td> </td>
<td><pre>TestClass1 <td><pre>TestClass1
&gt;T1 &gt;T1
TestClass2 TestClass2
&gt;T2 &gt;T2
&gt;T3</pre> &gt;T3</pre>
</td> </td>
<td>3</td> <td>3</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
</tr> </tr>
<tr> <tr>
<td><pre>using NUnit.Framework; <td><pre>using NUnit.Framework;
[TestFixture] [TestFixture]
public class TestClass public class TestClass
{ {
[Test] [Test]
public void T1() { } public void T1() { }
[Test, Ignore] [Test, Ignore]
public void T2() { } public void T2() { }
[Test] [Test]
public void T3() { } public void T3() { }
}</pre> }</pre>
</td> </td>
<td><pre>TestClass <td><pre>TestClass
&gt;T1 &gt;T1
&gt;T2 &gt;T2
&gt;T3</pre> &gt;T3</pre>
</td> </td>
<td>2</td> <td>2</td>
<td>0</td> <td>0</td>
<td>1</td> <td>1</td>
<td>0</td> <td>0</td>
</tr> </tr>
<tr> <tr>
<td><pre>using NUnit.Framework; <td><pre>using NUnit.Framework;
[TestFixture] [TestFixture]
public class TestClass public class TestClass
{ {
[Test] [Test]
public void T1() { } public void T1() { }
[Test, Explicit] [Test, Explicit]
public void T2() { } public void T2() { }
[Test] [Test]
public void T3() { } public void T3() { }
}</pre> }</pre>
</td> </td>
<td><pre>TestClass <td><pre>TestClass
&gt;T1 &gt;T1
&gt;T2 &gt;T2
&gt;T3</pre> &gt;T3</pre>
</td> </td>
<td>2</td> <td>2</td>
<td>1</td> <td>1</td>
<td>0</td> <td>0</td>
<td>0</td> <td>0</td>
</tr> </tr>
</table> </table>
<h2>Summary Information</h2> <h2>Summary Information</h2>
<table BORDER cellSpacing="0" cellPadding="5"> <table BORDER cellSpacing="0" cellPadding="5">
<tr> <tr>
<td colspan="2">fit.Summary</td> <td colspan="2">fit.Summary</td>
</tr> </tr>
</table> </table>
</body> </body>
</html> </html>

View file

@ -1,84 +1,85 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<configuration> <configuration>
<!-- <!--
This is the configuration file for the NUnitTests.nunit test project. You may 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. need to create a similar configuration file for your own test project.
--> -->
<!-- <!--
The <NUnit> section is only needed if you want to use a non-default value The <NUnit> section is only needed if you want to use a non-default value
for any of the settings. It is commented out below. If you are going to use for any of the settings. It is commented out below. If you are going to use
it, you must deifne the NUnit section group and the sections you need. it, you must deifne the NUnit section group and the sections you need.
The syntax shown here works for most runtimes. If NUnit fails at startup, you The syntax shown here works for most runtimes. If NUnit fails at startup, you
can try specifying the name of the assembly containing the NameValueSectionHandler: can try specifying the name of the assembly containing the NameValueSectionHandler:
<section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler, System" /> <section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler, System" />
If that fails, try the fully qualified name of the assembly: If that fails, try the fully qualified name of the assembly:
<section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler, System, <section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler, System,
Version=2.0.50727.832, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> Version=2.0.50727.832, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
Unfortunately, this last approach makes your config file non-portable across runtimes. Unfortunately, this last approach makes your config file non-portable across runtimes.
--> -->
<!-- <!--
<configSections> <configSections>
<sectionGroup name="NUnit"> <sectionGroup name="NUnit">
<section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler"/> <section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler"/>
<section name="TestRunner" type="System.Configuration.NameValueSectionHandler"/> <section name="TestRunner" type="System.Configuration.NameValueSectionHandler"/>
</sectionGroup> </sectionGroup>
</configSections> </configSections>
--> -->
<appSettings> <appSettings>
<!-- User application and configured property settings go here.--> <!-- User application and configured property settings go here.-->
<!-- Example: <add key="settingName" value="settingValue"/> --> <!-- Example: <add key="settingName" value="settingValue"/> -->
<add key="test.setting" value="54321" /> <add key="test.setting" value="54321" />
</appSettings> </appSettings>
<!-- Sample NUnit section group showing all default values --> <!-- Sample NUnit section group showing all default values -->
<!-- <!--
<NUnit> <NUnit>
<TestCaseBuilder> <TestCaseBuilder>
<add key="OldStyleTestCases" value="false" /> <add key="OldStyleTestCases" value="false" />
</TestCaseBuilder> </TestCaseBuilder>
<TestRunner> <TestRunner>
<add key="ApartmentState" value="MTA" /> <add key="ApartmentState" value="MTA" />
<add key="ThreadPriority" value="Normal" /> <add key="ThreadPriority" value="Normal" />
</TestRunner> <add key="DefaultLogThreshold" value="Info" />
</NUnit> </TestRunner>
--> </NUnit>
-->
<!--
The following <runtime> section allows running nunit tests under <!--
.NET 1.0 by redirecting assemblies. The appliesTo attribute The following <runtime> section allows running nunit tests under
causes the section to be ignored except under .NET 1.0. .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" <runtime>
appliesTo="v1.0.3705"> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
<dependentAssembly> appliesTo="v1.0.3705">
<assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture="" /> <dependentAssembly>
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> <assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture="" />
</dependentAssembly> <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="System.Data" publicKeyToken="b77a5c561934e089" culture="" /> <dependentAssembly>
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> <assemblyIdentity name="System.Data" publicKeyToken="b77a5c561934e089" culture="" />
</dependentAssembly> <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="System.Drawing" publicKeyToken="b03f5f7f11d50a3a" culture="" /> <dependentAssembly>
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> <assemblyIdentity name="System.Drawing" publicKeyToken="b03f5f7f11d50a3a" culture="" />
</dependentAssembly> <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="System.Windows.Forms" publicKeyToken="b77a5c561934e089" culture="" /> <dependentAssembly>
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> <assemblyIdentity name="System.Windows.Forms" publicKeyToken="b77a5c561934e089" culture="" />
</dependentAssembly> <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
<dependentAssembly> </dependentAssembly>
<assemblyIdentity name="System.Xml" publicKeyToken="b77a5c561934e089" culture="" /> <dependentAssembly>
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> <assemblyIdentity name="System.Xml" publicKeyToken="b77a5c561934e089" culture="" />
</dependentAssembly> <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
</assemblyBinding> </dependentAssembly>
</runtime> </assemblyBinding>
</configuration> </runtime>
</configuration>

View file

@ -1,14 +1,14 @@
<NUnitProject> <NUnitProject>
<Settings appbase="."/> <Settings appbase="."/>
<Config name="Default" binpath="lib;tests;framework" runtimeFramework="v2.0"> <Config name="Default" binpath="lib;tests;framework" runtimeFramework="v2.0">
<assembly path="tests/nunit.framework.tests.dll" /> <assembly path="tests/nunit.framework.tests.dll" />
<assembly path="tests/nunit.core.tests.dll" /> <assembly path="tests/nunit.core.tests.dll" />
<assembly path="tests/nunit.util.tests.dll" /> <assembly path="tests/nunit.util.tests.dll" />
<assembly path="tests/nunit.mocks.tests.dll" /> <assembly path="tests/nunit.mocks.tests.dll" />
<assembly path="tests/nunit-console.tests.dll" /> <assembly path="tests/nunit-console.tests.dll" />
<assembly path="tests/nunit.uiexception.tests.dll" /> <assembly path="tests/nunit.uiexception.tests.dll" />
<assembly path="tests/nunit.uikit.tests.dll" /> <assembly path="tests/nunit.uikit.tests.dll" />
<assembly path="tests/nunit-gui.tests.dll" /> <assembly path="tests/nunit-gui.tests.dll" />
<assembly path="tests/nunit.fixtures.tests.dll" /> <assembly path="tests/nunit.fixtures.tests.dll" />
</Config> </Config>
</NUnitProject> </NUnitProject>

View file

@ -1,4 +1,4 @@
<AgentConfig> <AgentConfig>
<Port>8080</Port> <Port>8080</Port>
<PathToAssemblies>.</PathToAssemblies> <PathToAssemblies>.</PathToAssemblies>
</AgentConfig> </AgentConfig>

View file

@ -1,18 +1,18 @@
<log4net> <log4net>
<!-- A1 is set to be a ConsoleAppender --> <!-- A1 is set to be a ConsoleAppender -->
<appender name="A1" type="log4net.Appender.ConsoleAppender"> <appender name="A1" type="log4net.Appender.ConsoleAppender">
<!-- A1 uses PatternLayout --> <!-- A1 uses PatternLayout -->
<layout type="log4net.Layout.PatternLayout"> <layout type="log4net.Layout.PatternLayout">
<!-- Print the date in ISO 8601 format --> <!-- Print the date in ISO 8601 format -->
<conversionPattern value="%-5level %logger - %message%newline" /> <conversionPattern value="%-5level %logger - %message%newline" />
</layout> </layout>
</appender> </appender>
<!-- Set root logger level to DEBUG and its only appender to A1 --> <!-- Set root logger level to DEBUG and its only appender to A1 -->
<root> <root>
<level value="DEBUG" /> <level value="DEBUG" />
<appender-ref ref="A1" /> <appender-ref ref="A1" />
</root> </root>
</log4net> </log4net>

View file

@ -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

File diff suppressed because it is too large Load diff

View file

@ -1,18 +1,18 @@
<log4net> <log4net>
<!-- A1 is set to be a ConsoleAppender --> <!-- A1 is set to be a ConsoleAppender -->
<appender name="A1" type="log4net.Appender.ConsoleAppender"> <appender name="A1" type="log4net.Appender.ConsoleAppender">
<!-- A1 uses PatternLayout --> <!-- A1 uses PatternLayout -->
<layout type="log4net.Layout.PatternLayout"> <layout type="log4net.Layout.PatternLayout">
<!-- Print the date in ISO 8601 format --> <!-- Print the date in ISO 8601 format -->
<conversionPattern value="%-5level %logger - %message%newline" /> <conversionPattern value="%-5level %logger - %message%newline" />
</layout> </layout>
</appender> </appender>
<!-- Set root logger level to DEBUG and its only appender to A1 --> <!-- Set root logger level to DEBUG and its only appender to A1 -->
<root> <root>
<level value="DEBUG" /> <level value="DEBUG" />
<appender-ref ref="A1" /> <appender-ref ref="A1" />
</root> </root>
</log4net> </log4net>

Binary file not shown.

View 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>

View file

@ -1,87 +1,69 @@
<?xml version="1.0" encoding="Windows-1252"?> <?xml version="1.0" encoding="utf-8"?>
<configuration> <configuration>
<!--
Application settings for nunit-agent.exe. Do NOT put settings <runtime>
for use by your tests here. <!-- We need this so test exceptions don't crash NUnit -->
--> <legacyUnhandledExceptionPolicy enabled="1" />
<appSettings>
<!-- <!-- Look for addins in the addins directory for now -->
Specify the location to be used by .NET for the cache <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
--> <probing privatePath="lib;addins"/>
<add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" /> </assemblyBinding>
</appSettings>
<!--
<!-- Set the level for tracing NUnit itself --> The following <assemblyBinding> section allows running nunit under
<!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug --> .NET 1.0 by redirecting assemblies. The appliesTo attribute
<system.diagnostics> causes the section to be ignored except under .NET 1.0
<switches> on a machine with only the .NET version 1.0 runtime installed.
<add name="NTrace" value="0" /> If application and its tests were built for .NET 1.1 you will
</switches> also need to redirect system assemblies in the test config file,
</system.diagnostics> which controls loading of the tests.
-->
<runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
<!-- We need this so test exceptions don't crash NUnit --> appliesTo="v1.0.3705">
<legacyUnhandledExceptionPolicy enabled="1" />
<dependentAssembly>
<!-- Look for addins in the addins directory for now --> <assemblyIdentity name="System"
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> publicKeyToken="b77a5c561934e089"
<probing privatePath="lib;addins"/> culture="neutral"/>
</assemblyBinding> <bindingRedirect oldVersion="1.0.5000.0"
newVersion="1.0.3300.0"/>
<!-- </dependentAssembly>
The following <assemblyBinding> section allows running nunit under
.NET 1.0 by redirecting assemblies. The appliesTo attribute <dependentAssembly>
causes the section to be ignored except under .NET 1.0 <assemblyIdentity name="System.Data"
on a machine with only the .NET version 1.0 runtime installed. publicKeyToken="b77a5c561934e089"
If application and its tests were built for .NET 1.1 you will culture="neutral"/>
also need to redirect system assemblies in the test config file, <bindingRedirect oldVersion="1.0.5000.0"
which controls loading of the tests. newVersion="1.0.3300.0"/>
--> </dependentAssembly>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
appliesTo="v1.0.3705"> <dependentAssembly>
<assemblyIdentity name="System.Drawing"
<dependentAssembly> publicKeyToken="b03f5f7f11d50a3a"
<assemblyIdentity name="System" culture="neutral"/>
publicKeyToken="b77a5c561934e089" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Windows.Forms"
<dependentAssembly> publicKeyToken="b77a5c561934e089"
<assemblyIdentity name="System.Data" culture="neutral"/>
publicKeyToken="b77a5c561934e089" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Xml"
<dependentAssembly> publicKeyToken="b77a5c561934e089"
<assemblyIdentity name="System.Drawing" culture="neutral"/>
publicKeyToken="b03f5f7f11d50a3a" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> </assemblyBinding>
<dependentAssembly> </runtime>
<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> </configuration>

View file

@ -1,87 +1,69 @@
<?xml version="1.0" encoding="Windows-1252"?> <?xml version="1.0" encoding="utf-8"?>
<configuration> <configuration>
<!--
Application settings for NUnit-console.exe. Do NOT put settings <runtime>
for use by your tests here. <!-- We need this so test exceptions don't crash NUnit -->
--> <legacyUnhandledExceptionPolicy enabled="1" />
<appSettings>
<!-- <!-- Look for addins in the addins directory for now -->
Specify the location to be used by .NET for the cache <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
--> <probing privatePath="lib;addins"/>
<add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" /> </assemblyBinding>
</appSettings>
<!--
<!-- Set the level for tracing NUnit itself --> The following <assemblyBinding> section allows running nunit under
<!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug --> .NET 1.0 by redirecting assemblies. The appliesTo attribute
<system.diagnostics> causes the section to be ignored except under .NET 1.0
<switches> on a machine with only the .NET version 1.0 runtime installed.
<add name="NTrace" value="0" /> If application and its tests were built for .NET 1.1 you will
</switches> also need to redirect system assemblies in the test config file,
</system.diagnostics> which controls loading of the tests.
-->
<runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
<!-- We need this so test exceptions don't crash NUnit --> appliesTo="v1.0.3705">
<legacyUnhandledExceptionPolicy enabled="1" />
<dependentAssembly>
<!-- Look for addins in the addins directory for now --> <assemblyIdentity name="System"
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> publicKeyToken="b77a5c561934e089"
<probing privatePath="lib;addins"/> culture="neutral"/>
</assemblyBinding> <bindingRedirect oldVersion="1.0.5000.0"
newVersion="1.0.3300.0"/>
<!-- </dependentAssembly>
The following <assemblyBinding> section allows running nunit under
.NET 1.0 by redirecting assemblies. The appliesTo attribute <dependentAssembly>
causes the section to be ignored except under .NET 1.0 <assemblyIdentity name="System.Data"
on a machine with only the .NET version 1.0 runtime installed. publicKeyToken="b77a5c561934e089"
If application and its tests were built for .NET 1.1 you will culture="neutral"/>
also need to redirect system assemblies in the test config file, <bindingRedirect oldVersion="1.0.5000.0"
which controls loading of the tests. newVersion="1.0.3300.0"/>
--> </dependentAssembly>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
appliesTo="v1.0.3705"> <dependentAssembly>
<assemblyIdentity name="System.Drawing"
<dependentAssembly> publicKeyToken="b03f5f7f11d50a3a"
<assemblyIdentity name="System" culture="neutral"/>
publicKeyToken="b77a5c561934e089" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Windows.Forms"
<dependentAssembly> publicKeyToken="b77a5c561934e089"
<assemblyIdentity name="System.Data" culture="neutral"/>
publicKeyToken="b77a5c561934e089" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Xml"
<dependentAssembly> publicKeyToken="b77a5c561934e089"
<assemblyIdentity name="System.Drawing" culture="neutral"/>
publicKeyToken="b03f5f7f11d50a3a" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> </assemblyBinding>
<dependentAssembly> </runtime>
<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> </configuration>

View file

@ -1,87 +1,69 @@
<?xml version="1.0" encoding="Windows-1252"?> <?xml version="1.0" encoding="utf-8"?>
<configuration> <configuration>
<!--
Application settings for NUnit-console.exe. Do NOT put settings <runtime>
for use by your tests here. <!-- We need this so test exceptions don't crash NUnit -->
--> <legacyUnhandledExceptionPolicy enabled="1" />
<appSettings>
<!-- <!-- Look for addins in the addins directory for now -->
Specify the location to be used by .NET for the cache <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
--> <probing privatePath="lib;addins"/>
<add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" /> </assemblyBinding>
</appSettings>
<!--
<!-- Set the level for tracing NUnit itself --> The following <assemblyBinding> section allows running nunit under
<!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug --> .NET 1.0 by redirecting assemblies. The appliesTo attribute
<system.diagnostics> causes the section to be ignored except under .NET 1.0
<switches> on a machine with only the .NET version 1.0 runtime installed.
<add name="NTrace" value="0" /> If application and its tests were built for .NET 1.1 you will
</switches> also need to redirect system assemblies in the test config file,
</system.diagnostics> which controls loading of the tests.
-->
<runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
<!-- We need this so test exceptions don't crash NUnit --> appliesTo="v1.0.3705">
<legacyUnhandledExceptionPolicy enabled="1" />
<dependentAssembly>
<!-- Look for addins in the addins directory for now --> <assemblyIdentity name="System"
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> publicKeyToken="b77a5c561934e089"
<probing privatePath="lib;addins"/> culture="neutral"/>
</assemblyBinding> <bindingRedirect oldVersion="1.0.5000.0"
newVersion="1.0.3300.0"/>
<!-- </dependentAssembly>
The following <assemblyBinding> section allows running nunit under
.NET 1.0 by redirecting assemblies. The appliesTo attribute <dependentAssembly>
causes the section to be ignored except under .NET 1.0 <assemblyIdentity name="System.Data"
on a machine with only the .NET version 1.0 runtime installed. publicKeyToken="b77a5c561934e089"
If application and its tests were built for .NET 1.1 you will culture="neutral"/>
also need to redirect system assemblies in the test config file, <bindingRedirect oldVersion="1.0.5000.0"
which controls loading of the tests. newVersion="1.0.3300.0"/>
--> </dependentAssembly>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
appliesTo="v1.0.3705"> <dependentAssembly>
<assemblyIdentity name="System.Drawing"
<dependentAssembly> publicKeyToken="b03f5f7f11d50a3a"
<assemblyIdentity name="System" culture="neutral"/>
publicKeyToken="b77a5c561934e089" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Windows.Forms"
<dependentAssembly> publicKeyToken="b77a5c561934e089"
<assemblyIdentity name="System.Data" culture="neutral"/>
publicKeyToken="b77a5c561934e089" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Xml"
<dependentAssembly> publicKeyToken="b77a5c561934e089"
<assemblyIdentity name="System.Drawing" culture="neutral"/>
publicKeyToken="b03f5f7f11d50a3a" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> </assemblyBinding>
<dependentAssembly> </runtime>
<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> </configuration>

Binary file not shown.

View file

@ -1,95 +1,83 @@
<?xml version="1.0" encoding="Windows-1252"?> <?xml version="1.0" encoding="utf-8"?>
<configuration> <configuration>
<!-- <!--
Application settings for NUnit-gui.exe. Do NOT put settings Application settings for NUnit-gui.exe. Do NOT put settings
for use by your tests here. for use by your tests here.
--> -->
<appSettings> <appSettings>
<!-- <!--
Specify the location to be used by .NET for the cache Uncomment to specify the url to be used for help. If not used, the
--> default value is something like
<add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" /> file://localhost/C:/Program Files/NUnit 2.2/doc/index.html
<!-- This setting is provided in case your default browser doesn't
Uncomment to specify the url to be used for help. If not used, the support this format.
default value is something like -->
file://localhost/C:/Program Files/NUnit 2.2/doc/index.html <!-- <add key="helpUrl" value="http://www.nunit.org" /> -->
This setting is provided in case your default browser doesn't </appSettings>
support this format.
--> <runtime>
<!-- <add key="helpUrl" value="http://www.nunit.org" /> --> <!-- We need this so test exceptions don't crash NUnit -->
</appSettings> <legacyUnhandledExceptionPolicy enabled="1" />
<!-- Set the level for tracing NUnit itself --> <!-- Look for addins in the addins directory for now -->
<!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug --> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<system.diagnostics> <probing privatePath="lib;addins" />
<switches> </assemblyBinding>
<add name="NTrace" value="0" />
</switches> <!--
</system.diagnostics> The following <assemblyBinding> section allows running nunit under
.NET 1.0 by redirecting assemblies. The appliesTo attribute
<runtime> causes the section to be ignored except under .NET 1.0
<!-- We need this so test exceptions don't crash NUnit --> on a machine with only the .NET version 1.0 runtime installed.
<legacyUnhandledExceptionPolicy enabled="1" /> If application and its tests were built for .NET 1.1 you will
also need to redirect system assemblies in the test config file,
<!-- Look for addins in the addins directory for now --> which controls loading of the tests.
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> -->
<probing privatePath="lib;addins" /> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
</assemblyBinding> appliesTo="v1.0.3705">
<!-- <dependentAssembly>
The following <assemblyBinding> section allows running nunit under <assemblyIdentity name="System"
.NET 1.0 by redirecting assemblies. The appliesTo attribute publicKeyToken="b77a5c561934e089"
causes the section to be ignored except under .NET 1.0 culture="neutral"/>
on a machine with only the .NET version 1.0 runtime installed. <bindingRedirect oldVersion="1.0.5000.0"
If application and its tests were built for .NET 1.1 you will newVersion="1.0.3300.0"/>
also need to redirect system assemblies in the test config file, </dependentAssembly>
which controls loading of the tests.
--> <dependentAssembly>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" <assemblyIdentity name="System.Data"
appliesTo="v1.0.3705"> publicKeyToken="b77a5c561934e089"
culture="neutral"/>
<dependentAssembly> <bindingRedirect oldVersion="1.0.5000.0"
<assemblyIdentity name="System" newVersion="1.0.3300.0"/>
publicKeyToken="b77a5c561934e089" </dependentAssembly>
culture="neutral"/>
<bindingRedirect oldVersion="1.0.5000.0" <dependentAssembly>
newVersion="1.0.3300.0"/> <assemblyIdentity name="System.Drawing"
</dependentAssembly> publicKeyToken="b03f5f7f11d50a3a"
culture="neutral"/>
<dependentAssembly> <bindingRedirect oldVersion="1.0.5000.0"
<assemblyIdentity name="System.Data" newVersion="1.0.3300.0"/>
publicKeyToken="b77a5c561934e089" </dependentAssembly>
culture="neutral"/>
<bindingRedirect oldVersion="1.0.5000.0" <dependentAssembly>
newVersion="1.0.3300.0"/> <assemblyIdentity name="System.Windows.Forms"
</dependentAssembly> publicKeyToken="b77a5c561934e089"
culture="neutral"/>
<dependentAssembly> <bindingRedirect oldVersion="1.0.5000.0"
<assemblyIdentity name="System.Drawing" newVersion="1.0.3300.0"/>
publicKeyToken="b03f5f7f11d50a3a" </dependentAssembly>
culture="neutral"/>
<bindingRedirect oldVersion="1.0.5000.0" <dependentAssembly>
newVersion="1.0.3300.0"/> <assemblyIdentity name="System.Xml"
</dependentAssembly> publicKeyToken="b77a5c561934e089"
culture="neutral"/>
<dependentAssembly> <bindingRedirect oldVersion="1.0.5000.0"
<assemblyIdentity name="System.Windows.Forms" newVersion="1.0.3300.0"/>
publicKeyToken="b77a5c561934e089" </dependentAssembly>
culture="neutral"/>
<bindingRedirect oldVersion="1.0.5000.0" </assemblyBinding>
newVersion="1.0.3300.0"/>
</dependentAssembly> </runtime>
<dependentAssembly>
<assemblyIdentity name="System.Xml"
publicKeyToken="b77a5c561934e089"
culture="neutral"/>
<bindingRedirect oldVersion="1.0.5000.0"
newVersion="1.0.3300.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration> </configuration>

Binary file not shown.

View file

@ -1,95 +1,83 @@
<?xml version="1.0" encoding="Windows-1252"?> <?xml version="1.0" encoding="utf-8"?>
<configuration> <configuration>
<!-- <!--
Application settings for NUnit-gui.exe. Do NOT put settings Application settings for NUnit-gui.exe. Do NOT put settings
for use by your tests here. for use by your tests here.
--> -->
<appSettings> <appSettings>
<!-- <!--
Specify the location to be used by .NET for the cache Uncomment to specify the url to be used for help. If not used, the
--> default value is something like
<add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" /> file://localhost/C:/Program Files/NUnit 2.2/doc/index.html
<!-- This setting is provided in case your default browser doesn't
Uncomment to specify the url to be used for help. If not used, the support this format.
default value is something like -->
file://localhost/C:/Program Files/NUnit 2.2/doc/index.html <!-- <add key="helpUrl" value="http://www.nunit.org" /> -->
This setting is provided in case your default browser doesn't </appSettings>
support this format.
--> <runtime>
<!-- <add key="helpUrl" value="http://www.nunit.org" /> --> <!-- We need this so test exceptions don't crash NUnit -->
</appSettings> <legacyUnhandledExceptionPolicy enabled="1" />
<!-- Set the level for tracing NUnit itself --> <!-- Look for addins in the addins directory for now -->
<!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug --> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<system.diagnostics> <probing privatePath="lib;addins" />
<switches> </assemblyBinding>
<add name="NTrace" value="0" />
</switches> <!--
</system.diagnostics> The following <assemblyBinding> section allows running nunit under
.NET 1.0 by redirecting assemblies. The appliesTo attribute
<runtime> causes the section to be ignored except under .NET 1.0
<!-- We need this so test exceptions don't crash NUnit --> on a machine with only the .NET version 1.0 runtime installed.
<legacyUnhandledExceptionPolicy enabled="1" /> If application and its tests were built for .NET 1.1 you will
also need to redirect system assemblies in the test config file,
<!-- Look for addins in the addins directory for now --> which controls loading of the tests.
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> -->
<probing privatePath="lib;addins" /> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
</assemblyBinding> appliesTo="v1.0.3705">
<!-- <dependentAssembly>
The following <assemblyBinding> section allows running nunit under <assemblyIdentity name="System"
.NET 1.0 by redirecting assemblies. The appliesTo attribute publicKeyToken="b77a5c561934e089"
causes the section to be ignored except under .NET 1.0 culture="neutral"/>
on a machine with only the .NET version 1.0 runtime installed. <bindingRedirect oldVersion="1.0.5000.0"
If application and its tests were built for .NET 1.1 you will newVersion="1.0.3300.0"/>
also need to redirect system assemblies in the test config file, </dependentAssembly>
which controls loading of the tests.
--> <dependentAssembly>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" <assemblyIdentity name="System.Data"
appliesTo="v1.0.3705"> publicKeyToken="b77a5c561934e089"
culture="neutral"/>
<dependentAssembly> <bindingRedirect oldVersion="1.0.5000.0"
<assemblyIdentity name="System" newVersion="1.0.3300.0"/>
publicKeyToken="b77a5c561934e089" </dependentAssembly>
culture="neutral"/>
<bindingRedirect oldVersion="1.0.5000.0" <dependentAssembly>
newVersion="1.0.3300.0"/> <assemblyIdentity name="System.Drawing"
</dependentAssembly> publicKeyToken="b03f5f7f11d50a3a"
culture="neutral"/>
<dependentAssembly> <bindingRedirect oldVersion="1.0.5000.0"
<assemblyIdentity name="System.Data" newVersion="1.0.3300.0"/>
publicKeyToken="b77a5c561934e089" </dependentAssembly>
culture="neutral"/>
<bindingRedirect oldVersion="1.0.5000.0" <dependentAssembly>
newVersion="1.0.3300.0"/> <assemblyIdentity name="System.Windows.Forms"
</dependentAssembly> publicKeyToken="b77a5c561934e089"
culture="neutral"/>
<dependentAssembly> <bindingRedirect oldVersion="1.0.5000.0"
<assemblyIdentity name="System.Drawing" newVersion="1.0.3300.0"/>
publicKeyToken="b03f5f7f11d50a3a" </dependentAssembly>
culture="neutral"/>
<bindingRedirect oldVersion="1.0.5000.0" <dependentAssembly>
newVersion="1.0.3300.0"/> <assemblyIdentity name="System.Xml"
</dependentAssembly> publicKeyToken="b77a5c561934e089"
culture="neutral"/>
<dependentAssembly> <bindingRedirect oldVersion="1.0.5000.0"
<assemblyIdentity name="System.Windows.Forms" newVersion="1.0.3300.0"/>
publicKeyToken="b77a5c561934e089" </dependentAssembly>
culture="neutral"/>
<bindingRedirect oldVersion="1.0.5000.0" </assemblyBinding>
newVersion="1.0.3300.0"/>
</dependentAssembly> </runtime>
<dependentAssembly>
<assemblyIdentity name="System.Xml"
publicKeyToken="b77a5c561934e089"
culture="neutral"/>
<bindingRedirect oldVersion="1.0.5000.0"
newVersion="1.0.3300.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration> </configuration>

View file

@ -1,87 +1,77 @@
<?xml version="1.0" encoding="Windows-1252"?> <?xml version="1.0" encoding="Windows-1252"?>
<configuration> <configuration>
<!--
Application settings for pnunit-agent.exe. Do NOT put settings <!-- Set the level for tracing NUnit itself -->
for use by your tests here. <!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
--> <system.diagnostics>
<appSettings> <switches>
<!-- <add name="NTrace" value="0" />
Specify the location to be used by .NET for the cache </switches>
--> </system.diagnostics>
<add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
</appSettings> <runtime>
<!-- We need this so test exceptions don't crash NUnit -->
<!-- Set the level for tracing NUnit itself --> <legacyUnhandledExceptionPolicy enabled="1" />
<!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
<system.diagnostics> <!-- Look for addins in the addins directory for now -->
<switches> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<add name="NTrace" value="0" /> <probing privatePath="framework;lib;addins"/>
</switches> </assemblyBinding>
</system.diagnostics>
<!--
<runtime> The following <assemblyBinding> section allows running nunit under
<!-- We need this so test exceptions don't crash NUnit --> .NET 1.0 by redirecting assemblies. The appliesTo attribute
<legacyUnhandledExceptionPolicy enabled="1" /> causes the section to be ignored except under .NET 1.0
on a machine with only the .NET version 1.0 runtime installed.
<!-- Look for addins in the addins directory for now --> If application and its tests were built for .NET 1.1 you will
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> also need to redirect system assemblies in the test config file,
<probing privatePath="framework;lib;addins"/> which controls loading of the tests.
</assemblyBinding> -->
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
<!-- appliesTo="v1.0.3705">
The following <assemblyBinding> section allows running nunit under
.NET 1.0 by redirecting assemblies. The appliesTo attribute <dependentAssembly>
causes the section to be ignored except under .NET 1.0 <assemblyIdentity name="System"
on a machine with only the .NET version 1.0 runtime installed. publicKeyToken="b77a5c561934e089"
If application and its tests were built for .NET 1.1 you will culture="neutral"/>
also need to redirect system assemblies in the test config file, <bindingRedirect oldVersion="1.0.5000.0"
which controls loading of the tests. newVersion="1.0.3300.0"/>
--> </dependentAssembly>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
appliesTo="v1.0.3705"> <dependentAssembly>
<assemblyIdentity name="System.Data"
<dependentAssembly> publicKeyToken="b77a5c561934e089"
<assemblyIdentity name="System" culture="neutral"/>
publicKeyToken="b77a5c561934e089" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Drawing"
<dependentAssembly> publicKeyToken="b03f5f7f11d50a3a"
<assemblyIdentity name="System.Data" culture="neutral"/>
publicKeyToken="b77a5c561934e089" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Windows.Forms"
<dependentAssembly> publicKeyToken="b77a5c561934e089"
<assemblyIdentity name="System.Drawing" culture="neutral"/>
publicKeyToken="b03f5f7f11d50a3a" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Xml"
<dependentAssembly> publicKeyToken="b77a5c561934e089"
<assemblyIdentity name="System.Windows.Forms" culture="neutral"/>
publicKeyToken="b77a5c561934e089" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> </assemblyBinding>
<dependentAssembly> </runtime>
<assemblyIdentity name="System.Xml"
publicKeyToken="b77a5c561934e089"
culture="neutral"/>
<bindingRedirect oldVersion="1.0.5000.0"
newVersion="1.0.3300.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration> </configuration>

View file

@ -1,87 +1,77 @@
<?xml version="1.0" encoding="Windows-1252"?> <?xml version="1.0" encoding="Windows-1252"?>
<configuration> <configuration>
<!--
Application settings for pnunit-launch.exe. Do NOT put settings <!-- Set the level for tracing NUnit itself -->
for use by your tests here. <!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
--> <system.diagnostics>
<appSettings> <switches>
<!-- <add name="NTrace" value="0" />
Specify the location to be used by .NET for the cache </switches>
--> </system.diagnostics>
<add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
</appSettings> <runtime>
<!-- We need this so test exceptions don't crash NUnit -->
<!-- Set the level for tracing NUnit itself --> <legacyUnhandledExceptionPolicy enabled="1" />
<!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
<system.diagnostics> <!-- Look for addins in the addins directory for now -->
<switches> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<add name="NTrace" value="0" /> <probing privatePath="framework;lib;addins"/>
</switches> </assemblyBinding>
</system.diagnostics>
<!--
<runtime> The following <assemblyBinding> section allows running nunit under
<!-- We need this so test exceptions don't crash NUnit --> .NET 1.0 by redirecting assemblies. The appliesTo attribute
<legacyUnhandledExceptionPolicy enabled="1" /> causes the section to be ignored except under .NET 1.0
on a machine with only the .NET version 1.0 runtime installed.
<!-- Look for addins in the addins directory for now --> If application and its tests were built for .NET 1.1 you will
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> also need to redirect system assemblies in the test config file,
<probing privatePath="framework;lib;addins"/> which controls loading of the tests.
</assemblyBinding> -->
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
<!-- appliesTo="v1.0.3705">
The following <assemblyBinding> section allows running nunit under
.NET 1.0 by redirecting assemblies. The appliesTo attribute <dependentAssembly>
causes the section to be ignored except under .NET 1.0 <assemblyIdentity name="System"
on a machine with only the .NET version 1.0 runtime installed. publicKeyToken="b77a5c561934e089"
If application and its tests were built for .NET 1.1 you will culture="neutral"/>
also need to redirect system assemblies in the test config file, <bindingRedirect oldVersion="1.0.5000.0"
which controls loading of the tests. newVersion="1.0.3300.0"/>
--> </dependentAssembly>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
appliesTo="v1.0.3705"> <dependentAssembly>
<assemblyIdentity name="System.Data"
<dependentAssembly> publicKeyToken="b77a5c561934e089"
<assemblyIdentity name="System" culture="neutral"/>
publicKeyToken="b77a5c561934e089" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Drawing"
<dependentAssembly> publicKeyToken="b03f5f7f11d50a3a"
<assemblyIdentity name="System.Data" culture="neutral"/>
publicKeyToken="b77a5c561934e089" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Windows.Forms"
<dependentAssembly> publicKeyToken="b77a5c561934e089"
<assemblyIdentity name="System.Drawing" culture="neutral"/>
publicKeyToken="b03f5f7f11d50a3a" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Xml"
<dependentAssembly> publicKeyToken="b77a5c561934e089"
<assemblyIdentity name="System.Windows.Forms" culture="neutral"/>
publicKeyToken="b77a5c561934e089" <bindingRedirect oldVersion="1.0.5000.0"
culture="neutral"/> newVersion="1.0.3300.0"/>
<bindingRedirect oldVersion="1.0.5000.0" </dependentAssembly>
newVersion="1.0.3300.0"/>
</dependentAssembly> </assemblyBinding>
<dependentAssembly> </runtime>
<assemblyIdentity name="System.Xml"
publicKeyToken="b77a5c561934e089"
culture="neutral"/>
<bindingRedirect oldVersion="1.0.5000.0"
newVersion="1.0.3300.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration> </configuration>

View file

@ -1,43 +1,43 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<configuration> <configuration>
<startup> <startup>
<supportedRuntime version="v2.0.50727" /> <supportedRuntime version="v2.0.50727" />
<supportedRuntime version="v2.0.50215" /> <supportedRuntime version="v2.0.50215" />
<supportedRuntime version="v2.0.40607" /> <supportedRuntime version="v2.0.40607" />
<supportedRuntime version="v1.1.4322" /> <supportedRuntime version="v1.1.4322" />
<supportedRuntime version="v1.0.3705" /> <supportedRuntime version="v1.0.3705" />
<requiredRuntime version="v1.0.3705" /> <requiredRuntime version="v1.0.3705" />
</startup> </startup>
<!-- <!--
The following <runtime> section allows running nunit tests under The following <runtime> section allows running nunit tests under
.NET 1.0 by redirecting assemblies. The appliesTo attribute .NET 1.0 by redirecting assemblies. The appliesTo attribute
causes the section to be ignored except under .NET 1.0. causes the section to be ignored except under .NET 1.0.
--> -->
<runtime> <runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
appliesTo="v1.0.3705"> appliesTo="v1.0.3705">
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture="" /> <assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture="" />
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Data" publicKeyToken="b77a5c561934e089" culture="" /> <assemblyIdentity name="System.Data" publicKeyToken="b77a5c561934e089" culture="" />
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Drawing" publicKeyToken="b03f5f7f11d50a3a" culture="" /> <assemblyIdentity name="System.Drawing" publicKeyToken="b03f5f7f11d50a3a" culture="" />
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Windows.Forms" publicKeyToken="b77a5c561934e089" culture="" /> <assemblyIdentity name="System.Windows.Forms" publicKeyToken="b77a5c561934e089" culture="" />
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Xml" publicKeyToken="b77a5c561934e089" culture="" /> <assemblyIdentity name="System.Xml" publicKeyToken="b77a5c561934e089" culture="" />
<bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" /> <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
</dependentAssembly> </dependentAssembly>
</assemblyBinding> </assemblyBinding>
</runtime> </runtime>
</configuration> </configuration>

View file

@ -1,2 +1,2 @@
start pnunit-agent agent.conf start pnunit-agent agent.conf
pnunit-launcher test.conf pnunit-launcher test.conf

View file

@ -1,24 +1,24 @@
<TestGroup> <TestGroup>
<ParallelTests> <ParallelTests>
<ParallelTest> <ParallelTest>
<Name>Testing</Name> <Name>Testing</Name>
<Tests> <Tests>
<TestConf> <TestConf>
<Name>Testing</Name> <Name>Testing</Name>
<Assembly>pnunit.tests.dll</Assembly> <Assembly>pnunit.tests.dll</Assembly>
<TestToRun>TestLibraries.Testing.EqualTo19</TestToRun> <TestToRun>TestLibraries.Testing.EqualTo19</TestToRun>
<Machine>localhost:8080</Machine> <Machine>localhost:8080</Machine>
<TestParams> <TestParams>
<string>..\server</string> <!-- server dir --> <string>..\server</string> <!-- server dir -->
<string></string> <!-- database server --> <string></string> <!-- database server -->
<string></string><!-- conn string --> <string></string><!-- conn string -->
</TestParams> </TestParams>
</TestConf> </TestConf>
</Tests> </Tests>
</ParallelTest> </ParallelTest>
</ParallelTests> </ParallelTests>
</TestGroup> </TestGroup>