Merge lp:~simone.busoli/nunitv2/async-support-void-and-task-return-types into lp:nunitv2

Proposed by Simone Busoli
Status: Merged
Approved by: Charlie Poole
Approved revision: 3431
Merged at revision: 3424
Proposed branch: lp:~simone.busoli/nunitv2/async-support-void-and-task-return-types
Merge into: lp:nunitv2
Diff against target: 4772 lines (+2739/-1381)
54 files modified
NUnitTests.v3.nunit (+15/-0)
build.bat (+124/-122)
nunit.sln (+280/-266)
scripts/nunit.build.targets (+5/-1)
scripts/nunit.common.targets (+11/-1)
scripts/nunit.package.targets (+2/-0)
src/ClientUtilities/util/ProcessRunner.cs (+2/-2)
src/ClientUtilities/util/RuntimeFrameworkSelector.cs (+4/-3)
src/ClientUtilities/util/Services/TestAgency.cs (+4/-4)
src/ConsoleRunner/nunit-console/ConsoleUi.cs (+6/-4)
src/GuiException/tests/Controls/TestCodeBox.cs (+1/-1)
src/GuiException/tests/Controls/TestErrorBrowser.cs (+1/-1)
src/GuiException/tests/Controls/TestErrorList.cs (+1/-1)
src/GuiException/tests/Controls/TestErrorToolbar.cs (+1/-1)
src/GuiException/tests/Controls/TestSourceCodeDisplay.cs (+1/-1)
src/NUnitCore/core/AsyncSynchronizationContext.cs (+45/-0)
src/NUnitCore/core/Builders/NUnitTestCaseBuilder.cs (+432/-421)
src/NUnitCore/core/NUnitAsyncTestMethod.cs (+79/-0)
src/NUnitCore/core/NUnitTestMethod.cs (+5/-5)
src/NUnitCore/core/Reflect.cs (+10/-1)
src/NUnitCore/core/TestMethod.cs (+33/-30)
src/NUnitCore/core/TestSuite.cs (+1/-2)
src/NUnitCore/core/nunit.core.build (+2/-0)
src/NUnitCore/core/nunit.core.dll.csproj (+227/-225)
src/NUnitCore/interfaces/RuntimeFramework.cs (+2/-0)
src/NUnitCore/tests-net45/NUnitAsyncTestMethodTests.cs (+109/-0)
src/NUnitCore/tests-net45/NUnitTestCaseBuilderTests.cs (+108/-0)
src/NUnitCore/tests-net45/nunit.core.tests.net45.build (+48/-0)
src/NUnitCore/tests-net45/nunit.core.tests.net45.csproj (+84/-0)
src/NUnitCore/tests/CoreExtensionsTests.cs (+2/-2)
src/NUnitCore/tests/DatapointTests.cs (+1/-1)
src/NUnitCore/tests/PlatformDetectionTests.cs (+14/-5)
src/NUnitCore/tests/RuntimeFrameworkTests.cs (+4/-3)
src/NUnitCore/tests/TestRunnerThreadTests.cs (+1/-1)
src/NUnitCore/tests/nunit.core.tests.csproj (+255/-253)
src/NUnitFramework/tests/CollectionAssertTest.cs (+1/-1)
src/NUnitFramework/tests/Constraints/CollectionConstraintTests.cs (+3/-3)
src/NUnitFramework/tests/Constraints/ComparisonConstraintTests.cs (+2/-2)
src/NUnitFramework/tests/Constraints/EqualConstraintTests.cs (+2/-2)
src/NUnitFramework/tests/Syntax/ArbitraryConstraintMatching.cs (+1/-1)
src/NUnitFramework/tests/Syntax/ThrowsTests.cs (+1/-1)
src/ProjectEditor/tests/Presenters/AddConfigurationPresenterTests.cs (+1/-1)
src/ProjectEditor/tests/Presenters/ConfigurationEditorTests.cs (+1/-1)
src/ProjectEditor/tests/Presenters/MainPresenterTests.cs (+1/-1)
src/ProjectEditor/tests/Presenters/PropertyPresenterTests.cs (+1/-1)
src/ProjectEditor/tests/Presenters/RenameConfigurationPresenterTests.cs (+1/-1)
src/ProjectEditor/tests/Presenters/SelectionStub.cs (+1/-1)
src/ProjectEditor/tests/Presenters/XmlPresenterTests.cs (+1/-1)
src/tests/test-assembly-net45/AsyncDummyFixture.cs (+56/-0)
src/tests/test-assembly-net45/AsyncRealFixture.cs (+289/-0)
src/tests/test-assembly-net45/test-assembly-net45.build (+42/-0)
src/tests/test-assembly-net45/test-assembly-net45.csproj (+72/-0)
src/tests/test-assembly/DatapointFixture.cs (+1/-1)
tools/nant/bin/NAnt.exe.config (+342/-6)
To merge this branch: bzr merge lp:~simone.busoli/nunitv2/async-support-void-and-task-return-types
Reviewer Review Type Date Requested Status
Charlie Poole Approve
Review via email: mp+127183@code.launchpad.net

Description of the change

Introduced support for async test methods returning void, Task, and Task<T>.

The first is treated independently of the other two as it is not possible to await on void, therefore it requires relying on a custom SynchronizationContext.

In the other cases instead it is sufficient to just wait on the task returned by the test method and handle the eventual return value/exception accordingly.

Test methods returning Task<T> can be used in conjunction with [TestCase(Result = ...)]. For instance:

[TestCase(Result = 1)]
public async Task<int> MyTest()
{
    return await Task.FromResult(1);
}

Exceptions are handled in a uniform way for both void and Task-returning methods. That is, AggregateException are unwrapped and their first inner exception is returned rethrown. I'm not sure this is the most intuitive way to handle it but at least it makes it consistent between void and non-void. Outside of NUnit normally if you Wait on a task you get back an AggregateException.

To post a comment you must log in.
3427. By Simone Busoli <simone.busoli@vienna>

Explicit type of excpected exception

3428. By Simone Busoli <simone.busoli@vienna>

Replaced usages of Task.FromResult with Task.Run as the former create tasks which are already completed and may mistify the tests outcome

3429. By Simone Busoli <simone.busoli@vienna>

Improved handling of tests which are not supposed to be run

3430. By Simone Busoli <simone.busoli@vienna>

Fixed typo in error message.
Started adding additional tests for parameterized testcases.

3431. By Simone Busoli <simone.busoli@vienna>

Support for building for .NET 4.5 and running async tests even when not targeting .NET 4.5 but as long as 4.5 is installed.

Revision history for this message
Charlie Poole (charlie.poole) wrote :

This looks very good and I have started the merge...

review: Approve
Revision history for this message
Charlie Poole (charlie.poole) wrote :

Changes made in merging this:

1. Added nunit2012.sln alongside nunit.sln. nunit.sln doesn't have the .NET 4.5 projects.
2. Changes to the build script and conditional code to allow building the .NET 1.1 version of the code.
3. Fixed conditional compilation symbols for the two .NET 4.5 assemblies.

Still need (as separate fixes / bugs)

1. Fix RuntimeFramework class to distinguish .NET 4.5 from 4.0 as we do, for example, with 3.5 versus 2.0.
2. Add .NET 4.5 to platform attribute and mark .NET 4.5 tests to only run on that platform
3. Resolve issue with packaging: i.e. the .net 4.5 test should be included in the release package but it should not be automatically run as part of NUnitTests.nunit, since .NET 4.5 may not be installed. The uesr could install it at a later time, however.

Revision history for this message
Simone Busoli (simone.busoli) wrote :

Hi Charlie, thanks.

WRT fix 1), I added a piece of code here: http://bazaar.launchpad.net/~simone.busoli/nunitv2/async-support-void-and-task-return-types/revision/3431#src/ClientUtilities/util/RuntimeFrameworkSelector.cs, and a corresponding test here: http://bazaar.launchpad.net/~simone.busoli/nunitv2/async-support-void-and-task-return-types/revision/3431#src/NUnitCore/tests/PlatformDetectionTests.cs.

I must say that I didn't spend much time on the platform/runtime selection/detection thing. I realized it's quite tricky though.

WRT to changes made in merging:

2) I don't have .NET 1.1 so I couldn't test it unfortunately, sorry for that. I would also like to mention that I noticed a problem in the build script when building for all the frameworks (I know it is not something you would do often though). You know that we have now 3 project files for unit tests, v1, v2 and the new v3. The vX is copied during the build to a file with another name, but I noticed that this is done one off when running the build, instead it should be done every time you invoke the test target, otherwise when running multiple frameworks builds you won't get the behavior you expect.

Revision history for this message
Charlie Poole (charlie.poole) wrote :

Hi Simone,

You're up late!

I'll look at that, but in fact I'm seeing .NET 4.0 displayed in some
places when I know I'm running under 4.5.

There are a few problems with the build that I want to look at but the
particular issue of copying should not apply, since each build uses a
different target directory. Most likely the V3 file will need to go,
since it only works for test builds and not when the distribution
package is created. I filed a bug on the issue and also on the
platform stuff.

Charlie

