mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-19 18:27:55 +08:00
Restoring nunit console runner
This commit is contained in:
277
lib/nunit/NUnitFitTests.html
Normal file
277
lib/nunit/NUnitFitTests.html
Normal file
@@ -0,0 +1,277 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<body>
|
||||||
|
<h1>NUnit Acceptance Tests</h1>
|
||||||
|
<p>
|
||||||
|
Developers love self-referential programs! Hence, NUnit has always run all it's
|
||||||
|
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
|
||||||
|
FIT framework. At this time, the tests are pretty rudimentary, but it's a start
|
||||||
|
and it's a framework for doing more.
|
||||||
|
<h2>Running the Tests</h2>
|
||||||
|
<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
|
||||||
|
<pre> runFile NUnitFitTests.html TestResults.html .</pre>
|
||||||
|
To run it under Mono, enter
|
||||||
|
<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
|
||||||
|
will be in TestResults.html in the same directory.
|
||||||
|
<h2>Platform and CLR Version</h2>
|
||||||
|
<table BORDER cellSpacing="0" cellPadding="5">
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">NUnit.Fixtures.PlatformInfo</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<h2>Verify Unit Tests</h2>
|
||||||
|
<p>
|
||||||
|
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
|
||||||
|
be skipped, so the values for Skipped and Run tests are informational only.
|
||||||
|
<p>
|
||||||
|
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
|
||||||
|
compiled on the platform. There should be no failures and no tests ignored.
|
||||||
|
<p><b>Note:</b>
|
||||||
|
At the moment, the nunit.extensions.tests assembly is failing because the
|
||||||
|
fixture doesn't initialize addins in the test domain.
|
||||||
|
<p>
|
||||||
|
<table BORDER cellSpacing="0" cellPadding="5">
|
||||||
|
<tr>
|
||||||
|
<td colspan="6">NUnit.Fixtures.AssemblyRunner</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Assembly</td>
|
||||||
|
<td>Tests()</td>
|
||||||
|
<td>Run()</td>
|
||||||
|
<td>Skipped()</td>
|
||||||
|
<td>Ignored()</td>
|
||||||
|
<td>Failures()</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>nunit.framework.tests.dll</td>
|
||||||
|
<td>397</td>
|
||||||
|
<td> </td>
|
||||||
|
<td> </td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>nunit.core.tests.dll</td>
|
||||||
|
<td>355</td>
|
||||||
|
<td> </td>
|
||||||
|
<td> </td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>nunit.util.tests.dll</td>
|
||||||
|
<td>238</td>
|
||||||
|
<td> </td>
|
||||||
|
<td> </td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>nunit.mocks.tests.dll</td>
|
||||||
|
<td>43</td>
|
||||||
|
<td> </td>
|
||||||
|
<td> </td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>nunit.extensions.tests.dll</td>
|
||||||
|
<td>5</td>
|
||||||
|
<td> </td>
|
||||||
|
<td> </td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>nunit-console.tests.dll</td>
|
||||||
|
<td>40</td>
|
||||||
|
<td> </td>
|
||||||
|
<td> </td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>nunit.uikit.tests.dll</td>
|
||||||
|
<td>34</td>
|
||||||
|
<td> </td>
|
||||||
|
<td> </td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>nunit-gui.tests.dll</td>
|
||||||
|
<td>15</td>
|
||||||
|
<td> </td>
|
||||||
|
<td> </td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>nunit.fixtures.tests.dll</td>
|
||||||
|
<td>6</td>
|
||||||
|
<td> </td>
|
||||||
|
<td> </td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<h2>Code Snippet Tests</h2>
|
||||||
|
<p>
|
||||||
|
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
|
||||||
|
as expected and that the number of tests run, skipped, ignored or failed is
|
||||||
|
correct.
|
||||||
|
<p>
|
||||||
|
<table BORDER cellSpacing="0" cellPadding="5">
|
||||||
|
<tr>
|
||||||
|
<td colspan="6">NUnit.Fixtures.SnippetRunner</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Code</td>
|
||||||
|
<td>Tree()</td>
|
||||||
|
<td>Run()</td>
|
||||||
|
<td>Skipped()</td>
|
||||||
|
<td>Ignored()</td>
|
||||||
|
<td>Failures()</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><pre>public class TestClass
|
||||||
|
{
|
||||||
|
}</pre>
|
||||||
|
</td>
|
||||||
|
<td>EMPTY</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><pre>using NUnit.Framework;
|
||||||
|
|
||||||
|
[TestFixture]
|
||||||
|
public class TestClass
|
||||||
|
{
|
||||||
|
}</pre>
|
||||||
|
</td>
|
||||||
|
<td>TestClass</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><pre>using NUnit.Framework;
|
||||||
|
|
||||||
|
[TestFixture]
|
||||||
|
public class TestClass
|
||||||
|
{
|
||||||
|
[Test]
|
||||||
|
public void T1() { }
|
||||||
|
[Test]
|
||||||
|
public void T2() { }
|
||||||
|
[Test]
|
||||||
|
public void T3() { }
|
||||||
|
}</pre>
|
||||||
|
</td>
|
||||||
|
<td><pre>TestClass
|
||||||
|
>T1
|
||||||
|
>T2
|
||||||
|
>T3</pre>
|
||||||
|
</td>
|
||||||
|
<td>3</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><pre>using NUnit.Framework;
|
||||||
|
|
||||||
|
[TestFixture]
|
||||||
|
public class TestClass1
|
||||||
|
{
|
||||||
|
[Test]
|
||||||
|
public void T1() { }
|
||||||
|
}
|
||||||
|
|
||||||
|
[TestFixture]
|
||||||
|
public class TestClass2
|
||||||
|
{
|
||||||
|
[Test]
|
||||||
|
public void T2() { }
|
||||||
|
[Test]
|
||||||
|
public void T3() { }
|
||||||
|
}</pre>
|
||||||
|
</td>
|
||||||
|
<td><pre>TestClass1
|
||||||
|
>T1
|
||||||
|
TestClass2
|
||||||
|
>T2
|
||||||
|
>T3</pre>
|
||||||
|
</td>
|
||||||
|
<td>3</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><pre>using NUnit.Framework;
|
||||||
|
|
||||||
|
[TestFixture]
|
||||||
|
public class TestClass
|
||||||
|
{
|
||||||
|
[Test]
|
||||||
|
public void T1() { }
|
||||||
|
[Test, Ignore]
|
||||||
|
public void T2() { }
|
||||||
|
[Test]
|
||||||
|
public void T3() { }
|
||||||
|
}</pre>
|
||||||
|
</td>
|
||||||
|
<td><pre>TestClass
|
||||||
|
>T1
|
||||||
|
>T2
|
||||||
|
>T3</pre>
|
||||||
|
</td>
|
||||||
|
<td>2</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>1</td>
|
||||||
|
<td>0</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><pre>using NUnit.Framework;
|
||||||
|
|
||||||
|
[TestFixture]
|
||||||
|
public class TestClass
|
||||||
|
{
|
||||||
|
[Test]
|
||||||
|
public void T1() { }
|
||||||
|
[Test, Explicit]
|
||||||
|
public void T2() { }
|
||||||
|
[Test]
|
||||||
|
public void T3() { }
|
||||||
|
}</pre>
|
||||||
|
</td>
|
||||||
|
<td><pre>TestClass
|
||||||
|
>T1
|
||||||
|
>T2
|
||||||
|
>T3</pre>
|
||||||
|
</td>
|
||||||
|
<td>2</td>
|
||||||
|
<td>1</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<h2>Summary Information</h2>
|
||||||
|
<table BORDER cellSpacing="0" cellPadding="5">
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">fit.Summary</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
</html>
|
84
lib/nunit/NUnitTests.config
Normal file
84
lib/nunit/NUnitTests.config
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
<?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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
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
|
||||||
|
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
|
||||||
|
can try specifying the name of the assembly containing the NameValueSectionHandler:
|
||||||
|
|
||||||
|
<section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler, System" />
|
||||||
|
|
||||||
|
If that fails, try the fully qualified name of the assembly:
|
||||||
|
|
||||||
|
<section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler, System,
|
||||||
|
Version=2.0.50727.832, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
|
|
||||||
|
Unfortunately, this last approach makes your config file non-portable across runtimes.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<configSections>
|
||||||
|
<sectionGroup name="NUnit">
|
||||||
|
<section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler"/>
|
||||||
|
<section name="TestRunner" type="System.Configuration.NameValueSectionHandler"/>
|
||||||
|
</sectionGroup>
|
||||||
|
</configSections>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<appSettings>
|
||||||
|
<!-- User application and configured property settings go here.-->
|
||||||
|
<!-- Example: <add key="settingName" value="settingValue"/> -->
|
||||||
|
<add key="test.setting" value="54321" />
|
||||||
|
</appSettings>
|
||||||
|
|
||||||
|
<!-- Sample NUnit section group showing all default values -->
|
||||||
|
<!--
|
||||||
|
<NUnit>
|
||||||
|
<TestCaseBuilder>
|
||||||
|
<add key="OldStyleTestCases" value="false" />
|
||||||
|
</TestCaseBuilder>
|
||||||
|
<TestRunner>
|
||||||
|
<add key="ApartmentState" value="MTA" />
|
||||||
|
<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>
|
14
lib/nunit/NUnitTests.nunit
Normal file
14
lib/nunit/NUnitTests.nunit
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<NUnitProject>
|
||||||
|
<Settings appbase="."/>
|
||||||
|
<Config name="Default" binpath="lib;tests;framework" runtimeFramework="v2.0">
|
||||||
|
<assembly path="tests/nunit.framework.tests.dll" />
|
||||||
|
<assembly path="tests/nunit.core.tests.dll" />
|
||||||
|
<assembly path="tests/nunit.util.tests.dll" />
|
||||||
|
<assembly path="tests/nunit.mocks.tests.dll" />
|
||||||
|
<assembly path="tests/nunit-console.tests.dll" />
|
||||||
|
<assembly path="tests/nunit.uiexception.tests.dll" />
|
||||||
|
<assembly path="tests/nunit.uikit.tests.dll" />
|
||||||
|
<assembly path="tests/nunit-gui.tests.dll" />
|
||||||
|
<assembly path="tests/nunit.fixtures.tests.dll" />
|
||||||
|
</Config>
|
||||||
|
</NUnitProject>
|
4
lib/nunit/agent.conf
Normal file
4
lib/nunit/agent.conf
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<AgentConfig>
|
||||||
|
<Port>8080</Port>
|
||||||
|
<PathToAssemblies>.</PathToAssemblies>
|
||||||
|
</AgentConfig>
|
18
lib/nunit/agent.log.conf
Normal file
18
lib/nunit/agent.log.conf
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<log4net>
|
||||||
|
<!-- A1 is set to be a ConsoleAppender -->
|
||||||
|
<appender name="A1" type="log4net.Appender.ConsoleAppender">
|
||||||
|
|
||||||
|
<!-- A1 uses PatternLayout -->
|
||||||
|
<layout type="log4net.Layout.PatternLayout">
|
||||||
|
<!-- Print the date in ISO 8601 format -->
|
||||||
|
<conversionPattern value="%-5level %logger - %message%newline" />
|
||||||
|
</layout>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
<!-- Set root logger level to DEBUG and its only appender to A1 -->
|
||||||
|
<root>
|
||||||
|
<level value="DEBUG" />
|
||||||
|
<appender-ref ref="A1" />
|
||||||
|
</root>
|
||||||
|
|
||||||
|
</log4net>
|
96
lib/nunit/clr.bat
Normal file
96
lib/nunit/clr.bat
Normal file
@@ -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
|
18
lib/nunit/launcher.log.conf
Normal file
18
lib/nunit/launcher.log.conf
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<log4net>
|
||||||
|
<!-- A1 is set to be a ConsoleAppender -->
|
||||||
|
<appender name="A1" type="log4net.Appender.ConsoleAppender">
|
||||||
|
|
||||||
|
<!-- A1 uses PatternLayout -->
|
||||||
|
<layout type="log4net.Layout.PatternLayout">
|
||||||
|
<!-- Print the date in ISO 8601 format -->
|
||||||
|
<conversionPattern value="%-5level %logger - %message%newline" />
|
||||||
|
</layout>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
<!-- Set root logger level to DEBUG and its only appender to A1 -->
|
||||||
|
<root>
|
||||||
|
<level value="DEBUG" />
|
||||||
|
<appender-ref ref="A1" />
|
||||||
|
</root>
|
||||||
|
|
||||||
|
</log4net>
|
BIN
lib/nunit/lib/Failure.png
Normal file
BIN
lib/nunit/lib/Failure.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
lib/nunit/lib/Ignored.png
Normal file
BIN
lib/nunit/lib/Ignored.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
lib/nunit/lib/Inconclusive.png
Normal file
BIN
lib/nunit/lib/Inconclusive.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
lib/nunit/lib/Skipped.png
Normal file
BIN
lib/nunit/lib/Skipped.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
lib/nunit/lib/Success.png
Normal file
BIN
lib/nunit/lib/Success.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
lib/nunit/lib/fit.dll
Normal file
BIN
lib/nunit/lib/fit.dll
Normal file
Binary file not shown.
BIN
lib/nunit/lib/log4net.dll
Normal file
BIN
lib/nunit/lib/log4net.dll
Normal file
Binary file not shown.
BIN
lib/nunit/lib/nunit-console-runner.dll
Normal file
BIN
lib/nunit/lib/nunit-console-runner.dll
Normal file
Binary file not shown.
BIN
lib/nunit/lib/nunit-gui-runner.dll
Normal file
BIN
lib/nunit/lib/nunit-gui-runner.dll
Normal file
Binary file not shown.
BIN
lib/nunit/lib/nunit.core.dll
Normal file
BIN
lib/nunit/lib/nunit.core.dll
Normal file
Binary file not shown.
BIN
lib/nunit/lib/nunit.core.interfaces.dll
Normal file
BIN
lib/nunit/lib/nunit.core.interfaces.dll
Normal file
Binary file not shown.
BIN
lib/nunit/lib/nunit.fixtures.dll
Normal file
BIN
lib/nunit/lib/nunit.fixtures.dll
Normal file
Binary file not shown.
BIN
lib/nunit/lib/nunit.uiexception.dll
Normal file
BIN
lib/nunit/lib/nunit.uiexception.dll
Normal file
Binary file not shown.
BIN
lib/nunit/lib/nunit.uikit.dll
Normal file
BIN
lib/nunit/lib/nunit.uikit.dll
Normal file
Binary file not shown.
BIN
lib/nunit/lib/nunit.util.dll
Normal file
BIN
lib/nunit/lib/nunit.util.dll
Normal file
Binary file not shown.
15
lib/nunit/license.txt
Normal file
15
lib/nunit/license.txt
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
Copyright <20> 2002-2008 Charlie Poole
|
||||||
|
Copyright <20> 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov
|
||||||
|
Copyright <20> 2000-2002 Philip A. Craig
|
||||||
|
|
||||||
|
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
|
||||||
|
|
||||||
|
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
|
||||||
|
|
||||||
|
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment (see the following) in the product documentation is required.
|
||||||
|
|
||||||
|
Portions Copyright <20> 2002-2008 Charlie Poole or Copyright <20> 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov or Copyright <20> 2000-2002 Philip A. Craig
|
||||||
|
|
||||||
|
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
|
||||||
|
|
||||||
|
3. This notice may not be removed or altered from any source distribution.
|
BIN
lib/nunit/nunit-agent.exe
Normal file
BIN
lib/nunit/nunit-agent.exe
Normal file
Binary file not shown.
87
lib/nunit/nunit-agent.exe.config
Normal file
87
lib/nunit/nunit-agent.exe.config
Normal file
@@ -0,0 +1,87 @@
|
|||||||
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
|
<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 -->
|
||||||
|
<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>
|
BIN
lib/nunit/nunit-console-x86.exe
Normal file
BIN
lib/nunit/nunit-console-x86.exe
Normal file
Binary file not shown.
95
lib/nunit/nunit-console-x86.exe.config
Normal file
95
lib/nunit/nunit-console-x86.exe.config
Normal file
@@ -0,0 +1,95 @@
|
|||||||
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
|
<configuration>
|
||||||
|
<!-- Needed for .NET 4.0 support and SQLite
|
||||||
|
see http://www.meadow.se/wordpress/?p=393 -->
|
||||||
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||||
|
<supportedRuntime version="v4.0"/>
|
||||||
|
<requiredRuntime version="v4.0.30319" />
|
||||||
|
</startup>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
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>
|
||||||
|
<loadFromRemoteSources enabled="true" />
|
||||||
|
<!-- 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>
|
BIN
lib/nunit/nunit-console.exe
Normal file
BIN
lib/nunit/nunit-console.exe
Normal file
Binary file not shown.
95
lib/nunit/nunit-console.exe.config
Normal file
95
lib/nunit/nunit-console.exe.config
Normal file
@@ -0,0 +1,95 @@
|
|||||||
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
|
<configuration>
|
||||||
|
<!-- Needed for .NET 4.0 support and SQLite
|
||||||
|
see http://www.meadow.se/wordpress/?p=393 -->
|
||||||
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||||
|
<supportedRuntime version="v4.0"/>
|
||||||
|
<requiredRuntime version="v4.0.30319" />
|
||||||
|
</startup>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
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>
|
||||||
|
<loadFromRemoteSources enabled="true" />
|
||||||
|
<!-- We need this so test exceptions don't crash NUnit -->
|
||||||
|
<legacyUnhandledExceptionPolicy enabled="0" />
|
||||||
|
|
||||||
|
<!-- 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>
|
BIN
lib/nunit/nunit-x86.exe
Normal file
BIN
lib/nunit/nunit-x86.exe
Normal file
Binary file not shown.
103
lib/nunit/nunit-x86.exe.config
Normal file
103
lib/nunit/nunit-x86.exe.config
Normal file
@@ -0,0 +1,103 @@
|
|||||||
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
|
<configuration>
|
||||||
|
<!-- Needed for .NET 4.0 support and SQLite
|
||||||
|
see http://www.meadow.se/wordpress/?p=393 -->
|
||||||
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||||
|
<supportedRuntime version="v4.0"/>
|
||||||
|
<requiredRuntime version="v4.0.30319" />
|
||||||
|
</startup>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
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>
|
||||||
|
|
||||||
|
<!-- 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>
|
||||||
|
<loadFromRemoteSources enabled="true" />
|
||||||
|
<!-- 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>
|
BIN
lib/nunit/nunit.exe
Normal file
BIN
lib/nunit/nunit.exe
Normal file
Binary file not shown.
103
lib/nunit/nunit.exe.config
Normal file
103
lib/nunit/nunit.exe.config
Normal file
@@ -0,0 +1,103 @@
|
|||||||
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
|
<configuration>
|
||||||
|
<!-- Needed for .NET 4.0 support and SQLite
|
||||||
|
see http://www.meadow.se/wordpress/?p=393 -->
|
||||||
|
<startup useLegacyV2RuntimeActivationPolicy="true">
|
||||||
|
<supportedRuntime version="v4.0"/>
|
||||||
|
<requiredRuntime version="v4.0.30319" />
|
||||||
|
</startup>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
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>
|
||||||
|
|
||||||
|
<!-- 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>
|
||||||
|
<loadFromRemoteSources enabled="true" />
|
||||||
|
<!-- 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>
|
BIN
lib/nunit/nunit.framework.dll
Normal file
BIN
lib/nunit/nunit.framework.dll
Normal file
Binary file not shown.
BIN
lib/nunit/pnunit-agent.exe
Normal file
BIN
lib/nunit/pnunit-agent.exe
Normal file
Binary file not shown.
87
lib/nunit/pnunit-agent.exe.config
Normal file
87
lib/nunit/pnunit-agent.exe.config
Normal file
@@ -0,0 +1,87 @@
|
|||||||
|
<?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 -->
|
||||||
|
<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" />
|
||||||
|
|
||||||
|
<!-- Look for addins in the addins directory for now -->
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<probing privatePath="framework;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>
|
BIN
lib/nunit/pnunit-launcher.exe
Normal file
BIN
lib/nunit/pnunit-launcher.exe
Normal file
Binary file not shown.
87
lib/nunit/pnunit-launcher.exe.config
Normal file
87
lib/nunit/pnunit-launcher.exe.config
Normal file
@@ -0,0 +1,87 @@
|
|||||||
|
<?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 -->
|
||||||
|
<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" />
|
||||||
|
|
||||||
|
<!-- Look for addins in the addins directory for now -->
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<probing privatePath="framework;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>
|
BIN
lib/nunit/pnunit.framework.dll
Normal file
BIN
lib/nunit/pnunit.framework.dll
Normal file
Binary file not shown.
BIN
lib/nunit/pnunit.tests.dll
Normal file
BIN
lib/nunit/pnunit.tests.dll
Normal file
Binary file not shown.
BIN
lib/nunit/runFile.exe
Normal file
BIN
lib/nunit/runFile.exe
Normal file
Binary file not shown.
43
lib/nunit/runFile.exe.config
Normal file
43
lib/nunit/runFile.exe.config
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<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 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>
|
2
lib/nunit/runpnunit.bat
Normal file
2
lib/nunit/runpnunit.bat
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
start pnunit-agent agent.conf
|
||||||
|
pnunit-launcher test.conf
|
24
lib/nunit/test.conf
Normal file
24
lib/nunit/test.conf
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<TestGroup>
|
||||||
|
<ParallelTests>
|
||||||
|
|
||||||
|
<ParallelTest>
|
||||||
|
<Name>Testing</Name>
|
||||||
|
<Tests>
|
||||||
|
<TestConf>
|
||||||
|
<Name>Testing</Name>
|
||||||
|
<Assembly>pnunit.tests.dll</Assembly>
|
||||||
|
<TestToRun>TestLibraries.Testing.EqualTo19</TestToRun>
|
||||||
|
<Machine>localhost:8080</Machine>
|
||||||
|
<TestParams>
|
||||||
|
<string>..\server</string> <!-- server dir -->
|
||||||
|
<string></string> <!-- database server -->
|
||||||
|
<string></string><!-- conn string -->
|
||||||
|
</TestParams>
|
||||||
|
</TestConf>
|
||||||
|
|
||||||
|
</Tests>
|
||||||
|
</ParallelTest>
|
||||||
|
|
||||||
|
|
||||||
|
</ParallelTests>
|
||||||
|
</TestGroup>
|
Reference in New Issue
Block a user