Skip to content

Commit 2655146

Browse files
committed
Update NUnit to 2.6.1. Also, its binaries are the same for .Net 3.5 and 4.0, so no need to use a split directory structure. Teach our build script how to tell nunit what .Net framework to run the tests on.
1 parent e2afabf commit 2655146

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+18742
-11797
lines changed

Tools/nunit/NUnitTests.config

+2-41
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,16 @@
22
<configuration>
33
<!--
44
This is the configuration file for the NUnitTests.nunit test project. You may
5-
need to create a similar configuration file for your own test project.
5+
need to create a similar configuration file for your own test project if your
6+
application and tests require it.
67
-->
78

8-
<!--
9-
The <NUnit> section is only needed if you want to use a non-default value
10-
for any of the settings. It is commented out below. If you are going to use
11-
it, you must deifne the NUnit section group and the sections you need.
12-
13-
The syntax shown here works for most runtimes. If NUnit fails at startup, you
14-
can try specifying the name of the assembly containing the NameValueSectionHandler:
15-
16-
<section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler, System" />
17-
18-
If that fails, try the fully qualified name of the assembly:
19-
20-
<section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler, System,
21-
Version=2.0.50727.832, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
22-
23-
Unfortunately, this last approach makes your config file non-portable across runtimes.
24-
-->
25-
26-
<!--
27-
<configSections>
28-
<sectionGroup name="NUnit">
29-
<section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler"/>
30-
<section name="TestRunner" type="System.Configuration.NameValueSectionHandler"/>
31-
</sectionGroup>
32-
</configSections>
33-
-->
34-
359
<appSettings>
3610
<!-- User application and configured property settings go here.-->
3711
<!-- Example: <add key="settingName" value="settingValue"/> -->
3812
<add key="test.setting" value="54321" />
3913
</appSettings>
4014

41-
<!-- Sample NUnit section group showing all default values -->
42-
<!--
43-
<NUnit>
44-
<TestCaseBuilder>
45-
<add key="OldStyleTestCases" value="false" />
46-
</TestCaseBuilder>
47-
<TestRunner>
48-
<add key="ApartmentState" value="MTA" />
49-
<add key="ThreadPriority" value="Normal" />
50-
</TestRunner>
51-
</NUnit>
52-
-->
53-
5415
<!--
5516
The following <runtime> section allows running nunit tests under
5617
.NET 1.0 by redirecting assemblies. The appliesTo attribute

Tools/nunit/NUnitTests.nunit

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<NUnitProject>
22
<Settings appbase="."/>
3-
<Config name="Default" binpath="lib;tests;framework" runtimeFramework="v2.0">
3+
<Config name="Default" binpath="lib;tests;framework" runtimeFramework="v3.5">
44
<assembly path="tests/nunit.framework.tests.dll" />
55
<assembly path="tests/nunit.core.tests.dll" />
66
<assembly path="tests/nunit.util.tests.dll" />
@@ -9,6 +9,6 @@
99
<assembly path="tests/nunit.uiexception.tests.dll" />
1010
<assembly path="tests/nunit.uikit.tests.dll" />
1111
<assembly path="tests/nunit-gui.tests.dll" />
12-
<assembly path="tests/nunit.fixtures.tests.dll" />
12+
<assembly path="tests/nunit-editor.tests.dll" />
1313
</Config>
1414
</NUnitProject>

Tools/nunit/agent.log.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<!-- Set root logger level to DEBUG and its only appender to A1 -->
1313
<root>
14-
<level value="DEBUG" />
14+
<level value="Info" />
1515
<appender-ref ref="A1" />
1616
</root>
1717

16 KB
Binary file not shown.

Tools/nunit/framework/nunit.framework.xml

+6,408-5,629
Large diffs are not rendered by default.

Tools/nunit/framework/nunit.mocks.dll

-9 KB
Binary file not shown.
2.5 KB
Binary file not shown.

Tools/nunit/launcher.log.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<!-- Set root logger level to DEBUG and its only appender to A1 -->
1313
<root>
14-
<level value="DEBUG" />
14+
<level value="Info" />
1515
<appender-ref ref="A1" />
1616
</root>
1717

Tools/nunit/lib/Images/Ellipsis.gif

101 Bytes
Loading
761 Bytes
Loading
688 Bytes
Loading
Loading
689 Bytes
Loading
731 Bytes
Loading
808 Bytes
Loading
789 Bytes
Loading
Loading
689 Bytes
Loading
768 Bytes
Loading
1.41 KB
Loading
592 Bytes
Loading
Loading
1.37 KB
Loading
1.41 KB
Loading
Loading
Loading
Loading
Loading
Loading
Loading

Tools/nunit/lib/Images/pinned.gif

885 Bytes
Loading

Tools/nunit/lib/Images/unpinned.gif

881 Bytes
Loading

Tools/nunit/lib/NSubstitute.dll

993 KB
Binary file not shown.

Tools/nunit/lib/NSubstitute.xml

+259
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tools/nunit/lib/Rhino.Mocks.dll

309 KB
Binary file not shown.

0 commit comments

Comments
 (0)