On Thu, Oct 4, 2012 at 5:21 PM, Simone Busoli <email address hidden> wrote:
> Hi Charlie, thanks.
>
> WRT fix 1), I added a piece of code here: http://bazaar.launchpad.net/~simone.busoli/nunitv2/async-support-void-and-task-return-types/revision/3431#src/ClientUtilities/util/RuntimeFrameworkSelector.cs, and a corresponding test here: http://bazaar.launchpad.net/~simone.busoli/nunitv2/async-support-void-and-task-return-types/revision/3431#src/NUnitCore/tests/PlatformDetectionTests.cs.
>
> I must say that I didn't spend much time on the platform/runtime selection/detection thing. I realized it's quite tricky though.
>
> WRT to changes made in merging:
>
> 2) I don't have .NET 1.1 so I couldn't test it unfortunately, sorry for that. I would also like to mention that I noticed a problem in the build script when building for all the frameworks (I know it is not something you would do often though). You know that we have now 3 project files for unit tests, v1, v2 and the new v3. The vX is copied during the build to a file with another name, but I noticed that this is done one off when running the build, instead it should be done every time you invoke the test target, otherwise when running multiple frameworks builds you won't get the behavior you expect.
>
> --
> https://code.launchpad.net/~simone.busoli/nunitv2/async-support-void-and-task-return-types/+merge/127183
> You are reviewing the proposed merge of lp:~simone.busoli/nunitv2/async-support-void-and-task-return-types into lp:nunitv2.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'NUnitTests.v3.nunit'
--- NUnitTests.v3.nunit 1970-01-01 00:00:00 +0000
+++ NUnitTests.v3.nunit 2012-10-03 23:32:21 +0000
@@ -0,0 +1,15 @@
1<NUnitProject>
2 <Settings appbase="."/>
3 <Config name="Default" binpath="lib;tests;framework">
4 <assembly path="tests/nunit.framework.tests.dll" />
5 <assembly path="tests/nunit.core.tests.dll" />
6 <assembly path="tests/nunit.core.tests.net45.dll" />
7 <assembly path="tests/nunit.util.tests.dll" />
8 <assembly path="tests/nunit.mocks.tests.dll" />
9 <assembly path="tests/nunit-console.tests.dll" />
10 <assembly path="tests/nunit.uiexception.tests.dll" />
11 <assembly path="tests/nunit.uikit.tests.dll" />
12 <assembly path="tests/nunit-gui.tests.dll" />
13 <assembly path="tests/nunit-editor.tests.dll" />
14 </Config>
15</NUnitProject>
016
=== modified file 'build.bat'
--- build.bat 2012-09-25 20:55:15 +0000
+++ build.bat 2012-10-03 23:32:21 +0000
@@ -1,122 +1,124 @@
1@echo off1@echo off
22
3rem BUILD - Builds and tests NUnit3rem BUILD - Builds and tests NUnit
44
5setlocal5setlocal
66
7set NANT=tools\nant\bin\nant.exe7set NANT=tools\nant\bin\nant.exe
8set OPTIONS=-f:scripts\nunit.build.targets8set OPTIONS=-f:scripts\nunit.build.targets
9set CONFIG=9set CONFIG=
10set RUNTIME=10set RUNTIME=
11set CLEAN=11set CLEAN=
12set COMMANDS=12set COMMANDS=
13set PASSTHRU=13set PASSTHRU=
14goto start14goto start
1515
16:shift16:shift
17shift /117shift /1
1818
19:start19:start
2020
21IF "%1" EQU "" goto execute21IF "%1" EQU "" goto execute
2222
23IF "%PASSTHRU%" EQU "TRUE" set COMMANDS=%COMMANDS% %1&goto shift23IF "%PASSTHRU%" EQU "TRUE" set COMMANDS=%COMMANDS% %1&goto shift
2424
25IF /I "%1" EQU "?" goto usage25IF /I "%1" EQU "?" goto usage
26IF /I "%1" EQU "/h" goto usage26IF /I "%1" EQU "/h" goto usage
27IF /I "%1" EQU "/help" goto usage27IF /I "%1" EQU "/help" goto usage
2828
29IF /I "%1" EQU "debug" set CONFIG=debug&goto shift29IF /I "%1" EQU "debug" set CONFIG=debug&goto shift
30IF /I "%1" EQU "release" set CONFIG=release&goto shift30IF /I "%1" EQU "release" set CONFIG=release&goto shift
3131
32IF /I "%1" EQU "net" set RUNTIME=net&goto shift32IF /I "%1" EQU "net" set RUNTIME=net&goto shift
33IF /I "%1" EQU "net-1.0" set RUNTIME=net-1.0&goto shift33IF /I "%1" EQU "net-1.0" set RUNTIME=net-1.0&goto shift
34IF /I "%1" EQU "net-1.1" set RUNTIME=net-1.1&goto shift34IF /I "%1" EQU "net-1.1" set RUNTIME=net-1.1&goto shift
35IF /I "%1" EQU "net-2.0" set RUNTIME=net-2.0&goto shift35IF /I "%1" EQU "net-2.0" set RUNTIME=net-2.0&goto shift
36IF /I "%1" EQU "net-3.0" set RUNTIME=net-3.0&goto shift36IF /I "%1" EQU "net-3.0" set RUNTIME=net-3.0&goto shift
37IF /I "%1" EQU "net-3.5" set RUNTIME=net-3.5&goto shift37IF /I "%1" EQU "net-3.5" set RUNTIME=net-3.5&goto shift
38IF /I "%1" EQU "net-4.0" set RUNTIME=net-4.0&goto shift38IF /I "%1" EQU "net-4.0" set RUNTIME=net-4.0&goto shift
3939IF /I "%1" EQU "net-4.5" set RUNTIME=net-4.5&goto shift
40IF /I "%1" EQU "mono" set RUNTIME=mono&goto shift40
41IF /I "%1" EQU "mono-1.0" set RUNTIME=mono-1.0&goto shift41IF /I "%1" EQU "mono" set RUNTIME=mono&goto shift
42IF /I "%1" EQU "mono-2.0" set RUNTIME=mono-2.0&goto shift42IF /I "%1" EQU "mono-1.0" set RUNTIME=mono-1.0&goto shift
43IF /I "%1" EQU "mono-3.5" set RUNTIME=mono-3.5&goto shift43IF /I "%1" EQU "mono-2.0" set RUNTIME=mono-2.0&goto shift
44IF /I "%1" EQU "mono-4.0" set RUNTIME=mono-4.0&goto shift44IF /I "%1" EQU "mono-3.5" set RUNTIME=mono-3.5&goto shift
4545IF /I "%1" EQU "mono-4.0" set RUNTIME=mono-4.0&goto shift
46if /I "%1" EQU "clean" set CLEAN=clean&goto shift46
47if /I "%1" EQU "clean-all" set CLEAN=clean-all&goto shift47if /I "%1" EQU "clean" set CLEAN=clean&goto shift
48IF /I "%1" EQU "samples" set COMMANDS=%COMMANDS% build-samples&goto shift48if /I "%1" EQU "clean-all" set CLEAN=clean-all&goto shift
49IF /I "%1" EQU "tools" set COMMANDS=%COMMANDS% build-tools&goto shift49IF /I "%1" EQU "samples" set COMMANDS=%COMMANDS% build-samples&goto shift
50IF /I "%1" EQU "test" set COMMANDS=%COMMANDS% test&goto shift50IF /I "%1" EQU "tools" set COMMANDS=%COMMANDS% build-tools&goto shift
51IF /I "%1" EQU "gui-test" set COMMANDS=%COMMANDS% gui-test&goto shift51IF /I "%1" EQU "test" set COMMANDS=%COMMANDS% test&goto shift
52IF /I "%1" EQU "gen-syntax" set COMMANDS=%COMMANDS% gen-syntax&goto shift52IF /I "%1" EQU "gui-test" set COMMANDS=%COMMANDS% gui-test&goto shift
5353IF /I "%1" EQU "gen-syntax" set COMMANDS=%COMMANDS% gen-syntax&goto shift
54IF "%1" EQU "--" set PASSTHRU=TRUE&goto shift54
5555IF "%1" EQU "--" set PASSTHRU=TRUE&goto shift
56echo Invalid option: %156
57echo.57echo Invalid option: %1
58echo Use BUILD /help for more information.58echo.
59echo.59echo Use BUILD /help for more information.
6060echo.
61goto done61
6262goto done
63:execute63
6464: execute
65if "%CONFIG%" NEQ "" set OPTIONS=%OPTIONS% -D:build.config=%CONFIG%65
66if "%RUNTIME%" NEQ "" set OPTIONS=%OPTIONS% -D:runtime.config=%RUNTIME%66if "%CONFIG%" NEQ "" set OPTIONS=%OPTIONS% -D:build.config=%CONFIG%
6767if "%RUNTIME%" NEQ "" set OPTIONS=%OPTIONS% -D:runtime.config=%RUNTIME%
68if "%COMMANDS%" EQU "" set COMMANDS=build68
6969if "%COMMANDS%" EQU "" set COMMANDS=build
70%NANT% %OPTIONS% %CLEAN% %COMMANDS%70
7171%NANT% %OPTIONS% %CLEAN% %COMMANDS%
72goto done72
7373goto done
74: usage74
7575: usage
76echo Builds and tests NUnit for various targets76
77echo.77echo Builds and tests NUnit for various targets
78echo usage: BUILD [option [...] ] [ -- nantoptions ]78echo.
79echo.79echo usage: BUILD [option [...] ] [ -- nantoptions ]
80echo Options may be any of the following, in any order...80echo.
81echo.81echo Options may be any of the following, in any order...
82echo debug Builds debug configuration (default)82echo.
83echo release Builds release configuration83echo debug Builds debug configuration (default)
84echo.84echo release Builds release configuration
85echo net-4.0 Builds using .NET 4.0 framework (future)85echo.
86echo net-3.5 Builds using .NET 3.5 framework (default)86echo net-4.5 Builds using .NET 4.5 framework (future)
87echo net-2.0 Builds using .NET 2.0 framework87echo net-4.0 Builds using .NET 4.0 framework (future)
88echo net-1.1 Builds using .NET 1.1 framework88echo net-3.5 Builds using .NET 3.5 framework (default)
89echo net-1.0 Builds using .NET 1.0 framework89echo net-2.0 Builds using .NET 2.0 framework
90echo mono-4.0 Builds using Mono 4.0 profile (future)90echo net-1.1 Builds using .NET 1.1 framework
91echo mono-3.5 Builds using Mono 3.5 profile (default)91echo net-1.0 Builds using .NET 1.0 framework
92echo mono-2.0 Builds using Mono 2.0 profile92echo mono-4.0 Builds using Mono 4.0 profile (future)
93echo mono-1.0 Builds using Mono 1.0 profile93echo mono-3.5 Builds using Mono 3.5 profile (default)
94echo.94echo mono-2.0 Builds using Mono 2.0 profile
95echo net Builds using default .NET version95echo mono-1.0 Builds using Mono 1.0 profile
96echo mono Builds using default Mono profile96echo.
97echo.97echo net Builds using default .NET version
98echo clean Cleans the output directory before building98echo mono Builds using default Mono profile
99echo clean-all Removes output directories for all runtimes99echo.
100echo.100echo clean Cleans the output directory before building
101echo samples Builds the NUnit samples101echo clean-all Removes output directories for all runtimes
102echo tools Builds the NUnit tools102echo.
103echo.103echo samples Builds the NUnit samples
104echo test Runs tests for a build using the console runner104echo tools Builds the NUnit tools
105echo gui-test Runs tests for a build using the NUnit gui105echo.
106echo.106echo test Runs tests for a build using the console runner
107echo ?, /h, /help Displays this help message107echo gui-test Runs tests for a build using the NUnit gui
108echo.108echo.
109echo Notes:109echo ?, /h, /help Displays this help message
110echo.110echo.
111echo 1. The default .NET or Mono version to be used is selected111echo Notes:
112echo automatically by the NAnt script from those installed.112echo.
113echo.113echo 1. The default .NET or Mono version to be used is selected
114echo 2. When building under a framework version of 3.5 or higher,114echo automatically by the NAnt script from those installed.
115echo the 2.0 framework is targeted for NUnit itself. Tests use115echo.
116echo the specified higher level framework.116echo 2. When building under a framework version of 3.5 or higher,
117echo.117echo the 2.0 framework is targeted for NUnit itself. Tests use
118echo 3. Any arguments following '--' on the command line are passed118echo the specified higher level framework.
119echo directly to the NAnt script.119echo.
120echo.120echo 3. Any arguments following '--' on the command line are passed
121121echo directly to the NAnt script.
122: done122echo.
123
124: done
123125
=== modified file 'nunit.sln'
--- nunit.sln 2012-08-08 03:34:12 +0000
+++ nunit.sln 2012-10-03 23:32:21 +0000
@@ -1,266 +1,280 @@
11
2Microsoft Visual Studio Solution File, Format Version 11.002Microsoft Visual Studio Solution File, Format Version 12.00
3# Visual Studio 20103# Visual Studio 2012
4Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A65042E1-D8BC-48DD-8DE1-F0991F07EA77}"4Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A65042E1-D8BC-48DD-8DE1-F0991F07EA77}"
5 ProjectSection(SolutionItems) = preProject5 ProjectSection(SolutionItems) = preProject
6 src\nunit.snk = src\nunit.snk6 src\nunit.snk = src\nunit.snk
7 EndProjectSection7 EndProjectSection
8EndProject8EndProject
9Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{A785FC02-6044-4864-BE24-4593CAD23A97}"9Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{A785FC02-6044-4864-BE24-4593CAD23A97}"
10 ProjectSection(SolutionItems) = preProject10 ProjectSection(SolutionItems) = preProject
11 scripts\nunit.build.targets = scripts\nunit.build.targets11 scripts\nunit.build.targets = scripts\nunit.build.targets
12 scripts\nunit.common.targets = scripts\nunit.common.targets12 scripts\nunit.common.targets = scripts\nunit.common.targets
13 scripts\nunit.package.targets = scripts\nunit.package.targets13 scripts\nunit.package.targets = scripts\nunit.package.targets
14 EndProjectSection14 EndProjectSection
15EndProject15EndProject
16Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NUnitFramework", "NUnitFramework", "{A2FF9F1B-1854-479A-859C-6ECEBF045E4C}"16Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NUnitFramework", "NUnitFramework", "{A2FF9F1B-1854-479A-859C-6ECEBF045E4C}"
17EndProject17EndProject
18Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ClientUtilities", "ClientUtilities", "{D448BA20-BA70-4F70-AF53-4C0E6C1E97E7}"18Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ClientUtilities", "ClientUtilities", "{D448BA20-BA70-4F70-AF53-4C0E6C1E97E7}"
19EndProject19EndProject
20Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ConsoleRunner", "ConsoleRunner", "{1DBAF726-8009-41CC-B82A-4EFE94CBEEFC}"20Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ConsoleRunner", "ConsoleRunner", "{1DBAF726-8009-41CC-B82A-4EFE94CBEEFC}"
21EndProject21EndProject
22Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GuiRunner", "GuiRunner", "{77D10207-CB02-4C3A-8734-5A5173E3C506}"22Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GuiRunner", "GuiRunner", "{77D10207-CB02-4C3A-8734-5A5173E3C506}"
23EndProject23EndProject
24Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NUnitCore", "NUnitCore", "{AEAED2BD-F22D-42C8-9047-F293BEF70EAB}"24Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NUnitCore", "NUnitCore", "{AEAED2BD-F22D-42C8-9047-F293BEF70EAB}"
25EndProject25EndProject
26Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GuiComponents", "GuiComponents", "{168F8C38-129C-454A-B112-F456BC7F4FE4}"26Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GuiComponents", "GuiComponents", "{168F8C38-129C-454A-B112-F456BC7F4FE4}"
27EndProject27EndProject
28Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GuiException", "GuiException", "{35A92AA3-A1E6-426E-8D96-322F3EBF1C8D}"28Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GuiException", "GuiException", "{35A92AA3-A1E6-426E-8D96-322F3EBF1C8D}"
29EndProject29EndProject
30Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{6142B985-EA14-4DE0-884F-E62D89949E1D}"30Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{6142B985-EA14-4DE0-884F-E62D89949E1D}"
31EndProject31EndProject
32Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NUnitMocks", "NUnitMocks", "{7740410A-54B5-4334-8DE3-6D6F616BD6A5}"32Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NUnitMocks", "NUnitMocks", "{7740410A-54B5-4334-8DE3-6D6F616BD6A5}"
33EndProject33EndProject
34Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PNUnit", "PNUnit", "{979724B8-6FAA-400F-B40D-EB653A815C87}"34Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PNUnit", "PNUnit", "{979724B8-6FAA-400F-B40D-EB653A815C87}"
35EndProject35EndProject
36Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NUnitTestServer", "NUnitTestServer", "{D029F8FD-84E3-4AD3-8F1B-CCA0C856E659}"36Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NUnitTestServer", "NUnitTestServer", "{D029F8FD-84E3-4AD3-8F1B-CCA0C856E659}"
37EndProject37EndProject
38Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ProjectEditor", "ProjectEditor", "{992367F7-9154-4424-B55E-3EF8673A2A36}"38Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ProjectEditor", "ProjectEditor", "{992367F7-9154-4424-B55E-3EF8673A2A36}"
39EndProject39EndProject
40Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.framework.tests", "src\NUnitFramework\tests\nunit.framework.tests.csproj", "{8C326431-AE57-4645-ACC1-A90A0B425129}"40Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.framework.tests", "src\NUnitFramework\tests\nunit.framework.tests.csproj", "{8C326431-AE57-4645-ACC1-A90A0B425129}"
41EndProject41EndProject
42Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.framework.dll", "src\NUnitFramework\framework\nunit.framework.dll.csproj", "{83DD7E12-A705-4DBA-9D71-09C8973D9382}"42Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.framework.dll", "src\NUnitFramework\framework\nunit.framework.dll.csproj", "{83DD7E12-A705-4DBA-9D71-09C8973D9382}"
43EndProject43EndProject
44Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.util.tests", "src\ClientUtilities\tests\nunit.util.tests.csproj", "{74EF7165-117E-48ED-98EA-068EAE438E53}"44Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.util.tests", "src\ClientUtilities\tests\nunit.util.tests.csproj", "{74EF7165-117E-48ED-98EA-068EAE438E53}"
45EndProject45EndProject
46Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.util.dll", "src\ClientUtilities\util\nunit.util.dll.csproj", "{61CE9CE5-943E-44D4-A381-814DC1406767}"46Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.util.dll", "src\ClientUtilities\util\nunit.util.dll.csproj", "{61CE9CE5-943E-44D4-A381-814DC1406767}"
47EndProject47EndProject
48Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-console.tests", "src\ConsoleRunner\tests\nunit-console.tests.csproj", "{8597D2C6-804D-48CB-BFC7-ED2404D389B0}"48Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-console.tests", "src\ConsoleRunner\tests\nunit-console.tests.csproj", "{8597D2C6-804D-48CB-BFC7-ED2404D389B0}"
49EndProject49EndProject
50Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-console", "src\ConsoleRunner\nunit-console\nunit-console.csproj", "{9367EC89-6A38-42BA-9607-0DC288E4BC3A}"50Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-console", "src\ConsoleRunner\nunit-console\nunit-console.csproj", "{9367EC89-6A38-42BA-9607-0DC288E4BC3A}"
51EndProject51EndProject
52Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-console.exe", "src\ConsoleRunner\nunit-console-exe\nunit-console.exe.csproj", "{53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}"52Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-console.exe", "src\ConsoleRunner\nunit-console-exe\nunit-console.exe.csproj", "{53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}"
53EndProject53EndProject
54Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-gui", "src\GuiRunner\nunit-gui\nunit-gui.csproj", "{3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}"54Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-gui", "src\GuiRunner\nunit-gui\nunit-gui.csproj", "{3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}"
55EndProject55EndProject
56Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-gui.tests", "src\GuiRunner\tests\nunit-gui.tests.csproj", "{AAD27267-DE1F-4F61-A1FB-D1680A5B8001}"56Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-gui.tests", "src\GuiRunner\tests\nunit-gui.tests.csproj", "{AAD27267-DE1F-4F61-A1FB-D1680A5B8001}"
57EndProject57EndProject
58Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-gui.exe", "src\GuiRunner\nunit-gui-exe\nunit-gui.exe.csproj", "{AAB186A4-FA3D-404D-AD78-7EB5BB861655}"58Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-gui.exe", "src\GuiRunner\nunit-gui-exe\nunit-gui.exe.csproj", "{AAB186A4-FA3D-404D-AD78-7EB5BB861655}"
59EndProject59EndProject
60Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.core.tests", "src\NUnitCore\tests\nunit.core.tests.csproj", "{DD758D21-E5D5-4D40-9450-5F65A32F359C}"60Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.core.tests", "src\NUnitCore\tests\nunit.core.tests.csproj", "{DD758D21-E5D5-4D40-9450-5F65A32F359C}"
61EndProject61EndProject
62Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.core.interfaces.dll", "src\NUnitCore\interfaces\nunit.core.interfaces.dll.csproj", "{435428F8-5995-4CE4-8022-93D595A8CC0F}"62Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.core.interfaces.dll", "src\NUnitCore\interfaces\nunit.core.interfaces.dll.csproj", "{435428F8-5995-4CE4-8022-93D595A8CC0F}"
63EndProject63EndProject
64Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.core.dll", "src\NUnitCore\core\nunit.core.dll.csproj", "{EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}"64Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.core.dll", "src\NUnitCore\core\nunit.core.dll.csproj", "{EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}"
65EndProject65EndProject
66Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.uikit.tests", "src\GuiComponents\tests\nunit.uikit.tests.csproj", "{63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}"66Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.uikit.tests", "src\GuiComponents\tests\nunit.uikit.tests.csproj", "{63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}"
67EndProject67EndProject
68Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.uikit.dll", "src\GuiComponents\UiKit\nunit.uikit.dll.csproj", "{27531BBF-183D-4C3A-935B-D840B9F1A3A4}"68Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.uikit.dll", "src\GuiComponents\UiKit\nunit.uikit.dll.csproj", "{27531BBF-183D-4C3A-935B-D840B9F1A3A4}"
69EndProject69EndProject
70Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.uiexception.tests", "src\GuiException\tests\nunit.uiexception.tests.csproj", "{092486D0-6AB9-4134-932F-0FDA10704455}"70Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.uiexception.tests", "src\GuiException\tests\nunit.uiexception.tests.csproj", "{092486D0-6AB9-4134-932F-0FDA10704455}"
71EndProject71EndProject
72Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.uiexception.dll", "src\GuiException\UiException\nunit.uiexception.dll.csproj", "{3E87A106-EB20-4147-84C8-95B0BB43A1D4}"72Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.uiexception.dll", "src\GuiException\UiException\nunit.uiexception.dll.csproj", "{3E87A106-EB20-4147-84C8-95B0BB43A1D4}"
73EndProject73EndProject
74Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mock-assembly", "src\tests\mock-assembly\mock-assembly.csproj", "{2E368281-3BA8-4050-B05E-0E0E43F8F446}"74Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mock-assembly", "src\tests\mock-assembly\mock-assembly.csproj", "{2E368281-3BA8-4050-B05E-0E0E43F8F446}"
75EndProject75EndProject
76Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nonamespace-assembly", "src\tests\nonamespace-assembly\nonamespace-assembly.csproj", "{5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}"76Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nonamespace-assembly", "src\tests\nonamespace-assembly\nonamespace-assembly.csproj", "{5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}"
77EndProject77EndProject
78Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test-utilities", "src\tests\test-utilities\test-utilities.csproj", "{3E63AD0F-24D4-46BE-BEE4-5A3299847D86}"78Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test-utilities", "src\tests\test-utilities\test-utilities.csproj", "{3E63AD0F-24D4-46BE-BEE4-5A3299847D86}"
79EndProject79EndProject
80Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test-assembly", "src\tests\test-assembly\test-assembly.csproj", "{1960CAC4-9A82-47C5-A9B3-55BC37572C3C}"80Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test-assembly", "src\tests\test-assembly\test-assembly.csproj", "{1960CAC4-9A82-47C5-A9B3-55BC37572C3C}"
81EndProject81EndProject
82Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.mocks.tests", "src\NUnitMocks\tests\nunit.mocks.tests.csproj", "{8667C588-1A05-4773-A9E8-272EB302B8AB}"82Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.mocks.tests", "src\NUnitMocks\tests\nunit.mocks.tests.csproj", "{8667C588-1A05-4773-A9E8-272EB302B8AB}"
83EndProject83EndProject
84Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.mocks", "src\NUnitMocks\mocks\nunit.mocks.csproj", "{EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}"84Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.mocks", "src\NUnitMocks\mocks\nunit.mocks.csproj", "{EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}"
85EndProject85EndProject
86Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pnunit-agent", "src\PNUnit\agent\pnunit-agent.csproj", "{621C27DA-CC29-4663-9FE4-BF5A67970C18}"86Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pnunit-agent", "src\PNUnit\agent\pnunit-agent.csproj", "{621C27DA-CC29-4663-9FE4-BF5A67970C18}"
87EndProject87EndProject
88Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pnunit-launcher", "src\PNUnit\launcher\pnunit-launcher.csproj", "{91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}"88Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pnunit-launcher", "src\PNUnit\launcher\pnunit-launcher.csproj", "{91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}"
89EndProject89EndProject
90Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pnunit.tests", "src\PNUnit\tests\pnunit.tests.csproj", "{319B9238-76BE-4335-9B4D-F8E43C4B124F}"90Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pnunit.tests", "src\PNUnit\tests\pnunit.tests.csproj", "{319B9238-76BE-4335-9B4D-F8E43C4B124F}"
91EndProject91EndProject
92Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pnunit.framework", "src\PNUnit\pnunit.framework\pnunit.framework.csproj", "{5261ABA1-98E6-4603-A4F0-59CAC307AC68}"92Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pnunit.framework", "src\PNUnit\pnunit.framework\pnunit.framework.csproj", "{5261ABA1-98E6-4603-A4F0-59CAC307AC68}"
93EndProject93EndProject
94Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-agent.exe", "src\NUnitTestServer\nunit-agent-exe\nunit-agent.exe.csproj", "{3E469CD9-FED2-4955-AE4C-669A74CA6767}"94Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-agent.exe", "src\NUnitTestServer\nunit-agent-exe\nunit-agent.exe.csproj", "{3E469CD9-FED2-4955-AE4C-669A74CA6767}"
95EndProject95EndProject
96Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-editor", "src\ProjectEditor\editor\nunit-editor.csproj", "{ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}"96Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-editor", "src\ProjectEditor\editor\nunit-editor.csproj", "{ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}"
97EndProject97EndProject
98Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-editor.tests", "src\ProjectEditor\tests\nunit-editor.tests.csproj", "{A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}"98Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-editor.tests", "src\ProjectEditor\tests\nunit-editor.tests.csproj", "{A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}"
99EndProject99EndProject
100Global100Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.core.tests.net45", "src\NUnitCore\tests-net45\nunit.core.tests.net45.csproj", "{689A54F0-2B54-4D15-96A7-D8B6E6FE32B1}"
101 GlobalSection(SolutionConfigurationPlatforms) = preSolution101EndProject
102 Debug|Any CPU = Debug|Any CPU102Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test-assembly-net45", "src\tests\test-assembly-net45\test-assembly-net45.csproj", "{74CCEAEA-CDBF-4FE0-BF0D-914C3C44ECE9}"
103 Release|Any CPU = Release|Any CPU103EndProject
104 EndGlobalSection104Global
105 GlobalSection(ProjectConfigurationPlatforms) = postSolution105 GlobalSection(SolutionConfigurationPlatforms) = preSolution
106 {8C326431-AE57-4645-ACC1-A90A0B425129}.Debug|Any CPU.ActiveCfg = Debug|Any CPU106 Debug|Any CPU = Debug|Any CPU
107 {8C326431-AE57-4645-ACC1-A90A0B425129}.Debug|Any CPU.Build.0 = Debug|Any CPU107 Release|Any CPU = Release|Any CPU
108 {8C326431-AE57-4645-ACC1-A90A0B425129}.Release|Any CPU.ActiveCfg = Release|Any CPU108 EndGlobalSection
109 {8C326431-AE57-4645-ACC1-A90A0B425129}.Release|Any CPU.Build.0 = Release|Any CPU109 GlobalSection(ProjectConfigurationPlatforms) = postSolution
110 {83DD7E12-A705-4DBA-9D71-09C8973D9382}.Debug|Any CPU.ActiveCfg = Debug|Any CPU110 {8C326431-AE57-4645-ACC1-A90A0B425129}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
111 {83DD7E12-A705-4DBA-9D71-09C8973D9382}.Debug|Any CPU.Build.0 = Debug|Any CPU111 {8C326431-AE57-4645-ACC1-A90A0B425129}.Debug|Any CPU.Build.0 = Debug|Any CPU
112 {83DD7E12-A705-4DBA-9D71-09C8973D9382}.Release|Any CPU.ActiveCfg = Release|Any CPU112 {8C326431-AE57-4645-ACC1-A90A0B425129}.Release|Any CPU.ActiveCfg = Release|Any CPU
113 {83DD7E12-A705-4DBA-9D71-09C8973D9382}.Release|Any CPU.Build.0 = Release|Any CPU113 {8C326431-AE57-4645-ACC1-A90A0B425129}.Release|Any CPU.Build.0 = Release|Any CPU
114 {74EF7165-117E-48ED-98EA-068EAE438E53}.Debug|Any CPU.ActiveCfg = Debug|Any CPU114 {83DD7E12-A705-4DBA-9D71-09C8973D9382}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
115 {74EF7165-117E-48ED-98EA-068EAE438E53}.Debug|Any CPU.Build.0 = Debug|Any CPU115 {83DD7E12-A705-4DBA-9D71-09C8973D9382}.Debug|Any CPU.Build.0 = Debug|Any CPU
116 {74EF7165-117E-48ED-98EA-068EAE438E53}.Release|Any CPU.ActiveCfg = Release|Any CPU116 {83DD7E12-A705-4DBA-9D71-09C8973D9382}.Release|Any CPU.ActiveCfg = Release|Any CPU
117 {74EF7165-117E-48ED-98EA-068EAE438E53}.Release|Any CPU.Build.0 = Release|Any CPU117 {83DD7E12-A705-4DBA-9D71-09C8973D9382}.Release|Any CPU.Build.0 = Release|Any CPU
118 {61CE9CE5-943E-44D4-A381-814DC1406767}.Debug|Any CPU.ActiveCfg = Debug|Any CPU118 {74EF7165-117E-48ED-98EA-068EAE438E53}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
119 {61CE9CE5-943E-44D4-A381-814DC1406767}.Debug|Any CPU.Build.0 = Debug|Any CPU119 {74EF7165-117E-48ED-98EA-068EAE438E53}.Debug|Any CPU.Build.0 = Debug|Any CPU
120 {61CE9CE5-943E-44D4-A381-814DC1406767}.Release|Any CPU.ActiveCfg = Release|Any CPU120 {74EF7165-117E-48ED-98EA-068EAE438E53}.Release|Any CPU.ActiveCfg = Release|Any CPU
121 {61CE9CE5-943E-44D4-A381-814DC1406767}.Release|Any CPU.Build.0 = Release|Any CPU121 {74EF7165-117E-48ED-98EA-068EAE438E53}.Release|Any CPU.Build.0 = Release|Any CPU
122 {8597D2C6-804D-48CB-BFC7-ED2404D389B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU122 {61CE9CE5-943E-44D4-A381-814DC1406767}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
123 {8597D2C6-804D-48CB-BFC7-ED2404D389B0}.Debug|Any CPU.Build.0 = Debug|Any CPU123 {61CE9CE5-943E-44D4-A381-814DC1406767}.Debug|Any CPU.Build.0 = Debug|Any CPU
124 {8597D2C6-804D-48CB-BFC7-ED2404D389B0}.Release|Any CPU.ActiveCfg = Release|Any CPU124 {61CE9CE5-943E-44D4-A381-814DC1406767}.Release|Any CPU.ActiveCfg = Release|Any CPU
125 {8597D2C6-804D-48CB-BFC7-ED2404D389B0}.Release|Any CPU.Build.0 = Release|Any CPU125 {61CE9CE5-943E-44D4-A381-814DC1406767}.Release|Any CPU.Build.0 = Release|Any CPU
126 {9367EC89-6A38-42BA-9607-0DC288E4BC3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU126 {8597D2C6-804D-48CB-BFC7-ED2404D389B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
127 {9367EC89-6A38-42BA-9607-0DC288E4BC3A}.Debug|Any CPU.Build.0 = Debug|Any CPU127 {8597D2C6-804D-48CB-BFC7-ED2404D389B0}.Debug|Any CPU.Build.0 = Debug|Any CPU
128 {9367EC89-6A38-42BA-9607-0DC288E4BC3A}.Release|Any CPU.ActiveCfg = Release|Any CPU128 {8597D2C6-804D-48CB-BFC7-ED2404D389B0}.Release|Any CPU.ActiveCfg = Release|Any CPU
129 {9367EC89-6A38-42BA-9607-0DC288E4BC3A}.Release|Any CPU.Build.0 = Release|Any CPU129 {8597D2C6-804D-48CB-BFC7-ED2404D389B0}.Release|Any CPU.Build.0 = Release|Any CPU
130 {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU130 {9367EC89-6A38-42BA-9607-0DC288E4BC3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
131 {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}.Debug|Any CPU.Build.0 = Debug|Any CPU131 {9367EC89-6A38-42BA-9607-0DC288E4BC3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
132 {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}.Release|Any CPU.ActiveCfg = Release|Any CPU132 {9367EC89-6A38-42BA-9607-0DC288E4BC3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
133 {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}.Release|Any CPU.Build.0 = Release|Any CPU133 {9367EC89-6A38-42BA-9607-0DC288E4BC3A}.Release|Any CPU.Build.0 = Release|Any CPU
134 {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}.Debug|Any CPU.ActiveCfg = Debug|Any CPU134 {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
135 {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}.Debug|Any CPU.Build.0 = Debug|Any CPU135 {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}.Debug|Any CPU.Build.0 = Debug|Any CPU
136 {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}.Release|Any CPU.ActiveCfg = Release|Any CPU136 {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}.Release|Any CPU.ActiveCfg = Release|Any CPU
137 {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}.Release|Any CPU.Build.0 = Release|Any CPU137 {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}.Release|Any CPU.Build.0 = Release|Any CPU
138 {AAD27267-DE1F-4F61-A1FB-D1680A5B8001}.Debug|Any CPU.ActiveCfg = Debug|Any CPU138 {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
139 {AAD27267-DE1F-4F61-A1FB-D1680A5B8001}.Debug|Any CPU.Build.0 = Debug|Any CPU139 {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}.Debug|Any CPU.Build.0 = Debug|Any CPU
140 {AAD27267-DE1F-4F61-A1FB-D1680A5B8001}.Release|Any CPU.ActiveCfg = Release|Any CPU140 {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}.Release|Any CPU.ActiveCfg = Release|Any CPU
141 {AAD27267-DE1F-4F61-A1FB-D1680A5B8001}.Release|Any CPU.Build.0 = Release|Any CPU141 {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}.Release|Any CPU.Build.0 = Release|Any CPU
142 {AAB186A4-FA3D-404D-AD78-7EB5BB861655}.Debug|Any CPU.ActiveCfg = Debug|Any CPU142 {AAD27267-DE1F-4F61-A1FB-D1680A5B8001}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
143 {AAB186A4-FA3D-404D-AD78-7EB5BB861655}.Debug|Any CPU.Build.0 = Debug|Any CPU143 {AAD27267-DE1F-4F61-A1FB-D1680A5B8001}.Debug|Any CPU.Build.0 = Debug|Any CPU
144 {AAB186A4-FA3D-404D-AD78-7EB5BB861655}.Release|Any CPU.ActiveCfg = Release|Any CPU144 {AAD27267-DE1F-4F61-A1FB-D1680A5B8001}.Release|Any CPU.ActiveCfg = Release|Any CPU
145 {AAB186A4-FA3D-404D-AD78-7EB5BB861655}.Release|Any CPU.Build.0 = Release|Any CPU145 {AAD27267-DE1F-4F61-A1FB-D1680A5B8001}.Release|Any CPU.Build.0 = Release|Any CPU
146 {DD758D21-E5D5-4D40-9450-5F65A32F359C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU146 {AAB186A4-FA3D-404D-AD78-7EB5BB861655}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
147 {DD758D21-E5D5-4D40-9450-5F65A32F359C}.Debug|Any CPU.Build.0 = Debug|Any CPU147 {AAB186A4-FA3D-404D-AD78-7EB5BB861655}.Debug|Any CPU.Build.0 = Debug|Any CPU
148 {DD758D21-E5D5-4D40-9450-5F65A32F359C}.Release|Any CPU.ActiveCfg = Release|Any CPU148 {AAB186A4-FA3D-404D-AD78-7EB5BB861655}.Release|Any CPU.ActiveCfg = Release|Any CPU
149 {DD758D21-E5D5-4D40-9450-5F65A32F359C}.Release|Any CPU.Build.0 = Release|Any CPU149 {AAB186A4-FA3D-404D-AD78-7EB5BB861655}.Release|Any CPU.Build.0 = Release|Any CPU
150 {435428F8-5995-4CE4-8022-93D595A8CC0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU150 {DD758D21-E5D5-4D40-9450-5F65A32F359C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
151 {435428F8-5995-4CE4-8022-93D595A8CC0F}.Debug|Any CPU.Build.0 = Debug|Any CPU151 {DD758D21-E5D5-4D40-9450-5F65A32F359C}.Debug|Any CPU.Build.0 = Debug|Any CPU
152 {435428F8-5995-4CE4-8022-93D595A8CC0F}.Release|Any CPU.ActiveCfg = Release|Any CPU152 {DD758D21-E5D5-4D40-9450-5F65A32F359C}.Release|Any CPU.ActiveCfg = Release|Any CPU
153 {435428F8-5995-4CE4-8022-93D595A8CC0F}.Release|Any CPU.Build.0 = Release|Any CPU153 {DD758D21-E5D5-4D40-9450-5F65A32F359C}.Release|Any CPU.Build.0 = Release|Any CPU
154 {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU154 {435428F8-5995-4CE4-8022-93D595A8CC0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
155 {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}.Debug|Any CPU.Build.0 = Debug|Any CPU155 {435428F8-5995-4CE4-8022-93D595A8CC0F}.Debug|Any CPU.Build.0 = Debug|Any CPU
156 {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}.Release|Any CPU.ActiveCfg = Release|Any CPU156 {435428F8-5995-4CE4-8022-93D595A8CC0F}.Release|Any CPU.ActiveCfg = Release|Any CPU
157 {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}.Release|Any CPU.Build.0 = Release|Any CPU157 {435428F8-5995-4CE4-8022-93D595A8CC0F}.Release|Any CPU.Build.0 = Release|Any CPU
158 {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU158 {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
159 {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}.Debug|Any CPU.Build.0 = Debug|Any CPU159 {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
160 {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}.Release|Any CPU.ActiveCfg = Release|Any CPU160 {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
161 {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}.Release|Any CPU.Build.0 = Release|Any CPU161 {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}.Release|Any CPU.Build.0 = Release|Any CPU
162 {27531BBF-183D-4C3A-935B-D840B9F1A3A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU162 {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
163 {27531BBF-183D-4C3A-935B-D840B9F1A3A4}.Debug|Any CPU.Build.0 = Debug|Any CPU163 {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}.Debug|Any CPU.Build.0 = Debug|Any CPU
164 {27531BBF-183D-4C3A-935B-D840B9F1A3A4}.Release|Any CPU.ActiveCfg = Release|Any CPU164 {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}.Release|Any CPU.ActiveCfg = Release|Any CPU
165 {27531BBF-183D-4C3A-935B-D840B9F1A3A4}.Release|Any CPU.Build.0 = Release|Any CPU165 {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}.Release|Any CPU.Build.0 = Release|Any CPU
166 {092486D0-6AB9-4134-932F-0FDA10704455}.Debug|Any CPU.ActiveCfg = Debug|Any CPU166 {27531BBF-183D-4C3A-935B-D840B9F1A3A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
167 {092486D0-6AB9-4134-932F-0FDA10704455}.Debug|Any CPU.Build.0 = Debug|Any CPU167 {27531BBF-183D-4C3A-935B-D840B9F1A3A4}.Debug|Any CPU.Build.0 = Debug|Any CPU
168 {092486D0-6AB9-4134-932F-0FDA10704455}.Release|Any CPU.ActiveCfg = Release|Any CPU168 {27531BBF-183D-4C3A-935B-D840B9F1A3A4}.Release|Any CPU.ActiveCfg = Release|Any CPU
169 {092486D0-6AB9-4134-932F-0FDA10704455}.Release|Any CPU.Build.0 = Release|Any CPU169 {27531BBF-183D-4C3A-935B-D840B9F1A3A4}.Release|Any CPU.Build.0 = Release|Any CPU
170 {3E87A106-EB20-4147-84C8-95B0BB43A1D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU170 {092486D0-6AB9-4134-932F-0FDA10704455}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
171 {3E87A106-EB20-4147-84C8-95B0BB43A1D4}.Debug|Any CPU.Build.0 = Debug|Any CPU171 {092486D0-6AB9-4134-932F-0FDA10704455}.Debug|Any CPU.Build.0 = Debug|Any CPU
172 {3E87A106-EB20-4147-84C8-95B0BB43A1D4}.Release|Any CPU.ActiveCfg = Release|Any CPU172 {092486D0-6AB9-4134-932F-0FDA10704455}.Release|Any CPU.ActiveCfg = Release|Any CPU
173 {3E87A106-EB20-4147-84C8-95B0BB43A1D4}.Release|Any CPU.Build.0 = Release|Any CPU173 {092486D0-6AB9-4134-932F-0FDA10704455}.Release|Any CPU.Build.0 = Release|Any CPU
174 {2E368281-3BA8-4050-B05E-0E0E43F8F446}.Debug|Any CPU.ActiveCfg = Debug|Any CPU174 {3E87A106-EB20-4147-84C8-95B0BB43A1D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
175 {2E368281-3BA8-4050-B05E-0E0E43F8F446}.Debug|Any CPU.Build.0 = Debug|Any CPU175 {3E87A106-EB20-4147-84C8-95B0BB43A1D4}.Debug|Any CPU.Build.0 = Debug|Any CPU
176 {2E368281-3BA8-4050-B05E-0E0E43F8F446}.Release|Any CPU.ActiveCfg = Release|Any CPU176 {3E87A106-EB20-4147-84C8-95B0BB43A1D4}.Release|Any CPU.ActiveCfg = Release|Any CPU
177 {2E368281-3BA8-4050-B05E-0E0E43F8F446}.Release|Any CPU.Build.0 = Release|Any CPU177 {3E87A106-EB20-4147-84C8-95B0BB43A1D4}.Release|Any CPU.Build.0 = Release|Any CPU
178 {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU178 {2E368281-3BA8-4050-B05E-0E0E43F8F446}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
179 {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}.Debug|Any CPU.Build.0 = Debug|Any CPU179 {2E368281-3BA8-4050-B05E-0E0E43F8F446}.Debug|Any CPU.Build.0 = Debug|Any CPU
180 {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}.Release|Any CPU.ActiveCfg = Release|Any CPU180 {2E368281-3BA8-4050-B05E-0E0E43F8F446}.Release|Any CPU.ActiveCfg = Release|Any CPU
181 {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}.Release|Any CPU.Build.0 = Release|Any CPU181 {2E368281-3BA8-4050-B05E-0E0E43F8F446}.Release|Any CPU.Build.0 = Release|Any CPU
182 {3E63AD0F-24D4-46BE-BEE4-5A3299847D86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU182 {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
183 {3E63AD0F-24D4-46BE-BEE4-5A3299847D86}.Debug|Any CPU.Build.0 = Debug|Any CPU183 {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}.Debug|Any CPU.Build.0 = Debug|Any CPU
184 {3E63AD0F-24D4-46BE-BEE4-5A3299847D86}.Release|Any CPU.ActiveCfg = Release|Any CPU184 {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}.Release|Any CPU.ActiveCfg = Release|Any CPU
185 {3E63AD0F-24D4-46BE-BEE4-5A3299847D86}.Release|Any CPU.Build.0 = Release|Any CPU185 {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}.Release|Any CPU.Build.0 = Release|Any CPU
186 {1960CAC4-9A82-47C5-A9B3-55BC37572C3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU186 {3E63AD0F-24D4-46BE-BEE4-5A3299847D86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
187 {1960CAC4-9A82-47C5-A9B3-55BC37572C3C}.Debug|Any CPU.Build.0 = Debug|Any CPU187 {3E63AD0F-24D4-46BE-BEE4-5A3299847D86}.Debug|Any CPU.Build.0 = Debug|Any CPU
188 {1960CAC4-9A82-47C5-A9B3-55BC37572C3C}.Release|Any CPU.ActiveCfg = Release|Any CPU188 {3E63AD0F-24D4-46BE-BEE4-5A3299847D86}.Release|Any CPU.ActiveCfg = Release|Any CPU
189 {1960CAC4-9A82-47C5-A9B3-55BC37572C3C}.Release|Any CPU.Build.0 = Release|Any CPU189 {3E63AD0F-24D4-46BE-BEE4-5A3299847D86}.Release|Any CPU.Build.0 = Release|Any CPU
190 {8667C588-1A05-4773-A9E8-272EB302B8AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU190 {1960CAC4-9A82-47C5-A9B3-55BC37572C3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
191 {8667C588-1A05-4773-A9E8-272EB302B8AB}.Debug|Any CPU.Build.0 = Debug|Any CPU191 {1960CAC4-9A82-47C5-A9B3-55BC37572C3C}.Debug|Any CPU.Build.0 = Debug|Any CPU
192 {8667C588-1A05-4773-A9E8-272EB302B8AB}.Release|Any CPU.ActiveCfg = Release|Any CPU192 {1960CAC4-9A82-47C5-A9B3-55BC37572C3C}.Release|Any CPU.ActiveCfg = Release|Any CPU
193 {8667C588-1A05-4773-A9E8-272EB302B8AB}.Release|Any CPU.Build.0 = Release|Any CPU193 {1960CAC4-9A82-47C5-A9B3-55BC37572C3C}.Release|Any CPU.Build.0 = Release|Any CPU
194 {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU194 {8667C588-1A05-4773-A9E8-272EB302B8AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
195 {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}.Debug|Any CPU.Build.0 = Debug|Any CPU195 {8667C588-1A05-4773-A9E8-272EB302B8AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
196 {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}.Release|Any CPU.ActiveCfg = Release|Any CPU196 {8667C588-1A05-4773-A9E8-272EB302B8AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
197 {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}.Release|Any CPU.Build.0 = Release|Any CPU197 {8667C588-1A05-4773-A9E8-272EB302B8AB}.Release|Any CPU.Build.0 = Release|Any CPU
198 {621C27DA-CC29-4663-9FE4-BF5A67970C18}.Debug|Any CPU.ActiveCfg = Debug|Any CPU198 {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
199 {621C27DA-CC29-4663-9FE4-BF5A67970C18}.Debug|Any CPU.Build.0 = Debug|Any CPU199 {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}.Debug|Any CPU.Build.0 = Debug|Any CPU
200 {621C27DA-CC29-4663-9FE4-BF5A67970C18}.Release|Any CPU.ActiveCfg = Release|Any CPU200 {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}.Release|Any CPU.ActiveCfg = Release|Any CPU
201 {621C27DA-CC29-4663-9FE4-BF5A67970C18}.Release|Any CPU.Build.0 = Release|Any CPU201 {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}.Release|Any CPU.Build.0 = Release|Any CPU
202 {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU202 {621C27DA-CC29-4663-9FE4-BF5A67970C18}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
203 {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}.Debug|Any CPU.Build.0 = Debug|Any CPU203 {621C27DA-CC29-4663-9FE4-BF5A67970C18}.Debug|Any CPU.Build.0 = Debug|Any CPU
204 {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}.Release|Any CPU.ActiveCfg = Release|Any CPU204 {621C27DA-CC29-4663-9FE4-BF5A67970C18}.Release|Any CPU.ActiveCfg = Release|Any CPU
205 {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}.Release|Any CPU.Build.0 = Release|Any CPU205 {621C27DA-CC29-4663-9FE4-BF5A67970C18}.Release|Any CPU.Build.0 = Release|Any CPU
206 {319B9238-76BE-4335-9B4D-F8E43C4B124F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU206 {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
207 {319B9238-76BE-4335-9B4D-F8E43C4B124F}.Debug|Any CPU.Build.0 = Debug|Any CPU207 {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}.Debug|Any CPU.Build.0 = Debug|Any CPU
208 {319B9238-76BE-4335-9B4D-F8E43C4B124F}.Release|Any CPU.ActiveCfg = Release|Any CPU208 {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}.Release|Any CPU.ActiveCfg = Release|Any CPU
209 {319B9238-76BE-4335-9B4D-F8E43C4B124F}.Release|Any CPU.Build.0 = Release|Any CPU209 {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}.Release|Any CPU.Build.0 = Release|Any CPU
210 {5261ABA1-98E6-4603-A4F0-59CAC307AC68}.Debug|Any CPU.ActiveCfg = Debug|Any CPU210 {319B9238-76BE-4335-9B4D-F8E43C4B124F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
211 {5261ABA1-98E6-4603-A4F0-59CAC307AC68}.Debug|Any CPU.Build.0 = Debug|Any CPU211 {319B9238-76BE-4335-9B4D-F8E43C4B124F}.Debug|Any CPU.Build.0 = Debug|Any CPU
212 {5261ABA1-98E6-4603-A4F0-59CAC307AC68}.Release|Any CPU.ActiveCfg = Release|Any CPU212 {319B9238-76BE-4335-9B4D-F8E43C4B124F}.Release|Any CPU.ActiveCfg = Release|Any CPU
213 {5261ABA1-98E6-4603-A4F0-59CAC307AC68}.Release|Any CPU.Build.0 = Release|Any CPU213 {319B9238-76BE-4335-9B4D-F8E43C4B124F}.Release|Any CPU.Build.0 = Release|Any CPU
214 {3E469CD9-FED2-4955-AE4C-669A74CA6767}.Debug|Any CPU.ActiveCfg = Debug|Any CPU214 {5261ABA1-98E6-4603-A4F0-59CAC307AC68}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
215 {3E469CD9-FED2-4955-AE4C-669A74CA6767}.Debug|Any CPU.Build.0 = Debug|Any CPU215 {5261ABA1-98E6-4603-A4F0-59CAC307AC68}.Debug|Any CPU.Build.0 = Debug|Any CPU
216 {3E469CD9-FED2-4955-AE4C-669A74CA6767}.Release|Any CPU.ActiveCfg = Release|Any CPU216 {5261ABA1-98E6-4603-A4F0-59CAC307AC68}.Release|Any CPU.ActiveCfg = Release|Any CPU
217 {3E469CD9-FED2-4955-AE4C-669A74CA6767}.Release|Any CPU.Build.0 = Release|Any CPU217 {5261ABA1-98E6-4603-A4F0-59CAC307AC68}.Release|Any CPU.Build.0 = Release|Any CPU
218 {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU218 {3E469CD9-FED2-4955-AE4C-669A74CA6767}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
219 {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}.Debug|Any CPU.Build.0 = Debug|Any CPU219 {3E469CD9-FED2-4955-AE4C-669A74CA6767}.Debug|Any CPU.Build.0 = Debug|Any CPU
220 {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}.Release|Any CPU.ActiveCfg = Release|Any CPU220 {3E469CD9-FED2-4955-AE4C-669A74CA6767}.Release|Any CPU.ActiveCfg = Release|Any CPU
221 {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}.Release|Any CPU.Build.0 = Release|Any CPU221 {3E469CD9-FED2-4955-AE4C-669A74CA6767}.Release|Any CPU.Build.0 = Release|Any CPU
222 {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU222 {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
223 {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}.Debug|Any CPU.Build.0 = Debug|Any CPU223 {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
224 {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}.Release|Any CPU.ActiveCfg = Release|Any CPU224 {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
225 {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}.Release|Any CPU.Build.0 = Release|Any CPU225 {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}.Release|Any CPU.Build.0 = Release|Any CPU
226 EndGlobalSection226 {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
227 GlobalSection(SolutionProperties) = preSolution227 {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}.Debug|Any CPU.Build.0 = Debug|Any CPU
228 HideSolutionNode = FALSE228 {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}.Release|Any CPU.ActiveCfg = Release|Any CPU
229 EndGlobalSection229 {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}.Release|Any CPU.Build.0 = Release|Any CPU
230 GlobalSection(NestedProjects) = preSolution230 {689A54F0-2B54-4D15-96A7-D8B6E6FE32B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
231 {A785FC02-6044-4864-BE24-4593CAD23A97} = {A65042E1-D8BC-48DD-8DE1-F0991F07EA77}231 {689A54F0-2B54-4D15-96A7-D8B6E6FE32B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
232 {8C326431-AE57-4645-ACC1-A90A0B425129} = {A2FF9F1B-1854-479A-859C-6ECEBF045E4C}232 {689A54F0-2B54-4D15-96A7-D8B6E6FE32B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
233 {83DD7E12-A705-4DBA-9D71-09C8973D9382} = {A2FF9F1B-1854-479A-859C-6ECEBF045E4C}233 {689A54F0-2B54-4D15-96A7-D8B6E6FE32B1}.Release|Any CPU.Build.0 = Release|Any CPU
234 {74EF7165-117E-48ED-98EA-068EAE438E53} = {D448BA20-BA70-4F70-AF53-4C0E6C1E97E7}234 {74CCEAEA-CDBF-4FE0-BF0D-914C3C44ECE9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
235 {61CE9CE5-943E-44D4-A381-814DC1406767} = {D448BA20-BA70-4F70-AF53-4C0E6C1E97E7}235 {74CCEAEA-CDBF-4FE0-BF0D-914C3C44ECE9}.Debug|Any CPU.Build.0 = Debug|Any CPU
236 {8597D2C6-804D-48CB-BFC7-ED2404D389B0} = {1DBAF726-8009-41CC-B82A-4EFE94CBEEFC}236 {74CCEAEA-CDBF-4FE0-BF0D-914C3C44ECE9}.Release|Any CPU.ActiveCfg = Release|Any CPU
237 {9367EC89-6A38-42BA-9607-0DC288E4BC3A} = {1DBAF726-8009-41CC-B82A-4EFE94CBEEFC}237 {74CCEAEA-CDBF-4FE0-BF0D-914C3C44ECE9}.Release|Any CPU.Build.0 = Release|Any CPU
238 {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E} = {1DBAF726-8009-41CC-B82A-4EFE94CBEEFC}238 EndGlobalSection
239 {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148} = {77D10207-CB02-4C3A-8734-5A5173E3C506}239 GlobalSection(SolutionProperties) = preSolution
240 {AAD27267-DE1F-4F61-A1FB-D1680A5B8001} = {77D10207-CB02-4C3A-8734-5A5173E3C506}240 HideSolutionNode = FALSE
241 {AAB186A4-FA3D-404D-AD78-7EB5BB861655} = {77D10207-CB02-4C3A-8734-5A5173E3C506}241 EndGlobalSection
242 {DD758D21-E5D5-4D40-9450-5F65A32F359C} = {AEAED2BD-F22D-42C8-9047-F293BEF70EAB}242 GlobalSection(NestedProjects) = preSolution
243 {435428F8-5995-4CE4-8022-93D595A8CC0F} = {AEAED2BD-F22D-42C8-9047-F293BEF70EAB}243 {A785FC02-6044-4864-BE24-4593CAD23A97} = {A65042E1-D8BC-48DD-8DE1-F0991F07EA77}
244 {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3} = {AEAED2BD-F22D-42C8-9047-F293BEF70EAB}244 {8C326431-AE57-4645-ACC1-A90A0B425129} = {A2FF9F1B-1854-479A-859C-6ECEBF045E4C}
245 {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B} = {168F8C38-129C-454A-B112-F456BC7F4FE4}245 {83DD7E12-A705-4DBA-9D71-09C8973D9382} = {A2FF9F1B-1854-479A-859C-6ECEBF045E4C}
246 {27531BBF-183D-4C3A-935B-D840B9F1A3A4} = {168F8C38-129C-454A-B112-F456BC7F4FE4}246 {74EF7165-117E-48ED-98EA-068EAE438E53} = {D448BA20-BA70-4F70-AF53-4C0E6C1E97E7}
247 {092486D0-6AB9-4134-932F-0FDA10704455} = {35A92AA3-A1E6-426E-8D96-322F3EBF1C8D}247 {61CE9CE5-943E-44D4-A381-814DC1406767} = {D448BA20-BA70-4F70-AF53-4C0E6C1E97E7}
248 {3E87A106-EB20-4147-84C8-95B0BB43A1D4} = {35A92AA3-A1E6-426E-8D96-322F3EBF1C8D}248 {8597D2C6-804D-48CB-BFC7-ED2404D389B0} = {1DBAF726-8009-41CC-B82A-4EFE94CBEEFC}
249 {2E368281-3BA8-4050-B05E-0E0E43F8F446} = {6142B985-EA14-4DE0-884F-E62D89949E1D}249 {9367EC89-6A38-42BA-9607-0DC288E4BC3A} = {1DBAF726-8009-41CC-B82A-4EFE94CBEEFC}
250 {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D} = {6142B985-EA14-4DE0-884F-E62D89949E1D}250 {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E} = {1DBAF726-8009-41CC-B82A-4EFE94CBEEFC}
251 {3E63AD0F-24D4-46BE-BEE4-5A3299847D86} = {6142B985-EA14-4DE0-884F-E62D89949E1D}251 {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148} = {77D10207-CB02-4C3A-8734-5A5173E3C506}
252 {1960CAC4-9A82-47C5-A9B3-55BC37572C3C} = {6142B985-EA14-4DE0-884F-E62D89949E1D}252 {AAD27267-DE1F-4F61-A1FB-D1680A5B8001} = {77D10207-CB02-4C3A-8734-5A5173E3C506}
253 {8667C588-1A05-4773-A9E8-272EB302B8AB} = {7740410A-54B5-4334-8DE3-6D6F616BD6A5}253 {AAB186A4-FA3D-404D-AD78-7EB5BB861655} = {77D10207-CB02-4C3A-8734-5A5173E3C506}
254 {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C} = {7740410A-54B5-4334-8DE3-6D6F616BD6A5}254 {DD758D21-E5D5-4D40-9450-5F65A32F359C} = {AEAED2BD-F22D-42C8-9047-F293BEF70EAB}
255 {621C27DA-CC29-4663-9FE4-BF5A67970C18} = {979724B8-6FAA-400F-B40D-EB653A815C87}255 {435428F8-5995-4CE4-8022-93D595A8CC0F} = {AEAED2BD-F22D-42C8-9047-F293BEF70EAB}
256 {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2} = {979724B8-6FAA-400F-B40D-EB653A815C87}256 {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3} = {AEAED2BD-F22D-42C8-9047-F293BEF70EAB}
257 {319B9238-76BE-4335-9B4D-F8E43C4B124F} = {979724B8-6FAA-400F-B40D-EB653A815C87}257 {689A54F0-2B54-4D15-96A7-D8B6E6FE32B1} = {AEAED2BD-F22D-42C8-9047-F293BEF70EAB}
258 {5261ABA1-98E6-4603-A4F0-59CAC307AC68} = {979724B8-6FAA-400F-B40D-EB653A815C87}258 {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B} = {168F8C38-129C-454A-B112-F456BC7F4FE4}
259 {3E469CD9-FED2-4955-AE4C-669A74CA6767} = {D029F8FD-84E3-4AD3-8F1B-CCA0C856E659}259 {27531BBF-183D-4C3A-935B-D840B9F1A3A4} = {168F8C38-129C-454A-B112-F456BC7F4FE4}
260 {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB} = {992367F7-9154-4424-B55E-3EF8673A2A36}260 {092486D0-6AB9-4134-932F-0FDA10704455} = {35A92AA3-A1E6-426E-8D96-322F3EBF1C8D}
261 {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE} = {992367F7-9154-4424-B55E-3EF8673A2A36}261 {3E87A106-EB20-4147-84C8-95B0BB43A1D4} = {35A92AA3-A1E6-426E-8D96-322F3EBF1C8D}
262 EndGlobalSection262 {2E368281-3BA8-4050-B05E-0E0E43F8F446} = {6142B985-EA14-4DE0-884F-E62D89949E1D}
263 GlobalSection(MonoDevelopProperties) = preSolution263 {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D} = {6142B985-EA14-4DE0-884F-E62D89949E1D}
264 StartupItem = src\ConsoleRunner\nunit-console-exe\nunit-console.exe.csproj264 {3E63AD0F-24D4-46BE-BEE4-5A3299847D86} = {6142B985-EA14-4DE0-884F-E62D89949E1D}
265 EndGlobalSection265 {1960CAC4-9A82-47C5-A9B3-55BC37572C3C} = {6142B985-EA14-4DE0-884F-E62D89949E1D}
266EndGlobal266 {74CCEAEA-CDBF-4FE0-BF0D-914C3C44ECE9} = {6142B985-EA14-4DE0-884F-E62D89949E1D}
267 {8667C588-1A05-4773-A9E8-272EB302B8AB} = {7740410A-54B5-4334-8DE3-6D6F616BD6A5}
268 {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C} = {7740410A-54B5-4334-8DE3-6D6F616BD6A5}
269 {621C27DA-CC29-4663-9FE4-BF5A67970C18} = {979724B8-6FAA-400F-B40D-EB653A815C87}
270 {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2} = {979724B8-6FAA-400F-B40D-EB653A815C87}
271 {319B9238-76BE-4335-9B4D-F8E43C4B124F} = {979724B8-6FAA-400F-B40D-EB653A815C87}
272 {5261ABA1-98E6-4603-A4F0-59CAC307AC68} = {979724B8-6FAA-400F-B40D-EB653A815C87}
273 {3E469CD9-FED2-4955-AE4C-669A74CA6767} = {D029F8FD-84E3-4AD3-8F1B-CCA0C856E659}
274 {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB} = {992367F7-9154-4424-B55E-3EF8673A2A36}
275 {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE} = {992367F7-9154-4424-B55E-3EF8673A2A36}
276 EndGlobalSection
277 GlobalSection(MonoDevelopProperties) = preSolution
278 StartupItem = src\ConsoleRunner\nunit-console-exe\nunit-console.exe.csproj
279 EndGlobalSection
280EndGlobal
267281
=== modified file 'scripts/nunit.build.targets'
--- scripts/nunit.build.targets 2012-07-10 20:38:33 +0000
+++ scripts/nunit.build.targets 2012-10-03 23:32:21 +0000
@@ -106,8 +106,10 @@
106 <call target="build-gui" if="${runtime.version >= '2.0'}" />106 <call target="build-gui" if="${runtime.version >= '2.0'}" />
107107
108 <!-- Copy test project for this runtime framework -->108 <!-- Copy test project for this runtime framework -->
109 <property name="runtime.testproj" value="NUnitTests.v3.nunit"
110 if="${framework::exists('net-4.5')}"/>
109 <property name="runtime.testproj" value="NUnitTests.v2.nunit"111 <property name="runtime.testproj" value="NUnitTests.v2.nunit"
110 if="${runtime.version >= '2.0'}"/>112 if="${runtime.version >= '2.0'}" unless="${framework::exists('net-4.5')}"/>
111 <property name="runtime.testproj" value="NUnitTests.v1.nunit"113 <property name="runtime.testproj" value="NUnitTests.v1.nunit"
112 unless="${runtime.version >= '2.0'}"/>114 unless="${runtime.version >= '2.0'}"/>
113115
@@ -405,11 +407,13 @@
405 <include name="tests/mock-assembly/mock-assembly.build" />407 <include name="tests/mock-assembly/mock-assembly.build" />
406 <include name="tests/nonamespace-assembly/nonamespace-assembly.build" />408 <include name="tests/nonamespace-assembly/nonamespace-assembly.build" />
407 <include name="tests/test-assembly/test-assembly.build" />409 <include name="tests/test-assembly/test-assembly.build" />
410 <include name="tests/test-assembly-net45/test-assembly-net45.build" if="${framework::exists('net-4.5')}" />
408 <include name="tests/test-utilities/test-utilities.build" />411 <include name="tests/test-utilities/test-utilities.build" />
409412
410 <!-- NUnit Base Tests -->413 <!-- NUnit Base Tests -->
411 <include name="NUnitFramework/tests/nunit.framework.tests.build" />414 <include name="NUnitFramework/tests/nunit.framework.tests.build" />
412 <include name="NUnitCore/tests/nunit.core.tests.build" />415 <include name="NUnitCore/tests/nunit.core.tests.build" />
416 <include name="NUnitCore/tests-net45/nunit.core.tests.net45.build" if="${framework::exists('net-4.5')}" />
413 <include name="NUnitMocks/tests/nunit.mocks.tests.build" />417 <include name="NUnitMocks/tests/nunit.mocks.tests.build" />
414 <include name="ClientUtilities/tests/nunit.util.tests.build" />418 <include name="ClientUtilities/tests/nunit.util.tests.build" />
415419
416420
=== modified file 'scripts/nunit.common.targets'
--- scripts/nunit.common.targets 2012-08-08 03:19:39 +0000
+++ scripts/nunit.common.targets 2012-10-03 23:32:21 +0000
@@ -48,7 +48,7 @@
48 The first .NET and Mono frameworks found are the48 The first .NET and Mono frameworks found are the
49 respective net and mono defaults. -->49 respective net and mono defaults. -->
50 <property name="supported.frameworks" 50 <property name="supported.frameworks"
51 value="net-3.5,net-2.0,net-4.0,net-1.1,net-1.0,mono-3.5,mono-2.0,mono-1.0"/>51 value="net-3.5,net-2.0,net-4.0,net-4.5,net-1.1,net-1.0,mono-3.5,mono-2.0,mono-1.0"/>
5252
53 <!-- Packages we normally create -->53 <!-- Packages we normally create -->
54 <property name="standard.packages" value="net-3.5,net-1.1" 54 <property name="standard.packages" value="net-3.5,net-1.1"
@@ -239,6 +239,16 @@
239 <property name="supported.test.platforms" value="net-4.0"/>239 <property name="supported.test.platforms" value="net-4.0"/>
240240
241 </target>241 </target>
242
243 <target name="set-net-4.5-runtime-config">
244
245 <property name="runtime.platform" value="net"/>
246 <property name="runtime.version" value="4.5"/>
247 <property name="target.version" value="2.0"/>
248 <property name="runtime.defines" value="MSNET,CLR_4_0,NET_4_5,CS_5_0"/>
249 <property name="supported.test.platforms" value="net-4.5"/>
250
251 </target>
242 252
243 <target name="set-mono-1.0-runtime-config">253 <target name="set-mono-1.0-runtime-config">
244254
245255
=== modified file 'scripts/nunit.package.targets'
--- scripts/nunit.package.targets 2012-07-10 20:38:33 +0000
+++ scripts/nunit.package.targets 2012-10-03 23:32:21 +0000
@@ -549,11 +549,13 @@
549 <include name="tests/mock-assembly/mock-assembly.build" />549 <include name="tests/mock-assembly/mock-assembly.build" />
550 <include name="tests/nonamespace-assembly/nonamespace-assembly.build" />550 <include name="tests/nonamespace-assembly/nonamespace-assembly.build" />
551 <include name="tests/test-assembly/test-assembly.build" />551 <include name="tests/test-assembly/test-assembly.build" />
552 <include name="tests/test-assembly-net45/test-assembly-net45.build" if="${framework::exists('net-4.5')}" />
552 <include name="tests/test-utilities/test-utilities.build" />553 <include name="tests/test-utilities/test-utilities.build" />
553554
554 <!-- NUnit Base Tests -->555 <!-- NUnit Base Tests -->
555 <include name="NUnitFramework/tests/nunit.framework.tests.build" />556 <include name="NUnitFramework/tests/nunit.framework.tests.build" />
556 <include name="NUnitCore/tests/nunit.core.tests.build" />557 <include name="NUnitCore/tests/nunit.core.tests.build" />
558 <include name="NUnitCore/tests-net45/nunit.core.tests.net45.build" if="${framework::exists('net-4.5')}" />
557 <include name="NUnitMocks/tests/nunit.mocks.tests.build" />559 <include name="NUnitMocks/tests/nunit.mocks.tests.build" />
558 <include name="ClientUtilities/tests/nunit.util.tests.build" />560 <include name="ClientUtilities/tests/nunit.util.tests.build" />
559561
560562
=== modified file 'src/ClientUtilities/util/ProcessRunner.cs'
--- src/ClientUtilities/util/ProcessRunner.cs 2012-09-17 22:23:53 +0000
+++ src/ClientUtilities/util/ProcessRunner.cs 2012-10-03 23:32:21 +0000
@@ -44,8 +44,8 @@
44 public override bool Load(TestPackage package)44 public override bool Load(TestPackage package)
45 {45 {
46 log.Info("Loading " + package.Name);46 log.Info("Loading " + package.Name);
47 Unload();47 Unload();
4848
49 runtimeFramework = package.Settings["RuntimeFramework"] as RuntimeFramework;49 runtimeFramework = package.Settings["RuntimeFramework"] as RuntimeFramework;
50 if ( runtimeFramework == null )50 if ( runtimeFramework == null )
51 runtimeFramework = RuntimeFramework.CurrentFramework;51 runtimeFramework = RuntimeFramework.CurrentFramework;
5252
=== modified file 'src/ClientUtilities/util/RuntimeFrameworkSelector.cs'
--- src/ClientUtilities/util/RuntimeFrameworkSelector.cs 2011-03-06 02:39:31 +0000
+++ src/ClientUtilities/util/RuntimeFrameworkSelector.cs 2012-10-03 23:32:21 +0000
@@ -3,7 +3,8 @@
3// This is free software licensed under the NUnit license. You may3// This is free software licensed under the NUnit license. You may
4// obtain a copy of the license at http://nunit.org4// obtain a copy of the license at http://nunit.org
5// ****************************************************************5// ****************************************************************
6using System;6using System;
7using System.Diagnostics;
7using System.IO;8using System.IO;
8using System.Reflection;9using System.Reflection;
9using NUnit.Core;10using NUnit.Core;
@@ -22,8 +23,8 @@
22 /// </summary>23 /// </summary>
23 /// <param name="package">A TestPackage</param>24 /// <param name="package">A TestPackage</param>
24 /// <returns>The selected RuntimeFramework</returns>25 /// <returns>The selected RuntimeFramework</returns>
25 public RuntimeFramework SelectRuntimeFramework(TestPackage package)26 public RuntimeFramework SelectRuntimeFramework(TestPackage package)
26 {27 {
27 RuntimeFramework currentFramework = RuntimeFramework.CurrentFramework;28 RuntimeFramework currentFramework = RuntimeFramework.CurrentFramework;
28 RuntimeFramework requestedFramework = package.Settings["RuntimeFramework"] as RuntimeFramework;29 RuntimeFramework requestedFramework = package.Settings["RuntimeFramework"] as RuntimeFramework;
2930
3031
=== modified file 'src/ClientUtilities/util/Services/TestAgency.cs'
--- src/ClientUtilities/util/Services/TestAgency.cs 2012-09-17 22:23:53 +0000
+++ src/ClientUtilities/util/Services/TestAgency.cs 2012-10-03 23:32:21 +0000
@@ -119,8 +119,8 @@
119 return GetNUnitBinDirectory(version) != null;119 return GetNUnitBinDirectory(version) != null;
120 }120 }
121121
122 public TestAgent GetAgent()122 public TestAgent GetAgent()
123 {123 {
124 return GetAgent( RuntimeFramework.CurrentFramework, Timeout.Infinite );124 return GetAgent( RuntimeFramework.CurrentFramework, Timeout.Infinite );
125 }125 }
126126
@@ -130,8 +130,8 @@
130 }130 }
131131
132 public TestAgent GetAgent(RuntimeFramework framework, int waitTime)132 public TestAgent GetAgent(RuntimeFramework framework, int waitTime)
133 {133 {
134 log.Info("Getting agent for use under {0}", framework);134 log.Info("Getting agent for use under {0}", framework);
135 135
136 if (!framework.IsAvailable)136 if (!framework.IsAvailable)
137 throw new ArgumentException(137 throw new ArgumentException(
138138
=== modified file 'src/ConsoleRunner/nunit-console/ConsoleUi.cs'
--- src/ConsoleRunner/nunit-console/ConsoleUi.cs 2012-07-08 17:20:44 +0000
+++ src/ConsoleRunner/nunit-console/ConsoleUi.cs 2012-10-03 23:32:21 +0000
@@ -2,8 +2,10 @@
2// This is free software licensed under the NUnit license. You2// This is free software licensed under the NUnit license. You
3// may obtain a copy of the license as well as information regarding3// may obtain a copy of the license as well as information regarding
4// copyright ownership at http://nunit.org.4// copyright ownership at http://nunit.org.
5// ****************************************************************5// ****************************************************************
66
7using System.Diagnostics;
8
7namespace NUnit.ConsoleRunner9namespace NUnit.ConsoleRunner
8{10{
9 using System;11 using System;
@@ -61,8 +63,8 @@
61 StreamWriter errorStreamWriter = new StreamWriter( Path.Combine(workDir, options.err) );63 StreamWriter errorStreamWriter = new StreamWriter( Path.Combine(workDir, options.err) );
62 errorStreamWriter.AutoFlush = true;64 errorStreamWriter.AutoFlush = true;
63 errorWriter = errorStreamWriter;65 errorWriter = errorStreamWriter;
64 }66 }
6567
66 TestPackage package = MakeTestPackage(options);68 TestPackage package = MakeTestPackage(options);
6769
68 ProcessModel processModel = package.Settings.Contains("ProcessModel")70 ProcessModel processModel = package.Settings.Contains("ProcessModel")
6971
=== modified file 'src/GuiException/tests/Controls/TestCodeBox.cs'
--- src/GuiException/tests/Controls/TestCodeBox.cs 2011-03-30 20:37:44 +0000
+++ src/GuiException/tests/Controls/TestCodeBox.cs 2012-10-03 23:32:21 +0000
@@ -3,7 +3,7 @@
3// obtain a copy of the license at http://nunit.org3// obtain a copy of the license at http://nunit.org
4// ****************************************************************4// ****************************************************************
55
6#if NET_3_5 || NET_4_06#if NET_3_5 || NET_4_0 || NET_4_5
7using NSubstitute;7using NSubstitute;
8using NUnit.Framework;8using NUnit.Framework;
9using System.Drawing;9using System.Drawing;
1010
=== modified file 'src/GuiException/tests/Controls/TestErrorBrowser.cs'
--- src/GuiException/tests/Controls/TestErrorBrowser.cs 2011-03-30 20:37:44 +0000
+++ src/GuiException/tests/Controls/TestErrorBrowser.cs 2012-10-03 23:32:21 +0000
@@ -3,7 +3,7 @@
3// obtain a copy of the license at http://nunit.org3// obtain a copy of the license at http://nunit.org
4// ****************************************************************4// ****************************************************************
55
6#if NET_3_5 || NET_4_06#if NET_3_5 || NET_4_0 || NET_4_5
7using System;7using System;
8using NSubstitute;8using NSubstitute;
9using NUnit.Framework;9using NUnit.Framework;
1010
=== modified file 'src/GuiException/tests/Controls/TestErrorList.cs'
--- src/GuiException/tests/Controls/TestErrorList.cs 2011-03-30 20:37:44 +0000
+++ src/GuiException/tests/Controls/TestErrorList.cs 2012-10-03 23:32:21 +0000
@@ -3,7 +3,7 @@
3// obtain a copy of the license at http://nunit.org3// obtain a copy of the license at http://nunit.org
4// ****************************************************************4// ****************************************************************
55
6#if NET_3_5 || NET_4_06#if NET_3_5 || NET_4_0 || NET_4_5
7using System;7using System;
8using NSubstitute;8using NSubstitute;
9using NUnit.Framework;9using NUnit.Framework;
1010
=== modified file 'src/GuiException/tests/Controls/TestErrorToolbar.cs'
--- src/GuiException/tests/Controls/TestErrorToolbar.cs 2011-03-30 20:37:44 +0000
+++ src/GuiException/tests/Controls/TestErrorToolbar.cs 2012-10-03 23:32:21 +0000
@@ -3,7 +3,7 @@
3// obtain a copy of the license at http://nunit.org3// obtain a copy of the license at http://nunit.org
4// ****************************************************************4// ****************************************************************
55
6#if NET_3_5 || NET_4_06#if NET_3_5 || NET_4_0 || NET_4_5
7using System;7using System;
8using NSubstitute;8using NSubstitute;
9using NUnit.Framework;9using NUnit.Framework;
1010
=== modified file 'src/GuiException/tests/Controls/TestSourceCodeDisplay.cs'
--- src/GuiException/tests/Controls/TestSourceCodeDisplay.cs 2011-03-30 20:37:44 +0000
+++ src/GuiException/tests/Controls/TestSourceCodeDisplay.cs 2012-10-03 23:32:21 +0000
@@ -3,7 +3,7 @@
3// obtain a copy of the license at http://nunit.org3// obtain a copy of the license at http://nunit.org
4// ****************************************************************4// ****************************************************************
55
6#if NET_3_5 || NET_4_06#if NET_3_5 || NET_4_0 || NET_4_5
7using NSubstitute;7using NSubstitute;
8using NUnit.Framework;8using NUnit.Framework;
9using NUnit.UiException.Controls;9using NUnit.UiException.Controls;
1010
=== added file 'src/NUnitCore/core/AsyncSynchronizationContext.cs'
--- src/NUnitCore/core/AsyncSynchronizationContext.cs 1970-01-01 00:00:00 +0000
+++ src/NUnitCore/core/AsyncSynchronizationContext.cs 2012-10-03 23:32:21 +0000
@@ -0,0 +1,45 @@
1using System;
2using System.Collections.Generic;
3using System.Threading;
4
5namespace NUnit.Core
6{
7 public class AsyncSynchronizationContext : SynchronizationContext
8 {
9 private readonly AutoResetEvent _operationCompleted = new AutoResetEvent(false);
10 private readonly IList<Exception> _exceptions = new List<Exception>();
11
12 public IList<Exception> Exceptions
13 {
14 get { return _exceptions; }
15 }
16
17 public override void Send(SendOrPostCallback d, object state)
18 {
19 throw new InvalidOperationException("Sending to this synchronization context is not supported");
20 }
21
22 public override void Post(SendOrPostCallback d, object state)
23 {
24 try
25 {
26 d(state);
27 }
28 catch (Exception e)
29 {
30 _exceptions.Add(e);
31 }
32 }
33
34 public override void OperationCompleted()
35 {
36 base.OperationCompleted();
37 _operationCompleted.Set();
38 }
39
40 public void WaitForOperationCompleted()
41 {
42 _operationCompleted.WaitOne();
43 }
44 }
45}
0\ No newline at end of file46\ No newline at end of file
147
=== modified file 'src/NUnitCore/core/Builders/NUnitTestCaseBuilder.cs'
--- src/NUnitCore/core/Builders/NUnitTestCaseBuilder.cs 2012-02-19 05:59:50 +0000
+++ src/NUnitCore/core/Builders/NUnitTestCaseBuilder.cs 2012-10-03 23:32:21 +0000
@@ -1,421 +1,432 @@
1// ****************************************************************1// ****************************************************************
2// Copyright 2008, Charlie Poole2// Copyright 2008, Charlie Poole
3// This is free software licensed under the NUnit license. You may3// This is free software licensed under the NUnit license. You may
4// obtain a copy of the license at http://nunit.org.4// obtain a copy of the license at http://nunit.org.
5// ****************************************************************5// ****************************************************************
66
7using System;7using System;
8using System.Reflection;8using System.Diagnostics;
9using NUnit.Core.Extensibility;9using System.Reflection;
1010using NUnit.Core.Extensibility;
11namespace NUnit.Core.Builders11
12{12namespace NUnit.Core.Builders
13 /// <summary>13{
14 /// Class to build ether a parameterized or a normal NUnitTestMethod.14 /// <summary>
15 /// There are four cases that the builder must deal with:15 /// Class to build ether a parameterized or a normal NUnitTestMethod.
16 /// 1. The method needs no params and none are provided16 /// There are four cases that the builder must deal with:
17 /// 2. The method needs params and they are provided17 /// 1. The method needs no params and none are provided
18 /// 3. The method needs no params but they are provided in error18 /// 2. The method needs params and they are provided
19 /// 4. The method needs params but they are not provided19 /// 3. The method needs no params but they are provided in error
20 /// This could have been done using two different builders, but it20 /// 4. The method needs params but they are not provided
21 /// turned out to be simpler to have just one. The BuildFrom method21 /// This could have been done using two different builders, but it
22 /// takes a different branch depending on whether any parameters are22 /// turned out to be simpler to have just one. The BuildFrom method
23 /// provided, but all four cases are dealt with in lower-level methods23 /// takes a different branch depending on whether any parameters are
24 /// </summary>24 /// provided, but all four cases are dealt with in lower-level methods
25 public class NUnitTestCaseBuilder : ITestCaseBuilder225 /// </summary>
26 {26 public class NUnitTestCaseBuilder : ITestCaseBuilder2
27 #region ITestCaseBuilder Methods27 {
28 /// <summary>28 #region ITestCaseBuilder Methods
29 /// Determines if the method can be used to build an NUnit test29 /// <summary>
30 /// test method of some kind. The method must normally be marked30 /// Determines if the method can be used to build an NUnit test
31 /// with an identifying attriute for this to be true. If the test31 /// test method of some kind. The method must normally be marked
32 /// config file sets AllowOldStyleTests to true, then any method beginning 32 /// with an identifying attriute for this to be true. If the test
33 /// "test..." (case-insensitive) is treated as a test unless 33 /// config file sets AllowOldStyleTests to true, then any method beginning
34 /// it is also marked as a setup or teardown method.34 /// "test..." (case-insensitive) is treated as a test unless
35 /// 35 /// it is also marked as a setup or teardown method.
36 /// Note that this method does not check that the signature36 ///
37 /// of the method for validity. If we did that here, any37 /// Note that this method does not check that the signature
38 /// test methods with invalid signatures would be passed38 /// of the method for validity. If we did that here, any
39 /// over in silence in the test run. Since we want such39 /// test methods with invalid signatures would be passed
40 /// methods to be reported, the check for validity is made40 /// over in silence in the test run. Since we want such
41 /// in BuildFrom rather than here.41 /// methods to be reported, the check for validity is made
42 /// </summary>42 /// in BuildFrom rather than here.
43 /// <param name="method">A MethodInfo for the method being used as a test method</param>43 /// </summary>
44 /// <param name="suite">The test suite being built, to which the new test would be added</param>44 /// <param name="method">A MethodInfo for the method being used as a test method</param>
45 /// <returns>True if the builder can create a test case from this method</returns>45 /// <param name="suite">The test suite being built, to which the new test would be added</param>
46 public bool CanBuildFrom(MethodInfo method)46 /// <returns>True if the builder can create a test case from this method</returns>
47 {47 public bool CanBuildFrom(MethodInfo method)
48 return Reflect.HasAttribute(method, NUnitFramework.TestAttribute, false)48 {
49 || Reflect.HasAttribute(method, NUnitFramework.TestCaseAttribute, false)49 return Reflect.HasAttribute(method, NUnitFramework.TestAttribute, false)
50 || Reflect.HasAttribute(method, NUnitFramework.TestCaseSourceAttribute, false)50 || Reflect.HasAttribute(method, NUnitFramework.TestCaseAttribute, false)
51 || Reflect.HasAttribute(method, NUnitFramework.TheoryAttribute, false);51 || Reflect.HasAttribute(method, NUnitFramework.TestCaseSourceAttribute, false)
52 }52 || Reflect.HasAttribute(method, NUnitFramework.TheoryAttribute, false);
5353 }
54 /// <summary>54
55 /// Build a Test from the provided MethodInfo. Depending on55 /// <summary>
56 /// whether the method takes arguments and on the availability56 /// Build a Test from the provided MethodInfo. Depending on
57 /// of test case data, this method may return a single test57 /// whether the method takes arguments and on the availability
58 /// or a group of tests contained in a ParameterizedMethodSuite.58 /// of test case data, this method may return a single test
59 /// </summary>59 /// or a group of tests contained in a ParameterizedMethodSuite.
60 /// <param name="method">The MethodInfo for which a test is to be built</param>60 /// </summary>
61 /// <param name="suite">The test fixture being populated, or null</param>61 /// <param name="method">The MethodInfo for which a test is to be built</param>
62 /// <returns>A Test representing one or more method invocations</returns>62 /// <param name="suite">The test fixture being populated, or null</param>
63 public Test BuildFrom(MethodInfo method)63 /// <returns>A Test representing one or more method invocations</returns>
64 {64 public Test BuildFrom(MethodInfo method)
65 return BuildFrom(method, null);65 {
66 }66 return BuildFrom(method, null);
6767 }
68 #region ITestCaseBuilder2 Members68
6969 #region ITestCaseBuilder2 Members
70 public bool CanBuildFrom(MethodInfo method, Test parentSuite)70
71 {71 public bool CanBuildFrom(MethodInfo method, Test parentSuite)
72 return CanBuildFrom(method);72 {
73 }73 return CanBuildFrom(method);
7474 }
75 public Test BuildFrom(MethodInfo method, Test parentSuite)75
76 {76 public Test BuildFrom(MethodInfo method, Test parentSuite)
77 return CoreExtensions.Host.TestCaseProviders.HasTestCasesFor(method)77 {
78 ? BuildParameterizedMethodSuite(method, parentSuite)78 return CoreExtensions.Host.TestCaseProviders.HasTestCasesFor(method)
79 : BuildSingleTestMethod(method, parentSuite, null);79 ? BuildParameterizedMethodSuite(method, parentSuite)
80 }80 : BuildSingleTestMethod(method, parentSuite, null);
8181 }
82 #endregion82
8383 #endregion
84 /// <summary>84
85 /// Builds a ParameterizedMetodSuite containing individual85 /// <summary>
86 /// test cases for each set of parameters provided for86 /// Builds a ParameterizedMetodSuite containing individual
87 /// this method.87 /// test cases for each set of parameters provided for
88 /// </summary>88 /// this method.
89 /// <param name="method">The MethodInfo for which a test is to be built</param>89 /// </summary>
90 /// <returns>A ParameterizedMethodSuite populated with test cases</returns>90 /// <param name="method">The MethodInfo for which a test is to be built</param>
91 public static Test BuildParameterizedMethodSuite(MethodInfo method, Test parentSuite)91 /// <returns>A ParameterizedMethodSuite populated with test cases</returns>
92 {92 public static Test BuildParameterizedMethodSuite(MethodInfo method, Test parentSuite)
93 ParameterizedMethodSuite methodSuite = new ParameterizedMethodSuite(method);93 {
94 NUnitFramework.ApplyCommonAttributes(method, methodSuite);94 ParameterizedMethodSuite methodSuite = new ParameterizedMethodSuite(method);
9595 NUnitFramework.ApplyCommonAttributes(method, methodSuite);
96 if (parentSuite != null)96
97 {97 if (parentSuite != null)
98 if (parentSuite.RunState == RunState.NotRunnable && methodSuite.RunState != RunState.NotRunnable)98 {
99 {99 if (parentSuite.RunState == RunState.NotRunnable && methodSuite.RunState != RunState.NotRunnable)
100 methodSuite.RunState = RunState.NotRunnable;100 {
101 methodSuite.IgnoreReason = parentSuite.IgnoreReason;101 methodSuite.RunState = RunState.NotRunnable;
102 }102 methodSuite.IgnoreReason = parentSuite.IgnoreReason;
103103 }
104 if (parentSuite.RunState == RunState.Ignored && methodSuite.RunState != RunState.Ignored && methodSuite.RunState != RunState.NotRunnable)104
105 {105 if (parentSuite.RunState == RunState.Ignored && methodSuite.RunState != RunState.Ignored && methodSuite.RunState != RunState.NotRunnable)
106 methodSuite.RunState = RunState.Ignored;106 {
107 methodSuite.IgnoreReason = parentSuite.IgnoreReason;107 methodSuite.RunState = RunState.Ignored;
108 }108 methodSuite.IgnoreReason = parentSuite.IgnoreReason;
109 }109 }
110110 }
111 foreach (object source in CoreExtensions.Host.TestCaseProviders.GetTestCasesFor(method, parentSuite))111
112 {112 foreach (object source in CoreExtensions.Host.TestCaseProviders.GetTestCasesFor(method, parentSuite))
113 ParameterSet parms;113 {
114114 ParameterSet parms;
115 if (source == null)115
116 {116 if (source == null)
117 parms = new ParameterSet();117 {
118 parms.Arguments = new object[] { null };118 parms = new ParameterSet();
119 }119 parms.Arguments = new object[] { null };
120 else120 }
121 parms = source as ParameterSet;121 else
122122 parms = source as ParameterSet;
123 if (parms == null)123
124 {124 if (parms == null)
125 if (source.GetType().GetInterface("NUnit.Framework.ITestCaseData") != null)125 {
126 parms = ParameterSet.FromDataSource(source);126 if (source.GetType().GetInterface("NUnit.Framework.ITestCaseData") != null)
127 else127 parms = ParameterSet.FromDataSource(source);
128 {128 else
129 parms = new ParameterSet();129 {
130130 parms = new ParameterSet();
131 ParameterInfo[] parameters = method.GetParameters();131
132 Type sourceType = source.GetType();132 ParameterInfo[] parameters = method.GetParameters();
133133 Type sourceType = source.GetType();
134 if (parameters.Length == 1 && parameters[0].ParameterType.IsAssignableFrom(sourceType))134
135 parms.Arguments = new object[] { source };135 if (parameters.Length == 1 && parameters[0].ParameterType.IsAssignableFrom(sourceType))
136 else if (source is object[])136 parms.Arguments = new object[] { source };
137 parms.Arguments = (object[])source;137 else if (source is object[])
138 else if (source is Array)138 parms.Arguments = (object[])source;
139 {139 else if (source is Array)
140 Array array = (Array)source;140 {
141 if (array.Rank == 1)141 Array array = (Array)source;
142 {142 if (array.Rank == 1)
143 parms.Arguments = new object[array.Length];143 {
144 for (int i = 0; i < array.Length; i++)144 parms.Arguments = new object[array.Length];
145 parms.Arguments[i] = (object)array.GetValue(i);145 for (int i = 0; i < array.Length; i++)
146 }146 parms.Arguments[i] = (object)array.GetValue(i);
147 }147 }
148 else148 }
149 parms.Arguments = new object[] { source };149 else
150 }150 parms.Arguments = new object[] { source };
151 }151 }
152152 }
153 TestMethod test = BuildSingleTestMethod(method, parentSuite, parms);153
154154 TestMethod test = BuildSingleTestMethod(method, parentSuite, parms);
155 methodSuite.Add(test);155
156 }156 methodSuite.Add(test);
157157 }
158 return methodSuite;158
159 }159 return methodSuite;
160160 }
161 /// <summary>161
162 /// Builds a single NUnitTestMethod, either as a child of the fixture 162 /// <summary>
163 /// or as one of a set of test cases under a ParameterizedTestMethodSuite.163 /// Builds a single NUnitTestMethod, either as a child of the fixture
164 /// </summary>164 /// or as one of a set of test cases under a ParameterizedTestMethodSuite.
165 /// <param name="method">The MethodInfo from which to construct the TestMethod</param>165 /// </summary>
166 /// <param name="parms">The ParameterSet to be used, or null</param>166 /// <param name="method">The MethodInfo from which to construct the TestMethod</param>
167 /// <returns></returns>167 /// <param name="parms">The ParameterSet to be used, or null</param>
168 public static NUnitTestMethod BuildSingleTestMethod(MethodInfo method, Test parentSuite, ParameterSet parms)168 /// <returns></returns>
169 {169 public static NUnitTestMethod BuildSingleTestMethod(MethodInfo method, Test parentSuite, ParameterSet parms)
170 NUnitTestMethod testMethod = new NUnitTestMethod(method);170 {
171171 NUnitTestMethod testMethod = Reflect.IsAsyncMethod(method) ?
172 string prefix = method.ReflectedType.FullName;172 new NUnitAsyncTestMethod(method) : new NUnitTestMethod(method);
173173
174 if (parentSuite != null)174 string prefix = method.ReflectedType.FullName;
175 {175
176 prefix = parentSuite.TestName.FullName;176 if (parentSuite != null)
177 testMethod.TestName.FullName = prefix + "." + testMethod.TestName.Name;177 {
178 }178 prefix = parentSuite.TestName.FullName;
179179 testMethod.TestName.FullName = prefix + "." + testMethod.TestName.Name;
180 if (CheckTestMethodSignature(testMethod, parms))180 }
181 {181
182 if (parms == null)182 if (CheckTestMethodSignature(testMethod, parms))
183 NUnitFramework.ApplyCommonAttributes(method, testMethod);183 {
184 NUnitFramework.ApplyExpectedExceptionAttribute(method, testMethod);184 if (parms == null)
185 }185 NUnitFramework.ApplyCommonAttributes(method, testMethod);
186186 NUnitFramework.ApplyExpectedExceptionAttribute(method, testMethod);
187 if (parms != null)187 }
188 {188
189 // NOTE: After the call to CheckTestMethodSignature, the Method189 if (parms != null)
190 // property of testMethod may no longer be the same as the190 {
191 // original MethodInfo, so we reassign it here.191 // NOTE: After the call to CheckTestMethodSignature, the Method
192 method = testMethod.Method;192 // property of testMethod may no longer be the same as the
193193 // original MethodInfo, so we reassign it here.
194 if (parms.TestName != null)194 method = testMethod.Method;
195 {195
196 testMethod.TestName.Name = parms.TestName;196 if (parms.TestName != null)
197 testMethod.TestName.FullName = prefix + "." + parms.TestName;197 {
198 }198 testMethod.TestName.Name = parms.TestName;
199 else if (parms.OriginalArguments != null)199 testMethod.TestName.FullName = prefix + "." + parms.TestName;
200 {200 }
201 string name = MethodHelper.GetDisplayName(method, parms.OriginalArguments);201 else if (parms.OriginalArguments != null)
202 testMethod.TestName.Name = name;202 {
203 testMethod.TestName.FullName = prefix + "." + name;203 string name = MethodHelper.GetDisplayName(method, parms.OriginalArguments);
204 }204 testMethod.TestName.Name = name;
205205 testMethod.TestName.FullName = prefix + "." + name;
206 if (parms.Ignored)206 }
207 {207
208 testMethod.RunState = RunState.Ignored;208 if (parms.Ignored)
209 testMethod.IgnoreReason = parms.IgnoreReason;209 {
210 }210 testMethod.RunState = RunState.Ignored;
211 else if (parms.Explicit)211 testMethod.IgnoreReason = parms.IgnoreReason;
212 {212 }
213 testMethod.RunState = RunState.Explicit;213 else if (parms.Explicit)
214 }214 {
215215 testMethod.RunState = RunState.Explicit;
216 if (parms.ExpectedExceptionName != null)216 }
217 testMethod.exceptionProcessor = new ExpectedExceptionProcessor(testMethod, parms);217
218218 if (parms.ExpectedExceptionName != null)
219 foreach (string key in parms.Properties.Keys)219 testMethod.exceptionProcessor = new ExpectedExceptionProcessor(testMethod, parms);
220 testMethod.Properties[key] = parms.Properties[key];220
221221 foreach (string key in parms.Properties.Keys)
222 // Description is stored in parms.Properties222 testMethod.Properties[key] = parms.Properties[key];
223 if (parms.Description != null)223
224 testMethod.Description = parms.Description;224 // Description is stored in parms.Properties
225 }225 if (parms.Description != null)
226226 testMethod.Description = parms.Description;
227 //if (testMethod.BuilderException != null && testMethod.RunState != RunState.NotRunnable)227 }
228 //{228
229 // testMethod.RunState = RunState.NotRunnable;229 //if (testMethod.BuilderException != null && testMethod.RunState != RunState.NotRunnable)
230 // testMethod.IgnoreReason = testMethod.BuilderException.Message;230 //{
231 //}231 // testMethod.RunState = RunState.NotRunnable;
232232 // testMethod.IgnoreReason = testMethod.BuilderException.Message;
233 if (parentSuite != null)233 //}
234 {234
235 if (parentSuite.RunState == RunState.NotRunnable && testMethod.RunState != RunState.NotRunnable)235 if (parentSuite != null)
236 {236 {
237 testMethod.RunState = RunState.NotRunnable;237 if (parentSuite.RunState == RunState.NotRunnable && testMethod.RunState != RunState.NotRunnable)
238 testMethod.IgnoreReason = parentSuite.IgnoreReason;238 {
239 }239 testMethod.RunState = RunState.NotRunnable;
240240 testMethod.IgnoreReason = parentSuite.IgnoreReason;
241 if (parentSuite.RunState == RunState.Ignored && testMethod.RunState != RunState.Ignored && testMethod.RunState != RunState.NotRunnable)241 }
242 {242
243 testMethod.RunState = RunState.Ignored;243 if (parentSuite.RunState == RunState.Ignored && testMethod.RunState != RunState.Ignored && testMethod.RunState != RunState.NotRunnable)
244 testMethod.IgnoreReason = parentSuite.IgnoreReason;244 {
245 }245 testMethod.RunState = RunState.Ignored;
246 }246 testMethod.IgnoreReason = parentSuite.IgnoreReason;
247247 }
248 return testMethod;248 }
249 }249
250 #endregion250 return testMethod;
251251 }
252 #region Helper Methods252 #endregion
253 /// <summary>253
254 /// Helper method that checks the signature of a TestMethod and254 #region Helper Methods
255 /// any supplied parameters to determine if the test is valid.255 /// <summary>
256 /// 256 /// Helper method that checks the signature of a TestMethod and
257 /// Currently, NUnitTestMethods are required to be public, 257 /// any supplied parameters to determine if the test is valid.
258 /// non-abstract methods, either static or instance,258 ///
259 /// returning void. They may take arguments but the values must259 /// Currently, NUnitTestMethods are required to be public,
260 /// be provided or the TestMethod is not considered runnable.260 /// non-abstract methods, either static or instance,
261 /// 261 /// returning void. They may take arguments but the values must
262 /// Methods not meeting these criteria will be marked as262 /// be provided or the TestMethod is not considered runnable.
263 /// non-runnable and the method will return false in that case.263 ///
264 /// </summary>264 /// Methods not meeting these criteria will be marked as
265 /// <param name="testMethod">The TestMethod to be checked. If it265 /// non-runnable and the method will return false in that case.
266 /// is found to be non-runnable, it will be modified.</param>266 /// </summary>
267 /// <param name="parms">Parameters to be used for this test, or null</param>267 /// <param name="testMethod">The TestMethod to be checked. If it
268 /// <returns>True if the method signature is valid, false if not</returns>268 /// is found to be non-runnable, it will be modified.</param>
269 private static bool CheckTestMethodSignature(TestMethod testMethod, ParameterSet parms)269 /// <param name="parms">Parameters to be used for this test, or null</param>
270 {270 /// <returns>True if the method signature is valid, false if not</returns>
271 if (testMethod.Method.IsAbstract)271 private static bool CheckTestMethodSignature(TestMethod testMethod, ParameterSet parms)
272 {272 {
273 testMethod.RunState = RunState.NotRunnable;273 if (testMethod.Method.IsAbstract)
274 testMethod.IgnoreReason = "Method is abstract";274 {
275 return false;275 testMethod.RunState = RunState.NotRunnable;
276 }276 testMethod.IgnoreReason = "Method is abstract";
277277 return false;
278 if (!testMethod.Method.IsPublic)278 }
279 {279
280 testMethod.RunState = RunState.NotRunnable;280 if (!testMethod.Method.IsPublic)
281 testMethod.IgnoreReason = "Method is not public";281 {
282 return false;282 testMethod.RunState = RunState.NotRunnable;
283 }283 testMethod.IgnoreReason = "Method is not public";
284284 return false;
285 ParameterInfo[] parameters = testMethod.Method.GetParameters();285 }
286 int argsNeeded = parameters.Length;286
287287 ParameterInfo[] parameters = testMethod.Method.GetParameters();
288 object[] arglist = null;288 int argsNeeded = parameters.Length;
289 int argsProvided = 0;289
290290 object[] arglist = null;
291 if (parms != null)291 int argsProvided = 0;
292 {292
293 testMethod.arguments = parms.Arguments;293 if (parms != null)
294 testMethod.hasExpectedResult = parms.HasExpectedResult;294 {
295 if (testMethod.hasExpectedResult)295 testMethod.arguments = parms.Arguments;
296 testMethod.expectedResult = parms.Result;296 testMethod.hasExpectedResult = parms.HasExpectedResult;
297 testMethod.RunState = parms.RunState;297 if (testMethod.hasExpectedResult)
298 testMethod.IgnoreReason = parms.IgnoreReason;298 testMethod.expectedResult = parms.Result;
299 testMethod.BuilderException = parms.ProviderException;299 testMethod.RunState = parms.RunState;
300300 testMethod.IgnoreReason = parms.IgnoreReason;
301 arglist = parms.Arguments;301 testMethod.BuilderException = parms.ProviderException;
302302
303 if (arglist != null)303 arglist = parms.Arguments;
304 argsProvided = arglist.Length;304
305305 if (arglist != null)
306 if (testMethod.RunState != RunState.Runnable)306 argsProvided = arglist.Length;
307 return false;307
308 }308 if (testMethod.RunState != RunState.Runnable)
309309 return false;
310 if (!testMethod.Method.ReturnType.Equals(typeof(void)) &&310 }
311 (parms == null || !parms.HasExpectedResult && parms.ExpectedExceptionName == null))311
312 {312 bool isAsyncMethod = Reflect.IsAsyncMethod(testMethod.Method);
313 testMethod.RunState = RunState.NotRunnable;313
314 testMethod.IgnoreReason = "Method has non-void return value";314 if (!testMethod.Method.ReturnType.Equals(typeof(void)) && !isAsyncMethod &&
315 return false;315 (parms == null || !parms.HasExpectedResult && parms.ExpectedExceptionName == null))
316 }316 {
317317 testMethod.RunState = RunState.NotRunnable;
318 if (argsProvided > 0 && argsNeeded == 0)318 testMethod.IgnoreReason = "Method has non-void return value";
319 {319 return false;
320 testMethod.RunState = RunState.NotRunnable;320 }
321 testMethod.IgnoreReason = "Arguments provided for method not taking any";321
322 return false;322 if(isAsyncMethod && !testMethod.Method.ReturnType.IsGenericType && parms != null && parms.HasExpectedResult)
323 }323 {
324324 testMethod.RunState = RunState.NotRunnable;
325 if (argsProvided == 0 && argsNeeded > 0)325 testMethod.IgnoreReason = "Async method has void or Task return type when a result was expected";
326 {326 return false;
327 testMethod.RunState = RunState.NotRunnable;327 }
328 testMethod.IgnoreReason = "No arguments were provided";328
329 return false;329 if (argsProvided > 0 && argsNeeded == 0)
330 }330 {
331331 testMethod.RunState = RunState.NotRunnable;
332 //if (argsProvided > argsNeeded)332 testMethod.IgnoreReason = "Arguments provided for method not taking any";
333 //{333 return false;
334 // ParameterInfo lastParameter = parameters[argsNeeded - 1];334 }
335 // Type lastParameterType = lastParameter.ParameterType;335
336336 if (argsProvided == 0 && argsNeeded > 0)
337 // if (lastParameterType.IsArray && lastParameter.IsDefined(typeof(ParamArrayAttribute), false))337 {
338 // {338 testMethod.RunState = RunState.NotRunnable;
339 // object[] newArglist = new object[argsNeeded];339 testMethod.IgnoreReason = "No arguments were provided";
340 // for (int i = 0; i < argsNeeded; i++)340 return false;
341 // newArglist[i] = arglist[i];341 }
342342
343 // int length = argsProvided - argsNeeded + 1;343 //if (argsProvided > argsNeeded)
344 // Array array = Array.CreateInstance(lastParameterType.GetElementType(), length);344 //{
345 // for (int i = 0; i < length; i++)345 // ParameterInfo lastParameter = parameters[argsNeeded - 1];
346 // array.SetValue(arglist[argsNeeded + i - 1], i);346 // Type lastParameterType = lastParameter.ParameterType;
347347
348 // newArglist[argsNeeded - 1] = array;348 // if (lastParameterType.IsArray && lastParameter.IsDefined(typeof(ParamArrayAttribute), false))
349 // testMethod.arguments = arglist = newArglist;349 // {
350 // argsProvided = argsNeeded;350 // object[] newArglist = new object[argsNeeded];
351 // }351 // for (int i = 0; i < argsNeeded; i++)
352 //}352 // newArglist[i] = arglist[i];
353353
354 if (argsProvided != argsNeeded )354 // int length = argsProvided - argsNeeded + 1;
355 {355 // Array array = Array.CreateInstance(lastParameterType.GetElementType(), length);
356 testMethod.RunState = RunState.NotRunnable;356 // for (int i = 0; i < length; i++)
357 testMethod.IgnoreReason = "Wrong number of arguments provided";357 // array.SetValue(arglist[argsNeeded + i - 1], i);
358 return false;358
359 }359 // newArglist[argsNeeded - 1] = array;
360360 // testMethod.arguments = arglist = newArglist;
361#if CLR_2_0 || CLR_4_0361 // argsProvided = argsNeeded;
362 if (testMethod.Method.IsGenericMethodDefinition)362 // }
363 {363 //}
364 Type[] typeArguments = GetTypeArgumentsForMethod(testMethod.Method, arglist);364
365 foreach (object o in typeArguments)365 if (argsProvided != argsNeeded )
366 if (o == null)366 {
367 {367 testMethod.RunState = RunState.NotRunnable;
368 testMethod.RunState = RunState.NotRunnable;368 testMethod.IgnoreReason = "Wrong number of arguments provided";
369 testMethod.IgnoreReason = "Unable to determine type arguments for fixture";369 return false;
370 return false;370 }
371 }371
372372#if CLR_2_0 || CLR_4_0
373 testMethod.method = testMethod.Method.MakeGenericMethod(typeArguments);373 if (testMethod.Method.IsGenericMethodDefinition)
374 parameters = testMethod.Method.GetParameters();374 {
375375 Type[] typeArguments = GetTypeArgumentsForMethod(testMethod.Method, arglist);
376 for (int i = 0; i < parameters.Length; i++)376 foreach (object o in typeArguments)
377 {377 if (o == null)
378 if (arglist[i].GetType() != parameters[i].ParameterType && arglist[i] is IConvertible)378 {
379 {379 testMethod.RunState = RunState.NotRunnable;
380 try380 testMethod.IgnoreReason = "Unable to determine type arguments for fixture";
381 {381 return false;
382 arglist[i] = Convert.ChangeType(arglist[i], parameters[i].ParameterType);382 }
383 }383
384 catch (Exception)384 testMethod.method = testMethod.Method.MakeGenericMethod(typeArguments);
385 {385 parameters = testMethod.Method.GetParameters();
386 // Do nothing - the incompatible argument will be reported below386
387 }387 for (int i = 0; i < parameters.Length; i++)
388 }388 {
389 }389 if (arglist[i].GetType() != parameters[i].ParameterType && arglist[i] is IConvertible)
390 }390 {
391#endif391 try
392392 {
393 return true;393 arglist[i] = Convert.ChangeType(arglist[i], parameters[i].ParameterType);
394 }394 }
395395 catch (Exception)
396#if CLR_2_0 || CLR_4_0396 {
397 private static Type[] GetTypeArgumentsForMethod(MethodInfo method, object[] arglist)397 // Do nothing - the incompatible argument will be reported below
398 {398 }
399 Type[] typeParameters = method.GetGenericArguments();399 }
400 Type[] typeArguments = new Type[typeParameters.Length];400 }
401 ParameterInfo[] parameters = method.GetParameters();401 }
402402#endif
403 for (int typeIndex = 0; typeIndex < typeArguments.Length; typeIndex++)403
404 {404 return true;
405 Type typeParameter = typeParameters[typeIndex];405 }
406406
407 for (int argIndex = 0; argIndex < parameters.Length; argIndex++)407#if CLR_2_0 || CLR_4_0
408 {408 private static Type[] GetTypeArgumentsForMethod(MethodInfo method, object[] arglist)
409 if (parameters[argIndex].ParameterType.Equals(typeParameter))409 {
410 typeArguments[typeIndex] = TypeHelper.BestCommonType(410 Type[] typeParameters = method.GetGenericArguments();
411 typeArguments[typeIndex],411 Type[] typeArguments = new Type[typeParameters.Length];
412 arglist[argIndex].GetType());412 ParameterInfo[] parameters = method.GetParameters();
413 }413
414 }414 for (int typeIndex = 0; typeIndex < typeArguments.Length; typeIndex++)
415415 {
416 return typeArguments;416 Type typeParameter = typeParameters[typeIndex];
417 }417
418#endif418 for (int argIndex = 0; argIndex < parameters.Length; argIndex++)
419 #endregion419 {
420 }420 if (parameters[argIndex].ParameterType.Equals(typeParameter))
421}421 typeArguments[typeIndex] = TypeHelper.BestCommonType(
422 typeArguments[typeIndex],
423 arglist[argIndex].GetType());
424 }
425 }
426
427 return typeArguments;
428 }
429#endif
430 #endregion
431 }
432}
422433
=== added file 'src/NUnitCore/core/NUnitAsyncTestMethod.cs'
--- src/NUnitCore/core/NUnitAsyncTestMethod.cs 1970-01-01 00:00:00 +0000
+++ src/NUnitCore/core/NUnitAsyncTestMethod.cs 2012-10-03 23:32:21 +0000
@@ -0,0 +1,79 @@
1using System;
2using System.Collections.Generic;
3using System.Reflection;
4using System.Threading;
5
6namespace NUnit.Core
7{
8 public class NUnitAsyncTestMethod : NUnitTestMethod
9 {
10 private const string TaskWaitMethod = "Wait";
11 private const string TaskResultProperty = "Result";
12 private const string SystemAggregateException = "System.AggregateException";
13 private const string InnerExceptionsProperty = "InnerExceptions";
14 private const BindingFlags TaskResultPropertyBindingFlags = BindingFlags.GetProperty | BindingFlags.Instance | BindingFlags.Public;
15
16 public NUnitAsyncTestMethod(MethodInfo method) : base(method)
17 {
18 }
19
20 protected override object RunTestMethod(TestResult testResult)
21 {
22 if (method.ReturnType == typeof (void))
23 {
24 return RunVoidAsyncMethod(testResult);
25 }
26
27 return RunTaskAsyncMethod(testResult);
28 }
29
30 private object RunVoidAsyncMethod(TestResult testResult)
31 {
32 var previousContext = SynchronizationContext.Current;
33 var currentContext = new AsyncSynchronizationContext();
34 SynchronizationContext.SetSynchronizationContext(currentContext);
35
36 try
37 {
38 object result = base.RunTestMethod(testResult);
39
40 currentContext.WaitForOperationCompleted();
41
42 if (currentContext.Exceptions.Count > 0)
43 throw new NUnitException("Rethrown", currentContext.Exceptions[0]);
44
45 return result;
46 }
47 finally
48 {
49 SynchronizationContext.SetSynchronizationContext(previousContext);
50 }
51 }
52
53 private object RunTaskAsyncMethod(TestResult testResult)
54 {
55 try
56 {
57 object task = base.RunTestMethod(testResult);
58
59 Reflect.InvokeMethod(method.ReturnType.GetMethod(TaskWaitMethod, new Type[0]), task);
60 PropertyInfo resultProperty = Reflect.GetNamedProperty(method.ReturnType, TaskResultProperty, TaskResultPropertyBindingFlags);
61
62 return resultProperty != null ? resultProperty.GetValue(task, null) : task;
63 }
64 catch (NUnitException e)
65 {
66 if (e.InnerException != null &&
67 e.InnerException.GetType().FullName.Equals(SystemAggregateException))
68 {
69 IList<Exception> inner = (IList<Exception>)e.InnerException.GetType()
70 .GetProperty(InnerExceptionsProperty).GetValue(e.InnerException, null);
71
72 throw new NUnitException("Rethrown", inner[0]);
73 }
74
75 throw;
76 }
77 }
78 }
79}
0\ No newline at end of file80\ No newline at end of file
181
=== modified file 'src/NUnitCore/core/NUnitTestMethod.cs'
--- src/NUnitCore/core/NUnitTestMethod.cs 2010-09-19 22:47:12 +0000
+++ src/NUnitCore/core/NUnitTestMethod.cs 2012-10-03 23:32:21 +0000
@@ -2,10 +2,10 @@
2// Copyright 2007, Charlie Poole2// Copyright 2007, Charlie Poole
3// This is free software licensed under the NUnit license. You may3// This is free software licensed under the NUnit license. You may
4// obtain a copy of the license at http://nunit.org.4// obtain a copy of the license at http://nunit.org.
5// ****************************************************************5// ****************************************************************
6using System;6
7using System.Reflection;7using System.Reflection;
88
9namespace NUnit.Core9namespace NUnit.Core
10{10{
11 /// <summary>11 /// <summary>
@@ -35,5 +35,5 @@
35 return testResult;35 return testResult;
36 }36 }
37 #endregion37 #endregion
38 }38 }
39}39}
4040
=== modified file 'src/NUnitCore/core/Reflect.cs'
--- src/NUnitCore/core/Reflect.cs 2010-07-20 17:21:45 +0000
+++ src/NUnitCore/core/Reflect.cs 2012-10-03 23:32:21 +0000
@@ -438,6 +438,15 @@
438438
439 private Reflect() { }439 private Reflect() { }
440440
441 #endregion441 #endregion
442
443 public static bool IsAsyncMethod(MethodInfo method)
444 {
445 foreach (object attribute in method.GetCustomAttributes(false))
446 if (attribute.GetType().FullName.Equals("System.Runtime.CompilerServices.AsyncStateMachineAttribute"))
447 return true;
448
449 return false;
450 }
442 }451 }
443}452}
444453
=== modified file 'src/NUnitCore/core/TestMethod.cs'
--- src/NUnitCore/core/TestMethod.cs 2012-09-25 16:39:42 +0000
+++ src/NUnitCore/core/TestMethod.cs 2012-10-03 23:32:21 +0000
@@ -3,8 +3,10 @@
3// may obtain a copy of the license as well as information regarding3// may obtain a copy of the license as well as information regarding
4// copyright ownership at http://nunit.org.4// copyright ownership at http://nunit.org.
5// ****************************************************************5// ****************************************************************
6//#define DEFAULT_APPLIES_TO_TESTCASE6//#define DEFAULT_APPLIES_TO_TESTCASE
77
8using System.Diagnostics;
9
8namespace NUnit.Core10namespace NUnit.Core
9{11{
10 using System;12 using System;
@@ -451,35 +453,36 @@
451 {453 {
452 try454 try
453 {455 {
454 RunTestMethod(testResult);456 object result = RunTestMethod(testResult);
457
458 if (this.hasExpectedResult)
459 NUnitFramework.Assert.AreEqual(expectedResult, result);
460
461 testResult.Success();
462
455 if (testResult.IsSuccess && exceptionProcessor != null)463 if (testResult.IsSuccess && exceptionProcessor != null)
456 exceptionProcessor.ProcessNoException(testResult);464 exceptionProcessor.ProcessNoException(testResult);
457 }465 }
458 catch (Exception ex)466 catch (Exception ex)
459 {467 {
460 if (ex is ThreadAbortException)468 if (ex is ThreadAbortException)
461 Thread.ResetAbort();469 Thread.ResetAbort();
462470
463 if (exceptionProcessor == null)471 if (exceptionProcessor == null)
464 RecordException(ex, testResult, FailureSite.Test);472 RecordException(ex, testResult, FailureSite.Test);
465 else473 else
466 exceptionProcessor.ProcessException(ex, testResult);474 exceptionProcessor.ProcessException(ex, testResult);
467 }475 }
468 }476 }
469477
470 private void RunTestMethod(TestResult testResult)478 protected virtual object RunTestMethod(TestResult testResult)
471 {479 {
472 object fixture = this.method.IsStatic ? null : this.Fixture;480 object fixture = this.method.IsStatic ? null : this.Fixture;
473481
474 object result = Reflect.InvokeMethod( this.method, fixture, this.arguments );482 return Reflect.InvokeMethod(this.method, fixture, this.arguments);
475483 }
476 if (this.hasExpectedResult)484
477 NUnitFramework.Assert.AreEqual(expectedResult, result);485 #endregion
478
479 testResult.Success();
480 }
481
482 #endregion
483486
484 #region Record Info About An Exception487 #region Record Info About An Exception
485 protected virtual void RecordException( Exception exception, TestResult testResult, FailureSite failureSite )488 protected virtual void RecordException( Exception exception, TestResult testResult, FailureSite failureSite )
@@ -495,5 +498,5 @@
495 testResult.SetResult(finalResultState, exception, failureSite);498 testResult.SetResult(finalResultState, exception, failureSite);
496 }499 }
497 #endregion500 #endregion
498 }501 }
499}502}
500\ No newline at end of file503\ No newline at end of file
501504
=== modified file 'src/NUnitCore/core/TestSuite.cs'
--- src/NUnitCore/core/TestSuite.cs 2012-09-25 16:39:42 +0000
+++ src/NUnitCore/core/TestSuite.cs 2012-10-03 23:32:21 +0000
@@ -523,8 +523,7 @@
523 return type.IsAbstract && type.IsSealed;523 return type.IsAbstract && type.IsSealed;
524 }524 }
525525
526 private void RunAllTests(526 private void RunAllTests(TestResult suiteResult, EventListener listener, ITestFilter filter )
527 TestResult suiteResult, EventListener listener, ITestFilter filter )
528 {527 {
529 if (Properties.Contains("Timeout"))528 if (Properties.Contains("Timeout"))
530 TestExecutionContext.CurrentContext.TestCaseTimeout = (int)Properties["Timeout"];529 TestExecutionContext.CurrentContext.TestCaseTimeout = (int)Properties["Timeout"];
531530
=== modified file 'src/NUnitCore/core/nunit.core.build'
--- src/NUnitCore/core/nunit.core.build 2012-02-04 19:14:14 +0000
+++ src/NUnitCore/core/nunit.core.build 2012-10-03 23:32:21 +0000
@@ -3,6 +3,7 @@
33
4 <patternset id="source-files">4 <patternset id="source-files">
5 <include name="AbstractTestCaseDecoration.cs"/>5 <include name="AbstractTestCaseDecoration.cs"/>
6 <include name="AsyncSynchronizationContext.cs"/>
6 <include name="ActionsHelper.cs" />7 <include name="ActionsHelper.cs" />
7 <include name="AssemblyInfo.cs"/>8 <include name="AssemblyInfo.cs"/>
8 <include name="AssemblyHelper.cs"/>9 <include name="AssemblyHelper.cs"/>
@@ -32,6 +33,7 @@
32 <include name="NamespaceTreeBuilder.cs"/>33 <include name="NamespaceTreeBuilder.cs"/>
33 <include name="NoTestFixturesException.cs"/>34 <include name="NoTestFixturesException.cs"/>
34 <include name="NullListener.cs"/>35 <include name="NullListener.cs"/>
36 <include name="NUnitAsyncTestMethod.cs"/>
35 <include name="NUnitConfiguration.cs"/>37 <include name="NUnitConfiguration.cs"/>
36 <include name="NUnitException.cs"/>38 <include name="NUnitException.cs"/>
37 <include name="NUnitFramework.cs"/>39 <include name="NUnitFramework.cs"/>
3840
=== modified file 'src/NUnitCore/core/nunit.core.dll.csproj'
--- src/NUnitCore/core/nunit.core.dll.csproj 2012-08-08 03:34:12 +0000
+++ src/NUnitCore/core/nunit.core.dll.csproj 2012-10-03 23:32:21 +0000
@@ -1,226 +1,228 @@
1<?xml version="1.0" encoding="utf-8"?>1<?xml version="1.0" encoding="utf-8"?>
2<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">2<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
3 <PropertyGroup>3 <PropertyGroup>
4 <ProjectType>Local</ProjectType>4 <ProjectType>Local</ProjectType>
5 <ProductVersion>9.0.30729</ProductVersion>5 <ProductVersion>9.0.30729</ProductVersion>
6 <SchemaVersion>2.0</SchemaVersion>6 <SchemaVersion>2.0</SchemaVersion>
7 <ProjectGuid>{EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}</ProjectGuid>7 <ProjectGuid>{EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}</ProjectGuid>
8 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>8 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
9 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>9 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
10 <AssemblyKeyContainerName>10 <AssemblyKeyContainerName>
11 </AssemblyKeyContainerName>11 </AssemblyKeyContainerName>
12 <AssemblyName>nunit.core</AssemblyName>12 <AssemblyName>nunit.core</AssemblyName>
13 <DefaultClientScript>JScript</DefaultClientScript>13 <DefaultClientScript>JScript</DefaultClientScript>
14 <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>14 <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
15 <DefaultTargetSchema>IE50</DefaultTargetSchema>15 <DefaultTargetSchema>IE50</DefaultTargetSchema>
16 <DelaySign>false</DelaySign>16 <DelaySign>false</DelaySign>
17 <OutputType>Library</OutputType>17 <OutputType>Library</OutputType>
18 <RootNamespace>NUnit.Core</RootNamespace>18 <RootNamespace>NUnit.Core</RootNamespace>
19 <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>19 <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
20 <FileUpgradeFlags>20 <FileUpgradeFlags>
21 </FileUpgradeFlags>21 </FileUpgradeFlags>
22 <UpgradeBackupLocation>22 <UpgradeBackupLocation>
23 </UpgradeBackupLocation>23 </UpgradeBackupLocation>
24 <OldToolsVersion>3.5</OldToolsVersion>24 <OldToolsVersion>3.5</OldToolsVersion>
25 <IsWebBootstrapper>true</IsWebBootstrapper>25 <IsWebBootstrapper>true</IsWebBootstrapper>
26 <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>26 <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
27 <PublishUrl>http://localhost/nunit.core/</PublishUrl>27 <PublishUrl>http://localhost/nunit.core/</PublishUrl>
28 <Install>true</Install>28 <Install>true</Install>
29 <InstallFrom>Web</InstallFrom>29 <InstallFrom>Web</InstallFrom>
30 <UpdateEnabled>true</UpdateEnabled>30 <UpdateEnabled>true</UpdateEnabled>
31 <UpdateMode>Foreground</UpdateMode>31 <UpdateMode>Foreground</UpdateMode>
32 <UpdateInterval>7</UpdateInterval>32 <UpdateInterval>7</UpdateInterval>
33 <UpdateIntervalUnits>Days</UpdateIntervalUnits>33 <UpdateIntervalUnits>Days</UpdateIntervalUnits>
34 <UpdatePeriodically>false</UpdatePeriodically>34 <UpdatePeriodically>false</UpdatePeriodically>
35 <UpdateRequired>false</UpdateRequired>35 <UpdateRequired>false</UpdateRequired>
36 <MapFileExtensions>true</MapFileExtensions>36 <MapFileExtensions>true</MapFileExtensions>
37 <ApplicationRevision>0</ApplicationRevision>37 <ApplicationRevision>0</ApplicationRevision>
38 <ApplicationVersion>1.0.0.%2a</ApplicationVersion>38 <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
39 <UseApplicationTrust>false</UseApplicationTrust>39 <UseApplicationTrust>false</UseApplicationTrust>
40 <BootstrapperEnabled>true</BootstrapperEnabled>40 <BootstrapperEnabled>true</BootstrapperEnabled>
41 </PropertyGroup>41 </PropertyGroup>
42 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">42 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
43 <OutputPath>..\..\..\bin\Debug\lib\</OutputPath>43 <OutputPath>..\..\..\bin\Debug\lib\</OutputPath>
44 <BaseAddress>285212672</BaseAddress>44 <BaseAddress>285212672</BaseAddress>
45 <ConfigurationOverrideFile>45 <ConfigurationOverrideFile>
46 </ConfigurationOverrideFile>46 </ConfigurationOverrideFile>
47 <DefineConstants>TRACE;DEBUG;CLR_2_0,NET_2_0,CS_3_0</DefineConstants>47 <DefineConstants>TRACE;DEBUG;CLR_2_0,NET_2_0,CS_3_0</DefineConstants>
48 <DocumentationFile>48 <DocumentationFile>
49 </DocumentationFile>49 </DocumentationFile>
50 <DebugSymbols>true</DebugSymbols>50 <DebugSymbols>true</DebugSymbols>
51 <FileAlignment>4096</FileAlignment>51 <FileAlignment>4096</FileAlignment>
52 <NoWarn>1699</NoWarn>52 <NoWarn>1699</NoWarn>
53 <Optimize>false</Optimize>53 <Optimize>false</Optimize>
54 <RegisterForComInterop>false</RegisterForComInterop>54 <RegisterForComInterop>false</RegisterForComInterop>
55 <RemoveIntegerChecks>false</RemoveIntegerChecks>55 <RemoveIntegerChecks>false</RemoveIntegerChecks>
56 <WarningLevel>4</WarningLevel>56 <WarningLevel>4</WarningLevel>
57 <DebugType>full</DebugType>57 <DebugType>full</DebugType>
58 <ErrorReport>prompt</ErrorReport>58 <ErrorReport>prompt</ErrorReport>
59 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>59 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
60 </PropertyGroup>60 </PropertyGroup>
61 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">61 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
62 <OutputPath>..\..\..\bin\Release\lib\</OutputPath>62 <OutputPath>..\..\..\bin\Release\lib\</OutputPath>
63 <BaseAddress>285212672</BaseAddress>63 <BaseAddress>285212672</BaseAddress>
64 <ConfigurationOverrideFile>64 <ConfigurationOverrideFile>
65 </ConfigurationOverrideFile>65 </ConfigurationOverrideFile>
66 <DefineConstants>TRACE;CLR_2_0,NET_2_0,CS_3_0</DefineConstants>66 <DefineConstants>TRACE;CLR_2_0,NET_2_0,CS_3_0</DefineConstants>
67 <DocumentationFile>67 <DocumentationFile>
68 </DocumentationFile>68 </DocumentationFile>
69 <FileAlignment>4096</FileAlignment>69 <FileAlignment>4096</FileAlignment>
70 <NoWarn>1699</NoWarn>70 <NoWarn>1699</NoWarn>
71 <Optimize>true</Optimize>71 <Optimize>true</Optimize>
72 <RegisterForComInterop>false</RegisterForComInterop>72 <RegisterForComInterop>false</RegisterForComInterop>
73 <RemoveIntegerChecks>false</RemoveIntegerChecks>73 <RemoveIntegerChecks>false</RemoveIntegerChecks>
74 <WarningLevel>4</WarningLevel>74 <WarningLevel>4</WarningLevel>
75 <DebugType>none</DebugType>75 <DebugType>none</DebugType>
76 <ErrorReport>prompt</ErrorReport>76 <ErrorReport>prompt</ErrorReport>
77 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>77 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
78 </PropertyGroup>78 </PropertyGroup>
79 <ItemGroup>79 <ItemGroup>
80 <Reference Include="System">80 <Reference Include="System">
81 <Name>System</Name>81 <Name>System</Name>
82 </Reference>82 </Reference>
83 <Reference Include="System.Data">83 <Reference Include="System.Data">
84 <Name>System.Data</Name>84 <Name>System.Data</Name>
85 </Reference>85 </Reference>
86 <Reference Include="System.Xml">86 <Reference Include="System.Xml">
87 <Name>System.XML</Name>87 <Name>System.XML</Name>
88 </Reference>88 </Reference>
89 <ProjectReference Include="..\interfaces\nunit.core.interfaces.dll.csproj">89 <ProjectReference Include="..\interfaces\nunit.core.interfaces.dll.csproj">
90 <Name>nunit.core.interfaces.dll</Name>90 <Name>nunit.core.interfaces.dll</Name>
91 <Project>{435428F8-5995-4CE4-8022-93D595A8CC0F}</Project>91 <Project>{435428F8-5995-4CE4-8022-93D595A8CC0F}</Project>
92 <Private>False</Private>92 <Private>False</Private>
93 </ProjectReference>93 </ProjectReference>
94 <Reference Include="System.Configuration" />94 <Reference Include="System.Configuration" />
95 </ItemGroup>95 </ItemGroup>
96 <ItemGroup>96 <ItemGroup>
97 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">97 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
98 <Visible>False</Visible>98 <Visible>False</Visible>
99 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>99 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
100 <Install>false</Install>100 <Install>false</Install>
101 </BootstrapperPackage>101 </BootstrapperPackage>
102 <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">102 <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
103 <Visible>False</Visible>103 <Visible>False</Visible>
104 <ProductName>.NET Framework 2.0 %28x86%29</ProductName>104 <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
105 <Install>true</Install>105 <Install>true</Install>
106 </BootstrapperPackage>106 </BootstrapperPackage>
107 <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">107 <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
108 <Visible>False</Visible>108 <Visible>False</Visible>
109 <ProductName>.NET Framework 3.0 %28x86%29</ProductName>109 <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
110 <Install>false</Install>110 <Install>false</Install>
111 </BootstrapperPackage>111 </BootstrapperPackage>
112 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">112 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
113 <Visible>False</Visible>113 <Visible>False</Visible>
114 <ProductName>.NET Framework 3.5</ProductName>114 <ProductName>.NET Framework 3.5</ProductName>
115 <Install>false</Install>115 <Install>false</Install>
116 </BootstrapperPackage>116 </BootstrapperPackage>
117 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">117 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
118 <Visible>False</Visible>118 <Visible>False</Visible>
119 <ProductName>.NET Framework 3.5 SP1</ProductName>119 <ProductName>.NET Framework 3.5 SP1</ProductName>
120 <Install>false</Install>120 <Install>false</Install>
121 </BootstrapperPackage>121 </BootstrapperPackage>
122 </ItemGroup>122 </ItemGroup>
123 <ItemGroup>123 <ItemGroup>
124 <Compile Include="..\..\CommonAssemblyInfo.cs">124 <Compile Include="..\..\CommonAssemblyInfo.cs">
125 <Link>CommonAssemblyInfo.cs</Link>125 <Link>CommonAssemblyInfo.cs</Link>
126 </Compile>126 </Compile>
127 <Compile Include="AbstractTestCaseDecoration.cs" />127 <Compile Include="AbstractTestCaseDecoration.cs" />
128 <Compile Include="AssemblyHelper.cs" />128 <Compile Include="AssemblyHelper.cs" />
129 <Compile Include="AssemblyInfo.cs" />129 <Compile Include="AssemblyInfo.cs" />
130 <Compile Include="AssemblyReader.cs" />130 <Compile Include="AssemblyReader.cs" />
131 <Compile Include="AssemblyResolver.cs" />131 <Compile Include="AssemblyResolver.cs" />
132 <Compile Include="ActionsHelper.cs" />132 <Compile Include="ActionsHelper.cs" />
133 <Compile Include="Builders\CombinatorialStrategy.cs" />133 <Compile Include="AsyncSynchronizationContext.cs" />
134 <Compile Include="Builders\CombinatorialTestCaseProvider.cs" />134 <Compile Include="Builders\CombinatorialStrategy.cs" />
135 <Compile Include="Builders\CombiningStrategy.cs" />135 <Compile Include="Builders\CombinatorialTestCaseProvider.cs" />
136 <Compile Include="Builders\DatapointProvider.cs" />136 <Compile Include="Builders\CombiningStrategy.cs" />
137 <Compile Include="Builders\InlineDataPointProvider.cs" />137 <Compile Include="Builders\DatapointProvider.cs" />
138 <Compile Include="Builders\LegacySuiteBuilder.cs" />138 <Compile Include="Builders\InlineDataPointProvider.cs" />
139 <Compile Include="Builders\NUnitTestCaseBuilder.cs" />139 <Compile Include="Builders\LegacySuiteBuilder.cs" />
140 <Compile Include="Builders\NUnitTestFixtureBuilder.cs" />140 <Compile Include="Builders\NUnitTestCaseBuilder.cs" />
141 <Compile Include="Builders\PairwiseStrategy.cs" />141 <Compile Include="Builders\NUnitTestFixtureBuilder.cs" />
142 <Compile Include="Builders\ProviderCache.cs" />142 <Compile Include="Builders\PairwiseStrategy.cs" />
143 <Compile Include="Builders\ProviderInfo.cs" />143 <Compile Include="Builders\ProviderCache.cs" />
144 <Compile Include="Builders\SequentialStrategy.cs" />144 <Compile Include="Builders\ProviderInfo.cs" />
145 <Compile Include="Builders\SetUpFixtureBuilder.cs" />145 <Compile Include="Builders\SequentialStrategy.cs" />
146 <Compile Include="Builders\TestAssemblyBuilder.cs" />146 <Compile Include="Builders\SetUpFixtureBuilder.cs" />
147 <Compile Include="Builders\TestCaseParameterProvider.cs" />147 <Compile Include="Builders\TestAssemblyBuilder.cs" />
148 <Compile Include="Builders\TestCaseSourceProvider.cs" />148 <Compile Include="Builders\TestCaseParameterProvider.cs" />
149 <Compile Include="Builders\ValueSourceProvider.cs" />149 <Compile Include="Builders\TestCaseSourceProvider.cs" />
150 <Compile Include="ContextDictionary.cs" />150 <Compile Include="Builders\ValueSourceProvider.cs" />
151 <Compile Include="CoreExtensions.cs" />151 <Compile Include="ContextDictionary.cs" />
152 <Compile Include="CultureDetector.cs" />152 <Compile Include="CoreExtensions.cs" />
153 <Compile Include="DirectorySwapper.cs" />153 <Compile Include="CultureDetector.cs" />
154 <Compile Include="DomainAgent.cs" />154 <Compile Include="DirectorySwapper.cs" />
155 <Compile Include="EventListenerTextWriter.cs" />155 <Compile Include="DomainAgent.cs" />
156 <Compile Include="EventPump.cs" />156 <Compile Include="EventListenerTextWriter.cs" />
157 <Compile Include="EventQueue.cs" />157 <Compile Include="EventPump.cs" />
158 <Compile Include="ExpectedExceptionProcessor.cs" />158 <Compile Include="EventQueue.cs" />
159 <Compile Include="Extensibility\DataPointProviders.cs" />159 <Compile Include="ExpectedExceptionProcessor.cs" />
160 <Compile Include="Extensibility\EventListenerCollection.cs" />160 <Compile Include="Extensibility\DataPointProviders.cs" />
161 <Compile Include="Extensibility\FrameworkRegistry.cs" />161 <Compile Include="Extensibility\EventListenerCollection.cs" />
162 <Compile Include="Extensibility\SuiteBuilderCollection.cs" />162 <Compile Include="Extensibility\FrameworkRegistry.cs" />
163 <Compile Include="Extensibility\TestCaseBuilderCollection.cs" />163 <Compile Include="Extensibility\SuiteBuilderCollection.cs" />
164 <Compile Include="Extensibility\TestCaseProviders.cs" />164 <Compile Include="Extensibility\TestCaseBuilderCollection.cs" />
165 <Compile Include="Extensibility\TestDecoratorCollection.cs" />165 <Compile Include="Extensibility\TestCaseProviders.cs" />
166 <Compile Include="ExtensionHost.cs" />166 <Compile Include="Extensibility\TestDecoratorCollection.cs" />
167 <Compile Include="ExtensionPoint.cs" />167 <Compile Include="ExtensionHost.cs" />
168 <Compile Include="IgnoreDecorator.cs" />168 <Compile Include="ExtensionPoint.cs" />
169 <Compile Include="InternalTrace.cs" />169 <Compile Include="IgnoreDecorator.cs" />
170 <Compile Include="InternalTraceWriter.cs" />170 <Compile Include="InternalTrace.cs" />
171 <Compile Include="InvalidSuiteException.cs" />171 <Compile Include="InternalTraceWriter.cs" />
172 <Compile Include="InvalidTestFixtureException.cs" />172 <Compile Include="InvalidSuiteException.cs" />
173 <Compile Include="LegacySuite.cs" />173 <Compile Include="InvalidTestFixtureException.cs" />
174 <Compile Include="Log4NetCapture.cs" />174 <Compile Include="LegacySuite.cs" />
175 <Compile Include="Logger.cs" />175 <Compile Include="Log4NetCapture.cs" />
176 <Compile Include="MethodHelper.cs" />176 <Compile Include="Logger.cs" />
177 <Compile Include="NamespaceSuite.cs" />177 <Compile Include="MethodHelper.cs" />
178 <Compile Include="NamespaceTreeBuilder.cs" />178 <Compile Include="NamespaceSuite.cs" />
179 <Compile Include="NoTestFixturesException.cs" />179 <Compile Include="NamespaceTreeBuilder.cs" />
180 <Compile Include="NullListener.cs" />180 <Compile Include="NoTestFixturesException.cs" />
181 <Compile Include="NUnitConfiguration.cs" />181 <Compile Include="NullListener.cs" />
182 <Compile Include="NUnitException.cs" />182 <Compile Include="NUnitAsyncTestMethod.cs" />
183 <Compile Include="NUnitFramework.cs" />183 <Compile Include="NUnitConfiguration.cs" />
184 <Compile Include="NUnitTestFixture.cs" />184 <Compile Include="NUnitException.cs" />
185 <Compile Include="NUnitTestMethod.cs" />185 <Compile Include="NUnitFramework.cs" />
186 <Compile Include="ParameterizedFixtureSuite.cs" />186 <Compile Include="NUnitTestFixture.cs" />
187 <Compile Include="ParameterizedTestMethodSuite.cs" />187 <Compile Include="NUnitTestMethod.cs" />
188 <Compile Include="PlatformHelper.cs" />188 <Compile Include="ParameterizedFixtureSuite.cs" />
189 <Compile Include="ProjectRootSuite.cs" />189 <Compile Include="ParameterizedTestMethodSuite.cs" />
190 <Compile Include="ProxyTestRunner.cs" />190 <Compile Include="PlatformHelper.cs" />
191 <Compile Include="QueuingEventListener.cs" />191 <Compile Include="ProjectRootSuite.cs" />
192 <Compile Include="Reflect.cs" />192 <Compile Include="ProxyTestRunner.cs" />
193 <Compile Include="RemoteTestRunner.cs" />193 <Compile Include="QueuingEventListener.cs" />
194 <Compile Include="SetUpFixture.cs" />194 <Compile Include="Reflect.cs" />
195 <Compile Include="SimpleTestRunner.cs" />195 <Compile Include="RemoteTestRunner.cs" />
196 <Compile Include="StringTextWriter.cs" />196 <Compile Include="SetUpFixture.cs" />
197 <Compile Include="SuiteBuilderAttribute.cs" />197 <Compile Include="SimpleTestRunner.cs" />
198 <Compile Include="TestAction.cs" />198 <Compile Include="StringTextWriter.cs" />
199 <Compile Include="TestAssembly.cs" />199 <Compile Include="SuiteBuilderAttribute.cs" />
200 <Compile Include="TestBuilderAttribute.cs" />200 <Compile Include="TestAction.cs" />
201 <Compile Include="TestCaseBuilderAttribute.cs" />201 <Compile Include="TestAssembly.cs" />
202 <Compile Include="TestDecoratorAttribute.cs" />202 <Compile Include="TestBuilderAttribute.cs" />
203 <Compile Include="TestExecutionContext.cs" />203 <Compile Include="TestCaseBuilderAttribute.cs" />
204 <Compile Include="TestFixture.cs" />204 <Compile Include="TestDecoratorAttribute.cs" />
205 <Compile Include="TestFixtureBuilder.cs" />205 <Compile Include="TestExecutionContext.cs" />
206 <Compile Include="TestMethod.cs" />206 <Compile Include="TestFixture.cs" />
207 <Compile Include="TestRunnerThread.cs" />207 <Compile Include="TestFixtureBuilder.cs" />
208 <Compile Include="TestSuite.cs" />208 <Compile Include="TestMethod.cs" />
209 <Compile Include="TestSuiteBuilder.cs" />209 <Compile Include="TestRunnerThread.cs" />
210 <Compile Include="TestThread.cs" />210 <Compile Include="TestSuite.cs" />
211 <Compile Include="TextCapture.cs" />211 <Compile Include="TestSuiteBuilder.cs" />
212 <Compile Include="ThreadedTestRunner.cs" />212 <Compile Include="TestThread.cs" />
213 <Compile Include="ThreadUtility.cs" />213 <Compile Include="TextCapture.cs" />
214 <Compile Include="TypeHelper.cs" />214 <Compile Include="ThreadedTestRunner.cs" />
215 </ItemGroup>215 <Compile Include="ThreadUtility.cs" />
216 <ItemGroup>216 <Compile Include="TypeHelper.cs" />
217 <None Include="nunit.core.build" />217 </ItemGroup>
218 </ItemGroup>218 <ItemGroup>
219 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />219 <None Include="nunit.core.build" />
220 <PropertyGroup>220 </ItemGroup>
221 <PreBuildEvent>221 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
222 </PreBuildEvent>222 <PropertyGroup>
223 <PostBuildEvent>223 <PreBuildEvent>
224 </PostBuildEvent>224 </PreBuildEvent>
225 </PropertyGroup>225 <PostBuildEvent>
226 </PostBuildEvent>
227 </PropertyGroup>
226</Project>228</Project>
227\ No newline at end of file229\ No newline at end of file
228230
=== modified file 'src/NUnitCore/interfaces/RuntimeFramework.cs'
--- src/NUnitCore/interfaces/RuntimeFramework.cs 2011-11-26 18:03:03 +0000
+++ src/NUnitCore/interfaces/RuntimeFramework.cs 2012-10-03 23:32:21 +0000
@@ -79,6 +79,8 @@
7979
80 if (version.Major == 3)80 if (version.Major == 3)
81 this.clrVersion = new Version(2, 0, 50727);81 this.clrVersion = new Version(2, 0, 50727);
82 if(version.Major == 4)
83 this.clrVersion = new Version(4, 0, 30319);
82 //else if (runtime == RuntimeType.Mono && version.Major == 1)84 //else if (runtime == RuntimeType.Mono && version.Major == 1)
83 //{85 //{
84 // if (version.Minor == 0)86 // if (version.Minor == 0)
8587
=== added directory 'src/NUnitCore/tests-net45'
=== added file 'src/NUnitCore/tests-net45/NUnitAsyncTestMethodTests.cs'
--- src/NUnitCore/tests-net45/NUnitAsyncTestMethodTests.cs 1970-01-01 00:00:00 +0000
+++ src/NUnitCore/tests-net45/NUnitAsyncTestMethodTests.cs 2012-10-03 23:32:21 +0000
@@ -0,0 +1,109 @@
1#if NET_3_5 || NET_4_0 || NET_4_5
2using System;
3using System.Collections;
4using System.Linq.Expressions;
5using System.Reflection;
6using System.Threading;
7using NUnit.Core;
8using NUnit.Core.Builders;
9using NUnit.Framework;
10using test_assembly_net45;
11
12namespace nunit.core.tests.net45
13{
14 [TestFixture]
15 public class NUnitAsyncTestMethodTests
16 {
17 private NUnitTestCaseBuilder _builder;
18
19 [SetUp]
20 public void Setup()
21 {
22 _builder = new NUnitTestCaseBuilder();
23 }
24
25 public IEnumerable TestCases
26 {
27 get
28 {
29 yield return new object[] { Method("AsyncVoidSuccess"), ResultState.Success, 1 };
30 yield return new object[] { Method("AsyncVoidFailure"), ResultState.Failure, 1 };
31 yield return new object[] { Method("AsyncVoidError"), ResultState.Error, 0 };
32
33 yield return new object[] { Method("AsyncTaskSuccess"), ResultState.Success, 1 };
34 yield return new object[] { Method("AsyncTaskFailure"), ResultState.Failure, 1 };
35 yield return new object[] { Method("AsyncTaskError"), ResultState.Error, 0 };
36
37 yield return new object[] { Method("AsyncTaskResultSuccess"), ResultState.Success, 1 };
38 yield return new object[] { Method("AsyncTaskResultFailure"), ResultState.Failure, 1 };
39 yield return new object[] { Method("AsyncTaskResultError"), ResultState.Error, 0 };
40
41 yield return new object[] { Method("AsyncTaskResultCheckSuccess"), ResultState.Success, 0 };
42 //yield return new object[] { Method("AsyncVoidTestCaseWithParametersSuccess(0, 0)), ResultState.Success, 1 };
43 yield return new object[] { Method("AsyncTaskResultCheckSuccessReturningNull"), ResultState.Success, 0 };
44 yield return new object[] { Method("AsyncTaskResultCheckFailure"), ResultState.Failure, 0 };
45 yield return new object[] { Method("AsyncTaskResultCheckError"), ResultState.Failure, 0 };
46
47 yield return new object[] { Method("AsyncVoidExpectedException"), ResultState.Success, 0 };
48 yield return new object[] { Method("AsyncTaskExpectedException"), ResultState.Success, 0 };
49 yield return new object[] { Method("AsyncTaskResultExpectedException"), ResultState.Success, 0 };
50
51 yield return new object[] { Method("NestedAsyncVoidSuccess"), ResultState.Success, 1 };
52 yield return new object[] { Method("NestedAsyncVoidFailure"), ResultState.Failure, 1 };
53 yield return new object[] { Method("NestedAsyncVoidError"), ResultState.Error, 0 };
54
55 yield return new object[] { Method("NestedAsyncTaskSuccess"), ResultState.Success, 1 };
56 yield return new object[] { Method("NestedAsyncTaskFailure"), ResultState.Failure, 1 };
57 yield return new object[] { Method("NestedAsyncTaskError"), ResultState.Error, 0 };
58
59 yield return new object[] { Method("AsyncVoidMultipleSuccess"), ResultState.Success, 1 };
60 yield return new object[] { Method("AsyncVoidMultipleFailure"), ResultState.Failure, 1 };
61 yield return new object[] { Method("AsyncVoidMultipleError"), ResultState.Error, 0 };
62
63 yield return new object[] { Method("AsyncTaskMultipleSuccess"), ResultState.Success, 1 };
64 yield return new object[] { Method("AsyncTaskMultipleFailure"), ResultState.Failure, 1 };
65 yield return new object[] { Method("AsyncTaskMultipleError"), ResultState.Error, 0 };
66 }
67 }
68
69 [Test]
70 [TestCaseSource("TestCases")]
71 public void RunTests(MethodInfo testMethod, ResultState resultState, int assertionCount)
72 {
73 var method = _builder.BuildFrom(testMethod);
74
75 var result = method.Run(new NullListener(), TestFilter.Empty);
76
77 Assert.That(result.Executed, Is.True, "Was not executed");
78 Assert.That(result.ResultState, Is.EqualTo(resultState), "Wrong result state");
79 Assert.That(result.AssertCount, Is.EqualTo(assertionCount), "Wrong assertion count");
80 }
81
82 [Test]
83 public void SynchronizationContextSwitching()
84 {
85 var context = new CustomSynchronizationContext();
86
87 SynchronizationContext.SetSynchronizationContext(context);
88
89 var method = _builder.BuildFrom(Method("AsyncVoidAssertSynchrnoizationContext"));
90
91 var result = method.Run(new NullListener(), TestFilter.Empty);
92
93 Assert.AreSame(context, SynchronizationContext.Current);
94 Assert.That(result.Executed, Is.True, "Was not executed");
95 Assert.That(result.ResultState, Is.EqualTo(ResultState.Success), "Wrong result state");
96 Assert.That(result.AssertCount, Is.EqualTo(1), "Wrong assertion count");
97 }
98
99 private static MethodInfo Method(string name)
100 {
101 return typeof (AsyncRealFixture).GetMethod(name);
102 }
103
104 public class CustomSynchronizationContext : SynchronizationContext
105 {
106 }
107 }
108}
109#endif
0\ No newline at end of file110\ No newline at end of file
1111
=== added file 'src/NUnitCore/tests-net45/NUnitTestCaseBuilderTests.cs'
--- src/NUnitCore/tests-net45/NUnitTestCaseBuilderTests.cs 1970-01-01 00:00:00 +0000
+++ src/NUnitCore/tests-net45/NUnitTestCaseBuilderTests.cs 2012-10-03 23:32:21 +0000
@@ -0,0 +1,108 @@
1#if NET_3_5 || NET_4_0 || NET_4_5
2using System.Reflection;
3using NUnit.Core;
4using NUnit.Core.Builders;
5using NUnit.Framework;
6using test_assembly_net45;
7
8namespace nunit.core.tests.net45
9{
10 [TestFixture]
11 public class NUnitTestCaseBuilderTests
12 {
13 private NUnitTestCaseBuilder _sut;
14
15 [SetUp]
16 public void Setup()
17 {
18 _sut = new NUnitTestCaseBuilder();
19 }
20
21 [Test]
22 public void Async_void()
23 {
24 var built = _sut.BuildFrom(Method("Void"));
25
26 Assert.That(built, Is.InstanceOf<NUnitAsyncTestMethod>());
27 Assert.That(built.RunState, Is.EqualTo(RunState.Runnable));
28 }
29
30 [Test]
31 public void Async_task()
32 {
33 var built = _sut.BuildFrom(Method("PlainTask"));
34
35 Assert.That(built, Is.InstanceOf<NUnitAsyncTestMethod>());
36 Assert.That(built.RunState, Is.EqualTo(RunState.Runnable));
37 }
38
39 [Test]
40 public void Async_task_testcase_result_check()
41 {
42 var built = _sut.BuildFrom(Method("AsyncTaskTestCase"));
43
44 var testMethod = built.Tests[0] as NUnitAsyncTestMethod;
45
46 Assert.IsNotNull(testMethod);
47
48 Assert.That(testMethod.RunState, Is.EqualTo(RunState.NotRunnable));
49 }
50
51 [Test]
52 public void Async_void_testcase_result_check()
53 {
54 var built = _sut.BuildFrom(Method("AsyncTaskTestCase"));
55
56 var testMethod = built.Tests[0] as NUnitAsyncTestMethod;
57
58 Assert.IsNotNull(testMethod);
59
60 Assert.That(testMethod.RunState, Is.EqualTo(RunState.NotRunnable));
61 }
62
63 [Test]
64 public void Async_task_with_result_testcase_result_check()
65 {
66 var built = _sut.BuildFrom(Method("AsyncTaskWithResultTestCase"));
67
68 var testMethod = built.Tests[0] as NUnitAsyncTestMethod;
69
70 Assert.IsNotNull(testMethod);
71
72 Assert.That(testMethod.RunState, Is.EqualTo(RunState.Runnable));
73 }
74
75 [Test]
76 public void Async_task_with_result()
77 {
78 var built = _sut.BuildFrom(Method("TaskWithResult"));
79
80 Assert.That(built, Is.InstanceOf<NUnitAsyncTestMethod>());
81 Assert.That(built.RunState, Is.EqualTo(RunState.Runnable));
82 }
83
84 [Test]
85 public void Non_async_task()
86 {
87 var built = _sut.BuildFrom(Method("NonAsyncTask"));
88
89 Assert.That(built, Is.Not.InstanceOf<NUnitAsyncTestMethod>());
90 Assert.That(built.RunState, Is.EqualTo(RunState.NotRunnable));
91 }
92
93 [Test]
94 public void Non_async_task_with_result()
95 {
96 var built = _sut.BuildFrom(Method("NonAsyncTaskWithResult"));
97
98 Assert.That(built, Is.Not.InstanceOf<NUnitAsyncTestMethod>());
99 Assert.That(built.RunState, Is.EqualTo(RunState.NotRunnable));
100 }
101
102 public MethodInfo Method(string name)
103 {
104 return typeof (AsyncDummyFixture).GetMethod(name);
105 }
106 }
107}
108#endif
0\ No newline at end of file109\ No newline at end of file
1110
=== added directory 'src/NUnitCore/tests-net45/Properties'
=== added file 'src/NUnitCore/tests-net45/nunit.core.tests.net45.build'
--- src/NUnitCore/tests-net45/nunit.core.tests.net45.build 1970-01-01 00:00:00 +0000
+++ src/NUnitCore/tests-net45/nunit.core.tests.net45.build 2012-10-03 23:32:21 +0000
@@ -0,0 +1,48 @@
1<?xml version="1.0"?>
2<project name="NUnitCoreTestsNet45" default="build" basedir=".">
3
4 <patternset id="source-files">
5 <include name="NUnitTestCaseBuilderTests.cs"/>
6 <include name="NUnitAsyncTestMethodTests.cs"/>
7 </patternset>
8
9 <target name="build">
10 <property name="previousFramework" value="${nant.settings.currentframework}"/>
11 <property name="nant.settings.currentframework" value="net-4.5"/>
12 <csc target="library"
13 output="${current.test.dir}/nunit.core.tests.net45.dll"
14 debug="${build.debug}"
15 define="${build.defines}">
16 <nowarn>
17 <warning number="618,672"/>
18 </nowarn>
19 <sources>
20 <patternset refid="source-files"/>
21 <include name="../../GeneratedAssemblyInfo.cs"/>
22 </sources>
23 <resources prefix="NUnit.Core.Tests.45">
24 <include name="Results.xsd"/>
25 </resources>
26 <references>
27 <include name="${current.framework.dir}/nunit.framework.dll"/>
28 <include name="${current.lib.dir}/nunit.core.interfaces.dll"/>
29 <include name="${current.lib.dir}/nunit.core.dll"/>
30 <include name="${current.lib.dir}/nunit.util.dll"/>
31 <include name="${current.test.dir}/test-assembly-net45.dll"/>
32 </references>
33 </csc>
34 <property name="nant.settings.currentframework" value="${previousFramework}"/>
35 </target>
36
37 <target name="package">
38 <copy todir="${package.src.dir}/NUnitCore/tests-net45">
39 <fileset>
40 <patternset refid="source-files"/>
41 <include name="Results.xsd"/>
42 <include name="nunit.core.tests.net45.csproj"/>
43 <include name="nunit.core.tests.net45.build"/>
44 </fileset>
45 </copy>
46 </target>
47
48</project>
0\ No newline at end of file49\ No newline at end of file
150
=== added file 'src/NUnitCore/tests-net45/nunit.core.tests.net45.csproj'
--- src/NUnitCore/tests-net45/nunit.core.tests.net45.csproj 1970-01-01 00:00:00 +0000
+++ src/NUnitCore/tests-net45/nunit.core.tests.net45.csproj 2012-10-03 23:32:21 +0000
@@ -0,0 +1,84 @@
1<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4 <PropertyGroup>
5 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7 <ProjectGuid>{689A54F0-2B54-4D15-96A7-D8B6E6FE32B1}</ProjectGuid>
8 <OutputType>Library</OutputType>
9 <AppDesignerFolder>Properties</AppDesignerFolder>
10 <RootNamespace>nunit.core.tests.net45</RootNamespace>
11 <AssemblyName>nunit.core.tests.45</AssemblyName>
12 <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13 <FileAlignment>512</FileAlignment>
14 <TargetFrameworkProfile />
15 </PropertyGroup>
16 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17 <DebugSymbols>true</DebugSymbols>
18 <DebugType>full</DebugType>
19 <Optimize>false</Optimize>
20 <OutputPath>..\..\..\bin\Debug\tests\</OutputPath>
21 <DefineConstants>TRACE;DEBUG;CLR_2_0,NET_3_5,CS_3_0,CLR_4_0,NET_4_0,NET_4_5</DefineConstants>
22 <ErrorReport>prompt</ErrorReport>
23 <WarningLevel>4</WarningLevel>
24 <Prefer32Bit>false</Prefer32Bit>
25 </PropertyGroup>
26 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27 <DebugType>pdbonly</DebugType>
28 <Optimize>true</Optimize>
29 <OutputPath>bin\Release\</OutputPath>
30 <DefineConstants>TRACE</DefineConstants>
31 <ErrorReport>prompt</ErrorReport>
32 <WarningLevel>4</WarningLevel>
33 <Prefer32Bit>false</Prefer32Bit>
34 </PropertyGroup>
35 <ItemGroup>
36 <Reference Include="System" />
37 <Reference Include="System.Core" />
38 <Reference Include="System.Xml.Linq" />
39 <Reference Include="System.Xml" />
40 </ItemGroup>
41 <ItemGroup>
42 <Compile Include="..\..\CommonAssemblyInfo.cs">
43 <Link>CommonAssemblyInfo.cs</Link>
44 </Compile>
45 <Compile Include="NUnitAsyncTestMethodTests.cs" />
46 <Compile Include="NUnitTestCaseBuilderTests.cs" />
47 </ItemGroup>
48 <ItemGroup>
49 <None Include="nunit.core.tests.net45.build" />
50 </ItemGroup>
51 <ItemGroup>
52 <Folder Include="Properties\" />
53 </ItemGroup>
54 <ItemGroup>
55 <ProjectReference Include="..\..\NUnitFramework\framework\nunit.framework.dll.csproj">
56 <Project>{83dd7e12-a705-4dba-9d71-09c8973d9382}</Project>
57 <Name>nunit.framework.dll</Name>
58 </ProjectReference>
59 <ProjectReference Include="..\..\tests\test-assembly-net45\test-assembly-net45.csproj">
60 <Project>{74CCEAEA-CDBF-4FE0-BF0D-914C3C44ECE9}</Project>
61 <Name>test-assembly-net45</Name>
62 </ProjectReference>
63 <ProjectReference Include="..\..\tests\test-assembly\test-assembly.csproj">
64 <Project>{1960CAC4-9A82-47C5-A9B3-55BC37572C3C}</Project>
65 <Name>test-assembly</Name>
66 </ProjectReference>
67 <ProjectReference Include="..\core\nunit.core.dll.csproj">
68 <Project>{ebd43a7f-afca-4281-bb53-5cdd91f966a3}</Project>
69 <Name>nunit.core.dll</Name>
70 </ProjectReference>
71 <ProjectReference Include="..\interfaces\nunit.core.interfaces.dll.csproj">
72 <Project>{435428f8-5995-4ce4-8022-93d595a8cc0f}</Project>
73 <Name>nunit.core.interfaces.dll</Name>
74 </ProjectReference>
75 </ItemGroup>
76 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
77 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
78 Other similar extension points exist, see Microsoft.Common.targets.
79 <Target Name="BeforeBuild">
80 </Target>
81 <Target Name="AfterBuild">
82 </Target>
83 -->
84</Project>
0\ No newline at end of file85\ No newline at end of file
186
=== modified file 'src/NUnitCore/tests/CoreExtensionsTests.cs'
--- src/NUnitCore/tests/CoreExtensionsTests.cs 2011-03-30 20:37:44 +0000
+++ src/NUnitCore/tests/CoreExtensionsTests.cs 2012-10-03 23:32:21 +0000
@@ -6,7 +6,7 @@
6using System;6using System;
7using System.Text;7using System.Text;
8using System.Reflection;8using System.Reflection;
9#if NET_3_5 || NET_4_09#if NET_3_5 || NET_4_0 || NET_4_5
10using NSubstitute;10using NSubstitute;
11#endif11#endif
12using NUnit.Framework;12using NUnit.Framework;
@@ -123,7 +123,7 @@
123 Assert.AreEqual("mock0mock1mock3cmock3bmock3amock5bmock5amock8mock9", sb.ToString());123 Assert.AreEqual("mock0mock1mock3cmock3bmock3amock5bmock5amock8mock9", sb.ToString());
124 }124 }
125125
126#if NET_3_5 || NET_4_0126#if NET_3_5 || NET_4_0 || NET_4_5
127 [Test, Platform("Net-3.5,Mono-3.5,Net-4.0")]127 [Test, Platform("Net-3.5,Mono-3.5,Net-4.0")]
128 public void CanAddDecorator()128 public void CanAddDecorator()
129 {129 {
130130
=== modified file 'src/NUnitCore/tests/DatapointTests.cs'
--- src/NUnitCore/tests/DatapointTests.cs 2012-02-21 03:31:35 +0000
+++ src/NUnitCore/tests/DatapointTests.cs 2012-10-03 23:32:21 +0000
@@ -50,7 +50,7 @@
50 }50 }
5151
52#if CLR_2_0 || CLR_4_0 52#if CLR_2_0 || CLR_4_0
53#if CS_3_0 || CS_4_053#if CS_3_0 || CS_4_0 || CS_5_0
54 [Test]54 [Test]
55 public void WorksOnIEnumerableOfT()55 public void WorksOnIEnumerableOfT()
56 {56 {
5757
=== modified file 'src/NUnitCore/tests/PlatformDetectionTests.cs'
--- src/NUnitCore/tests/PlatformDetectionTests.cs 2011-11-02 23:34:22 +0000
+++ src/NUnitCore/tests/PlatformDetectionTests.cs 2012-10-03 23:32:21 +0000
@@ -5,7 +5,8 @@
5// ****************************************************************5// ****************************************************************
66
7using System;7using System;
8using System.Collections;8using System.Collections;
9using System.Diagnostics;
9using NUnit.Framework;10using NUnit.Framework;
1011
11namespace NUnit.Core.Tests12namespace NUnit.Core.Tests
@@ -39,7 +40,7 @@
39 CheckPlatforms(40 CheckPlatforms(
40 new PlatformHelper( OSPlatform.CurrentPlatform, runtimeFramework ),41 new PlatformHelper( OSPlatform.CurrentPlatform, runtimeFramework ),
41 expectedPlatforms,42 expectedPlatforms,
42 PlatformHelper.RuntimePlatforms + ",NET-1.0,NET-1.1,NET-2.0,NET-3.0,NET-3.5,NET-4.0,MONO-1.0,MONO-2.0,MONO-3.0,MONO-3.5,MONO-4.0" );43 PlatformHelper.RuntimePlatforms + ",NET-1.0,NET-1.1,NET-2.0,NET-3.0,NET-3.5,NET-4.0,NET-4.5,MONO-1.0,MONO-2.0,MONO-3.0,MONO-3.5,MONO-4.0" );
43 }44 }
4445
45 private void CheckPlatforms( PlatformHelper helper, 46 private void CheckPlatforms( PlatformHelper helper,
@@ -239,12 +240,20 @@
239 }240 }
240241
241 [Test]242 [Test]
242 public void DetectNet40()243 public void DetectNet40()
243 {244 {
244 CheckRuntimePlatforms(245 CheckRuntimePlatforms(
245 new RuntimeFramework(RuntimeType.Net, new Version(4, 0, 30319, 0)),246 new RuntimeFramework(RuntimeType.Net, new Version(4, 0, 30319, 0)),
246 "Net,Net-4.0");247 "Net,Net-4.0");
247 }248 }
249
250 [Test]
251 public void DetectNet45()
252 {
253 CheckRuntimePlatforms(
254 new RuntimeFramework(RuntimeType.Net, new Version(4, 5)),
255 "Net,Net-4.0,Net-4.5");
256 }
248257
249 [Test]258 [Test]
250 public void DetectNetCF()259 public void DetectNetCF()
251260
=== modified file 'src/NUnitCore/tests/RuntimeFrameworkTests.cs'
--- src/NUnitCore/tests/RuntimeFrameworkTests.cs 2012-02-21 03:31:35 +0000
+++ src/NUnitCore/tests/RuntimeFrameworkTests.cs 2012-10-03 23:32:21 +0000
@@ -4,7 +4,8 @@
4// obtain a copy of the license at http://nunit.org4// obtain a copy of the license at http://nunit.org
5// ****************************************************************5// ****************************************************************
66
7using System;7using System;
8using System.Diagnostics;
8using NUnit.Framework;9using NUnit.Framework;
910
10namespace NUnit.Core.Tests11namespace NUnit.Core.Tests
@@ -18,9 +19,9 @@
18 [Test]19 [Test]
19 public void CanGetCurrentFramework()20 public void CanGetCurrentFramework()
20 {21 {
21 RuntimeFramework framework = RuntimeFramework.CurrentFramework;22 RuntimeFramework framework = RuntimeFramework.CurrentFramework;
2223
23 Assert.That(framework.Runtime, Is.EqualTo(currentRuntime));24 Assert.That(framework.Runtime, Is.EqualTo(currentRuntime));
24 Assert.That(framework.ClrVersion, Is.EqualTo(Environment.Version));25 Assert.That(framework.ClrVersion, Is.EqualTo(Environment.Version));
25 }26 }
2627
2728
=== modified file 'src/NUnitCore/tests/TestRunnerThreadTests.cs'
--- src/NUnitCore/tests/TestRunnerThreadTests.cs 2012-01-10 23:03:38 +0000
+++ src/NUnitCore/tests/TestRunnerThreadTests.cs 2012-10-03 23:32:21 +0000
@@ -4,7 +4,7 @@
4// obtain a copy of the license at http://nunit.org4// obtain a copy of the license at http://nunit.org
5// ****************************************************************5// ****************************************************************
66
7#if NET_3_5 || NET_4_07#if NET_3_5 || NET_4_0 || NET_4_5
8using System;8using System;
9using System.Threading;9using System.Threading;
10using NSubstitute;10using NSubstitute;
1111
=== modified file 'src/NUnitCore/tests/nunit.core.tests.csproj'
--- src/NUnitCore/tests/nunit.core.tests.csproj 2012-08-08 03:34:12 +0000
+++ src/NUnitCore/tests/nunit.core.tests.csproj 2012-10-03 23:32:21 +0000
@@ -1,254 +1,256 @@
1<?xml version="1.0" encoding="utf-8"?>1<?xml version="1.0" encoding="utf-8"?>
2<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">2<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
3 <PropertyGroup>3 <PropertyGroup>
4 <ProjectType>Local</ProjectType>4 <ProjectType>Local</ProjectType>
5 <ProductVersion>9.0.30729</ProductVersion>5 <ProductVersion>9.0.30729</ProductVersion>
6 <SchemaVersion>2.0</SchemaVersion>6 <SchemaVersion>2.0</SchemaVersion>
7 <ProjectGuid>{DD758D21-E5D5-4D40-9450-5F65A32F359C}</ProjectGuid>7 <ProjectGuid>{DD758D21-E5D5-4D40-9450-5F65A32F359C}</ProjectGuid>
8 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>8 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
9 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>9 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
10 <AssemblyKeyContainerName>10 <AssemblyKeyContainerName>
11 </AssemblyKeyContainerName>11 </AssemblyKeyContainerName>
12 <AssemblyName>nunit.core.tests</AssemblyName>12 <AssemblyName>nunit.core.tests</AssemblyName>
13 <DefaultClientScript>JScript</DefaultClientScript>13 <DefaultClientScript>JScript</DefaultClientScript>
14 <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>14 <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
15 <DefaultTargetSchema>IE50</DefaultTargetSchema>15 <DefaultTargetSchema>IE50</DefaultTargetSchema>
16 <DelaySign>false</DelaySign>16 <DelaySign>false</DelaySign>
17 <OutputType>Library</OutputType>17 <OutputType>Library</OutputType>
18 <RootNamespace>NUnit.Core.Tests</RootNamespace>18 <RootNamespace>NUnit.Core.Tests</RootNamespace>
19 <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>19 <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
20 <FileUpgradeFlags>20 <FileUpgradeFlags>
21 </FileUpgradeFlags>21 </FileUpgradeFlags>
22 <UpgradeBackupLocation>22 <UpgradeBackupLocation>
23 </UpgradeBackupLocation>23 </UpgradeBackupLocation>
24 <OldToolsVersion>3.5</OldToolsVersion>24 <OldToolsVersion>3.5</OldToolsVersion>
25 <IsWebBootstrapper>true</IsWebBootstrapper>25 <IsWebBootstrapper>true</IsWebBootstrapper>
26 <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>26 <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
27 <PublishUrl>http://localhost/nunit.core.tests/</PublishUrl>27 <PublishUrl>http://localhost/nunit.core.tests/</PublishUrl>
28 <Install>true</Install>28 <Install>true</Install>
29 <InstallFrom>Web</InstallFrom>29 <InstallFrom>Web</InstallFrom>
30 <UpdateEnabled>true</UpdateEnabled>30 <UpdateEnabled>true</UpdateEnabled>
31 <UpdateMode>Foreground</UpdateMode>31 <UpdateMode>Foreground</UpdateMode>
32 <UpdateInterval>7</UpdateInterval>32 <UpdateInterval>7</UpdateInterval>
33 <UpdateIntervalUnits>Days</UpdateIntervalUnits>33 <UpdateIntervalUnits>Days</UpdateIntervalUnits>
34 <UpdatePeriodically>false</UpdatePeriodically>34 <UpdatePeriodically>false</UpdatePeriodically>
35 <UpdateRequired>false</UpdateRequired>35 <UpdateRequired>false</UpdateRequired>
36 <MapFileExtensions>true</MapFileExtensions>36 <MapFileExtensions>true</MapFileExtensions>
37 <ApplicationRevision>0</ApplicationRevision>37 <ApplicationRevision>0</ApplicationRevision>
38 <ApplicationVersion>1.0.0.%2a</ApplicationVersion>38 <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
39 <UseApplicationTrust>false</UseApplicationTrust>39 <UseApplicationTrust>false</UseApplicationTrust>
40 <BootstrapperEnabled>true</BootstrapperEnabled>40 <BootstrapperEnabled>true</BootstrapperEnabled>
41 </PropertyGroup>41 </PropertyGroup>
42 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">42 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
43 <OutputPath>..\..\..\bin\Debug\tests\</OutputPath>43 <OutputPath>..\..\..\bin\Debug\tests\</OutputPath>
44 <BaseAddress>285212672</BaseAddress>44 <BaseAddress>285212672</BaseAddress>
45 <ConfigurationOverrideFile>45 <ConfigurationOverrideFile>
46 </ConfigurationOverrideFile>46 </ConfigurationOverrideFile>
47 <DefineConstants>TRACE;DEBUG;CLR_2_0,NET_3_5,CS_3_0</DefineConstants>47 <DefineConstants>TRACE;DEBUG;CLR_2_0,NET_3_5,CS_3_0</DefineConstants>
48 <DocumentationFile>48 <DocumentationFile>
49 </DocumentationFile>49 </DocumentationFile>
50 <DebugSymbols>true</DebugSymbols>50 <DebugSymbols>true</DebugSymbols>
51 <FileAlignment>4096</FileAlignment>51 <FileAlignment>4096</FileAlignment>
52 <NoWarn>618</NoWarn>52 <NoWarn>618</NoWarn>
53 <Optimize>false</Optimize>53 <Optimize>false</Optimize>
54 <RegisterForComInterop>false</RegisterForComInterop>54 <RegisterForComInterop>false</RegisterForComInterop>
55 <RemoveIntegerChecks>false</RemoveIntegerChecks>55 <RemoveIntegerChecks>false</RemoveIntegerChecks>
56 <WarningLevel>4</WarningLevel>56 <WarningLevel>4</WarningLevel>
57 <DebugType>full</DebugType>57 <DebugType>full</DebugType>
58 <ErrorReport>prompt</ErrorReport>58 <ErrorReport>prompt</ErrorReport>
59 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>59 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
60 </PropertyGroup>60 </PropertyGroup>
61 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">61 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
62 <OutputPath>..\..\..\bin\Release\tests\</OutputPath>62 <OutputPath>..\..\..\bin\Release\tests\</OutputPath>
63 <BaseAddress>285212672</BaseAddress>63 <BaseAddress>285212672</BaseAddress>
64 <ConfigurationOverrideFile>64 <ConfigurationOverrideFile>
65 </ConfigurationOverrideFile>65 </ConfigurationOverrideFile>
66 <DefineConstants>TRACE;CLR_2_0,NET_3_5,CS_3_0</DefineConstants>66 <DefineConstants>TRACE;CLR_2_0,NET_3_5,CS_3_0</DefineConstants>
67 <DocumentationFile>67 <DocumentationFile>
68 </DocumentationFile>68 </DocumentationFile>
69 <FileAlignment>4096</FileAlignment>69 <FileAlignment>4096</FileAlignment>
70 <NoWarn>618</NoWarn>70 <NoWarn>618</NoWarn>
71 <Optimize>true</Optimize>71 <Optimize>true</Optimize>
72 <RegisterForComInterop>false</RegisterForComInterop>72 <RegisterForComInterop>false</RegisterForComInterop>
73 <RemoveIntegerChecks>false</RemoveIntegerChecks>73 <RemoveIntegerChecks>false</RemoveIntegerChecks>
74 <WarningLevel>4</WarningLevel>74 <WarningLevel>4</WarningLevel>
75 <DebugType>none</DebugType>75 <DebugType>none</DebugType>
76 <ErrorReport>prompt</ErrorReport>76 <ErrorReport>prompt</ErrorReport>
77 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>77 <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
78 </PropertyGroup>78 </PropertyGroup>
79 <ItemGroup>79 <ItemGroup>
80 <Reference Include="System">80 <Reference Include="System">
81 <Name>System</Name>81 <Name>System</Name>
82 </Reference>82 </Reference>
83 <Reference Include="System.Core">83 <Reference Include="System.Core">
84 <RequiredTargetFramework>3.5</RequiredTargetFramework>84 <RequiredTargetFramework>3.5</RequiredTargetFramework>
85 </Reference>85 </Reference>
86 <Reference Include="System.Data">86 <Reference Include="System.Data">
87 <Name>System.Data</Name>87 <Name>System.Data</Name>
88 </Reference>88 </Reference>
89 <Reference Include="System.Xml">89 <Reference Include="System.Xml">
90 <Name>System.XML</Name>90 <Name>System.XML</Name>
91 </Reference>91 </Reference>
92 <ProjectReference Include="..\..\ClientUtilities\util\nunit.util.dll.csproj">92 <ProjectReference Include="..\..\ClientUtilities\util\nunit.util.dll.csproj">
93 <Name>nunit.util.dll</Name>93 <Name>nunit.util.dll</Name>
94 <Project>{61CE9CE5-943E-44D4-A381-814DC1406767}</Project>94 <Project>{61CE9CE5-943E-44D4-A381-814DC1406767}</Project>
95 <Private>False</Private>95 <Private>False</Private>
96 </ProjectReference>96 </ProjectReference>
97 <ProjectReference Include="..\..\NUnitFramework\framework\nunit.framework.dll.csproj">97 <ProjectReference Include="..\..\NUnitFramework\framework\nunit.framework.dll.csproj">
98 <Name>nunit.framework.dll</Name>98 <Name>nunit.framework.dll</Name>
99 <Project>{83DD7E12-A705-4DBA-9D71-09C8973D9382}</Project>99 <Project>{83DD7E12-A705-4DBA-9D71-09C8973D9382}</Project>
100 </ProjectReference>100 </ProjectReference>
101 <ProjectReference Include="..\..\tests\mock-assembly\mock-assembly.csproj">101 <ProjectReference Include="..\..\tests\mock-assembly\mock-assembly.csproj">
102 <Name>mock-assembly</Name>102 <Name>mock-assembly</Name>
103 <Project>{2E368281-3BA8-4050-B05E-0E0E43F8F446}</Project>103 <Project>{2E368281-3BA8-4050-B05E-0E0E43F8F446}</Project>
104 <Private>False</Private>104 <Private>False</Private>
105 </ProjectReference>105 </ProjectReference>
106 <ProjectReference Include="..\..\tests\nonamespace-assembly\nonamespace-assembly.csproj">106 <ProjectReference Include="..\..\tests\nonamespace-assembly\nonamespace-assembly.csproj">
107 <Name>nonamespace-assembly</Name>107 <Name>nonamespace-assembly</Name>
108 <Project>{5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}</Project>108 <Project>{5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}</Project>
109 <Private>False</Private>109 <Private>False</Private>
110 </ProjectReference>110 </ProjectReference>
111 <ProjectReference Include="..\..\tests\test-assembly\test-assembly.csproj">111 <ProjectReference Include="..\..\tests\test-assembly\test-assembly.csproj">
112 <Name>test-assembly</Name>112 <Name>test-assembly</Name>
113 <Project>{1960CAC4-9A82-47C5-A9B3-55BC37572C3C}</Project>113 <Project>{1960CAC4-9A82-47C5-A9B3-55BC37572C3C}</Project>
114 </ProjectReference>114 </ProjectReference>
115 <ProjectReference Include="..\..\tests\test-utilities\test-utilities.csproj">115 <ProjectReference Include="..\..\tests\test-utilities\test-utilities.csproj">
116 <Name>test-utilities</Name>116 <Name>test-utilities</Name>
117 <Project>{3E63AD0F-24D4-46BE-BEE4-5A3299847D86}</Project>117 <Project>{3E63AD0F-24D4-46BE-BEE4-5A3299847D86}</Project>
118 </ProjectReference>118 </ProjectReference>
119 <ProjectReference Include="..\core\nunit.core.dll.csproj">119 <ProjectReference Include="..\core\nunit.core.dll.csproj">
120 <Name>nunit.core.dll</Name>120 <Name>nunit.core.dll</Name>
121 <Project>{EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}</Project>121 <Project>{EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}</Project>
122 <Private>False</Private>122 <Private>False</Private>
123 </ProjectReference>123 </ProjectReference>
124 <ProjectReference Include="..\interfaces\nunit.core.interfaces.dll.csproj">124 <ProjectReference Include="..\interfaces\nunit.core.interfaces.dll.csproj">
125 <Name>nunit.core.interfaces.dll</Name>125 <Name>nunit.core.interfaces.dll</Name>
126 <Project>{435428F8-5995-4CE4-8022-93D595A8CC0F}</Project>126 <Project>{435428F8-5995-4CE4-8022-93D595A8CC0F}</Project>
127 <Private>False</Private>127 <Private>False</Private>
128 </ProjectReference>128 </ProjectReference>
129 <Reference Include="NSubstitute">129 <Reference Include="NSubstitute">
130 <HintPath>..\..\..\lib\3.5\NSubstitute.dll</HintPath>130 <HintPath>..\..\..\lib\3.5\NSubstitute.dll</HintPath>
131 </Reference>131 </Reference>
132 </ItemGroup>132 </ItemGroup>
133 <ItemGroup>133 <ItemGroup>
134 <Compile Include="..\..\CommonAssemblyInfo.cs">134 <Compile Include="..\..\CommonAssemblyInfo.cs">
135 <Link>CommonAssemblyInfo.cs</Link>135 <Link>CommonAssemblyInfo.cs</Link>
136 </Compile>136 </Compile>
137 <Compile Include="ActionAttributeExceptionTests.cs" />137 <Compile Include="ActionAttributeExceptionTests.cs" />
138 <Compile Include="ActionAttributeTests.cs" />138 <Compile Include="ActionAttributeTests.cs" />
139 <Compile Include="AllTests.cs" />139 <Compile Include="AllTests.cs" />
140 <Compile Include="AssemblyHelperTests.cs" />140 <Compile Include="AssemblyHelperTests.cs" />
141 <Compile Include="AssemblyReaderTests.cs" />141 <Compile Include="AssemblyReaderTests.cs" />
142 <Compile Include="AssemblyResolverTests.cs" />142 <Compile Include="AssemblyResolverTests.cs" />
143 <Compile Include="AssemblyTests.cs" />143 <Compile Include="AssemblyTests.cs" />
144 <Compile Include="AssemblyVersionFixture.cs" />144 <Compile Include="AssemblyVersionFixture.cs" />
145 <Compile Include="AssertPassFixture.cs" />145 <Compile Include="AssertPassFixture.cs" />
146 <Compile Include="AttributeDescriptionFixture.cs" />146 <Compile Include="AttributeDescriptionFixture.cs" />
147 <Compile Include="AttributeInheritance.cs" />147 <Compile Include="AttributeInheritance.cs" />
148 <Compile Include="BasicRunnerTests.cs" />148 <Compile Include="BasicRunnerTests.cs" />
149 <Compile Include="CallContextTests.cs" />149 <Compile Include="CallContextTests.cs" />
150 <Compile Include="CategoryAttributeTests.cs" />150 <Compile Include="CategoryAttributeTests.cs" />
151 <Compile Include="CombinatorialTests.cs" />151 <Compile Include="CombinatorialTests.cs" />
152 <Compile Include="CoreExtensionsTests.cs" />152 <Compile Include="CoreExtensionsTests.cs" />
153 <Compile Include="CultureSettingAndDetectionTests.cs" />153 <Compile Include="CultureSettingAndDetectionTests.cs" />
154 <Compile Include="DatapointTests.cs" />154 <Compile Include="DatapointTests.cs" />
155 <Compile Include="DirectorySwapperTests.cs" />155 <Compile Include="DirectorySwapperTests.cs" />
156 <Compile Include="EventQueueTests.cs" />156 <Compile Include="EventQueueTests.cs" />
157 <Compile Include="EventTestFixture.cs" />157 <Compile Include="EventTestFixture.cs" />
158 <Compile Include="ExpectExceptionTest.cs" />158 <Compile Include="ExpectExceptionTest.cs" />
159 <Compile Include="FailFixture.cs" />159 <Compile Include="FailFixture.cs" />
160 <Compile Include="FixtureSetUpTearDownTest.cs" />160 <Compile Include="FixtureSetUpTearDownTest.cs" />
161 <Compile Include="Generic\DeduceTypeArgsFromArgs.cs" />161 <Compile Include="Generic\DeduceTypeArgsFromArgs.cs" />
162 <Compile Include="Generic\SimpleGenericFixture.cs" />162 <Compile Include="Generic\SimpleGenericFixture.cs" />
163 <Compile Include="Generic\SimpleGenericMethods.cs" />163 <Compile Include="Generic\SimpleGenericMethods.cs" />
164 <Compile Include="Generic\TypeParameterUsedWithTestMethod.cs" />164 <Compile Include="Generic\TypeParameterUsedWithTestMethod.cs" />
165 <Compile Include="IgnoreFixture.cs" />165 <Compile Include="IgnoreFixture.cs" />
166 <Compile Include="LegacySuiteTests.cs" />166 <Compile Include="LegacySuiteTests.cs" />
167 <Compile Include="MaxTimeTests.cs" />167 <Compile Include="MaxTimeTests.cs" />
168 <Compile Include="NameFilterTest.cs" />168 <Compile Include="NameFilterTest.cs" />
169 <Compile Include="NamespaceAssemblyTests.cs" />169 <Compile Include="NamespaceAssemblyTests.cs" />
170 <Compile Include="PairwiseTests.cs" />170 <Compile Include="PairwiseTests.cs" />
171 <Compile Include="ParameterizedTestFixtureTests.cs" />171 <Compile Include="ParameterizedTestFixtureTests.cs" />
172 <Compile Include="PlatformDetectionTests.cs" />172 <Compile Include="PlatformDetectionTests.cs" />
173 <Compile Include="PropertyAttributeTests.cs" />173 <Compile Include="PropertyAttributeTests.cs" />
174 <Compile Include="ReflectTests.cs" />174 <Compile Include="ReflectTests.cs" />
175 <Compile Include="RemoteRunnerTests.cs" />175 <Compile Include="RemoteRunnerTests.cs" />
176 <Compile Include="RepeatedTestFixture.cs" />176 <Compile Include="RepeatedTestFixture.cs" />
177 <Compile Include="RuntimeFrameworkTests.cs" />177 <Compile Include="RuntimeFrameworkTests.cs" />
178 <Compile Include="SerializationBug.cs" />178 <Compile Include="SerializationBug.cs" />
179 <Compile Include="SetCultureAttributeTests.cs" />179 <Compile Include="SetCultureAttributeTests.cs" />
180 <Compile Include="SetUpFixtureTests.cs" />180 <Compile Include="SetUpFixtureTests.cs" />
181 <Compile Include="SetUpTest.cs" />181 <Compile Include="SetUpTest.cs" />
182 <Compile Include="SimpleNameFilterTests.cs" />182 <Compile Include="SimpleNameFilterTests.cs" />
183 <Compile Include="SimpleTestRunnerTests.cs" />183 <Compile Include="SimpleTestRunnerTests.cs" />
184 <Compile Include="StackOverflowTestFixture.cs" />184 <Compile Include="StackOverflowTestFixture.cs" />
185 <Compile Include="SuiteBuilderTests.cs" />185 <Compile Include="SuiteBuilderTests.cs" />
186 <Compile Include="SuiteBuilderTests_Multiple.cs" />186 <Compile Include="SuiteBuilderTests_Multiple.cs" />
187 <Compile Include="TestAssemblyBuilderTests.cs" />187 <Compile Include="TestAssemblyBuilderTests.cs" />
188 <Compile Include="TestCaseAttributeTests.cs" />188 <Compile Include="TestCaseAttributeTests.cs" />
189 <Compile Include="TestCaseResultFixture.cs" />189 <Compile Include="TestCaseResultFixture.cs" />
190 <Compile Include="TestCaseSourceTests.cs" />190 <Compile Include="TestCaseSourceTests.cs" />
191 <Compile Include="TestCaseTest.cs" />191 <Compile Include="TestCaseTest.cs" />
192 <Compile Include="TestConsole.cs" />192 <Compile Include="TestConsole.cs" />
193 <Compile Include="TestContextTests.cs" />193 <Compile Include="TestContextTests.cs" />
194 <Compile Include="TestDelegateFixture.cs" />194 <Compile Include="TestDelegateFixture.cs" />
195 <Compile Include="TestExecutionContextTests.cs" />195 <Compile Include="TestExecutionContextTests.cs" />
196 <Compile Include="TestFixtureBuilderTests.cs" />196 <Compile Include="TestFixtureBuilderTests.cs" />
197 <Compile Include="TestFixtureExtension.cs" />197 <Compile Include="TestFixtureExtension.cs" />
198 <Compile Include="TestFixtureTests.cs" />198 <Compile Include="TestFixtureTests.cs" />
199 <Compile Include="TestFrameworkTests.cs" />199 <Compile Include="TestFrameworkTests.cs" />
200 <Compile Include="TestIDTests.cs" />200 <Compile Include="TestIDTests.cs" />
201 <Compile Include="TestInfoTests.cs" />201 <Compile Include="TestInfoTests.cs" />
202 <Compile Include="TestMethodSignatureTests.cs" />202 <Compile Include="TestMethodSignatureTests.cs" />
203 <Compile Include="TestNameTests.cs" />203 <Compile Include="TestNameTests.cs" />
204 <Compile Include="TestNodeTests.cs" />204 <Compile Include="TestNodeTests.cs" />
205 <Compile Include="TestRunnerThreadTests.cs" />205 <Compile Include="TestRunnerThreadTests.cs" />
206 <Compile Include="TestSuiteTest.cs" />206 <Compile Include="TestSuiteTest.cs" />
207 <Compile Include="TheoryTests.cs" />207 <Compile Include="TheoryTests.cs" />
208 <Compile Include="ThreadedTestRunnerTests.cs" />208 <Compile Include="ThreadedTestRunnerTests.cs" />
209 <Compile Include="ThreadingTests.cs" />209 <Compile Include="ThreadingTests.cs" />
210 <Compile Include="TypeHelperTests.cs" />210 <Compile Include="TypeHelperTests.cs" />
211 <Compile Include="UnhandledExceptionTests.cs" />211 <Compile Include="UnhandledExceptionTests.cs" />
212 <Compile Include="ValueSourceTests.cs" />212 <Compile Include="ValueSourceTests.cs" />
213 <Compile Include="XmlTest.cs" />213 <Compile Include="XmlTest.cs" />
214 <Compile Include="DirectoryChangeTests.cs" />214 <Compile Include="DirectoryChangeTests.cs" />
215 </ItemGroup>215 </ItemGroup>
216 <ItemGroup>216 <ItemGroup>
217 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">217 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
218 <Visible>False</Visible>218 <Visible>False</Visible>
219 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>219 <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
220 <Install>false</Install>220 <Install>false</Install>
221 </BootstrapperPackage>221 </BootstrapperPackage>
222 <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">222 <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
223 <Visible>False</Visible>223 <Visible>False</Visible>
224 <ProductName>.NET Framework 2.0 %28x86%29</ProductName>224 <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
225 <Install>true</Install>225 <Install>true</Install>
226 </BootstrapperPackage>226 </BootstrapperPackage>
227 <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">227 <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
228 <Visible>False</Visible>228 <Visible>False</Visible>
229 <ProductName>.NET Framework 3.0 %28x86%29</ProductName>229 <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
230 <Install>false</Install>230 <Install>false</Install>
231 </BootstrapperPackage>231 </BootstrapperPackage>
232 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">232 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
233 <Visible>False</Visible>233 <Visible>False</Visible>
234 <ProductName>.NET Framework 3.5</ProductName>234 <ProductName>.NET Framework 3.5</ProductName>
235 <Install>false</Install>235 <Install>false</Install>
236 </BootstrapperPackage>236 </BootstrapperPackage>
237 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">237 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
238 <Visible>False</Visible>238 <Visible>False</Visible>
239 <ProductName>.NET Framework 3.5 SP1</ProductName>239 <ProductName>.NET Framework 3.5 SP1</ProductName>
240 <Install>false</Install>240 <Install>false</Install>
241 </BootstrapperPackage>241 </BootstrapperPackage>
242 </ItemGroup>242 </ItemGroup>
243 <ItemGroup>243 <ItemGroup>
244 <None Include="nunit.core.tests.build" />244 <None Include="nunit.core.tests.build">
245 <EmbeddedResource Include="Results.xsd" />245 <SubType>Designer</SubType>
246 </ItemGroup>246 </None>
247 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />247 <EmbeddedResource Include="Results.xsd" />
248 <PropertyGroup>248 </ItemGroup>
249 <PreBuildEvent>249 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
250 </PreBuildEvent>250 <PropertyGroup>
251 <PostBuildEvent>251 <PreBuildEvent>
252 </PostBuildEvent>252 </PreBuildEvent>
253 </PropertyGroup>253 <PostBuildEvent>
254 </PostBuildEvent>
255 </PropertyGroup>
254</Project>256</Project>
255\ No newline at end of file257\ No newline at end of file
256258
=== modified file 'src/NUnitFramework/tests/CollectionAssertTest.cs'
--- src/NUnitFramework/tests/CollectionAssertTest.cs 2011-11-02 22:40:46 +0000
+++ src/NUnitFramework/tests/CollectionAssertTest.cs 2012-10-03 23:32:21 +0000
@@ -6,7 +6,7 @@
66
7using System;7using System;
8using System.Collections;8using System.Collections;
9#if NET_3_5 || NET_4_09#if NET_3_5 || NET_4_0 || NET_4_5
10using System.Linq;10using System.Linq;
11#endif11#endif
1212
1313
=== modified file 'src/NUnitFramework/tests/Constraints/CollectionConstraintTests.cs'
--- src/NUnitFramework/tests/Constraints/CollectionConstraintTests.cs 2011-11-02 22:40:46 +0000
+++ src/NUnitFramework/tests/Constraints/CollectionConstraintTests.cs 2012-10-03 23:32:21 +0000
@@ -307,7 +307,7 @@
307 }307 }
308 }308 }
309309
310#if CS_3_0 || CS_4_0310#if CS_3_0 || CS_4_0 || CS_5_0
311 [Test]311 [Test]
312 public void UsesProvidedLambdaExpression()312 public void UsesProvidedLambdaExpression()
313 {313 {
@@ -394,7 +394,7 @@
394 Assert.That(new CollectionEquivalentConstraint(set1).IgnoreCase.Matches(set2));394 Assert.That(new CollectionEquivalentConstraint(set1).IgnoreCase.Matches(set2));
395 }395 }
396396
397#if CS_3_0 || CS_4_0397#if CS_3_0 || CS_4_0 || CS_5_0
398 [Test]398 [Test]
399 public void EquivalentHonorsUsing()399 public void EquivalentHonorsUsing()
400 {400 {
@@ -632,7 +632,7 @@
632 }632 }
633 }633 }
634634
635#if CS_3_0 || CS_4_0635#if CS_3_0 || CS_4_0 || CS_5_0
636 [Test]636 [Test]
637 public void UsesProvidedLambda()637 public void UsesProvidedLambda()
638 {638 {
639639
=== modified file 'src/NUnitFramework/tests/Constraints/ComparisonConstraintTests.cs'
--- src/NUnitFramework/tests/Constraints/ComparisonConstraintTests.cs 2011-04-12 00:17:39 +0000
+++ src/NUnitFramework/tests/Constraints/ComparisonConstraintTests.cs 2012-10-03 23:32:21 +0000
@@ -75,7 +75,7 @@
75 }75 }
76 }76 }
7777
78#if CS_3_0 || CS_4_078#if CS_3_0 || CS_4_0 || CS_5_0
79 [Test]79 [Test]
80 public void UsesProvidedLambda()80 public void UsesProvidedLambda()
81 {81 {
@@ -335,7 +335,7 @@
335 }335 }
336 }336 }
337337
338#if CS_3_0 || CS_4_0338#if CS_3_0 || CS_4_0 || CS_5_0
339 [Test]339 [Test]
340 public void UsesProvidedLambda()340 public void UsesProvidedLambda()
341 {341 {
342342
=== modified file 'src/NUnitFramework/tests/Constraints/EqualConstraintTests.cs'
--- src/NUnitFramework/tests/Constraints/EqualConstraintTests.cs 2011-12-15 23:02:34 +0000
+++ src/NUnitFramework/tests/Constraints/EqualConstraintTests.cs 2012-10-03 23:32:21 +0000
@@ -118,7 +118,7 @@
118118
119 #region Dictionary Tests119 #region Dictionary Tests
120 // TODO: Move these to a separate fixture120 // TODO: Move these to a separate fixture
121#if CS_3_0 || CS_4_0121#if CS_3_0 || CS_4_0 || CS_5_0
122 [Test]122 [Test]
123 public void CanMatchHashtables_SameOrder()123 public void CanMatchHashtables_SameOrder()
124 {124 {
@@ -418,7 +418,7 @@
418 }418 }
419 }419 }
420420
421#if CS_3_0 || CS_4_0421#if CS_3_0 || CS_4_0 || CS_5_0
422 [Test]422 [Test]
423 public void UsesProvidedLambda_IntArgs()423 public void UsesProvidedLambda_IntArgs()
424 {424 {
425425
=== modified file 'src/NUnitFramework/tests/Syntax/ArbitraryConstraintMatching.cs'
--- src/NUnitFramework/tests/Syntax/ArbitraryConstraintMatching.cs 2012-02-21 03:31:35 +0000
+++ src/NUnitFramework/tests/Syntax/ArbitraryConstraintMatching.cs 2012-10-03 23:32:21 +0000
@@ -50,7 +50,7 @@
50 return (num & 1) == 0;50 return (num & 1) == 0;
51 }51 }
5252
53#if CS_3_0 || CS_4_053#if CS_3_0 || CS_4_0 || CS_5_0
54 [Test]54 [Test]
55 public void CanMatchLambda()55 public void CanMatchLambda()
56 {56 {
5757
=== modified file 'src/NUnitFramework/tests/Syntax/ThrowsTests.cs'
--- src/NUnitFramework/tests/Syntax/ThrowsTests.cs 2012-07-09 19:20:41 +0000
+++ src/NUnitFramework/tests/Syntax/ThrowsTests.cs 2012-10-03 23:32:21 +0000
@@ -160,7 +160,7 @@
160160
161 // TODO: Move these to AssertThat tests161 // TODO: Move these to AssertThat tests
162#if CLR_2_0 || CLR_4_0162#if CLR_2_0 || CLR_4_0
163#if CS_3_0 || CS_4_0163#if CS_3_0 || CS_4_0 || CS_5_0
164 [Test]164 [Test]
165 public void DelegateThrowsException()165 public void DelegateThrowsException()
166 {166 {
167167
=== modified file 'src/ProjectEditor/tests/Presenters/AddConfigurationPresenterTests.cs'
--- src/ProjectEditor/tests/Presenters/AddConfigurationPresenterTests.cs 2011-03-30 20:37:44 +0000
+++ src/ProjectEditor/tests/Presenters/AddConfigurationPresenterTests.cs 2012-10-03 23:32:21 +0000
@@ -4,7 +4,7 @@
4// obtain a copy of the license at http://nunit.org4// obtain a copy of the license at http://nunit.org
5// ****************************************************************5// ****************************************************************
66
7#if NET_3_5 || NET_4_07#if NET_3_5 || NET_4_0 || NET_4_5
8using System;8using System;
9using System.IO;9using System.IO;
10using NSubstitute;10using NSubstitute;
1111
=== modified file 'src/ProjectEditor/tests/Presenters/ConfigurationEditorTests.cs'
--- src/ProjectEditor/tests/Presenters/ConfigurationEditorTests.cs 2011-03-30 20:37:44 +0000
+++ src/ProjectEditor/tests/Presenters/ConfigurationEditorTests.cs 2012-10-03 23:32:21 +0000
@@ -4,7 +4,7 @@
4// obtain a copy of the license at http://nunit.org4// obtain a copy of the license at http://nunit.org
5// ****************************************************************5// ****************************************************************
66
7#if NET_3_5 || NET_4_07#if NET_3_5 || NET_4_0 || NET_4_5
8using System;8using System;
9using System.Windows.Forms;9using System.Windows.Forms;
10using NUnit.Framework;10using NUnit.Framework;
1111
=== modified file 'src/ProjectEditor/tests/Presenters/MainPresenterTests.cs'
--- src/ProjectEditor/tests/Presenters/MainPresenterTests.cs 2012-07-09 19:20:41 +0000
+++ src/ProjectEditor/tests/Presenters/MainPresenterTests.cs 2012-10-03 23:32:21 +0000
@@ -4,7 +4,7 @@
4// obtain a copy of the license at http://nunit.org4// obtain a copy of the license at http://nunit.org
5// ****************************************************************5// ****************************************************************
66
7#if NET_3_5 || NET_4_07#if NET_3_5 || NET_4_0 || NET_4_5
8using System;8using System;
9using NSubstitute;9using NSubstitute;
10using NUnit.Framework;10using NUnit.Framework;
1111
=== modified file 'src/ProjectEditor/tests/Presenters/PropertyPresenterTests.cs'
--- src/ProjectEditor/tests/Presenters/PropertyPresenterTests.cs 2011-03-30 20:37:44 +0000
+++ src/ProjectEditor/tests/Presenters/PropertyPresenterTests.cs 2012-10-03 23:32:21 +0000
@@ -4,7 +4,7 @@
4// obtain a copy of the license at http://nunit.org4// obtain a copy of the license at http://nunit.org
5// ****************************************************************5// ****************************************************************
66
7#if NET_3_5 || NET_4_07#if NET_3_5 || NET_4_0 || NET_4_5
8using System;8using System;
9using System.IO;9using System.IO;
10using System.Reflection;10using System.Reflection;
1111
=== modified file 'src/ProjectEditor/tests/Presenters/RenameConfigurationPresenterTests.cs'
--- src/ProjectEditor/tests/Presenters/RenameConfigurationPresenterTests.cs 2011-03-30 20:37:44 +0000
+++ src/ProjectEditor/tests/Presenters/RenameConfigurationPresenterTests.cs 2012-10-03 23:32:21 +0000
@@ -4,7 +4,7 @@
4// obtain a copy of the license at http://nunit.org4// obtain a copy of the license at http://nunit.org
5// ****************************************************************5// ****************************************************************
66
7#if NET_3_5 || NET_4_07#if NET_3_5 || NET_4_0 || NET_4_5
8using System;8using System;
9using System.Collections.Generic;9using System.Collections.Generic;
10using NSubstitute;10using NSubstitute;
1111
=== modified file 'src/ProjectEditor/tests/Presenters/SelectionStub.cs'
--- src/ProjectEditor/tests/Presenters/SelectionStub.cs 2011-03-30 20:37:44 +0000
+++ src/ProjectEditor/tests/Presenters/SelectionStub.cs 2012-10-03 23:32:21 +0000
@@ -4,7 +4,7 @@
4// obtain a copy of the license at http://nunit.org4// obtain a copy of the license at http://nunit.org
5// ****************************************************************5// ****************************************************************
66
7#if NET_3_5 || NET_4_07#if NET_3_5 || NET_4_0 || NET_4_5
8using System;8using System;
9using System.Collections.Generic;9using System.Collections.Generic;
10using NUnit.ProjectEditor.ViewElements;10using NUnit.ProjectEditor.ViewElements;
1111
=== modified file 'src/ProjectEditor/tests/Presenters/XmlPresenterTests.cs'
--- src/ProjectEditor/tests/Presenters/XmlPresenterTests.cs 2011-03-30 20:37:44 +0000
+++ src/ProjectEditor/tests/Presenters/XmlPresenterTests.cs 2012-10-03 23:32:21 +0000
@@ -4,7 +4,7 @@
4// obtain a copy of the license at http://nunit.org4// obtain a copy of the license at http://nunit.org
5// ****************************************************************5// ****************************************************************
66
7#if NET_3_5 || NET_4_07#if NET_3_5 || NET_4_0 || NET_4_5
8using System;8using System;
9using System.Xml;9using System.Xml;
10using NUnit.Framework;10using NUnit.Framework;
1111
=== added directory 'src/tests/test-assembly-net45'
=== added file 'src/tests/test-assembly-net45/AsyncDummyFixture.cs'
--- src/tests/test-assembly-net45/AsyncDummyFixture.cs 1970-01-01 00:00:00 +0000
+++ src/tests/test-assembly-net45/AsyncDummyFixture.cs 2012-10-03 23:32:21 +0000
@@ -0,0 +1,56 @@
1using System.Threading.Tasks;
2using NUnit.Framework;
3
4namespace test_assembly_net45
5{
6 public class AsyncDummyFixture
7 {
8 [Test]
9 public async void Void()
10 {
11
12 }
13
14 [Test]
15 public async Task PlainTask()
16 {
17 await Task.Yield();
18 }
19
20 [Test]
21 public async Task<int> TaskWithResult()
22 {
23 return await Task.FromResult(1);
24 }
25
26 [Test]
27 public Task<int> NonAsyncTaskWithResult()
28 {
29 return Task.FromResult(1);
30 }
31
32 [Test]
33 public Task NonAsyncTask()
34 {
35 return Task.Delay(0);
36 }
37
38 [TestCase(Result = 1)]
39 public async Task AsyncTaskTestCase()
40 {
41 await Task.Run(() => 1);
42 }
43
44 [TestCase(Result = 1)]
45 public async void AsyncVoidTestCase()
46 {
47 await Task.Run(() => 1);
48 }
49
50 [TestCase(Result = 1)]
51 public async Task<int> AsyncTaskWithResultTestCase()
52 {
53 return await Task.Run(() => 1);
54 }
55 }
56}
0\ No newline at end of file57\ No newline at end of file
158
=== added file 'src/tests/test-assembly-net45/AsyncRealFixture.cs'
--- src/tests/test-assembly-net45/AsyncRealFixture.cs 1970-01-01 00:00:00 +0000
+++ src/tests/test-assembly-net45/AsyncRealFixture.cs 2012-10-03 23:32:21 +0000
@@ -0,0 +1,289 @@
1using System;
2using System.Threading;
3using System.Threading.Tasks;
4using NUnit.Core;
5using NUnit.Framework;
6
7namespace test_assembly_net45
8{
9 public class AsyncRealFixture
10 {
11 [Test]
12 public async void AsyncVoidSuccess()
13 {
14 var result = await ReturnOne();
15
16 Assert.AreEqual(1, result);
17 }
18
19 [Test]
20 public async void AsyncVoidFailure()
21 {
22 var result = await ReturnOne();
23
24 Assert.AreEqual(2, result);
25 }
26
27 [Test]
28 public async void AsyncVoidError()
29 {
30 await ThrowException();
31
32 Assert.Fail("Should never get here");
33 }
34
35 [Test]
36 public async Task AsyncTaskSuccess()
37 {
38 var result = await ReturnOne();
39
40 Assert.AreEqual(1, result);
41 }
42
43 [Test]
44 public async Task AsyncTaskFailure()
45 {
46 var result = await ReturnOne();
47
48 Assert.AreEqual(2, result);
49 }
50
51 [Test]
52 public async Task AsyncTaskError()
53 {
54 await ThrowException();
55
56 Assert.Fail("Should never get here");
57 }
58
59 [Test]
60 public async Task<int> AsyncTaskResultSuccess()
61 {
62 var result = await ReturnOne();
63
64 Assert.AreEqual(1, result);
65
66 return result;
67 }
68
69 [Test]
70 public async Task<int> AsyncTaskResultFailure()
71 {
72 var result = await ReturnOne();
73
74 Assert.AreEqual(2, result);
75
76 return result;
77 }
78
79 [Test]
80 public async Task<int> AsyncTaskResultError()
81 {
82 await ThrowException();
83
84 Assert.Fail("Should never get here");
85
86 return 0;
87 }
88
89 [TestCase(Result = 1)]
90 public async Task<int> AsyncTaskResultCheckSuccess()
91 {
92 return await ReturnOne();
93 }
94
95 [TestCase(Result = 2)]
96 public async Task<int> AsyncTaskResultCheckFailure()
97 {
98 return await ReturnOne();
99 }
100
101 [TestCase(Result = 0)]
102 public async Task<int> AsyncTaskResultCheckError()
103 {
104 return await ThrowException();
105 }
106
107 [TestCase(Result = null)]
108 public async Task<object> AsyncTaskResultCheckSuccessReturningNull()
109 {
110 return await Task.Run(() => (object)null);
111 }
112
113 [Test]
114 [ExpectedException(typeof(InvalidOperationException))]
115 public async void AsyncVoidExpectedException()
116 {
117 await ThrowException();
118 }
119
120 [Test]
121 [ExpectedException(typeof(InvalidOperationException))]
122 public async Task AsyncTaskExpectedException()
123 {
124 await ThrowException();
125 }
126
127 [Test]
128 [ExpectedException(typeof(InvalidOperationException))]
129 public async Task<int> AsyncTaskResultExpectedException()
130 {
131 return await ThrowException();
132 }
133
134 [Test]
135 public async void AsyncVoidAssertSynchrnoizationContext()
136 {
137 Assert.That(SynchronizationContext.Current, Is.InstanceOf<AsyncSynchronizationContext>());
138 await Task.Yield();
139 }
140
141 [Test]
142 public async void NestedAsyncVoidSuccess()
143 {
144 var result = await Task.Run(async () => await ReturnOne());
145
146 Assert.AreEqual(1, result);
147 }
148
149 [Test]
150 public async void NestedAsyncVoidFailure()
151 {
152 var result = await Task.Run(async () => await ReturnOne());
153
154 Assert.AreEqual(2, result);
155 }
156
157 [Test]
158 public async void NestedAsyncVoidError()
159 {
160 await Task.Run(async () => await ThrowException());
161
162 Assert.Fail("Should not get here");
163 }
164
165 [Test]
166 public async Task NestedAsyncTaskSuccess()
167 {
168 var result = await Task.Run(async () => await ReturnOne());
169
170 Assert.AreEqual(1, result);
171 }
172
173 [Test]
174 public async Task NestedAsyncTaskFailure()
175 {
176 var result = await Task.Run(async () => await ReturnOne());
177
178 Assert.AreEqual(2, result);
179 }
180
181 [Test]
182 public async Task NestedAsyncTaskError()
183 {
184 await Task.Run(async () => await ThrowException());
185
186 Assert.Fail("Should never get here");
187 }
188
189 [Test]
190 public async Task<int> NestedAsyncTaskResultSuccess()
191 {
192 var result = await Task.Run(async () => await ReturnOne());
193
194 Assert.AreEqual(1, result);
195
196 return result;
197 }
198
199 [Test]
200 public async Task<int> NestedAsyncTaskResultFailure()
201 {
202 var result = await Task.Run(async () => await ReturnOne());
203
204 Assert.AreEqual(2, result);
205
206 return result;
207 }
208
209 [Test]
210 public async Task<int> NestedAsyncTaskResultError()
211 {
212 var result = await Task.Run(async () => await ThrowException());
213
214 Assert.Fail("Should never get here");
215
216 return result;
217 }
218
219 [Test]
220 public async void AsyncVoidMultipleSuccess()
221 {
222 var result = await ReturnOne();
223
224 Assert.AreEqual(await ReturnOne(), result);
225 }
226
227 [Test]
228 public async void AsyncVoidMultipleFailure()
229 {
230 var result = await ReturnOne();
231
232 Assert.AreEqual(await ReturnOne() + 1, result);
233 }
234
235 [Test]
236 public async void AsyncVoidMultipleError()
237 {
238 var result = await ReturnOne();
239 await ThrowException();
240
241 Assert.Fail("Should never get here");
242 }
243
244 [Test]
245 public async void AsyncTaskMultipleSuccess()
246 {
247 var result = await ReturnOne();
248
249 Assert.AreEqual(await ReturnOne(), result);
250 }
251
252 [Test]
253 public async void AsyncTaskMultipleFailure()
254 {
255 var result = await ReturnOne();
256
257 Assert.AreEqual(await ReturnOne() + 1, result);
258 }
259
260 [Test]
261 public async void AsyncTaskMultipleError()
262 {
263 var result = await ReturnOne();
264 await ThrowException();
265
266 Assert.Fail("Should never get here");
267 }
268
269 [TestCase(1, 2)]
270 public async void AsyncVoidTestCaseWithParametersSuccess(int a, int b)
271 {
272 Assert.AreEqual(await ReturnOne(), b - a);
273 }
274
275 private static Task<int> ReturnOne()
276 {
277 return Task.Run(() => 1);
278 }
279
280 private static Task<int> ThrowException()
281 {
282 return Task.Run(() =>
283 {
284 throw new InvalidOperationException();
285 return 1;
286 });
287 }
288 }
289}
0\ No newline at end of file290\ No newline at end of file
1291
=== added directory 'src/tests/test-assembly-net45/Properties'
=== added file 'src/tests/test-assembly-net45/test-assembly-net45.build'
--- src/tests/test-assembly-net45/test-assembly-net45.build 1970-01-01 00:00:00 +0000
+++ src/tests/test-assembly-net45/test-assembly-net45.build 2012-10-03 23:32:21 +0000
@@ -0,0 +1,42 @@
1<?xml version="1.0"?>
2<project name="TestAssembly" default="build" basedir=".">
3
4 <patternset id="source-files">
5 <include name="AsyncDummyFixture.cs"/>
6 <include name="AsyncRealFixture.cs"/>
7 </patternset>
8
9 <target name="build">
10 <property name="previousFramework" value="${nant.settings.currentframework}"/>
11 <property name="nant.settings.currentframework" value="net-4.5"/>
12 <csc target="library"
13 output="${current.test.dir}/test-assembly-net45.dll"
14 debug="${build.debug}" define="${build.defines}">
15 <sources>
16 <patternset refid="source-files"/>
17 <include name="../../GeneratedAssemblyInfo.cs"/>
18 </sources>
19 <nowarn>
20 <warning number="618,672"/>
21 </nowarn>
22 <references>
23 <include name="${current.framework.dir}/nunit.framework.dll"/>
24 <include name="${current.framework.dir}/nunit.framework.extensions.dll"/>
25 <include name="${current.lib.dir}/nunit.core.interfaces.dll"/>
26 <include name="${current.lib.dir}/nunit.core.dll"/>
27 </references>
28 </csc>
29 <property name="nant.settings.currentframework" value="${previousFramework}"/>
30 </target>
31
32 <target name="package">
33 <copy todir="${package.src.dir}/tests/test-assembly-net45">
34 <fileset>
35 <patternset refid="source-files" />
36 <include name="test-assembly.csproj"/>
37 <include name="test-assembly.build"/>
38 </fileset>
39 </copy>
40 </target>
41
42</project>
0\ No newline at end of file43\ No newline at end of file
144
=== added file 'src/tests/test-assembly-net45/test-assembly-net45.csproj'
--- src/tests/test-assembly-net45/test-assembly-net45.csproj 1970-01-01 00:00:00 +0000
+++ src/tests/test-assembly-net45/test-assembly-net45.csproj 2012-10-03 23:32:21 +0000
@@ -0,0 +1,72 @@
1<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4 <PropertyGroup>
5 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7 <ProjectGuid>{74CCEAEA-CDBF-4FE0-BF0D-914C3C44ECE9}</ProjectGuid>
8 <OutputType>Library</OutputType>
9 <AppDesignerFolder>Properties</AppDesignerFolder>
10 <RootNamespace>test_assembly_net45</RootNamespace>
11 <AssemblyName>test-assembly-net45</AssemblyName>
12 <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13 <FileAlignment>512</FileAlignment>
14 </PropertyGroup>
15 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16 <DebugSymbols>true</DebugSymbols>
17 <DebugType>full</DebugType>
18 <Optimize>false</Optimize>
19 <OutputPath>bin\Debug\</OutputPath>
20 <DefineConstants>DEBUG;TRACE</DefineConstants>
21 <ErrorReport>prompt</ErrorReport>
22 <WarningLevel>4</WarningLevel>
23 </PropertyGroup>
24 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25 <DebugType>pdbonly</DebugType>
26 <Optimize>true</Optimize>
27 <OutputPath>bin\Release\</OutputPath>
28 <DefineConstants>TRACE</DefineConstants>
29 <ErrorReport>prompt</ErrorReport>
30 <WarningLevel>4</WarningLevel>
31 </PropertyGroup>
32 <ItemGroup>
33 <Reference Include="System" />
34 <Reference Include="System.Core" />
35 <Reference Include="System.Xml.Linq" />
36 <Reference Include="Microsoft.CSharp" />
37 <Reference Include="System.Xml" />
38 </ItemGroup>
39 <ItemGroup>
40 <Compile Include="..\..\CommonAssemblyInfo.cs">
41 <Link>CommonAssemblyInfo.cs</Link>
42 </Compile>
43 <Compile Include="AsyncDummyFixture.cs" />
44 <Compile Include="AsyncRealFixture.cs" />
45 </ItemGroup>
46 <ItemGroup>
47 <None Include="test-assembly-net45.build">
48 <SubType>Designer</SubType>
49 </None>
50 </ItemGroup>
51 <ItemGroup>
52 <ProjectReference Include="..\..\NUnitCore\core\nunit.core.dll.csproj">
53 <Project>{EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}</Project>
54 <Name>nunit.core.dll</Name>
55 </ProjectReference>
56 <ProjectReference Include="..\..\NUnitFramework\framework\nunit.framework.dll.csproj">
57 <Project>{83DD7E12-A705-4DBA-9D71-09C8973D9382}</Project>
58 <Name>nunit.framework.dll</Name>
59 </ProjectReference>
60 </ItemGroup>
61 <ItemGroup>
62 <Folder Include="Properties\" />
63 </ItemGroup>
64 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
65 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
66 Other similar extension points exist, see Microsoft.Common.targets.
67 <Target Name="BeforeBuild">
68 </Target>
69 <Target Name="AfterBuild">
70 </Target>
71 -->
72</Project>
0\ No newline at end of file73\ No newline at end of file
174
=== modified file 'src/tests/test-assembly/DatapointFixture.cs'
--- src/tests/test-assembly/DatapointFixture.cs 2012-02-21 03:31:35 +0000
+++ src/tests/test-assembly/DatapointFixture.cs 2012-10-03 23:32:21 +0000
@@ -50,7 +50,7 @@
50 public double[] values = new double[] { 0.0, 1.0, -1.0, double.MaxValue, double.PositiveInfinity };50 public double[] values = new double[] { 0.0, 1.0, -1.0, double.MaxValue, double.PositiveInfinity };
51 }51 }
5252
53#if CS_3_0 || CS_4_053#if CS_3_0 || CS_4_0 || CS_5_0
54 public class SquareRootTest_Field_IEnumerableOfDouble : SquareRootTest54 public class SquareRootTest_Field_IEnumerableOfDouble : SquareRootTest
55 {55 {
56 [Datapoints]56 [Datapoints]
5757
=== modified file 'tools/nant/bin/NAnt.exe.config'
--- tools/nant/bin/NAnt.exe.config 2012-09-25 20:55:15 +0000
+++ tools/nant/bin/NAnt.exe.config 2012-10-03 23:32:21 +0000
@@ -886,7 +886,341 @@
886 </task>886 </task>
887 </tasks>887 </tasks>
888 </framework>888 </framework>
889 <framework 889 <framework
890 name="net-4.5"
891 family="net"
892 version="4.5"
893 description="Microsoft .NET Framework 4.5"
894 sdkdirectory="${sdkInstallRoot}"
895 frameworkdirectory="${path::combine(installRoot, 'v4.0.30319')}"
896 frameworkassemblydirectory="${path::combine(installRoot, 'v4.0.30319')}"
897 clrversion="4.0.30319"
898 clrtype="Desktop"
899 vendor="Microsoft"
900 >
901 <runtime>
902 <probing-paths>
903 <directory name="lib/common/2.0" />
904 <directory name="lib/common/neutral" />
905 </probing-paths>
906 <modes>
907 <strict>
908 <environment>
909 <variable name="COMPLUS_VERSION" value="v4.0.30319" />
910 </environment>
911 </strict>
912 </modes>
913 </runtime>
914 <reference-assemblies basedir="${path::combine(installRoot, 'v4.0.30319')}">
915 <include name="Accessibility.dll" />
916 <include name="Microsoft.Build.Conversion.v4.0.dll" />
917 <include name="Microsoft.Build.dll" />
918 <include name="Microsoft.Build.Engine.dll" />
919 <include name="Microsoft.Build.Framework.dll" />
920 <include name="Microsoft.Build.Tasks.v4.0.dll" />
921 <include name="Microsoft.Build.Utilities.v4.0.dll" />
922 <include name="Microsoft.CSharp.dll" />
923 <include name="Microsoft.Data.Entity.Build.Tasks.dll" />
924 <include name="Microsoft.JScript.dll" />
925 <include name="Microsoft.Transactions.Bridge.dll" />
926 <include name="Microsoft.Transactions.Bridge.Dtc.dll" />
927 <include name="Microsoft.VisualBasic.Activities.Compiler.dll" />
928 <include name="Microsoft.VisualBasic.Compatibility.Data.dll" />
929 <include name="Microsoft.VisualBasic.Compatibility.dll" />
930 <include name="Microsoft.VisualBasic.dll" />
931 <include name="Microsoft.VisualC.dll" />
932 <include name="Microsoft.VisualC.STLCLR.dll" />
933 <include name="mscorlib.dll" />
934 <include name="System.Activities.Core.Presentation.dll" />
935 <include name="System.Activities.dll" />
936 <include name="System.Activities.DurableInstancing.dll" />
937 <include name="System.Activities.Presentation.dll" />
938 <include name="System.AddIn.Contract" />
939 <include name="System.AddIn.dll" />
940 <include name="System.ComponentModel.Composition.dll" />
941 <include name="System.ComponentModel.DataAnnotations.dll" />
942 <include name="System.Configuration.dll" />
943 <include name="System.Configuration.Install.dll" />
944 <include name="System.Core.dll" />
945 <include name="System.Data.DataSetExtensions.dll" />
946 <include name="System.Data.dll" />
947 <include name="System.Data.Entity.Design.dll" />
948 <include name="System.Data.Entity.dll" />
949 <include name="System.Data.Linq.dll" />
950 <include name="System.Data.OracleClient.dll" />
951 <include name="System.Data.Services.Client.dll" />
952 <include name="System.Data.Services.Design.dll" />
953 <include name="System.Data.Services.dll" />
954 <include name="System.Data.SqlXml.dll" />
955 <include name="System.Deployment.dll" />
956 <include name="System.Design.dll" />
957 <include name="System.Device.dll" />
958 <include name="System.DirectoryServices.dll" />
959 <include name="System.DirectoryServices.Protocols.dll" />
960 <include name="System.dll" />
961 <include name="System.Drawing.Design.dll" />
962 <include name="System.Drawing.dll" />
963 <include name="System.Dynamic.dll" />
964 <include name="System.EnterpriseServices.dll" />
965 <include name="System.EnterpriseServices.Thunk.dll" />
966 <include name="System.EnterpriseServices.Wrapper.dll" />
967 <include name="System.IdentityModel.dll" />
968 <include name="System.IdentityModel.Selectors.dll" />
969 <include name="System.IO.Log.dll" />
970 <include name="System.Management.dll" />
971 <include name="System.Management.Instrumentation.dll" />
972 <include name="System.Messaging.dll" />
973 <include name="System.Net.dll" />
974 <include name="System.Numerics.dll" />
975 <include name="System.Runtime.Caching.dll" />
976 <include name="System.Runtime.DurableInstancing.dll" />
977 <include name="System.Runtime.Remoting.dll" />
978 <include name="System.Runtime.Serialization.dll" />
979 <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
980 <include name="System.Security.dll" />
981 <include name="System.ServiceModel.Activation.dll" />
982 <include name="System.ServiceModel.Activities.dll" />
983 <include name="System.ServiceModel.Channels.dll" />
984 <include name="System.ServiceModel.Discovery.dll" />
985 <include name="System.ServiceModel.dll" />
986 <include name="System.ServiceModel.Routing.dll" />
987 <include name="System.ServiceModel.ServiceMoniker40.dll" />
988 <include name="System.ServiceModel.WasHosting.dll" />
989 <include name="System.ServiceModel.Web.dll" />
990 <include name="System.ServiceProcess.dll" />
991 <include name="System.Transactions.dll" />
992 <include name="System.Web.Abstractions.dll" />
993 <include name="System.Web.ApplicationServices.dll" />
994 <include name="System.Web.DataVisualization.Design.dll" />
995 <include name="System.Web.DataVisualization.dll" />
996 <include name="System.Web.dll" />
997 <include name="System.Web.DynamicData.Design.dll" />
998 <include name="System.Web.DynamicData.dll" />
999 <include name="System.Web.Entity.Design.dll" />
1000 <include name="System.Web.Entity.dll" />
1001 <include name="System.Web.Extensions.Design.dll" />
1002 <include name="System.Web.Extensions.dll" />
1003 <include name="System.Web.Mobile.dll" />
1004 <include name="System.Web.RegularExpressions.dll" />
1005 <include name="System.Web.Routing.dll" />
1006 <include name="System.Web.Services.dll" />
1007 <include name="System.Windows.Forms.DataVisualization.Design.dll" />
1008 <include name="System.Windows.Forms.DataVisualization.dll" />
1009 <include name="System.Windows.Forms.dll" />
1010 <include name="System.Workflow.Activities.dll" />
1011 <include name="System.Workflow.ComponentModel.dll" />
1012 <include name="System.Workflow.Runtime.dll" />
1013 <include name="System.WorkflowServices.dll" />
1014 <include name="System.Xaml.dll" />
1015 <include name="System.Xaml.Hosting.dll" />
1016 <include name="System.Xml.dll" />
1017 <include name="System.Xml.Linq.dll" />
1018 </reference-assemblies>
1019 <!-- WPF Assemblies -->
1020 <reference-assemblies basedir="${path::combine(installRoot, 'v4.0.30319')}/WPF">
1021 <include name="NaturalLanguage6.dll" />
1022 <include name="NlsData0009.dll" />
1023 <include name="NlsLexicons0009.dll" />
1024 <include name="PenIMC.dll" />
1025 <include name="PresentationCore.dll" />
1026 <include name="PresentationFramework.Aero.dll" />
1027 <include name="PresentationFramework.Classic.dll" />
1028 <include name="PresentationFramework.dll" />
1029 <include name="PresentationFramework.Luna.dll" />
1030 <include name="PresentationFramework.Royale.dll" />
1031 <include name="PresentationHost_v0400.dll" />
1032 <include name="PresentationNative_v0400.dll" />
1033 <include name="PresentationUI.dll" />
1034 <include name="ReachFramework.dll" />
1035 <include name="System.Printing.dll" />
1036 <include name="System.Speech.dll" />
1037 <include name="System.Windows.Input.Manipulations.dll" />
1038 <include name="System.Windows.Presentation.dll" />
1039 <include name="UIAutomationClient.dll" />
1040 <include name="UIAutomationClientsideProviders.dll" />
1041 <include name="UIAutomationProvider.dll" />
1042 <include name="UIAutomationTypes.dll" />
1043 <include name="WindowsBase.dll" />
1044 <include name="WindowsFormsIntegration.dll" />
1045 <include name="wpfgfx_v0400.dll" />
1046 <include name="wpftxt_v0400.dll" />
1047 </reference-assemblies>
1048 <reference-assemblies basedir="${environment::get-folder-path('ProgramFiles')}/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.5">
1049 <include name="Microsoft.Build.Conversion.v4.0.dll" />
1050 <include name="Microsoft.Build.dll" />
1051 <include name="Microsoft.Build.Engine.dll" />
1052 <include name="Microsoft.Build.Framework.dll" />
1053 <include name="Microsoft.Build.Tasks.v4.0.dll" />
1054 <include name="Microsoft.Build.Utilities.v4.0.dll" />
1055 <include name="Microsoft.CSharp.dll" />
1056 <include name="Microsoft.JScript.dll" />
1057 <include name="Microsoft.VisualBasic.Compatibility.Data.dll" />
1058 <include name="Microsoft.VisualBasic.Comptatibility.dll" />
1059 <include name="Microsoft.VisualBasic.dll" />
1060 <include name="Microsoft.VisualC.dll" />
1061 <include name="Microsoft.VisualC.STLCLR.dll" />
1062 <include name="mscorlib.dll" />
1063 <include name="PresentationBuildTasks.dll" />
1064 <include name="PresentationCore.dll" />
1065 <include name="WindowsBase.dll" />
1066 <include name="PresentationFramework.dll" />
1067 <include name="PresentationFramework.Aero.dll" />
1068 <include name="PresentationFramework.Classic.dll" />
1069 <include name="PresentationFramework.Luna.dll" />
1070 <include name="PresentationFramework.Royale.dll" />
1071 <include name="ReachFramework.dll" />
1072 <include name="System.Activities.Core.Presentation.dll" />
1073 <include name="System.Activities.dll" />
1074 <include name="System.Activities.DurableInstancing.dll" />
1075 <include name="System.Activities.Presentation.dll" />
1076 <include name="System.AddIn.Contract.dll" />
1077 <include name="System.AddIn.dll" />
1078 <include name="System.ComponentModel.Composition.dll" />
1079 <include name="System.ComponentModel.DataAnnotations.dll" />
1080 <include name="System.Configuration.dll" />
1081 <include name="System.Core.dll" />
1082 <include name="System.Data.DataSetExtension.dll" />
1083 <include name="System.Data.dll" />
1084 <include name="System.Data.Entity.Design.dll" />
1085 <include name="System.Data.Entity.dll" />
1086 <include name="System.Data.Linq.dll" />
1087 <include name="System.Data.OracleClient.dll" />
1088 <include name="System.Data.Services.Client.dll" />
1089 <include name="System.Data.Services.Design.dll" />
1090 <include name="System.Data.Services.dll" />
1091 <include name="System.Data.SqlXml.dll" />
1092 <include name="System.Deployment.dll" />
1093 <include name="System.Design.dll" />
1094 <include name="System.Device.dll" />
1095 <include name="System.DirectoryServices.AccountManagement.dll" />
1096 <include name="System.DirectoryServices.dll" />
1097 <include name="System.DirectoryServices.Protocols.dll" />
1098 <include name="System.dll" />
1099 <include name="System.Drawing.Design.dll" />
1100 <include name="System.Drawing.dll" />
1101 <include name="System.EnterpriseServices.dll" />
1102 <include name="System.EnterpriseServices.Thunk.dll" />
1103 <include name="System.EnterpriseServices.Wrapper.dll" />
1104 <include name="System.IdentityModel.dll" />
1105 <include name="System.IdentityModel.Selectors.dll" />
1106 <include name="System.IO.Log.dll" />
1107 <include name="System.Management.dll" />
1108 <include name="System.Management.Instrumentation.dll" />
1109 <include name="System.Messaging.dll" />
1110 <include name="System.Net.dll" />
1111 <include name="System.Numerics.dll" />
1112 <include name="System.Printing.dll" />
1113 <include name="System.Runtime.Caching.dll" />
1114 <include name="System.Runtime.DurableInstancing.dll" />
1115 <include name="System.Runtime.Remoting.dll" />
1116 <include name="System.Runtime.Serialization.dll" />
1117 <include name="System.Runtime.Serialization.Formatters.Soap.dll" />
1118 <include name="System.Security.dll" />
1119 <include name="System.ServiceModel.Activation.dll" />
1120 <include name="System.ServiceModel.Activities.dll" />
1121 <include name="System.ServiceModel.Channels.dll" />
1122 <include name="System.ServiceModel.Discovery.dll" />
1123 <include name="System.ServiceModel.dll" />
1124 <include name="System.ServiceModel.Routing.dll" />
1125 <include name="System.ServiceModel.Web.dll" />
1126 <include name="System.ServiceProcess.dll" />
1127 <include name="System.Speech.dll" />
1128 <include name="System.Transactions.dll" />
1129 <include name="System.Web.Abstractions.dll" />
1130 <include name="System.Web.ApplicationServices.dll" />
1131 <include name="System.Web.DataVisualization.Design.dll" />
1132 <include name="System.Web.DataVisualization.dll" />
1133 <include name="System.Web.dll" />
1134 <include name="System.Web.DynamicData.Design.dll" />
1135 <include name="System.Web.DynamicData.dll" />
1136 <include name="System.Web.Entity.Design.dll" />
1137 <include name="System.Web.Entity.dll" />
1138 <include name="System.Web.Extensions.Design.dll" />
1139 <include name="System.Web.Extensions.dll" />
1140 <include name="System.Web.Mobile.dll" />
1141 <include name="System.Web.RegularExpressions.dll" />
1142 <include name="System.Web.Routing.dll" />
1143 <include name="System.Web.Services.dll" />
1144 <include name="System.Windows.Forms.DataVisualization.Design.dll" />
1145 <include name="System.Windows.Forms.DataVisualization.dll" />
1146 <include name="System.Windows.Forms.dll" />
1147 <include name="System.Windows.Input.Manipulations.dll" />
1148 <include name="System.Windows.Presentation.dll" />
1149 <include name="System.Workflow.Activities.dll" />
1150 <include name="System.Workflow.ComponentModel.dll" />
1151 <include name="System.Workflow.Runtime.dll" />
1152 <include name="System.WorkflowServices.dll" />
1153 <include name="System.Xaml.dll" />
1154 <include name="System.Xml.dll" />
1155 <include name="System.Xml.Linq.dll" />
1156 </reference-assemblies>
1157 <task-assemblies>
1158 <!-- include MS.NET version-neutral assemblies -->
1159 <include name="extensions/net/neutral/**/*.dll" />
1160 <!-- include MS.NET 4.0 specific assemblies -->
1161 <include name="extensions/net/4.0/**/*.dll" />
1162 <!-- include MS.NET specific task assembly -->
1163 <include name="NAnt.MSNetTasks.dll" />
1164 <!-- include MS.NET specific test assembly -->
1165 <include name="NAnt.MSNet.Tests.dll" />
1166 <!-- include .NET 4.0 specific assemblies -->
1167 <include name="extensions/common/4.0/**/*.dll" />
1168 </task-assemblies>
1169 <tool-paths>
1170 <directory name="${sdkInstallRoot}"
1171 if="${property::exists('sdkInstallRoot')}" />
1172 <directory name="${path::combine(installRoot, 'v4.0.30319')}" />
1173 </tool-paths>
1174 <project>
1175 <readregistry
1176 property="installRoot"
1177 key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
1178 hive="LocalMachine" />
1179 <locatesdk property="sdkInstallRoot" minwinsdkver="v7.0A" minnetfxver="4.0" maxnetfxver="4.0.99999" failonerror="false" />
1180 </project>
1181 <tasks>
1182 <task name="csc">
1183 <attribute name="supportsnowarnlist">true</attribute>
1184 <attribute name="supportswarnaserrorlist">true</attribute>
1185 <attribute name="supportskeycontainer">true</attribute>
1186 <attribute name="supportskeyfile">true</attribute>
1187 <attribute name="supportsdelaysign">true</attribute>
1188 <attribute name="supportsplatform">true</attribute>
1189 <attribute name="supportslangversion">true</attribute>
1190 </task>
1191 <task name="vbc">
1192 <attribute name="supportsdocgeneration">true</attribute>
1193 <attribute name="supportsnostdlib">true</attribute>
1194 <attribute name="supportsnowarnlist">true</attribute>
1195 <attribute name="supportskeycontainer">true</attribute>
1196 <attribute name="supportskeyfile">true</attribute>
1197 <attribute name="supportsdelaysign">true</attribute>
1198 <attribute name="supportsplatform">true</attribute>
1199 <attribute name="supportswarnaserrorlist">true</attribute>
1200 </task>
1201 <task name="jsc">
1202 <attribute name="supportsplatform">true</attribute>
1203 </task>
1204 <task name="vjc">
1205 <attribute name="supportsnowarnlist">true</attribute>
1206 <attribute name="supportskeycontainer">true</attribute>
1207 <attribute name="supportskeyfile">true</attribute>
1208 <attribute name="supportsdelaysign">true</attribute>
1209 </task>
1210 <task name="resgen">
1211 <attribute name="supportsassemblyreferences">true</attribute>
1212 <attribute name="supportsexternalfilereferences">true</attribute>
1213 </task>
1214 <task name="delay-sign">
1215 <attribute name="exename">sn</attribute>
1216 </task>
1217 <task name="license">
1218 <attribute name="exename">lc</attribute>
1219 <attribute name="supportsassemblyreferences">true</attribute>
1220 </task>
1221 </tasks>
1222 </framework>
1223 <framework
890 name="netcf-1.0"1224 name="netcf-1.0"
891 family="netcf"1225 family="netcf"
892 version="1.0"1226 version="1.0"
@@ -2921,9 +3255,11 @@
2921 <NetFx40_LegacySecurityPolicy enabled="true"/>3255 <NetFx40_LegacySecurityPolicy enabled="true"/>
2922 </runtime>3256 </runtime>
2923 <startup>3257 <startup>
2924 <!-- .NET Framework 4.0 -->3258 <!-- .NET Framework 4.5 -->
2925 <supportedRuntime version="v4.0.30319" />3259 <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
2926 <!-- .NET Framework 2.0 -->3260 <!-- .NET Framework 4.0 -->
2927 <supportedRuntime version="v2.0.50727" />3261 <supportedRuntime version="v4.0.30319" />
2928 </startup>3262 <!-- .NET Framework 2.0 -->
3263 <supportedRuntime version="v2.0.50727" />
3264 </startup>
2929</configuration>3265</configuration>

Subscribers

People subscribed via source and target branches

to status/vote changes: