Merge lp:~simone.busoli/nunitv2/async-support-void-and-task-return-types into lp:nunitv2
- async-support-void-and-task-return-types
- Merge into trunk
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 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Charlie Poole | Approve | ||
Review via email: mp+127183@code.launchpad.net |
Commit message
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 Synchronization
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.
- 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.
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.
Simone Busoli (simone.busoli) wrote : | # |
Hi Charlie, thanks.
WRT fix 1), I added a piece of code here: http://
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.
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://
>
> 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:/
> You are reviewing the proposed merge of lp:~simone.busoli/nunitv2/async-support-void-and-task-return-types into lp:nunitv2.
Preview Diff
1 | === added file 'NUnitTests.v3.nunit' | |||
2 | --- NUnitTests.v3.nunit 1970-01-01 00:00:00 +0000 | |||
3 | +++ NUnitTests.v3.nunit 2012-10-03 23:32:21 +0000 | |||
4 | @@ -0,0 +1,15 @@ | |||
5 | 1 | <NUnitProject> | ||
6 | 2 | <Settings appbase="."/> | ||
7 | 3 | <Config name="Default" binpath="lib;tests;framework"> | ||
8 | 4 | <assembly path="tests/nunit.framework.tests.dll" /> | ||
9 | 5 | <assembly path="tests/nunit.core.tests.dll" /> | ||
10 | 6 | <assembly path="tests/nunit.core.tests.net45.dll" /> | ||
11 | 7 | <assembly path="tests/nunit.util.tests.dll" /> | ||
12 | 8 | <assembly path="tests/nunit.mocks.tests.dll" /> | ||
13 | 9 | <assembly path="tests/nunit-console.tests.dll" /> | ||
14 | 10 | <assembly path="tests/nunit.uiexception.tests.dll" /> | ||
15 | 11 | <assembly path="tests/nunit.uikit.tests.dll" /> | ||
16 | 12 | <assembly path="tests/nunit-gui.tests.dll" /> | ||
17 | 13 | <assembly path="tests/nunit-editor.tests.dll" /> | ||
18 | 14 | </Config> | ||
19 | 15 | </NUnitProject> | ||
20 | 0 | 16 | ||
21 | === modified file 'build.bat' | |||
22 | --- build.bat 2012-09-25 20:55:15 +0000 | |||
23 | +++ build.bat 2012-10-03 23:32:21 +0000 | |||
24 | @@ -1,122 +1,124 @@ | |||
147 | 1 | @echo off | 1 | @echo off |
148 | 2 | 2 | ||
149 | 3 | rem BUILD - Builds and tests NUnit | 3 | rem BUILD - Builds and tests NUnit |
150 | 4 | 4 | ||
151 | 5 | setlocal | 5 | setlocal |
152 | 6 | 6 | ||
153 | 7 | set NANT=tools\nant\bin\nant.exe | 7 | set NANT=tools\nant\bin\nant.exe |
154 | 8 | set OPTIONS=-f:scripts\nunit.build.targets | 8 | set OPTIONS=-f:scripts\nunit.build.targets |
155 | 9 | set CONFIG= | 9 | set CONFIG= |
156 | 10 | set RUNTIME= | 10 | set RUNTIME= |
157 | 11 | set CLEAN= | 11 | set CLEAN= |
158 | 12 | set COMMANDS= | 12 | set COMMANDS= |
159 | 13 | set PASSTHRU= | 13 | set PASSTHRU= |
160 | 14 | goto start | 14 | goto start |
161 | 15 | 15 | ||
162 | 16 | :shift | 16 | :shift |
163 | 17 | shift /1 | 17 | shift /1 |
164 | 18 | 18 | ||
165 | 19 | :start | 19 | :start |
166 | 20 | 20 | ||
167 | 21 | IF "%1" EQU "" goto execute | 21 | IF "%1" EQU "" goto execute |
168 | 22 | 22 | ||
169 | 23 | IF "%PASSTHRU%" EQU "TRUE" set COMMANDS=%COMMANDS% %1&goto shift | 23 | IF "%PASSTHRU%" EQU "TRUE" set COMMANDS=%COMMANDS% %1&goto shift |
170 | 24 | 24 | ||
171 | 25 | IF /I "%1" EQU "?" goto usage | 25 | IF /I "%1" EQU "?" goto usage |
172 | 26 | IF /I "%1" EQU "/h" goto usage | 26 | IF /I "%1" EQU "/h" goto usage |
173 | 27 | IF /I "%1" EQU "/help" goto usage | 27 | IF /I "%1" EQU "/help" goto usage |
174 | 28 | 28 | ||
175 | 29 | IF /I "%1" EQU "debug" set CONFIG=debug&goto shift | 29 | IF /I "%1" EQU "debug" set CONFIG=debug&goto shift |
176 | 30 | IF /I "%1" EQU "release" set CONFIG=release&goto shift | 30 | IF /I "%1" EQU "release" set CONFIG=release&goto shift |
177 | 31 | 31 | ||
178 | 32 | IF /I "%1" EQU "net" set RUNTIME=net&goto shift | 32 | IF /I "%1" EQU "net" set RUNTIME=net&goto shift |
179 | 33 | IF /I "%1" EQU "net-1.0" set RUNTIME=net-1.0&goto shift | 33 | IF /I "%1" EQU "net-1.0" set RUNTIME=net-1.0&goto shift |
180 | 34 | IF /I "%1" EQU "net-1.1" set RUNTIME=net-1.1&goto shift | 34 | IF /I "%1" EQU "net-1.1" set RUNTIME=net-1.1&goto shift |
181 | 35 | IF /I "%1" EQU "net-2.0" set RUNTIME=net-2.0&goto shift | 35 | IF /I "%1" EQU "net-2.0" set RUNTIME=net-2.0&goto shift |
182 | 36 | IF /I "%1" EQU "net-3.0" set RUNTIME=net-3.0&goto shift | 36 | IF /I "%1" EQU "net-3.0" set RUNTIME=net-3.0&goto shift |
183 | 37 | IF /I "%1" EQU "net-3.5" set RUNTIME=net-3.5&goto shift | 37 | IF /I "%1" EQU "net-3.5" set RUNTIME=net-3.5&goto shift |
184 | 38 | IF /I "%1" EQU "net-4.0" set RUNTIME=net-4.0&goto shift | 38 | IF /I "%1" EQU "net-4.0" set RUNTIME=net-4.0&goto shift |
185 | 39 | 39 | IF /I "%1" EQU "net-4.5" set RUNTIME=net-4.5&goto shift | |
186 | 40 | IF /I "%1" EQU "mono" set RUNTIME=mono&goto shift | 40 | |
187 | 41 | IF /I "%1" EQU "mono-1.0" set RUNTIME=mono-1.0&goto shift | 41 | IF /I "%1" EQU "mono" set RUNTIME=mono&goto shift |
188 | 42 | IF /I "%1" EQU "mono-2.0" set RUNTIME=mono-2.0&goto shift | 42 | IF /I "%1" EQU "mono-1.0" set RUNTIME=mono-1.0&goto shift |
189 | 43 | IF /I "%1" EQU "mono-3.5" set RUNTIME=mono-3.5&goto shift | 43 | IF /I "%1" EQU "mono-2.0" set RUNTIME=mono-2.0&goto shift |
190 | 44 | IF /I "%1" EQU "mono-4.0" set RUNTIME=mono-4.0&goto shift | 44 | IF /I "%1" EQU "mono-3.5" set RUNTIME=mono-3.5&goto shift |
191 | 45 | 45 | IF /I "%1" EQU "mono-4.0" set RUNTIME=mono-4.0&goto shift | |
192 | 46 | if /I "%1" EQU "clean" set CLEAN=clean&goto shift | 46 | |
193 | 47 | if /I "%1" EQU "clean-all" set CLEAN=clean-all&goto shift | 47 | if /I "%1" EQU "clean" set CLEAN=clean&goto shift |
194 | 48 | IF /I "%1" EQU "samples" set COMMANDS=%COMMANDS% build-samples&goto shift | 48 | if /I "%1" EQU "clean-all" set CLEAN=clean-all&goto shift |
195 | 49 | IF /I "%1" EQU "tools" set COMMANDS=%COMMANDS% build-tools&goto shift | 49 | IF /I "%1" EQU "samples" set COMMANDS=%COMMANDS% build-samples&goto shift |
196 | 50 | IF /I "%1" EQU "test" set COMMANDS=%COMMANDS% test&goto shift | 50 | IF /I "%1" EQU "tools" set COMMANDS=%COMMANDS% build-tools&goto shift |
197 | 51 | IF /I "%1" EQU "gui-test" set COMMANDS=%COMMANDS% gui-test&goto shift | 51 | IF /I "%1" EQU "test" set COMMANDS=%COMMANDS% test&goto shift |
198 | 52 | IF /I "%1" EQU "gen-syntax" set COMMANDS=%COMMANDS% gen-syntax&goto shift | 52 | IF /I "%1" EQU "gui-test" set COMMANDS=%COMMANDS% gui-test&goto shift |
199 | 53 | 53 | IF /I "%1" EQU "gen-syntax" set COMMANDS=%COMMANDS% gen-syntax&goto shift | |
200 | 54 | IF "%1" EQU "--" set PASSTHRU=TRUE&goto shift | 54 | |
201 | 55 | 55 | IF "%1" EQU "--" set PASSTHRU=TRUE&goto shift | |
202 | 56 | echo Invalid option: %1 | 56 | |
203 | 57 | echo. | 57 | echo Invalid option: %1 |
204 | 58 | echo Use BUILD /help for more information. | 58 | echo. |
205 | 59 | echo. | 59 | echo Use BUILD /help for more information. |
206 | 60 | 60 | echo. | |
207 | 61 | goto done | 61 | |
208 | 62 | 62 | goto done | |
209 | 63 | :execute | 63 | |
210 | 64 | 64 | : execute | |
211 | 65 | if "%CONFIG%" NEQ "" set OPTIONS=%OPTIONS% -D:build.config=%CONFIG% | 65 | |
212 | 66 | if "%RUNTIME%" NEQ "" set OPTIONS=%OPTIONS% -D:runtime.config=%RUNTIME% | 66 | if "%CONFIG%" NEQ "" set OPTIONS=%OPTIONS% -D:build.config=%CONFIG% |
213 | 67 | 67 | if "%RUNTIME%" NEQ "" set OPTIONS=%OPTIONS% -D:runtime.config=%RUNTIME% | |
214 | 68 | if "%COMMANDS%" EQU "" set COMMANDS=build | 68 | |
215 | 69 | 69 | if "%COMMANDS%" EQU "" set COMMANDS=build | |
216 | 70 | %NANT% %OPTIONS% %CLEAN% %COMMANDS% | 70 | |
217 | 71 | 71 | %NANT% %OPTIONS% %CLEAN% %COMMANDS% | |
218 | 72 | goto done | 72 | |
219 | 73 | 73 | goto done | |
220 | 74 | : usage | 74 | |
221 | 75 | 75 | : usage | |
222 | 76 | echo Builds and tests NUnit for various targets | 76 | |
223 | 77 | echo. | 77 | echo Builds and tests NUnit for various targets |
224 | 78 | echo usage: BUILD [option [...] ] [ -- nantoptions ] | 78 | echo. |
225 | 79 | echo. | 79 | echo usage: BUILD [option [...] ] [ -- nantoptions ] |
226 | 80 | echo Options may be any of the following, in any order... | 80 | echo. |
227 | 81 | echo. | 81 | echo Options may be any of the following, in any order... |
228 | 82 | echo debug Builds debug configuration (default) | 82 | echo. |
229 | 83 | echo release Builds release configuration | 83 | echo debug Builds debug configuration (default) |
230 | 84 | echo. | 84 | echo release Builds release configuration |
231 | 85 | echo net-4.0 Builds using .NET 4.0 framework (future) | 85 | echo. |
232 | 86 | echo net-3.5 Builds using .NET 3.5 framework (default) | 86 | echo net-4.5 Builds using .NET 4.5 framework (future) |
233 | 87 | echo net-2.0 Builds using .NET 2.0 framework | 87 | echo net-4.0 Builds using .NET 4.0 framework (future) |
234 | 88 | echo net-1.1 Builds using .NET 1.1 framework | 88 | echo net-3.5 Builds using .NET 3.5 framework (default) |
235 | 89 | echo net-1.0 Builds using .NET 1.0 framework | 89 | echo net-2.0 Builds using .NET 2.0 framework |
236 | 90 | echo mono-4.0 Builds using Mono 4.0 profile (future) | 90 | echo net-1.1 Builds using .NET 1.1 framework |
237 | 91 | echo mono-3.5 Builds using Mono 3.5 profile (default) | 91 | echo net-1.0 Builds using .NET 1.0 framework |
238 | 92 | echo mono-2.0 Builds using Mono 2.0 profile | 92 | echo mono-4.0 Builds using Mono 4.0 profile (future) |
239 | 93 | echo mono-1.0 Builds using Mono 1.0 profile | 93 | echo mono-3.5 Builds using Mono 3.5 profile (default) |
240 | 94 | echo. | 94 | echo mono-2.0 Builds using Mono 2.0 profile |
241 | 95 | echo net Builds using default .NET version | 95 | echo mono-1.0 Builds using Mono 1.0 profile |
242 | 96 | echo mono Builds using default Mono profile | 96 | echo. |
243 | 97 | echo. | 97 | echo net Builds using default .NET version |
244 | 98 | echo clean Cleans the output directory before building | 98 | echo mono Builds using default Mono profile |
245 | 99 | echo clean-all Removes output directories for all runtimes | 99 | echo. |
246 | 100 | echo. | 100 | echo clean Cleans the output directory before building |
247 | 101 | echo samples Builds the NUnit samples | 101 | echo clean-all Removes output directories for all runtimes |
248 | 102 | echo tools Builds the NUnit tools | 102 | echo. |
249 | 103 | echo. | 103 | echo samples Builds the NUnit samples |
250 | 104 | echo test Runs tests for a build using the console runner | 104 | echo tools Builds the NUnit tools |
251 | 105 | echo gui-test Runs tests for a build using the NUnit gui | 105 | echo. |
252 | 106 | echo. | 106 | echo test Runs tests for a build using the console runner |
253 | 107 | echo ?, /h, /help Displays this help message | 107 | echo gui-test Runs tests for a build using the NUnit gui |
254 | 108 | echo. | 108 | echo. |
255 | 109 | echo Notes: | 109 | echo ?, /h, /help Displays this help message |
256 | 110 | echo. | 110 | echo. |
257 | 111 | echo 1. The default .NET or Mono version to be used is selected | 111 | echo Notes: |
258 | 112 | echo automatically by the NAnt script from those installed. | 112 | echo. |
259 | 113 | echo. | 113 | echo 1. The default .NET or Mono version to be used is selected |
260 | 114 | echo 2. When building under a framework version of 3.5 or higher, | 114 | echo automatically by the NAnt script from those installed. |
261 | 115 | echo the 2.0 framework is targeted for NUnit itself. Tests use | 115 | echo. |
262 | 116 | echo the specified higher level framework. | 116 | echo 2. When building under a framework version of 3.5 or higher, |
263 | 117 | echo. | 117 | echo the 2.0 framework is targeted for NUnit itself. Tests use |
264 | 118 | echo 3. Any arguments following '--' on the command line are passed | 118 | echo the specified higher level framework. |
265 | 119 | echo directly to the NAnt script. | 119 | echo. |
266 | 120 | echo. | 120 | echo 3. Any arguments following '--' on the command line are passed |
267 | 121 | 121 | echo directly to the NAnt script. | |
268 | 122 | : done | 122 | echo. |
269 | 123 | |||
270 | 124 | : done | ||
271 | 123 | 125 | ||
272 | === modified file 'nunit.sln' | |||
273 | --- nunit.sln 2012-08-08 03:34:12 +0000 | |||
274 | +++ nunit.sln 2012-10-03 23:32:21 +0000 | |||
275 | @@ -1,266 +1,280 @@ | |||
542 | 1 |  | 1 |  |
543 | 2 | Microsoft Visual Studio Solution File, Format Version 11.00 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 |
544 | 3 | # Visual Studio 2010 | 3 | # Visual Studio 2012 |
545 | 4 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A65042E1-D8BC-48DD-8DE1-F0991F07EA77}" | 4 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A65042E1-D8BC-48DD-8DE1-F0991F07EA77}" |
546 | 5 | ProjectSection(SolutionItems) = preProject | 5 | ProjectSection(SolutionItems) = preProject |
547 | 6 | src\nunit.snk = src\nunit.snk | 6 | src\nunit.snk = src\nunit.snk |
548 | 7 | EndProjectSection | 7 | EndProjectSection |
549 | 8 | EndProject | 8 | EndProject |
550 | 9 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{A785FC02-6044-4864-BE24-4593CAD23A97}" | 9 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{A785FC02-6044-4864-BE24-4593CAD23A97}" |
551 | 10 | ProjectSection(SolutionItems) = preProject | 10 | ProjectSection(SolutionItems) = preProject |
552 | 11 | scripts\nunit.build.targets = scripts\nunit.build.targets | 11 | scripts\nunit.build.targets = scripts\nunit.build.targets |
553 | 12 | scripts\nunit.common.targets = scripts\nunit.common.targets | 12 | scripts\nunit.common.targets = scripts\nunit.common.targets |
554 | 13 | scripts\nunit.package.targets = scripts\nunit.package.targets | 13 | scripts\nunit.package.targets = scripts\nunit.package.targets |
555 | 14 | EndProjectSection | 14 | EndProjectSection |
556 | 15 | EndProject | 15 | EndProject |
557 | 16 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NUnitFramework", "NUnitFramework", "{A2FF9F1B-1854-479A-859C-6ECEBF045E4C}" | 16 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NUnitFramework", "NUnitFramework", "{A2FF9F1B-1854-479A-859C-6ECEBF045E4C}" |
558 | 17 | EndProject | 17 | EndProject |
559 | 18 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ClientUtilities", "ClientUtilities", "{D448BA20-BA70-4F70-AF53-4C0E6C1E97E7}" | 18 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ClientUtilities", "ClientUtilities", "{D448BA20-BA70-4F70-AF53-4C0E6C1E97E7}" |
560 | 19 | EndProject | 19 | EndProject |
561 | 20 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ConsoleRunner", "ConsoleRunner", "{1DBAF726-8009-41CC-B82A-4EFE94CBEEFC}" | 20 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ConsoleRunner", "ConsoleRunner", "{1DBAF726-8009-41CC-B82A-4EFE94CBEEFC}" |
562 | 21 | EndProject | 21 | EndProject |
563 | 22 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GuiRunner", "GuiRunner", "{77D10207-CB02-4C3A-8734-5A5173E3C506}" | 22 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GuiRunner", "GuiRunner", "{77D10207-CB02-4C3A-8734-5A5173E3C506}" |
564 | 23 | EndProject | 23 | EndProject |
565 | 24 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NUnitCore", "NUnitCore", "{AEAED2BD-F22D-42C8-9047-F293BEF70EAB}" | 24 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NUnitCore", "NUnitCore", "{AEAED2BD-F22D-42C8-9047-F293BEF70EAB}" |
566 | 25 | EndProject | 25 | EndProject |
567 | 26 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GuiComponents", "GuiComponents", "{168F8C38-129C-454A-B112-F456BC7F4FE4}" | 26 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GuiComponents", "GuiComponents", "{168F8C38-129C-454A-B112-F456BC7F4FE4}" |
568 | 27 | EndProject | 27 | EndProject |
569 | 28 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GuiException", "GuiException", "{35A92AA3-A1E6-426E-8D96-322F3EBF1C8D}" | 28 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GuiException", "GuiException", "{35A92AA3-A1E6-426E-8D96-322F3EBF1C8D}" |
570 | 29 | EndProject | 29 | EndProject |
571 | 30 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{6142B985-EA14-4DE0-884F-E62D89949E1D}" | 30 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{6142B985-EA14-4DE0-884F-E62D89949E1D}" |
572 | 31 | EndProject | 31 | EndProject |
573 | 32 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NUnitMocks", "NUnitMocks", "{7740410A-54B5-4334-8DE3-6D6F616BD6A5}" | 32 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NUnitMocks", "NUnitMocks", "{7740410A-54B5-4334-8DE3-6D6F616BD6A5}" |
574 | 33 | EndProject | 33 | EndProject |
575 | 34 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PNUnit", "PNUnit", "{979724B8-6FAA-400F-B40D-EB653A815C87}" | 34 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PNUnit", "PNUnit", "{979724B8-6FAA-400F-B40D-EB653A815C87}" |
576 | 35 | EndProject | 35 | EndProject |
577 | 36 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NUnitTestServer", "NUnitTestServer", "{D029F8FD-84E3-4AD3-8F1B-CCA0C856E659}" | 36 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NUnitTestServer", "NUnitTestServer", "{D029F8FD-84E3-4AD3-8F1B-CCA0C856E659}" |
578 | 37 | EndProject | 37 | EndProject |
579 | 38 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ProjectEditor", "ProjectEditor", "{992367F7-9154-4424-B55E-3EF8673A2A36}" | 38 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ProjectEditor", "ProjectEditor", "{992367F7-9154-4424-B55E-3EF8673A2A36}" |
580 | 39 | EndProject | 39 | EndProject |
581 | 40 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.framework.tests", "src\NUnitFramework\tests\nunit.framework.tests.csproj", "{8C326431-AE57-4645-ACC1-A90A0B425129}" | 40 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.framework.tests", "src\NUnitFramework\tests\nunit.framework.tests.csproj", "{8C326431-AE57-4645-ACC1-A90A0B425129}" |
582 | 41 | EndProject | 41 | EndProject |
583 | 42 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.framework.dll", "src\NUnitFramework\framework\nunit.framework.dll.csproj", "{83DD7E12-A705-4DBA-9D71-09C8973D9382}" | 42 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.framework.dll", "src\NUnitFramework\framework\nunit.framework.dll.csproj", "{83DD7E12-A705-4DBA-9D71-09C8973D9382}" |
584 | 43 | EndProject | 43 | EndProject |
585 | 44 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.util.tests", "src\ClientUtilities\tests\nunit.util.tests.csproj", "{74EF7165-117E-48ED-98EA-068EAE438E53}" | 44 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.util.tests", "src\ClientUtilities\tests\nunit.util.tests.csproj", "{74EF7165-117E-48ED-98EA-068EAE438E53}" |
586 | 45 | EndProject | 45 | EndProject |
587 | 46 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.util.dll", "src\ClientUtilities\util\nunit.util.dll.csproj", "{61CE9CE5-943E-44D4-A381-814DC1406767}" | 46 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.util.dll", "src\ClientUtilities\util\nunit.util.dll.csproj", "{61CE9CE5-943E-44D4-A381-814DC1406767}" |
588 | 47 | EndProject | 47 | EndProject |
589 | 48 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-console.tests", "src\ConsoleRunner\tests\nunit-console.tests.csproj", "{8597D2C6-804D-48CB-BFC7-ED2404D389B0}" | 48 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-console.tests", "src\ConsoleRunner\tests\nunit-console.tests.csproj", "{8597D2C6-804D-48CB-BFC7-ED2404D389B0}" |
590 | 49 | EndProject | 49 | EndProject |
591 | 50 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-console", "src\ConsoleRunner\nunit-console\nunit-console.csproj", "{9367EC89-6A38-42BA-9607-0DC288E4BC3A}" | 50 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-console", "src\ConsoleRunner\nunit-console\nunit-console.csproj", "{9367EC89-6A38-42BA-9607-0DC288E4BC3A}" |
592 | 51 | EndProject | 51 | EndProject |
593 | 52 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-console.exe", "src\ConsoleRunner\nunit-console-exe\nunit-console.exe.csproj", "{53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}" | 52 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-console.exe", "src\ConsoleRunner\nunit-console-exe\nunit-console.exe.csproj", "{53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}" |
594 | 53 | EndProject | 53 | EndProject |
595 | 54 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-gui", "src\GuiRunner\nunit-gui\nunit-gui.csproj", "{3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}" | 54 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-gui", "src\GuiRunner\nunit-gui\nunit-gui.csproj", "{3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}" |
596 | 55 | EndProject | 55 | EndProject |
597 | 56 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-gui.tests", "src\GuiRunner\tests\nunit-gui.tests.csproj", "{AAD27267-DE1F-4F61-A1FB-D1680A5B8001}" | 56 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-gui.tests", "src\GuiRunner\tests\nunit-gui.tests.csproj", "{AAD27267-DE1F-4F61-A1FB-D1680A5B8001}" |
598 | 57 | EndProject | 57 | EndProject |
599 | 58 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-gui.exe", "src\GuiRunner\nunit-gui-exe\nunit-gui.exe.csproj", "{AAB186A4-FA3D-404D-AD78-7EB5BB861655}" | 58 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-gui.exe", "src\GuiRunner\nunit-gui-exe\nunit-gui.exe.csproj", "{AAB186A4-FA3D-404D-AD78-7EB5BB861655}" |
600 | 59 | EndProject | 59 | EndProject |
601 | 60 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.core.tests", "src\NUnitCore\tests\nunit.core.tests.csproj", "{DD758D21-E5D5-4D40-9450-5F65A32F359C}" | 60 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.core.tests", "src\NUnitCore\tests\nunit.core.tests.csproj", "{DD758D21-E5D5-4D40-9450-5F65A32F359C}" |
602 | 61 | EndProject | 61 | EndProject |
603 | 62 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.core.interfaces.dll", "src\NUnitCore\interfaces\nunit.core.interfaces.dll.csproj", "{435428F8-5995-4CE4-8022-93D595A8CC0F}" | 62 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.core.interfaces.dll", "src\NUnitCore\interfaces\nunit.core.interfaces.dll.csproj", "{435428F8-5995-4CE4-8022-93D595A8CC0F}" |
604 | 63 | EndProject | 63 | EndProject |
605 | 64 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.core.dll", "src\NUnitCore\core\nunit.core.dll.csproj", "{EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}" | 64 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.core.dll", "src\NUnitCore\core\nunit.core.dll.csproj", "{EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}" |
606 | 65 | EndProject | 65 | EndProject |
607 | 66 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.uikit.tests", "src\GuiComponents\tests\nunit.uikit.tests.csproj", "{63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}" | 66 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.uikit.tests", "src\GuiComponents\tests\nunit.uikit.tests.csproj", "{63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}" |
608 | 67 | EndProject | 67 | EndProject |
609 | 68 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.uikit.dll", "src\GuiComponents\UiKit\nunit.uikit.dll.csproj", "{27531BBF-183D-4C3A-935B-D840B9F1A3A4}" | 68 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.uikit.dll", "src\GuiComponents\UiKit\nunit.uikit.dll.csproj", "{27531BBF-183D-4C3A-935B-D840B9F1A3A4}" |
610 | 69 | EndProject | 69 | EndProject |
611 | 70 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.uiexception.tests", "src\GuiException\tests\nunit.uiexception.tests.csproj", "{092486D0-6AB9-4134-932F-0FDA10704455}" | 70 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.uiexception.tests", "src\GuiException\tests\nunit.uiexception.tests.csproj", "{092486D0-6AB9-4134-932F-0FDA10704455}" |
612 | 71 | EndProject | 71 | EndProject |
613 | 72 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.uiexception.dll", "src\GuiException\UiException\nunit.uiexception.dll.csproj", "{3E87A106-EB20-4147-84C8-95B0BB43A1D4}" | 72 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.uiexception.dll", "src\GuiException\UiException\nunit.uiexception.dll.csproj", "{3E87A106-EB20-4147-84C8-95B0BB43A1D4}" |
614 | 73 | EndProject | 73 | EndProject |
615 | 74 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mock-assembly", "src\tests\mock-assembly\mock-assembly.csproj", "{2E368281-3BA8-4050-B05E-0E0E43F8F446}" | 74 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mock-assembly", "src\tests\mock-assembly\mock-assembly.csproj", "{2E368281-3BA8-4050-B05E-0E0E43F8F446}" |
616 | 75 | EndProject | 75 | EndProject |
617 | 76 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nonamespace-assembly", "src\tests\nonamespace-assembly\nonamespace-assembly.csproj", "{5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}" | 76 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nonamespace-assembly", "src\tests\nonamespace-assembly\nonamespace-assembly.csproj", "{5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}" |
618 | 77 | EndProject | 77 | EndProject |
619 | 78 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test-utilities", "src\tests\test-utilities\test-utilities.csproj", "{3E63AD0F-24D4-46BE-BEE4-5A3299847D86}" | 78 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test-utilities", "src\tests\test-utilities\test-utilities.csproj", "{3E63AD0F-24D4-46BE-BEE4-5A3299847D86}" |
620 | 79 | EndProject | 79 | EndProject |
621 | 80 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test-assembly", "src\tests\test-assembly\test-assembly.csproj", "{1960CAC4-9A82-47C5-A9B3-55BC37572C3C}" | 80 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test-assembly", "src\tests\test-assembly\test-assembly.csproj", "{1960CAC4-9A82-47C5-A9B3-55BC37572C3C}" |
622 | 81 | EndProject | 81 | EndProject |
623 | 82 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.mocks.tests", "src\NUnitMocks\tests\nunit.mocks.tests.csproj", "{8667C588-1A05-4773-A9E8-272EB302B8AB}" | 82 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.mocks.tests", "src\NUnitMocks\tests\nunit.mocks.tests.csproj", "{8667C588-1A05-4773-A9E8-272EB302B8AB}" |
624 | 83 | EndProject | 83 | EndProject |
625 | 84 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.mocks", "src\NUnitMocks\mocks\nunit.mocks.csproj", "{EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}" | 84 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.mocks", "src\NUnitMocks\mocks\nunit.mocks.csproj", "{EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}" |
626 | 85 | EndProject | 85 | EndProject |
627 | 86 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pnunit-agent", "src\PNUnit\agent\pnunit-agent.csproj", "{621C27DA-CC29-4663-9FE4-BF5A67970C18}" | 86 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pnunit-agent", "src\PNUnit\agent\pnunit-agent.csproj", "{621C27DA-CC29-4663-9FE4-BF5A67970C18}" |
628 | 87 | EndProject | 87 | EndProject |
629 | 88 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pnunit-launcher", "src\PNUnit\launcher\pnunit-launcher.csproj", "{91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}" | 88 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pnunit-launcher", "src\PNUnit\launcher\pnunit-launcher.csproj", "{91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}" |
630 | 89 | EndProject | 89 | EndProject |
631 | 90 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pnunit.tests", "src\PNUnit\tests\pnunit.tests.csproj", "{319B9238-76BE-4335-9B4D-F8E43C4B124F}" | 90 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pnunit.tests", "src\PNUnit\tests\pnunit.tests.csproj", "{319B9238-76BE-4335-9B4D-F8E43C4B124F}" |
632 | 91 | EndProject | 91 | EndProject |
633 | 92 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pnunit.framework", "src\PNUnit\pnunit.framework\pnunit.framework.csproj", "{5261ABA1-98E6-4603-A4F0-59CAC307AC68}" | 92 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "pnunit.framework", "src\PNUnit\pnunit.framework\pnunit.framework.csproj", "{5261ABA1-98E6-4603-A4F0-59CAC307AC68}" |
634 | 93 | EndProject | 93 | EndProject |
635 | 94 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-agent.exe", "src\NUnitTestServer\nunit-agent-exe\nunit-agent.exe.csproj", "{3E469CD9-FED2-4955-AE4C-669A74CA6767}" | 94 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-agent.exe", "src\NUnitTestServer\nunit-agent-exe\nunit-agent.exe.csproj", "{3E469CD9-FED2-4955-AE4C-669A74CA6767}" |
636 | 95 | EndProject | 95 | EndProject |
637 | 96 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-editor", "src\ProjectEditor\editor\nunit-editor.csproj", "{ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}" | 96 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-editor", "src\ProjectEditor\editor\nunit-editor.csproj", "{ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}" |
638 | 97 | EndProject | 97 | EndProject |
639 | 98 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-editor.tests", "src\ProjectEditor\tests\nunit-editor.tests.csproj", "{A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}" | 98 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit-editor.tests", "src\ProjectEditor\tests\nunit-editor.tests.csproj", "{A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}" |
640 | 99 | EndProject | 99 | EndProject |
641 | 100 | Global | 100 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.core.tests.net45", "src\NUnitCore\tests-net45\nunit.core.tests.net45.csproj", "{689A54F0-2B54-4D15-96A7-D8B6E6FE32B1}" |
642 | 101 | GlobalSection(SolutionConfigurationPlatforms) = preSolution | 101 | EndProject |
643 | 102 | Debug|Any CPU = Debug|Any CPU | 102 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test-assembly-net45", "src\tests\test-assembly-net45\test-assembly-net45.csproj", "{74CCEAEA-CDBF-4FE0-BF0D-914C3C44ECE9}" |
644 | 103 | Release|Any CPU = Release|Any CPU | 103 | EndProject |
645 | 104 | EndGlobalSection | 104 | Global |
646 | 105 | GlobalSection(ProjectConfigurationPlatforms) = postSolution | 105 | GlobalSection(SolutionConfigurationPlatforms) = preSolution |
647 | 106 | {8C326431-AE57-4645-ACC1-A90A0B425129}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 106 | Debug|Any CPU = Debug|Any CPU |
648 | 107 | {8C326431-AE57-4645-ACC1-A90A0B425129}.Debug|Any CPU.Build.0 = Debug|Any CPU | 107 | Release|Any CPU = Release|Any CPU |
649 | 108 | {8C326431-AE57-4645-ACC1-A90A0B425129}.Release|Any CPU.ActiveCfg = Release|Any CPU | 108 | EndGlobalSection |
650 | 109 | {8C326431-AE57-4645-ACC1-A90A0B425129}.Release|Any CPU.Build.0 = Release|Any CPU | 109 | GlobalSection(ProjectConfigurationPlatforms) = postSolution |
651 | 110 | {83DD7E12-A705-4DBA-9D71-09C8973D9382}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 110 | {8C326431-AE57-4645-ACC1-A90A0B425129}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
652 | 111 | {83DD7E12-A705-4DBA-9D71-09C8973D9382}.Debug|Any CPU.Build.0 = Debug|Any CPU | 111 | {8C326431-AE57-4645-ACC1-A90A0B425129}.Debug|Any CPU.Build.0 = Debug|Any CPU |
653 | 112 | {83DD7E12-A705-4DBA-9D71-09C8973D9382}.Release|Any CPU.ActiveCfg = Release|Any CPU | 112 | {8C326431-AE57-4645-ACC1-A90A0B425129}.Release|Any CPU.ActiveCfg = Release|Any CPU |
654 | 113 | {83DD7E12-A705-4DBA-9D71-09C8973D9382}.Release|Any CPU.Build.0 = Release|Any CPU | 113 | {8C326431-AE57-4645-ACC1-A90A0B425129}.Release|Any CPU.Build.0 = Release|Any CPU |
655 | 114 | {74EF7165-117E-48ED-98EA-068EAE438E53}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 114 | {83DD7E12-A705-4DBA-9D71-09C8973D9382}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
656 | 115 | {74EF7165-117E-48ED-98EA-068EAE438E53}.Debug|Any CPU.Build.0 = Debug|Any CPU | 115 | {83DD7E12-A705-4DBA-9D71-09C8973D9382}.Debug|Any CPU.Build.0 = Debug|Any CPU |
657 | 116 | {74EF7165-117E-48ED-98EA-068EAE438E53}.Release|Any CPU.ActiveCfg = Release|Any CPU | 116 | {83DD7E12-A705-4DBA-9D71-09C8973D9382}.Release|Any CPU.ActiveCfg = Release|Any CPU |
658 | 117 | {74EF7165-117E-48ED-98EA-068EAE438E53}.Release|Any CPU.Build.0 = Release|Any CPU | 117 | {83DD7E12-A705-4DBA-9D71-09C8973D9382}.Release|Any CPU.Build.0 = Release|Any CPU |
659 | 118 | {61CE9CE5-943E-44D4-A381-814DC1406767}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 118 | {74EF7165-117E-48ED-98EA-068EAE438E53}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
660 | 119 | {61CE9CE5-943E-44D4-A381-814DC1406767}.Debug|Any CPU.Build.0 = Debug|Any CPU | 119 | {74EF7165-117E-48ED-98EA-068EAE438E53}.Debug|Any CPU.Build.0 = Debug|Any CPU |
661 | 120 | {61CE9CE5-943E-44D4-A381-814DC1406767}.Release|Any CPU.ActiveCfg = Release|Any CPU | 120 | {74EF7165-117E-48ED-98EA-068EAE438E53}.Release|Any CPU.ActiveCfg = Release|Any CPU |
662 | 121 | {61CE9CE5-943E-44D4-A381-814DC1406767}.Release|Any CPU.Build.0 = Release|Any CPU | 121 | {74EF7165-117E-48ED-98EA-068EAE438E53}.Release|Any CPU.Build.0 = Release|Any CPU |
663 | 122 | {8597D2C6-804D-48CB-BFC7-ED2404D389B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 122 | {61CE9CE5-943E-44D4-A381-814DC1406767}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
664 | 123 | {8597D2C6-804D-48CB-BFC7-ED2404D389B0}.Debug|Any CPU.Build.0 = Debug|Any CPU | 123 | {61CE9CE5-943E-44D4-A381-814DC1406767}.Debug|Any CPU.Build.0 = Debug|Any CPU |
665 | 124 | {8597D2C6-804D-48CB-BFC7-ED2404D389B0}.Release|Any CPU.ActiveCfg = Release|Any CPU | 124 | {61CE9CE5-943E-44D4-A381-814DC1406767}.Release|Any CPU.ActiveCfg = Release|Any CPU |
666 | 125 | {8597D2C6-804D-48CB-BFC7-ED2404D389B0}.Release|Any CPU.Build.0 = Release|Any CPU | 125 | {61CE9CE5-943E-44D4-A381-814DC1406767}.Release|Any CPU.Build.0 = Release|Any CPU |
667 | 126 | {9367EC89-6A38-42BA-9607-0DC288E4BC3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 126 | {8597D2C6-804D-48CB-BFC7-ED2404D389B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
668 | 127 | {9367EC89-6A38-42BA-9607-0DC288E4BC3A}.Debug|Any CPU.Build.0 = Debug|Any CPU | 127 | {8597D2C6-804D-48CB-BFC7-ED2404D389B0}.Debug|Any CPU.Build.0 = Debug|Any CPU |
669 | 128 | {9367EC89-6A38-42BA-9607-0DC288E4BC3A}.Release|Any CPU.ActiveCfg = Release|Any CPU | 128 | {8597D2C6-804D-48CB-BFC7-ED2404D389B0}.Release|Any CPU.ActiveCfg = Release|Any CPU |
670 | 129 | {9367EC89-6A38-42BA-9607-0DC288E4BC3A}.Release|Any CPU.Build.0 = Release|Any CPU | 129 | {8597D2C6-804D-48CB-BFC7-ED2404D389B0}.Release|Any CPU.Build.0 = Release|Any CPU |
671 | 130 | {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 130 | {9367EC89-6A38-42BA-9607-0DC288E4BC3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
672 | 131 | {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}.Debug|Any CPU.Build.0 = Debug|Any CPU | 131 | {9367EC89-6A38-42BA-9607-0DC288E4BC3A}.Debug|Any CPU.Build.0 = Debug|Any CPU |
673 | 132 | {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}.Release|Any CPU.ActiveCfg = Release|Any CPU | 132 | {9367EC89-6A38-42BA-9607-0DC288E4BC3A}.Release|Any CPU.ActiveCfg = Release|Any CPU |
674 | 133 | {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}.Release|Any CPU.Build.0 = Release|Any CPU | 133 | {9367EC89-6A38-42BA-9607-0DC288E4BC3A}.Release|Any CPU.Build.0 = Release|Any CPU |
675 | 134 | {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 134 | {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
676 | 135 | {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}.Debug|Any CPU.Build.0 = Debug|Any CPU | 135 | {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}.Debug|Any CPU.Build.0 = Debug|Any CPU |
677 | 136 | {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}.Release|Any CPU.ActiveCfg = Release|Any CPU | 136 | {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}.Release|Any CPU.ActiveCfg = Release|Any CPU |
678 | 137 | {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}.Release|Any CPU.Build.0 = Release|Any CPU | 137 | {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E}.Release|Any CPU.Build.0 = Release|Any CPU |
679 | 138 | {AAD27267-DE1F-4F61-A1FB-D1680A5B8001}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 138 | {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
680 | 139 | {AAD27267-DE1F-4F61-A1FB-D1680A5B8001}.Debug|Any CPU.Build.0 = Debug|Any CPU | 139 | {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}.Debug|Any CPU.Build.0 = Debug|Any CPU |
681 | 140 | {AAD27267-DE1F-4F61-A1FB-D1680A5B8001}.Release|Any CPU.ActiveCfg = Release|Any CPU | 140 | {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}.Release|Any CPU.ActiveCfg = Release|Any CPU |
682 | 141 | {AAD27267-DE1F-4F61-A1FB-D1680A5B8001}.Release|Any CPU.Build.0 = Release|Any CPU | 141 | {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148}.Release|Any CPU.Build.0 = Release|Any CPU |
683 | 142 | {AAB186A4-FA3D-404D-AD78-7EB5BB861655}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 142 | {AAD27267-DE1F-4F61-A1FB-D1680A5B8001}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
684 | 143 | {AAB186A4-FA3D-404D-AD78-7EB5BB861655}.Debug|Any CPU.Build.0 = Debug|Any CPU | 143 | {AAD27267-DE1F-4F61-A1FB-D1680A5B8001}.Debug|Any CPU.Build.0 = Debug|Any CPU |
685 | 144 | {AAB186A4-FA3D-404D-AD78-7EB5BB861655}.Release|Any CPU.ActiveCfg = Release|Any CPU | 144 | {AAD27267-DE1F-4F61-A1FB-D1680A5B8001}.Release|Any CPU.ActiveCfg = Release|Any CPU |
686 | 145 | {AAB186A4-FA3D-404D-AD78-7EB5BB861655}.Release|Any CPU.Build.0 = Release|Any CPU | 145 | {AAD27267-DE1F-4F61-A1FB-D1680A5B8001}.Release|Any CPU.Build.0 = Release|Any CPU |
687 | 146 | {DD758D21-E5D5-4D40-9450-5F65A32F359C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 146 | {AAB186A4-FA3D-404D-AD78-7EB5BB861655}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
688 | 147 | {DD758D21-E5D5-4D40-9450-5F65A32F359C}.Debug|Any CPU.Build.0 = Debug|Any CPU | 147 | {AAB186A4-FA3D-404D-AD78-7EB5BB861655}.Debug|Any CPU.Build.0 = Debug|Any CPU |
689 | 148 | {DD758D21-E5D5-4D40-9450-5F65A32F359C}.Release|Any CPU.ActiveCfg = Release|Any CPU | 148 | {AAB186A4-FA3D-404D-AD78-7EB5BB861655}.Release|Any CPU.ActiveCfg = Release|Any CPU |
690 | 149 | {DD758D21-E5D5-4D40-9450-5F65A32F359C}.Release|Any CPU.Build.0 = Release|Any CPU | 149 | {AAB186A4-FA3D-404D-AD78-7EB5BB861655}.Release|Any CPU.Build.0 = Release|Any CPU |
691 | 150 | {435428F8-5995-4CE4-8022-93D595A8CC0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 150 | {DD758D21-E5D5-4D40-9450-5F65A32F359C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
692 | 151 | {435428F8-5995-4CE4-8022-93D595A8CC0F}.Debug|Any CPU.Build.0 = Debug|Any CPU | 151 | {DD758D21-E5D5-4D40-9450-5F65A32F359C}.Debug|Any CPU.Build.0 = Debug|Any CPU |
693 | 152 | {435428F8-5995-4CE4-8022-93D595A8CC0F}.Release|Any CPU.ActiveCfg = Release|Any CPU | 152 | {DD758D21-E5D5-4D40-9450-5F65A32F359C}.Release|Any CPU.ActiveCfg = Release|Any CPU |
694 | 153 | {435428F8-5995-4CE4-8022-93D595A8CC0F}.Release|Any CPU.Build.0 = Release|Any CPU | 153 | {DD758D21-E5D5-4D40-9450-5F65A32F359C}.Release|Any CPU.Build.0 = Release|Any CPU |
695 | 154 | {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 154 | {435428F8-5995-4CE4-8022-93D595A8CC0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
696 | 155 | {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}.Debug|Any CPU.Build.0 = Debug|Any CPU | 155 | {435428F8-5995-4CE4-8022-93D595A8CC0F}.Debug|Any CPU.Build.0 = Debug|Any CPU |
697 | 156 | {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}.Release|Any CPU.ActiveCfg = Release|Any CPU | 156 | {435428F8-5995-4CE4-8022-93D595A8CC0F}.Release|Any CPU.ActiveCfg = Release|Any CPU |
698 | 157 | {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}.Release|Any CPU.Build.0 = Release|Any CPU | 157 | {435428F8-5995-4CE4-8022-93D595A8CC0F}.Release|Any CPU.Build.0 = Release|Any CPU |
699 | 158 | {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 158 | {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
700 | 159 | {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}.Debug|Any CPU.Build.0 = Debug|Any CPU | 159 | {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}.Debug|Any CPU.Build.0 = Debug|Any CPU |
701 | 160 | {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}.Release|Any CPU.ActiveCfg = Release|Any CPU | 160 | {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}.Release|Any CPU.ActiveCfg = Release|Any CPU |
702 | 161 | {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}.Release|Any CPU.Build.0 = Release|Any CPU | 161 | {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}.Release|Any CPU.Build.0 = Release|Any CPU |
703 | 162 | {27531BBF-183D-4C3A-935B-D840B9F1A3A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 162 | {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
704 | 163 | {27531BBF-183D-4C3A-935B-D840B9F1A3A4}.Debug|Any CPU.Build.0 = Debug|Any CPU | 163 | {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}.Debug|Any CPU.Build.0 = Debug|Any CPU |
705 | 164 | {27531BBF-183D-4C3A-935B-D840B9F1A3A4}.Release|Any CPU.ActiveCfg = Release|Any CPU | 164 | {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}.Release|Any CPU.ActiveCfg = Release|Any CPU |
706 | 165 | {27531BBF-183D-4C3A-935B-D840B9F1A3A4}.Release|Any CPU.Build.0 = Release|Any CPU | 165 | {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B}.Release|Any CPU.Build.0 = Release|Any CPU |
707 | 166 | {092486D0-6AB9-4134-932F-0FDA10704455}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 166 | {27531BBF-183D-4C3A-935B-D840B9F1A3A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
708 | 167 | {092486D0-6AB9-4134-932F-0FDA10704455}.Debug|Any CPU.Build.0 = Debug|Any CPU | 167 | {27531BBF-183D-4C3A-935B-D840B9F1A3A4}.Debug|Any CPU.Build.0 = Debug|Any CPU |
709 | 168 | {092486D0-6AB9-4134-932F-0FDA10704455}.Release|Any CPU.ActiveCfg = Release|Any CPU | 168 | {27531BBF-183D-4C3A-935B-D840B9F1A3A4}.Release|Any CPU.ActiveCfg = Release|Any CPU |
710 | 169 | {092486D0-6AB9-4134-932F-0FDA10704455}.Release|Any CPU.Build.0 = Release|Any CPU | 169 | {27531BBF-183D-4C3A-935B-D840B9F1A3A4}.Release|Any CPU.Build.0 = Release|Any CPU |
711 | 170 | {3E87A106-EB20-4147-84C8-95B0BB43A1D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 170 | {092486D0-6AB9-4134-932F-0FDA10704455}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
712 | 171 | {3E87A106-EB20-4147-84C8-95B0BB43A1D4}.Debug|Any CPU.Build.0 = Debug|Any CPU | 171 | {092486D0-6AB9-4134-932F-0FDA10704455}.Debug|Any CPU.Build.0 = Debug|Any CPU |
713 | 172 | {3E87A106-EB20-4147-84C8-95B0BB43A1D4}.Release|Any CPU.ActiveCfg = Release|Any CPU | 172 | {092486D0-6AB9-4134-932F-0FDA10704455}.Release|Any CPU.ActiveCfg = Release|Any CPU |
714 | 173 | {3E87A106-EB20-4147-84C8-95B0BB43A1D4}.Release|Any CPU.Build.0 = Release|Any CPU | 173 | {092486D0-6AB9-4134-932F-0FDA10704455}.Release|Any CPU.Build.0 = Release|Any CPU |
715 | 174 | {2E368281-3BA8-4050-B05E-0E0E43F8F446}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 174 | {3E87A106-EB20-4147-84C8-95B0BB43A1D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
716 | 175 | {2E368281-3BA8-4050-B05E-0E0E43F8F446}.Debug|Any CPU.Build.0 = Debug|Any CPU | 175 | {3E87A106-EB20-4147-84C8-95B0BB43A1D4}.Debug|Any CPU.Build.0 = Debug|Any CPU |
717 | 176 | {2E368281-3BA8-4050-B05E-0E0E43F8F446}.Release|Any CPU.ActiveCfg = Release|Any CPU | 176 | {3E87A106-EB20-4147-84C8-95B0BB43A1D4}.Release|Any CPU.ActiveCfg = Release|Any CPU |
718 | 177 | {2E368281-3BA8-4050-B05E-0E0E43F8F446}.Release|Any CPU.Build.0 = Release|Any CPU | 177 | {3E87A106-EB20-4147-84C8-95B0BB43A1D4}.Release|Any CPU.Build.0 = Release|Any CPU |
719 | 178 | {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 178 | {2E368281-3BA8-4050-B05E-0E0E43F8F446}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
720 | 179 | {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}.Debug|Any CPU.Build.0 = Debug|Any CPU | 179 | {2E368281-3BA8-4050-B05E-0E0E43F8F446}.Debug|Any CPU.Build.0 = Debug|Any CPU |
721 | 180 | {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}.Release|Any CPU.ActiveCfg = Release|Any CPU | 180 | {2E368281-3BA8-4050-B05E-0E0E43F8F446}.Release|Any CPU.ActiveCfg = Release|Any CPU |
722 | 181 | {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}.Release|Any CPU.Build.0 = Release|Any CPU | 181 | {2E368281-3BA8-4050-B05E-0E0E43F8F446}.Release|Any CPU.Build.0 = Release|Any CPU |
723 | 182 | {3E63AD0F-24D4-46BE-BEE4-5A3299847D86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 182 | {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
724 | 183 | {3E63AD0F-24D4-46BE-BEE4-5A3299847D86}.Debug|Any CPU.Build.0 = Debug|Any CPU | 183 | {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}.Debug|Any CPU.Build.0 = Debug|Any CPU |
725 | 184 | {3E63AD0F-24D4-46BE-BEE4-5A3299847D86}.Release|Any CPU.ActiveCfg = Release|Any CPU | 184 | {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}.Release|Any CPU.ActiveCfg = Release|Any CPU |
726 | 185 | {3E63AD0F-24D4-46BE-BEE4-5A3299847D86}.Release|Any CPU.Build.0 = Release|Any CPU | 185 | {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}.Release|Any CPU.Build.0 = Release|Any CPU |
727 | 186 | {1960CAC4-9A82-47C5-A9B3-55BC37572C3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 186 | {3E63AD0F-24D4-46BE-BEE4-5A3299847D86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
728 | 187 | {1960CAC4-9A82-47C5-A9B3-55BC37572C3C}.Debug|Any CPU.Build.0 = Debug|Any CPU | 187 | {3E63AD0F-24D4-46BE-BEE4-5A3299847D86}.Debug|Any CPU.Build.0 = Debug|Any CPU |
729 | 188 | {1960CAC4-9A82-47C5-A9B3-55BC37572C3C}.Release|Any CPU.ActiveCfg = Release|Any CPU | 188 | {3E63AD0F-24D4-46BE-BEE4-5A3299847D86}.Release|Any CPU.ActiveCfg = Release|Any CPU |
730 | 189 | {1960CAC4-9A82-47C5-A9B3-55BC37572C3C}.Release|Any CPU.Build.0 = Release|Any CPU | 189 | {3E63AD0F-24D4-46BE-BEE4-5A3299847D86}.Release|Any CPU.Build.0 = Release|Any CPU |
731 | 190 | {8667C588-1A05-4773-A9E8-272EB302B8AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 190 | {1960CAC4-9A82-47C5-A9B3-55BC37572C3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
732 | 191 | {8667C588-1A05-4773-A9E8-272EB302B8AB}.Debug|Any CPU.Build.0 = Debug|Any CPU | 191 | {1960CAC4-9A82-47C5-A9B3-55BC37572C3C}.Debug|Any CPU.Build.0 = Debug|Any CPU |
733 | 192 | {8667C588-1A05-4773-A9E8-272EB302B8AB}.Release|Any CPU.ActiveCfg = Release|Any CPU | 192 | {1960CAC4-9A82-47C5-A9B3-55BC37572C3C}.Release|Any CPU.ActiveCfg = Release|Any CPU |
734 | 193 | {8667C588-1A05-4773-A9E8-272EB302B8AB}.Release|Any CPU.Build.0 = Release|Any CPU | 193 | {1960CAC4-9A82-47C5-A9B3-55BC37572C3C}.Release|Any CPU.Build.0 = Release|Any CPU |
735 | 194 | {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 194 | {8667C588-1A05-4773-A9E8-272EB302B8AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
736 | 195 | {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}.Debug|Any CPU.Build.0 = Debug|Any CPU | 195 | {8667C588-1A05-4773-A9E8-272EB302B8AB}.Debug|Any CPU.Build.0 = Debug|Any CPU |
737 | 196 | {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}.Release|Any CPU.ActiveCfg = Release|Any CPU | 196 | {8667C588-1A05-4773-A9E8-272EB302B8AB}.Release|Any CPU.ActiveCfg = Release|Any CPU |
738 | 197 | {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}.Release|Any CPU.Build.0 = Release|Any CPU | 197 | {8667C588-1A05-4773-A9E8-272EB302B8AB}.Release|Any CPU.Build.0 = Release|Any CPU |
739 | 198 | {621C27DA-CC29-4663-9FE4-BF5A67970C18}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 198 | {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
740 | 199 | {621C27DA-CC29-4663-9FE4-BF5A67970C18}.Debug|Any CPU.Build.0 = Debug|Any CPU | 199 | {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}.Debug|Any CPU.Build.0 = Debug|Any CPU |
741 | 200 | {621C27DA-CC29-4663-9FE4-BF5A67970C18}.Release|Any CPU.ActiveCfg = Release|Any CPU | 200 | {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}.Release|Any CPU.ActiveCfg = Release|Any CPU |
742 | 201 | {621C27DA-CC29-4663-9FE4-BF5A67970C18}.Release|Any CPU.Build.0 = Release|Any CPU | 201 | {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C}.Release|Any CPU.Build.0 = Release|Any CPU |
743 | 202 | {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 202 | {621C27DA-CC29-4663-9FE4-BF5A67970C18}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
744 | 203 | {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}.Debug|Any CPU.Build.0 = Debug|Any CPU | 203 | {621C27DA-CC29-4663-9FE4-BF5A67970C18}.Debug|Any CPU.Build.0 = Debug|Any CPU |
745 | 204 | {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}.Release|Any CPU.ActiveCfg = Release|Any CPU | 204 | {621C27DA-CC29-4663-9FE4-BF5A67970C18}.Release|Any CPU.ActiveCfg = Release|Any CPU |
746 | 205 | {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}.Release|Any CPU.Build.0 = Release|Any CPU | 205 | {621C27DA-CC29-4663-9FE4-BF5A67970C18}.Release|Any CPU.Build.0 = Release|Any CPU |
747 | 206 | {319B9238-76BE-4335-9B4D-F8E43C4B124F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 206 | {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
748 | 207 | {319B9238-76BE-4335-9B4D-F8E43C4B124F}.Debug|Any CPU.Build.0 = Debug|Any CPU | 207 | {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}.Debug|Any CPU.Build.0 = Debug|Any CPU |
749 | 208 | {319B9238-76BE-4335-9B4D-F8E43C4B124F}.Release|Any CPU.ActiveCfg = Release|Any CPU | 208 | {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}.Release|Any CPU.ActiveCfg = Release|Any CPU |
750 | 209 | {319B9238-76BE-4335-9B4D-F8E43C4B124F}.Release|Any CPU.Build.0 = Release|Any CPU | 209 | {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2}.Release|Any CPU.Build.0 = Release|Any CPU |
751 | 210 | {5261ABA1-98E6-4603-A4F0-59CAC307AC68}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 210 | {319B9238-76BE-4335-9B4D-F8E43C4B124F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
752 | 211 | {5261ABA1-98E6-4603-A4F0-59CAC307AC68}.Debug|Any CPU.Build.0 = Debug|Any CPU | 211 | {319B9238-76BE-4335-9B4D-F8E43C4B124F}.Debug|Any CPU.Build.0 = Debug|Any CPU |
753 | 212 | {5261ABA1-98E6-4603-A4F0-59CAC307AC68}.Release|Any CPU.ActiveCfg = Release|Any CPU | 212 | {319B9238-76BE-4335-9B4D-F8E43C4B124F}.Release|Any CPU.ActiveCfg = Release|Any CPU |
754 | 213 | {5261ABA1-98E6-4603-A4F0-59CAC307AC68}.Release|Any CPU.Build.0 = Release|Any CPU | 213 | {319B9238-76BE-4335-9B4D-F8E43C4B124F}.Release|Any CPU.Build.0 = Release|Any CPU |
755 | 214 | {3E469CD9-FED2-4955-AE4C-669A74CA6767}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 214 | {5261ABA1-98E6-4603-A4F0-59CAC307AC68}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
756 | 215 | {3E469CD9-FED2-4955-AE4C-669A74CA6767}.Debug|Any CPU.Build.0 = Debug|Any CPU | 215 | {5261ABA1-98E6-4603-A4F0-59CAC307AC68}.Debug|Any CPU.Build.0 = Debug|Any CPU |
757 | 216 | {3E469CD9-FED2-4955-AE4C-669A74CA6767}.Release|Any CPU.ActiveCfg = Release|Any CPU | 216 | {5261ABA1-98E6-4603-A4F0-59CAC307AC68}.Release|Any CPU.ActiveCfg = Release|Any CPU |
758 | 217 | {3E469CD9-FED2-4955-AE4C-669A74CA6767}.Release|Any CPU.Build.0 = Release|Any CPU | 217 | {5261ABA1-98E6-4603-A4F0-59CAC307AC68}.Release|Any CPU.Build.0 = Release|Any CPU |
759 | 218 | {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 218 | {3E469CD9-FED2-4955-AE4C-669A74CA6767}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
760 | 219 | {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}.Debug|Any CPU.Build.0 = Debug|Any CPU | 219 | {3E469CD9-FED2-4955-AE4C-669A74CA6767}.Debug|Any CPU.Build.0 = Debug|Any CPU |
761 | 220 | {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}.Release|Any CPU.ActiveCfg = Release|Any CPU | 220 | {3E469CD9-FED2-4955-AE4C-669A74CA6767}.Release|Any CPU.ActiveCfg = Release|Any CPU |
762 | 221 | {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}.Release|Any CPU.Build.0 = Release|Any CPU | 221 | {3E469CD9-FED2-4955-AE4C-669A74CA6767}.Release|Any CPU.Build.0 = Release|Any CPU |
763 | 222 | {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | 222 | {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
764 | 223 | {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}.Debug|Any CPU.Build.0 = Debug|Any CPU | 223 | {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}.Debug|Any CPU.Build.0 = Debug|Any CPU |
765 | 224 | {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}.Release|Any CPU.ActiveCfg = Release|Any CPU | 224 | {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}.Release|Any CPU.ActiveCfg = Release|Any CPU |
766 | 225 | {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}.Release|Any CPU.Build.0 = Release|Any CPU | 225 | {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB}.Release|Any CPU.Build.0 = Release|Any CPU |
767 | 226 | EndGlobalSection | 226 | {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
768 | 227 | GlobalSection(SolutionProperties) = preSolution | 227 | {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}.Debug|Any CPU.Build.0 = Debug|Any CPU |
769 | 228 | HideSolutionNode = FALSE | 228 | {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}.Release|Any CPU.ActiveCfg = Release|Any CPU |
770 | 229 | EndGlobalSection | 229 | {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE}.Release|Any CPU.Build.0 = Release|Any CPU |
771 | 230 | GlobalSection(NestedProjects) = preSolution | 230 | {689A54F0-2B54-4D15-96A7-D8B6E6FE32B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
772 | 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 |
773 | 232 | {8C326431-AE57-4645-ACC1-A90A0B425129} = {A2FF9F1B-1854-479A-859C-6ECEBF045E4C} | 232 | {689A54F0-2B54-4D15-96A7-D8B6E6FE32B1}.Release|Any CPU.ActiveCfg = Release|Any CPU |
774 | 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 |
775 | 234 | {74EF7165-117E-48ED-98EA-068EAE438E53} = {D448BA20-BA70-4F70-AF53-4C0E6C1E97E7} | 234 | {74CCEAEA-CDBF-4FE0-BF0D-914C3C44ECE9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
776 | 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 |
777 | 236 | {8597D2C6-804D-48CB-BFC7-ED2404D389B0} = {1DBAF726-8009-41CC-B82A-4EFE94CBEEFC} | 236 | {74CCEAEA-CDBF-4FE0-BF0D-914C3C44ECE9}.Release|Any CPU.ActiveCfg = Release|Any CPU |
778 | 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 |
779 | 238 | {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E} = {1DBAF726-8009-41CC-B82A-4EFE94CBEEFC} | 238 | EndGlobalSection |
780 | 239 | {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148} = {77D10207-CB02-4C3A-8734-5A5173E3C506} | 239 | GlobalSection(SolutionProperties) = preSolution |
781 | 240 | {AAD27267-DE1F-4F61-A1FB-D1680A5B8001} = {77D10207-CB02-4C3A-8734-5A5173E3C506} | 240 | HideSolutionNode = FALSE |
782 | 241 | {AAB186A4-FA3D-404D-AD78-7EB5BB861655} = {77D10207-CB02-4C3A-8734-5A5173E3C506} | 241 | EndGlobalSection |
783 | 242 | {DD758D21-E5D5-4D40-9450-5F65A32F359C} = {AEAED2BD-F22D-42C8-9047-F293BEF70EAB} | 242 | GlobalSection(NestedProjects) = preSolution |
784 | 243 | {435428F8-5995-4CE4-8022-93D595A8CC0F} = {AEAED2BD-F22D-42C8-9047-F293BEF70EAB} | 243 | {A785FC02-6044-4864-BE24-4593CAD23A97} = {A65042E1-D8BC-48DD-8DE1-F0991F07EA77} |
785 | 244 | {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3} = {AEAED2BD-F22D-42C8-9047-F293BEF70EAB} | 244 | {8C326431-AE57-4645-ACC1-A90A0B425129} = {A2FF9F1B-1854-479A-859C-6ECEBF045E4C} |
786 | 245 | {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B} = {168F8C38-129C-454A-B112-F456BC7F4FE4} | 245 | {83DD7E12-A705-4DBA-9D71-09C8973D9382} = {A2FF9F1B-1854-479A-859C-6ECEBF045E4C} |
787 | 246 | {27531BBF-183D-4C3A-935B-D840B9F1A3A4} = {168F8C38-129C-454A-B112-F456BC7F4FE4} | 246 | {74EF7165-117E-48ED-98EA-068EAE438E53} = {D448BA20-BA70-4F70-AF53-4C0E6C1E97E7} |
788 | 247 | {092486D0-6AB9-4134-932F-0FDA10704455} = {35A92AA3-A1E6-426E-8D96-322F3EBF1C8D} | 247 | {61CE9CE5-943E-44D4-A381-814DC1406767} = {D448BA20-BA70-4F70-AF53-4C0E6C1E97E7} |
789 | 248 | {3E87A106-EB20-4147-84C8-95B0BB43A1D4} = {35A92AA3-A1E6-426E-8D96-322F3EBF1C8D} | 248 | {8597D2C6-804D-48CB-BFC7-ED2404D389B0} = {1DBAF726-8009-41CC-B82A-4EFE94CBEEFC} |
790 | 249 | {2E368281-3BA8-4050-B05E-0E0E43F8F446} = {6142B985-EA14-4DE0-884F-E62D89949E1D} | 249 | {9367EC89-6A38-42BA-9607-0DC288E4BC3A} = {1DBAF726-8009-41CC-B82A-4EFE94CBEEFC} |
791 | 250 | {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D} = {6142B985-EA14-4DE0-884F-E62D89949E1D} | 250 | {53BF8787-CB9C-4BB8-AFB4-605DD3A5CA0E} = {1DBAF726-8009-41CC-B82A-4EFE94CBEEFC} |
792 | 251 | {3E63AD0F-24D4-46BE-BEE4-5A3299847D86} = {6142B985-EA14-4DE0-884F-E62D89949E1D} | 251 | {3FF340D5-D3B4-4DF0-BAF1-98B3C00B6148} = {77D10207-CB02-4C3A-8734-5A5173E3C506} |
793 | 252 | {1960CAC4-9A82-47C5-A9B3-55BC37572C3C} = {6142B985-EA14-4DE0-884F-E62D89949E1D} | 252 | {AAD27267-DE1F-4F61-A1FB-D1680A5B8001} = {77D10207-CB02-4C3A-8734-5A5173E3C506} |
794 | 253 | {8667C588-1A05-4773-A9E8-272EB302B8AB} = {7740410A-54B5-4334-8DE3-6D6F616BD6A5} | 253 | {AAB186A4-FA3D-404D-AD78-7EB5BB861655} = {77D10207-CB02-4C3A-8734-5A5173E3C506} |
795 | 254 | {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C} = {7740410A-54B5-4334-8DE3-6D6F616BD6A5} | 254 | {DD758D21-E5D5-4D40-9450-5F65A32F359C} = {AEAED2BD-F22D-42C8-9047-F293BEF70EAB} |
796 | 255 | {621C27DA-CC29-4663-9FE4-BF5A67970C18} = {979724B8-6FAA-400F-B40D-EB653A815C87} | 255 | {435428F8-5995-4CE4-8022-93D595A8CC0F} = {AEAED2BD-F22D-42C8-9047-F293BEF70EAB} |
797 | 256 | {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2} = {979724B8-6FAA-400F-B40D-EB653A815C87} | 256 | {EBD43A7F-AFCA-4281-BB53-5CDD91F966A3} = {AEAED2BD-F22D-42C8-9047-F293BEF70EAB} |
798 | 257 | {319B9238-76BE-4335-9B4D-F8E43C4B124F} = {979724B8-6FAA-400F-B40D-EB653A815C87} | 257 | {689A54F0-2B54-4D15-96A7-D8B6E6FE32B1} = {AEAED2BD-F22D-42C8-9047-F293BEF70EAB} |
799 | 258 | {5261ABA1-98E6-4603-A4F0-59CAC307AC68} = {979724B8-6FAA-400F-B40D-EB653A815C87} | 258 | {63EC3999-FA6B-4C5B-8805-5A88AF4CBD7B} = {168F8C38-129C-454A-B112-F456BC7F4FE4} |
800 | 259 | {3E469CD9-FED2-4955-AE4C-669A74CA6767} = {D029F8FD-84E3-4AD3-8F1B-CCA0C856E659} | 259 | {27531BBF-183D-4C3A-935B-D840B9F1A3A4} = {168F8C38-129C-454A-B112-F456BC7F4FE4} |
801 | 260 | {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB} = {992367F7-9154-4424-B55E-3EF8673A2A36} | 260 | {092486D0-6AB9-4134-932F-0FDA10704455} = {35A92AA3-A1E6-426E-8D96-322F3EBF1C8D} |
802 | 261 | {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE} = {992367F7-9154-4424-B55E-3EF8673A2A36} | 261 | {3E87A106-EB20-4147-84C8-95B0BB43A1D4} = {35A92AA3-A1E6-426E-8D96-322F3EBF1C8D} |
803 | 262 | EndGlobalSection | 262 | {2E368281-3BA8-4050-B05E-0E0E43F8F446} = {6142B985-EA14-4DE0-884F-E62D89949E1D} |
804 | 263 | GlobalSection(MonoDevelopProperties) = preSolution | 263 | {5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D} = {6142B985-EA14-4DE0-884F-E62D89949E1D} |
805 | 264 | StartupItem = src\ConsoleRunner\nunit-console-exe\nunit-console.exe.csproj | 264 | {3E63AD0F-24D4-46BE-BEE4-5A3299847D86} = {6142B985-EA14-4DE0-884F-E62D89949E1D} |
806 | 265 | EndGlobalSection | 265 | {1960CAC4-9A82-47C5-A9B3-55BC37572C3C} = {6142B985-EA14-4DE0-884F-E62D89949E1D} |
807 | 266 | EndGlobal | 266 | {74CCEAEA-CDBF-4FE0-BF0D-914C3C44ECE9} = {6142B985-EA14-4DE0-884F-E62D89949E1D} |
808 | 267 | {8667C588-1A05-4773-A9E8-272EB302B8AB} = {7740410A-54B5-4334-8DE3-6D6F616BD6A5} | ||
809 | 268 | {EEE7C98B-23E6-472D-9036-C2D53B0DFE7C} = {7740410A-54B5-4334-8DE3-6D6F616BD6A5} | ||
810 | 269 | {621C27DA-CC29-4663-9FE4-BF5A67970C18} = {979724B8-6FAA-400F-B40D-EB653A815C87} | ||
811 | 270 | {91FC5C92-E801-4446-B4D6-EAC5B56A4DB2} = {979724B8-6FAA-400F-B40D-EB653A815C87} | ||
812 | 271 | {319B9238-76BE-4335-9B4D-F8E43C4B124F} = {979724B8-6FAA-400F-B40D-EB653A815C87} | ||
813 | 272 | {5261ABA1-98E6-4603-A4F0-59CAC307AC68} = {979724B8-6FAA-400F-B40D-EB653A815C87} | ||
814 | 273 | {3E469CD9-FED2-4955-AE4C-669A74CA6767} = {D029F8FD-84E3-4AD3-8F1B-CCA0C856E659} | ||
815 | 274 | {ED57DCEC-3C16-4A90-BD3C-4D5BE5AD70FB} = {992367F7-9154-4424-B55E-3EF8673A2A36} | ||
816 | 275 | {A9E1C1E9-AE97-4510-AD94-EAFADE425FBE} = {992367F7-9154-4424-B55E-3EF8673A2A36} | ||
817 | 276 | EndGlobalSection | ||
818 | 277 | GlobalSection(MonoDevelopProperties) = preSolution | ||
819 | 278 | StartupItem = src\ConsoleRunner\nunit-console-exe\nunit-console.exe.csproj | ||
820 | 279 | EndGlobalSection | ||
821 | 280 | EndGlobal | ||
822 | 267 | 281 | ||
823 | === modified file 'scripts/nunit.build.targets' | |||
824 | --- scripts/nunit.build.targets 2012-07-10 20:38:33 +0000 | |||
825 | +++ scripts/nunit.build.targets 2012-10-03 23:32:21 +0000 | |||
826 | @@ -106,8 +106,10 @@ | |||
827 | 106 | <call target="build-gui" if="${runtime.version >= '2.0'}" /> | 106 | <call target="build-gui" if="${runtime.version >= '2.0'}" /> |
828 | 107 | 107 | ||
829 | 108 | <!-- Copy test project for this runtime framework --> | 108 | <!-- Copy test project for this runtime framework --> |
830 | 109 | <property name="runtime.testproj" value="NUnitTests.v3.nunit" | ||
831 | 110 | if="${framework::exists('net-4.5')}"/> | ||
832 | 109 | <property name="runtime.testproj" value="NUnitTests.v2.nunit" | 111 | <property name="runtime.testproj" value="NUnitTests.v2.nunit" |
834 | 110 | if="${runtime.version >= '2.0'}"/> | 112 | if="${runtime.version >= '2.0'}" unless="${framework::exists('net-4.5')}"/> |
835 | 111 | <property name="runtime.testproj" value="NUnitTests.v1.nunit" | 113 | <property name="runtime.testproj" value="NUnitTests.v1.nunit" |
836 | 112 | unless="${runtime.version >= '2.0'}"/> | 114 | unless="${runtime.version >= '2.0'}"/> |
837 | 113 | 115 | ||
838 | @@ -405,11 +407,13 @@ | |||
839 | 405 | <include name="tests/mock-assembly/mock-assembly.build" /> | 407 | <include name="tests/mock-assembly/mock-assembly.build" /> |
840 | 406 | <include name="tests/nonamespace-assembly/nonamespace-assembly.build" /> | 408 | <include name="tests/nonamespace-assembly/nonamespace-assembly.build" /> |
841 | 407 | <include name="tests/test-assembly/test-assembly.build" /> | 409 | <include name="tests/test-assembly/test-assembly.build" /> |
842 | 410 | <include name="tests/test-assembly-net45/test-assembly-net45.build" if="${framework::exists('net-4.5')}" /> | ||
843 | 408 | <include name="tests/test-utilities/test-utilities.build" /> | 411 | <include name="tests/test-utilities/test-utilities.build" /> |
844 | 409 | 412 | ||
845 | 410 | <!-- NUnit Base Tests --> | 413 | <!-- NUnit Base Tests --> |
846 | 411 | <include name="NUnitFramework/tests/nunit.framework.tests.build" /> | 414 | <include name="NUnitFramework/tests/nunit.framework.tests.build" /> |
847 | 412 | <include name="NUnitCore/tests/nunit.core.tests.build" /> | 415 | <include name="NUnitCore/tests/nunit.core.tests.build" /> |
848 | 416 | <include name="NUnitCore/tests-net45/nunit.core.tests.net45.build" if="${framework::exists('net-4.5')}" /> | ||
849 | 413 | <include name="NUnitMocks/tests/nunit.mocks.tests.build" /> | 417 | <include name="NUnitMocks/tests/nunit.mocks.tests.build" /> |
850 | 414 | <include name="ClientUtilities/tests/nunit.util.tests.build" /> | 418 | <include name="ClientUtilities/tests/nunit.util.tests.build" /> |
851 | 415 | 419 | ||
852 | 416 | 420 | ||
853 | === modified file 'scripts/nunit.common.targets' | |||
854 | --- scripts/nunit.common.targets 2012-08-08 03:19:39 +0000 | |||
855 | +++ scripts/nunit.common.targets 2012-10-03 23:32:21 +0000 | |||
856 | @@ -48,7 +48,7 @@ | |||
857 | 48 | The first .NET and Mono frameworks found are the | 48 | The first .NET and Mono frameworks found are the |
858 | 49 | respective net and mono defaults. --> | 49 | respective net and mono defaults. --> |
859 | 50 | <property name="supported.frameworks" | 50 | <property name="supported.frameworks" |
861 | 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"/> |
862 | 52 | 52 | ||
863 | 53 | <!-- Packages we normally create --> | 53 | <!-- Packages we normally create --> |
864 | 54 | <property name="standard.packages" value="net-3.5,net-1.1" | 54 | <property name="standard.packages" value="net-3.5,net-1.1" |
865 | @@ -239,6 +239,16 @@ | |||
866 | 239 | <property name="supported.test.platforms" value="net-4.0"/> | 239 | <property name="supported.test.platforms" value="net-4.0"/> |
867 | 240 | 240 | ||
868 | 241 | </target> | 241 | </target> |
869 | 242 | |||
870 | 243 | <target name="set-net-4.5-runtime-config"> | ||
871 | 244 | |||
872 | 245 | <property name="runtime.platform" value="net"/> | ||
873 | 246 | <property name="runtime.version" value="4.5"/> | ||
874 | 247 | <property name="target.version" value="2.0"/> | ||
875 | 248 | <property name="runtime.defines" value="MSNET,CLR_4_0,NET_4_5,CS_5_0"/> | ||
876 | 249 | <property name="supported.test.platforms" value="net-4.5"/> | ||
877 | 250 | |||
878 | 251 | </target> | ||
879 | 242 | 252 | ||
880 | 243 | <target name="set-mono-1.0-runtime-config"> | 253 | <target name="set-mono-1.0-runtime-config"> |
881 | 244 | 254 | ||
882 | 245 | 255 | ||
883 | === modified file 'scripts/nunit.package.targets' | |||
884 | --- scripts/nunit.package.targets 2012-07-10 20:38:33 +0000 | |||
885 | +++ scripts/nunit.package.targets 2012-10-03 23:32:21 +0000 | |||
886 | @@ -549,11 +549,13 @@ | |||
887 | 549 | <include name="tests/mock-assembly/mock-assembly.build" /> | 549 | <include name="tests/mock-assembly/mock-assembly.build" /> |
888 | 550 | <include name="tests/nonamespace-assembly/nonamespace-assembly.build" /> | 550 | <include name="tests/nonamespace-assembly/nonamespace-assembly.build" /> |
889 | 551 | <include name="tests/test-assembly/test-assembly.build" /> | 551 | <include name="tests/test-assembly/test-assembly.build" /> |
890 | 552 | <include name="tests/test-assembly-net45/test-assembly-net45.build" if="${framework::exists('net-4.5')}" /> | ||
891 | 552 | <include name="tests/test-utilities/test-utilities.build" /> | 553 | <include name="tests/test-utilities/test-utilities.build" /> |
892 | 553 | 554 | ||
893 | 554 | <!-- NUnit Base Tests --> | 555 | <!-- NUnit Base Tests --> |
894 | 555 | <include name="NUnitFramework/tests/nunit.framework.tests.build" /> | 556 | <include name="NUnitFramework/tests/nunit.framework.tests.build" /> |
895 | 556 | <include name="NUnitCore/tests/nunit.core.tests.build" /> | 557 | <include name="NUnitCore/tests/nunit.core.tests.build" /> |
896 | 558 | <include name="NUnitCore/tests-net45/nunit.core.tests.net45.build" if="${framework::exists('net-4.5')}" /> | ||
897 | 557 | <include name="NUnitMocks/tests/nunit.mocks.tests.build" /> | 559 | <include name="NUnitMocks/tests/nunit.mocks.tests.build" /> |
898 | 558 | <include name="ClientUtilities/tests/nunit.util.tests.build" /> | 560 | <include name="ClientUtilities/tests/nunit.util.tests.build" /> |
899 | 559 | 561 | ||
900 | 560 | 562 | ||
901 | === modified file 'src/ClientUtilities/util/ProcessRunner.cs' | |||
902 | --- src/ClientUtilities/util/ProcessRunner.cs 2012-09-17 22:23:53 +0000 | |||
903 | +++ src/ClientUtilities/util/ProcessRunner.cs 2012-10-03 23:32:21 +0000 | |||
904 | @@ -44,8 +44,8 @@ | |||
905 | 44 | public override bool Load(TestPackage package) | 44 | public override bool Load(TestPackage package) |
906 | 45 | { | 45 | { |
907 | 46 | log.Info("Loading " + package.Name); | 46 | log.Info("Loading " + package.Name); |
910 | 47 | Unload(); | 47 | Unload(); |
911 | 48 | 48 | ||
912 | 49 | runtimeFramework = package.Settings["RuntimeFramework"] as RuntimeFramework; | 49 | runtimeFramework = package.Settings["RuntimeFramework"] as RuntimeFramework; |
913 | 50 | if ( runtimeFramework == null ) | 50 | if ( runtimeFramework == null ) |
914 | 51 | runtimeFramework = RuntimeFramework.CurrentFramework; | 51 | runtimeFramework = RuntimeFramework.CurrentFramework; |
915 | 52 | 52 | ||
916 | === modified file 'src/ClientUtilities/util/RuntimeFrameworkSelector.cs' | |||
917 | --- src/ClientUtilities/util/RuntimeFrameworkSelector.cs 2011-03-06 02:39:31 +0000 | |||
918 | +++ src/ClientUtilities/util/RuntimeFrameworkSelector.cs 2012-10-03 23:32:21 +0000 | |||
919 | @@ -3,7 +3,8 @@ | |||
920 | 3 | // This is free software licensed under the NUnit license. You may | 3 | // This is free software licensed under the NUnit license. You may |
921 | 4 | // obtain a copy of the license at http://nunit.org | 4 | // obtain a copy of the license at http://nunit.org |
922 | 5 | // **************************************************************** | 5 | // **************************************************************** |
924 | 6 | using System; | 6 | using System; |
925 | 7 | using System.Diagnostics; | ||
926 | 7 | using System.IO; | 8 | using System.IO; |
927 | 8 | using System.Reflection; | 9 | using System.Reflection; |
928 | 9 | using NUnit.Core; | 10 | using NUnit.Core; |
929 | @@ -22,8 +23,8 @@ | |||
930 | 22 | /// </summary> | 23 | /// </summary> |
931 | 23 | /// <param name="package">A TestPackage</param> | 24 | /// <param name="package">A TestPackage</param> |
932 | 24 | /// <returns>The selected RuntimeFramework</returns> | 25 | /// <returns>The selected RuntimeFramework</returns> |
935 | 25 | public RuntimeFramework SelectRuntimeFramework(TestPackage package) | 26 | public RuntimeFramework SelectRuntimeFramework(TestPackage package) |
936 | 26 | { | 27 | { |
937 | 27 | RuntimeFramework currentFramework = RuntimeFramework.CurrentFramework; | 28 | RuntimeFramework currentFramework = RuntimeFramework.CurrentFramework; |
938 | 28 | RuntimeFramework requestedFramework = package.Settings["RuntimeFramework"] as RuntimeFramework; | 29 | RuntimeFramework requestedFramework = package.Settings["RuntimeFramework"] as RuntimeFramework; |
939 | 29 | 30 | ||
940 | 30 | 31 | ||
941 | === modified file 'src/ClientUtilities/util/Services/TestAgency.cs' | |||
942 | --- src/ClientUtilities/util/Services/TestAgency.cs 2012-09-17 22:23:53 +0000 | |||
943 | +++ src/ClientUtilities/util/Services/TestAgency.cs 2012-10-03 23:32:21 +0000 | |||
944 | @@ -119,8 +119,8 @@ | |||
945 | 119 | return GetNUnitBinDirectory(version) != null; | 119 | return GetNUnitBinDirectory(version) != null; |
946 | 120 | } | 120 | } |
947 | 121 | 121 | ||
950 | 122 | public TestAgent GetAgent() | 122 | public TestAgent GetAgent() |
951 | 123 | { | 123 | { |
952 | 124 | return GetAgent( RuntimeFramework.CurrentFramework, Timeout.Infinite ); | 124 | return GetAgent( RuntimeFramework.CurrentFramework, Timeout.Infinite ); |
953 | 125 | } | 125 | } |
954 | 126 | 126 | ||
955 | @@ -130,8 +130,8 @@ | |||
956 | 130 | } | 130 | } |
957 | 131 | 131 | ||
958 | 132 | public TestAgent GetAgent(RuntimeFramework framework, int waitTime) | 132 | public TestAgent GetAgent(RuntimeFramework framework, int waitTime) |
961 | 133 | { | 133 | { |
962 | 134 | log.Info("Getting agent for use under {0}", framework); | 134 | log.Info("Getting agent for use under {0}", framework); |
963 | 135 | 135 | ||
964 | 136 | if (!framework.IsAvailable) | 136 | if (!framework.IsAvailable) |
965 | 137 | throw new ArgumentException( | 137 | throw new ArgumentException( |
966 | 138 | 138 | ||
967 | === modified file 'src/ConsoleRunner/nunit-console/ConsoleUi.cs' | |||
968 | --- src/ConsoleRunner/nunit-console/ConsoleUi.cs 2012-07-08 17:20:44 +0000 | |||
969 | +++ src/ConsoleRunner/nunit-console/ConsoleUi.cs 2012-10-03 23:32:21 +0000 | |||
970 | @@ -2,8 +2,10 @@ | |||
971 | 2 | // This is free software licensed under the NUnit license. You | 2 | // This is free software licensed under the NUnit license. You |
972 | 3 | // may obtain a copy of the license as well as information regarding | 3 | // may obtain a copy of the license as well as information regarding |
973 | 4 | // copyright ownership at http://nunit.org. | 4 | // copyright ownership at http://nunit.org. |
976 | 5 | // **************************************************************** | 5 | // **************************************************************** |
977 | 6 | 6 | ||
978 | 7 | using System.Diagnostics; | ||
979 | 8 | |||
980 | 7 | namespace NUnit.ConsoleRunner | 9 | namespace NUnit.ConsoleRunner |
981 | 8 | { | 10 | { |
982 | 9 | using System; | 11 | using System; |
983 | @@ -61,8 +63,8 @@ | |||
984 | 61 | StreamWriter errorStreamWriter = new StreamWriter( Path.Combine(workDir, options.err) ); | 63 | StreamWriter errorStreamWriter = new StreamWriter( Path.Combine(workDir, options.err) ); |
985 | 62 | errorStreamWriter.AutoFlush = true; | 64 | errorStreamWriter.AutoFlush = true; |
986 | 63 | errorWriter = errorStreamWriter; | 65 | errorWriter = errorStreamWriter; |
989 | 64 | } | 66 | } |
990 | 65 | 67 | ||
991 | 66 | TestPackage package = MakeTestPackage(options); | 68 | TestPackage package = MakeTestPackage(options); |
992 | 67 | 69 | ||
993 | 68 | ProcessModel processModel = package.Settings.Contains("ProcessModel") | 70 | ProcessModel processModel = package.Settings.Contains("ProcessModel") |
994 | 69 | 71 | ||
995 | === modified file 'src/GuiException/tests/Controls/TestCodeBox.cs' | |||
996 | --- src/GuiException/tests/Controls/TestCodeBox.cs 2011-03-30 20:37:44 +0000 | |||
997 | +++ src/GuiException/tests/Controls/TestCodeBox.cs 2012-10-03 23:32:21 +0000 | |||
998 | @@ -3,7 +3,7 @@ | |||
999 | 3 | // obtain a copy of the license at http://nunit.org | 3 | // obtain a copy of the license at http://nunit.org |
1000 | 4 | // **************************************************************** | 4 | // **************************************************************** |
1001 | 5 | 5 | ||
1003 | 6 | #if NET_3_5 || NET_4_0 | 6 | #if NET_3_5 || NET_4_0 || NET_4_5 |
1004 | 7 | using NSubstitute; | 7 | using NSubstitute; |
1005 | 8 | using NUnit.Framework; | 8 | using NUnit.Framework; |
1006 | 9 | using System.Drawing; | 9 | using System.Drawing; |
1007 | 10 | 10 | ||
1008 | === modified file 'src/GuiException/tests/Controls/TestErrorBrowser.cs' | |||
1009 | --- src/GuiException/tests/Controls/TestErrorBrowser.cs 2011-03-30 20:37:44 +0000 | |||
1010 | +++ src/GuiException/tests/Controls/TestErrorBrowser.cs 2012-10-03 23:32:21 +0000 | |||
1011 | @@ -3,7 +3,7 @@ | |||
1012 | 3 | // obtain a copy of the license at http://nunit.org | 3 | // obtain a copy of the license at http://nunit.org |
1013 | 4 | // **************************************************************** | 4 | // **************************************************************** |
1014 | 5 | 5 | ||
1016 | 6 | #if NET_3_5 || NET_4_0 | 6 | #if NET_3_5 || NET_4_0 || NET_4_5 |
1017 | 7 | using System; | 7 | using System; |
1018 | 8 | using NSubstitute; | 8 | using NSubstitute; |
1019 | 9 | using NUnit.Framework; | 9 | using NUnit.Framework; |
1020 | 10 | 10 | ||
1021 | === modified file 'src/GuiException/tests/Controls/TestErrorList.cs' | |||
1022 | --- src/GuiException/tests/Controls/TestErrorList.cs 2011-03-30 20:37:44 +0000 | |||
1023 | +++ src/GuiException/tests/Controls/TestErrorList.cs 2012-10-03 23:32:21 +0000 | |||
1024 | @@ -3,7 +3,7 @@ | |||
1025 | 3 | // obtain a copy of the license at http://nunit.org | 3 | // obtain a copy of the license at http://nunit.org |
1026 | 4 | // **************************************************************** | 4 | // **************************************************************** |
1027 | 5 | 5 | ||
1029 | 6 | #if NET_3_5 || NET_4_0 | 6 | #if NET_3_5 || NET_4_0 || NET_4_5 |
1030 | 7 | using System; | 7 | using System; |
1031 | 8 | using NSubstitute; | 8 | using NSubstitute; |
1032 | 9 | using NUnit.Framework; | 9 | using NUnit.Framework; |
1033 | 10 | 10 | ||
1034 | === modified file 'src/GuiException/tests/Controls/TestErrorToolbar.cs' | |||
1035 | --- src/GuiException/tests/Controls/TestErrorToolbar.cs 2011-03-30 20:37:44 +0000 | |||
1036 | +++ src/GuiException/tests/Controls/TestErrorToolbar.cs 2012-10-03 23:32:21 +0000 | |||
1037 | @@ -3,7 +3,7 @@ | |||
1038 | 3 | // obtain a copy of the license at http://nunit.org | 3 | // obtain a copy of the license at http://nunit.org |
1039 | 4 | // **************************************************************** | 4 | // **************************************************************** |
1040 | 5 | 5 | ||
1042 | 6 | #if NET_3_5 || NET_4_0 | 6 | #if NET_3_5 || NET_4_0 || NET_4_5 |
1043 | 7 | using System; | 7 | using System; |
1044 | 8 | using NSubstitute; | 8 | using NSubstitute; |
1045 | 9 | using NUnit.Framework; | 9 | using NUnit.Framework; |
1046 | 10 | 10 | ||
1047 | === modified file 'src/GuiException/tests/Controls/TestSourceCodeDisplay.cs' | |||
1048 | --- src/GuiException/tests/Controls/TestSourceCodeDisplay.cs 2011-03-30 20:37:44 +0000 | |||
1049 | +++ src/GuiException/tests/Controls/TestSourceCodeDisplay.cs 2012-10-03 23:32:21 +0000 | |||
1050 | @@ -3,7 +3,7 @@ | |||
1051 | 3 | // obtain a copy of the license at http://nunit.org | 3 | // obtain a copy of the license at http://nunit.org |
1052 | 4 | // **************************************************************** | 4 | // **************************************************************** |
1053 | 5 | 5 | ||
1055 | 6 | #if NET_3_5 || NET_4_0 | 6 | #if NET_3_5 || NET_4_0 || NET_4_5 |
1056 | 7 | using NSubstitute; | 7 | using NSubstitute; |
1057 | 8 | using NUnit.Framework; | 8 | using NUnit.Framework; |
1058 | 9 | using NUnit.UiException.Controls; | 9 | using NUnit.UiException.Controls; |
1059 | 10 | 10 | ||
1060 | === added file 'src/NUnitCore/core/AsyncSynchronizationContext.cs' | |||
1061 | --- src/NUnitCore/core/AsyncSynchronizationContext.cs 1970-01-01 00:00:00 +0000 | |||
1062 | +++ src/NUnitCore/core/AsyncSynchronizationContext.cs 2012-10-03 23:32:21 +0000 | |||
1063 | @@ -0,0 +1,45 @@ | |||
1064 | 1 | using System; | ||
1065 | 2 | using System.Collections.Generic; | ||
1066 | 3 | using System.Threading; | ||
1067 | 4 | |||
1068 | 5 | namespace NUnit.Core | ||
1069 | 6 | { | ||
1070 | 7 | public class AsyncSynchronizationContext : SynchronizationContext | ||
1071 | 8 | { | ||
1072 | 9 | private readonly AutoResetEvent _operationCompleted = new AutoResetEvent(false); | ||
1073 | 10 | private readonly IList<Exception> _exceptions = new List<Exception>(); | ||
1074 | 11 | |||
1075 | 12 | public IList<Exception> Exceptions | ||
1076 | 13 | { | ||
1077 | 14 | get { return _exceptions; } | ||
1078 | 15 | } | ||
1079 | 16 | |||
1080 | 17 | public override void Send(SendOrPostCallback d, object state) | ||
1081 | 18 | { | ||
1082 | 19 | throw new InvalidOperationException("Sending to this synchronization context is not supported"); | ||
1083 | 20 | } | ||
1084 | 21 | |||
1085 | 22 | public override void Post(SendOrPostCallback d, object state) | ||
1086 | 23 | { | ||
1087 | 24 | try | ||
1088 | 25 | { | ||
1089 | 26 | d(state); | ||
1090 | 27 | } | ||
1091 | 28 | catch (Exception e) | ||
1092 | 29 | { | ||
1093 | 30 | _exceptions.Add(e); | ||
1094 | 31 | } | ||
1095 | 32 | } | ||
1096 | 33 | |||
1097 | 34 | public override void OperationCompleted() | ||
1098 | 35 | { | ||
1099 | 36 | base.OperationCompleted(); | ||
1100 | 37 | _operationCompleted.Set(); | ||
1101 | 38 | } | ||
1102 | 39 | |||
1103 | 40 | public void WaitForOperationCompleted() | ||
1104 | 41 | { | ||
1105 | 42 | _operationCompleted.WaitOne(); | ||
1106 | 43 | } | ||
1107 | 44 | } | ||
1108 | 45 | } | ||
1109 | 0 | \ No newline at end of file | 46 | \ No newline at end of file |
1110 | 1 | 47 | ||
1111 | === modified file 'src/NUnitCore/core/Builders/NUnitTestCaseBuilder.cs' | |||
1112 | --- src/NUnitCore/core/Builders/NUnitTestCaseBuilder.cs 2012-02-19 05:59:50 +0000 | |||
1113 | +++ src/NUnitCore/core/Builders/NUnitTestCaseBuilder.cs 2012-10-03 23:32:21 +0000 | |||
1114 | @@ -1,421 +1,432 @@ | |||
1536 | 1 | // **************************************************************** | 1 | // **************************************************************** |
1537 | 2 | // Copyright 2008, Charlie Poole | 2 | // Copyright 2008, Charlie Poole |
1538 | 3 | // This is free software licensed under the NUnit license. You may | 3 | // This is free software licensed under the NUnit license. You may |
1539 | 4 | // obtain a copy of the license at http://nunit.org. | 4 | // obtain a copy of the license at http://nunit.org. |
1540 | 5 | // **************************************************************** | 5 | // **************************************************************** |
1541 | 6 | 6 | ||
1542 | 7 | using System; | 7 | using System; |
1543 | 8 | using System.Reflection; | 8 | using System.Diagnostics; |
1544 | 9 | using NUnit.Core.Extensibility; | 9 | using System.Reflection; |
1545 | 10 | 10 | using NUnit.Core.Extensibility; | |
1546 | 11 | namespace NUnit.Core.Builders | 11 | |
1547 | 12 | { | 12 | namespace NUnit.Core.Builders |
1548 | 13 | /// <summary> | 13 | { |
1549 | 14 | /// Class to build ether a parameterized or a normal NUnitTestMethod. | 14 | /// <summary> |
1550 | 15 | /// There are four cases that the builder must deal with: | 15 | /// Class to build ether a parameterized or a normal NUnitTestMethod. |
1551 | 16 | /// 1. The method needs no params and none are provided | 16 | /// There are four cases that the builder must deal with: |
1552 | 17 | /// 2. The method needs params and they are provided | 17 | /// 1. The method needs no params and none are provided |
1553 | 18 | /// 3. The method needs no params but they are provided in error | 18 | /// 2. The method needs params and they are provided |
1554 | 19 | /// 4. The method needs params but they are not provided | 19 | /// 3. The method needs no params but they are provided in error |
1555 | 20 | /// This could have been done using two different builders, but it | 20 | /// 4. The method needs params but they are not provided |
1556 | 21 | /// turned out to be simpler to have just one. The BuildFrom method | 21 | /// This could have been done using two different builders, but it |
1557 | 22 | /// takes a different branch depending on whether any parameters are | 22 | /// turned out to be simpler to have just one. The BuildFrom method |
1558 | 23 | /// provided, but all four cases are dealt with in lower-level methods | 23 | /// takes a different branch depending on whether any parameters are |
1559 | 24 | /// </summary> | 24 | /// provided, but all four cases are dealt with in lower-level methods |
1560 | 25 | public class NUnitTestCaseBuilder : ITestCaseBuilder2 | 25 | /// </summary> |
1561 | 26 | { | 26 | public class NUnitTestCaseBuilder : ITestCaseBuilder2 |
1562 | 27 | #region ITestCaseBuilder Methods | 27 | { |
1563 | 28 | /// <summary> | 28 | #region ITestCaseBuilder Methods |
1564 | 29 | /// Determines if the method can be used to build an NUnit test | 29 | /// <summary> |
1565 | 30 | /// test method of some kind. The method must normally be marked | 30 | /// Determines if the method can be used to build an NUnit test |
1566 | 31 | /// with an identifying attriute for this to be true. If the test | 31 | /// test method of some kind. The method must normally be marked |
1567 | 32 | /// config file sets AllowOldStyleTests to true, then any method beginning | 32 | /// with an identifying attriute for this to be true. If the test |
1568 | 33 | /// "test..." (case-insensitive) is treated as a test unless | 33 | /// config file sets AllowOldStyleTests to true, then any method beginning |
1569 | 34 | /// it is also marked as a setup or teardown method. | 34 | /// "test..." (case-insensitive) is treated as a test unless |
1570 | 35 | /// | 35 | /// it is also marked as a setup or teardown method. |
1571 | 36 | /// Note that this method does not check that the signature | 36 | /// |
1572 | 37 | /// of the method for validity. If we did that here, any | 37 | /// Note that this method does not check that the signature |
1573 | 38 | /// test methods with invalid signatures would be passed | 38 | /// of the method for validity. If we did that here, any |
1574 | 39 | /// over in silence in the test run. Since we want such | 39 | /// test methods with invalid signatures would be passed |
1575 | 40 | /// methods to be reported, the check for validity is made | 40 | /// over in silence in the test run. Since we want such |
1576 | 41 | /// in BuildFrom rather than here. | 41 | /// methods to be reported, the check for validity is made |
1577 | 42 | /// </summary> | 42 | /// in BuildFrom rather than here. |
1578 | 43 | /// <param name="method">A MethodInfo for the method being used as a test method</param> | 43 | /// </summary> |
1579 | 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> |
1580 | 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> |
1581 | 46 | public bool CanBuildFrom(MethodInfo method) | 46 | /// <returns>True if the builder can create a test case from this method</returns> |
1582 | 47 | { | 47 | public bool CanBuildFrom(MethodInfo method) |
1583 | 48 | return Reflect.HasAttribute(method, NUnitFramework.TestAttribute, false) | 48 | { |
1584 | 49 | || Reflect.HasAttribute(method, NUnitFramework.TestCaseAttribute, false) | 49 | return Reflect.HasAttribute(method, NUnitFramework.TestAttribute, false) |
1585 | 50 | || Reflect.HasAttribute(method, NUnitFramework.TestCaseSourceAttribute, false) | 50 | || Reflect.HasAttribute(method, NUnitFramework.TestCaseAttribute, false) |
1586 | 51 | || Reflect.HasAttribute(method, NUnitFramework.TheoryAttribute, false); | 51 | || Reflect.HasAttribute(method, NUnitFramework.TestCaseSourceAttribute, false) |
1587 | 52 | } | 52 | || Reflect.HasAttribute(method, NUnitFramework.TheoryAttribute, false); |
1588 | 53 | 53 | } | |
1589 | 54 | /// <summary> | 54 | |
1590 | 55 | /// Build a Test from the provided MethodInfo. Depending on | 55 | /// <summary> |
1591 | 56 | /// whether the method takes arguments and on the availability | 56 | /// Build a Test from the provided MethodInfo. Depending on |
1592 | 57 | /// of test case data, this method may return a single test | 57 | /// whether the method takes arguments and on the availability |
1593 | 58 | /// or a group of tests contained in a ParameterizedMethodSuite. | 58 | /// of test case data, this method may return a single test |
1594 | 59 | /// </summary> | 59 | /// or a group of tests contained in a ParameterizedMethodSuite. |
1595 | 60 | /// <param name="method">The MethodInfo for which a test is to be built</param> | 60 | /// </summary> |
1596 | 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> |
1597 | 62 | /// <returns>A Test representing one or more method invocations</returns> | 62 | /// <param name="suite">The test fixture being populated, or null</param> |
1598 | 63 | public Test BuildFrom(MethodInfo method) | 63 | /// <returns>A Test representing one or more method invocations</returns> |
1599 | 64 | { | 64 | public Test BuildFrom(MethodInfo method) |
1600 | 65 | return BuildFrom(method, null); | 65 | { |
1601 | 66 | } | 66 | return BuildFrom(method, null); |
1602 | 67 | 67 | } | |
1603 | 68 | #region ITestCaseBuilder2 Members | 68 | |
1604 | 69 | 69 | #region ITestCaseBuilder2 Members | |
1605 | 70 | public bool CanBuildFrom(MethodInfo method, Test parentSuite) | 70 | |
1606 | 71 | { | 71 | public bool CanBuildFrom(MethodInfo method, Test parentSuite) |
1607 | 72 | return CanBuildFrom(method); | 72 | { |
1608 | 73 | } | 73 | return CanBuildFrom(method); |
1609 | 74 | 74 | } | |
1610 | 75 | public Test BuildFrom(MethodInfo method, Test parentSuite) | 75 | |
1611 | 76 | { | 76 | public Test BuildFrom(MethodInfo method, Test parentSuite) |
1612 | 77 | return CoreExtensions.Host.TestCaseProviders.HasTestCasesFor(method) | 77 | { |
1613 | 78 | ? BuildParameterizedMethodSuite(method, parentSuite) | 78 | return CoreExtensions.Host.TestCaseProviders.HasTestCasesFor(method) |
1614 | 79 | : BuildSingleTestMethod(method, parentSuite, null); | 79 | ? BuildParameterizedMethodSuite(method, parentSuite) |
1615 | 80 | } | 80 | : BuildSingleTestMethod(method, parentSuite, null); |
1616 | 81 | 81 | } | |
1617 | 82 | #endregion | 82 | |
1618 | 83 | 83 | #endregion | |
1619 | 84 | /// <summary> | 84 | |
1620 | 85 | /// Builds a ParameterizedMetodSuite containing individual | 85 | /// <summary> |
1621 | 86 | /// test cases for each set of parameters provided for | 86 | /// Builds a ParameterizedMetodSuite containing individual |
1622 | 87 | /// this method. | 87 | /// test cases for each set of parameters provided for |
1623 | 88 | /// </summary> | 88 | /// this method. |
1624 | 89 | /// <param name="method">The MethodInfo for which a test is to be built</param> | 89 | /// </summary> |
1625 | 90 | /// <returns>A ParameterizedMethodSuite populated with test cases</returns> | 90 | /// <param name="method">The MethodInfo for which a test is to be built</param> |
1626 | 91 | public static Test BuildParameterizedMethodSuite(MethodInfo method, Test parentSuite) | 91 | /// <returns>A ParameterizedMethodSuite populated with test cases</returns> |
1627 | 92 | { | 92 | public static Test BuildParameterizedMethodSuite(MethodInfo method, Test parentSuite) |
1628 | 93 | ParameterizedMethodSuite methodSuite = new ParameterizedMethodSuite(method); | 93 | { |
1629 | 94 | NUnitFramework.ApplyCommonAttributes(method, methodSuite); | 94 | ParameterizedMethodSuite methodSuite = new ParameterizedMethodSuite(method); |
1630 | 95 | 95 | NUnitFramework.ApplyCommonAttributes(method, methodSuite); | |
1631 | 96 | if (parentSuite != null) | 96 | |
1632 | 97 | { | 97 | if (parentSuite != null) |
1633 | 98 | if (parentSuite.RunState == RunState.NotRunnable && methodSuite.RunState != RunState.NotRunnable) | 98 | { |
1634 | 99 | { | 99 | if (parentSuite.RunState == RunState.NotRunnable && methodSuite.RunState != RunState.NotRunnable) |
1635 | 100 | methodSuite.RunState = RunState.NotRunnable; | 100 | { |
1636 | 101 | methodSuite.IgnoreReason = parentSuite.IgnoreReason; | 101 | methodSuite.RunState = RunState.NotRunnable; |
1637 | 102 | } | 102 | methodSuite.IgnoreReason = parentSuite.IgnoreReason; |
1638 | 103 | 103 | } | |
1639 | 104 | if (parentSuite.RunState == RunState.Ignored && methodSuite.RunState != RunState.Ignored && methodSuite.RunState != RunState.NotRunnable) | 104 | |
1640 | 105 | { | 105 | if (parentSuite.RunState == RunState.Ignored && methodSuite.RunState != RunState.Ignored && methodSuite.RunState != RunState.NotRunnable) |
1641 | 106 | methodSuite.RunState = RunState.Ignored; | 106 | { |
1642 | 107 | methodSuite.IgnoreReason = parentSuite.IgnoreReason; | 107 | methodSuite.RunState = RunState.Ignored; |
1643 | 108 | } | 108 | methodSuite.IgnoreReason = parentSuite.IgnoreReason; |
1644 | 109 | } | 109 | } |
1645 | 110 | 110 | } | |
1646 | 111 | foreach (object source in CoreExtensions.Host.TestCaseProviders.GetTestCasesFor(method, parentSuite)) | 111 | |
1647 | 112 | { | 112 | foreach (object source in CoreExtensions.Host.TestCaseProviders.GetTestCasesFor(method, parentSuite)) |
1648 | 113 | ParameterSet parms; | 113 | { |
1649 | 114 | 114 | ParameterSet parms; | |
1650 | 115 | if (source == null) | 115 | |
1651 | 116 | { | 116 | if (source == null) |
1652 | 117 | parms = new ParameterSet(); | 117 | { |
1653 | 118 | parms.Arguments = new object[] { null }; | 118 | parms = new ParameterSet(); |
1654 | 119 | } | 119 | parms.Arguments = new object[] { null }; |
1655 | 120 | else | 120 | } |
1656 | 121 | parms = source as ParameterSet; | 121 | else |
1657 | 122 | 122 | parms = source as ParameterSet; | |
1658 | 123 | if (parms == null) | 123 | |
1659 | 124 | { | 124 | if (parms == null) |
1660 | 125 | if (source.GetType().GetInterface("NUnit.Framework.ITestCaseData") != null) | 125 | { |
1661 | 126 | parms = ParameterSet.FromDataSource(source); | 126 | if (source.GetType().GetInterface("NUnit.Framework.ITestCaseData") != null) |
1662 | 127 | else | 127 | parms = ParameterSet.FromDataSource(source); |
1663 | 128 | { | 128 | else |
1664 | 129 | parms = new ParameterSet(); | 129 | { |
1665 | 130 | 130 | parms = new ParameterSet(); | |
1666 | 131 | ParameterInfo[] parameters = method.GetParameters(); | 131 | |
1667 | 132 | Type sourceType = source.GetType(); | 132 | ParameterInfo[] parameters = method.GetParameters(); |
1668 | 133 | 133 | Type sourceType = source.GetType(); | |
1669 | 134 | if (parameters.Length == 1 && parameters[0].ParameterType.IsAssignableFrom(sourceType)) | 134 | |
1670 | 135 | parms.Arguments = new object[] { source }; | 135 | if (parameters.Length == 1 && parameters[0].ParameterType.IsAssignableFrom(sourceType)) |
1671 | 136 | else if (source is object[]) | 136 | parms.Arguments = new object[] { source }; |
1672 | 137 | parms.Arguments = (object[])source; | 137 | else if (source is object[]) |
1673 | 138 | else if (source is Array) | 138 | parms.Arguments = (object[])source; |
1674 | 139 | { | 139 | else if (source is Array) |
1675 | 140 | Array array = (Array)source; | 140 | { |
1676 | 141 | if (array.Rank == 1) | 141 | Array array = (Array)source; |
1677 | 142 | { | 142 | if (array.Rank == 1) |
1678 | 143 | parms.Arguments = new object[array.Length]; | 143 | { |
1679 | 144 | for (int i = 0; i < array.Length; i++) | 144 | parms.Arguments = new object[array.Length]; |
1680 | 145 | parms.Arguments[i] = (object)array.GetValue(i); | 145 | for (int i = 0; i < array.Length; i++) |
1681 | 146 | } | 146 | parms.Arguments[i] = (object)array.GetValue(i); |
1682 | 147 | } | 147 | } |
1683 | 148 | else | 148 | } |
1684 | 149 | parms.Arguments = new object[] { source }; | 149 | else |
1685 | 150 | } | 150 | parms.Arguments = new object[] { source }; |
1686 | 151 | } | 151 | } |
1687 | 152 | 152 | } | |
1688 | 153 | TestMethod test = BuildSingleTestMethod(method, parentSuite, parms); | 153 | |
1689 | 154 | 154 | TestMethod test = BuildSingleTestMethod(method, parentSuite, parms); | |
1690 | 155 | methodSuite.Add(test); | 155 | |
1691 | 156 | } | 156 | methodSuite.Add(test); |
1692 | 157 | 157 | } | |
1693 | 158 | return methodSuite; | 158 | |
1694 | 159 | } | 159 | return methodSuite; |
1695 | 160 | 160 | } | |
1696 | 161 | /// <summary> | 161 | |
1697 | 162 | /// Builds a single NUnitTestMethod, either as a child of the fixture | 162 | /// <summary> |
1698 | 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 |
1699 | 164 | /// </summary> | 164 | /// or as one of a set of test cases under a ParameterizedTestMethodSuite. |
1700 | 165 | /// <param name="method">The MethodInfo from which to construct the TestMethod</param> | 165 | /// </summary> |
1701 | 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> |
1702 | 167 | /// <returns></returns> | 167 | /// <param name="parms">The ParameterSet to be used, or null</param> |
1703 | 168 | public static NUnitTestMethod BuildSingleTestMethod(MethodInfo method, Test parentSuite, ParameterSet parms) | 168 | /// <returns></returns> |
1704 | 169 | { | 169 | public static NUnitTestMethod BuildSingleTestMethod(MethodInfo method, Test parentSuite, ParameterSet parms) |
1705 | 170 | NUnitTestMethod testMethod = new NUnitTestMethod(method); | 170 | { |
1706 | 171 | 171 | NUnitTestMethod testMethod = Reflect.IsAsyncMethod(method) ? | |
1707 | 172 | string prefix = method.ReflectedType.FullName; | 172 | new NUnitAsyncTestMethod(method) : new NUnitTestMethod(method); |
1708 | 173 | 173 | ||
1709 | 174 | if (parentSuite != null) | 174 | string prefix = method.ReflectedType.FullName; |
1710 | 175 | { | 175 | |
1711 | 176 | prefix = parentSuite.TestName.FullName; | 176 | if (parentSuite != null) |
1712 | 177 | testMethod.TestName.FullName = prefix + "." + testMethod.TestName.Name; | 177 | { |
1713 | 178 | } | 178 | prefix = parentSuite.TestName.FullName; |
1714 | 179 | 179 | testMethod.TestName.FullName = prefix + "." + testMethod.TestName.Name; | |
1715 | 180 | if (CheckTestMethodSignature(testMethod, parms)) | 180 | } |
1716 | 181 | { | 181 | |
1717 | 182 | if (parms == null) | 182 | if (CheckTestMethodSignature(testMethod, parms)) |
1718 | 183 | NUnitFramework.ApplyCommonAttributes(method, testMethod); | 183 | { |
1719 | 184 | NUnitFramework.ApplyExpectedExceptionAttribute(method, testMethod); | 184 | if (parms == null) |
1720 | 185 | } | 185 | NUnitFramework.ApplyCommonAttributes(method, testMethod); |
1721 | 186 | 186 | NUnitFramework.ApplyExpectedExceptionAttribute(method, testMethod); | |
1722 | 187 | if (parms != null) | 187 | } |
1723 | 188 | { | 188 | |
1724 | 189 | // NOTE: After the call to CheckTestMethodSignature, the Method | 189 | if (parms != null) |
1725 | 190 | // property of testMethod may no longer be the same as the | 190 | { |
1726 | 191 | // original MethodInfo, so we reassign it here. | 191 | // NOTE: After the call to CheckTestMethodSignature, the Method |
1727 | 192 | method = testMethod.Method; | 192 | // property of testMethod may no longer be the same as the |
1728 | 193 | 193 | // original MethodInfo, so we reassign it here. | |
1729 | 194 | if (parms.TestName != null) | 194 | method = testMethod.Method; |
1730 | 195 | { | 195 | |
1731 | 196 | testMethod.TestName.Name = parms.TestName; | 196 | if (parms.TestName != null) |
1732 | 197 | testMethod.TestName.FullName = prefix + "." + parms.TestName; | 197 | { |
1733 | 198 | } | 198 | testMethod.TestName.Name = parms.TestName; |
1734 | 199 | else if (parms.OriginalArguments != null) | 199 | testMethod.TestName.FullName = prefix + "." + parms.TestName; |
1735 | 200 | { | 200 | } |
1736 | 201 | string name = MethodHelper.GetDisplayName(method, parms.OriginalArguments); | 201 | else if (parms.OriginalArguments != null) |
1737 | 202 | testMethod.TestName.Name = name; | 202 | { |
1738 | 203 | testMethod.TestName.FullName = prefix + "." + name; | 203 | string name = MethodHelper.GetDisplayName(method, parms.OriginalArguments); |
1739 | 204 | } | 204 | testMethod.TestName.Name = name; |
1740 | 205 | 205 | testMethod.TestName.FullName = prefix + "." + name; | |
1741 | 206 | if (parms.Ignored) | 206 | } |
1742 | 207 | { | 207 | |
1743 | 208 | testMethod.RunState = RunState.Ignored; | 208 | if (parms.Ignored) |
1744 | 209 | testMethod.IgnoreReason = parms.IgnoreReason; | 209 | { |
1745 | 210 | } | 210 | testMethod.RunState = RunState.Ignored; |
1746 | 211 | else if (parms.Explicit) | 211 | testMethod.IgnoreReason = parms.IgnoreReason; |
1747 | 212 | { | 212 | } |
1748 | 213 | testMethod.RunState = RunState.Explicit; | 213 | else if (parms.Explicit) |
1749 | 214 | } | 214 | { |
1750 | 215 | 215 | testMethod.RunState = RunState.Explicit; | |
1751 | 216 | if (parms.ExpectedExceptionName != null) | 216 | } |
1752 | 217 | testMethod.exceptionProcessor = new ExpectedExceptionProcessor(testMethod, parms); | 217 | |
1753 | 218 | 218 | if (parms.ExpectedExceptionName != null) | |
1754 | 219 | foreach (string key in parms.Properties.Keys) | 219 | testMethod.exceptionProcessor = new ExpectedExceptionProcessor(testMethod, parms); |
1755 | 220 | testMethod.Properties[key] = parms.Properties[key]; | 220 | |
1756 | 221 | 221 | foreach (string key in parms.Properties.Keys) | |
1757 | 222 | // Description is stored in parms.Properties | 222 | testMethod.Properties[key] = parms.Properties[key]; |
1758 | 223 | if (parms.Description != null) | 223 | |
1759 | 224 | testMethod.Description = parms.Description; | 224 | // Description is stored in parms.Properties |
1760 | 225 | } | 225 | if (parms.Description != null) |
1761 | 226 | 226 | testMethod.Description = parms.Description; | |
1762 | 227 | //if (testMethod.BuilderException != null && testMethod.RunState != RunState.NotRunnable) | 227 | } |
1763 | 228 | //{ | 228 | |
1764 | 229 | // testMethod.RunState = RunState.NotRunnable; | 229 | //if (testMethod.BuilderException != null && testMethod.RunState != RunState.NotRunnable) |
1765 | 230 | // testMethod.IgnoreReason = testMethod.BuilderException.Message; | 230 | //{ |
1766 | 231 | //} | 231 | // testMethod.RunState = RunState.NotRunnable; |
1767 | 232 | 232 | // testMethod.IgnoreReason = testMethod.BuilderException.Message; | |
1768 | 233 | if (parentSuite != null) | 233 | //} |
1769 | 234 | { | 234 | |
1770 | 235 | if (parentSuite.RunState == RunState.NotRunnable && testMethod.RunState != RunState.NotRunnable) | 235 | if (parentSuite != null) |
1771 | 236 | { | 236 | { |
1772 | 237 | testMethod.RunState = RunState.NotRunnable; | 237 | if (parentSuite.RunState == RunState.NotRunnable && testMethod.RunState != RunState.NotRunnable) |
1773 | 238 | testMethod.IgnoreReason = parentSuite.IgnoreReason; | 238 | { |
1774 | 239 | } | 239 | testMethod.RunState = RunState.NotRunnable; |
1775 | 240 | 240 | testMethod.IgnoreReason = parentSuite.IgnoreReason; | |
1776 | 241 | if (parentSuite.RunState == RunState.Ignored && testMethod.RunState != RunState.Ignored && testMethod.RunState != RunState.NotRunnable) | 241 | } |
1777 | 242 | { | 242 | |
1778 | 243 | testMethod.RunState = RunState.Ignored; | 243 | if (parentSuite.RunState == RunState.Ignored && testMethod.RunState != RunState.Ignored && testMethod.RunState != RunState.NotRunnable) |
1779 | 244 | testMethod.IgnoreReason = parentSuite.IgnoreReason; | 244 | { |
1780 | 245 | } | 245 | testMethod.RunState = RunState.Ignored; |
1781 | 246 | } | 246 | testMethod.IgnoreReason = parentSuite.IgnoreReason; |
1782 | 247 | 247 | } | |
1783 | 248 | return testMethod; | 248 | } |
1784 | 249 | } | 249 | |
1785 | 250 | #endregion | 250 | return testMethod; |
1786 | 251 | 251 | } | |
1787 | 252 | #region Helper Methods | 252 | #endregion |
1788 | 253 | /// <summary> | 253 | |
1789 | 254 | /// Helper method that checks the signature of a TestMethod and | 254 | #region Helper Methods |
1790 | 255 | /// any supplied parameters to determine if the test is valid. | 255 | /// <summary> |
1791 | 256 | /// | 256 | /// Helper method that checks the signature of a TestMethod and |
1792 | 257 | /// Currently, NUnitTestMethods are required to be public, | 257 | /// any supplied parameters to determine if the test is valid. |
1793 | 258 | /// non-abstract methods, either static or instance, | 258 | /// |
1794 | 259 | /// returning void. They may take arguments but the values must | 259 | /// Currently, NUnitTestMethods are required to be public, |
1795 | 260 | /// be provided or the TestMethod is not considered runnable. | 260 | /// non-abstract methods, either static or instance, |
1796 | 261 | /// | 261 | /// returning void. They may take arguments but the values must |
1797 | 262 | /// Methods not meeting these criteria will be marked as | 262 | /// be provided or the TestMethod is not considered runnable. |
1798 | 263 | /// non-runnable and the method will return false in that case. | 263 | /// |
1799 | 264 | /// </summary> | 264 | /// Methods not meeting these criteria will be marked as |
1800 | 265 | /// <param name="testMethod">The TestMethod to be checked. If it | 265 | /// non-runnable and the method will return false in that case. |
1801 | 266 | /// is found to be non-runnable, it will be modified.</param> | 266 | /// </summary> |
1802 | 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 |
1803 | 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> |
1804 | 269 | private static bool CheckTestMethodSignature(TestMethod testMethod, ParameterSet parms) | 269 | /// <param name="parms">Parameters to be used for this test, or null</param> |
1805 | 270 | { | 270 | /// <returns>True if the method signature is valid, false if not</returns> |
1806 | 271 | if (testMethod.Method.IsAbstract) | 271 | private static bool CheckTestMethodSignature(TestMethod testMethod, ParameterSet parms) |
1807 | 272 | { | 272 | { |
1808 | 273 | testMethod.RunState = RunState.NotRunnable; | 273 | if (testMethod.Method.IsAbstract) |
1809 | 274 | testMethod.IgnoreReason = "Method is abstract"; | 274 | { |
1810 | 275 | return false; | 275 | testMethod.RunState = RunState.NotRunnable; |
1811 | 276 | } | 276 | testMethod.IgnoreReason = "Method is abstract"; |
1812 | 277 | 277 | return false; | |
1813 | 278 | if (!testMethod.Method.IsPublic) | 278 | } |
1814 | 279 | { | 279 | |
1815 | 280 | testMethod.RunState = RunState.NotRunnable; | 280 | if (!testMethod.Method.IsPublic) |
1816 | 281 | testMethod.IgnoreReason = "Method is not public"; | 281 | { |
1817 | 282 | return false; | 282 | testMethod.RunState = RunState.NotRunnable; |
1818 | 283 | } | 283 | testMethod.IgnoreReason = "Method is not public"; |
1819 | 284 | 284 | return false; | |
1820 | 285 | ParameterInfo[] parameters = testMethod.Method.GetParameters(); | 285 | } |
1821 | 286 | int argsNeeded = parameters.Length; | 286 | |
1822 | 287 | 287 | ParameterInfo[] parameters = testMethod.Method.GetParameters(); | |
1823 | 288 | object[] arglist = null; | 288 | int argsNeeded = parameters.Length; |
1824 | 289 | int argsProvided = 0; | 289 | |
1825 | 290 | 290 | object[] arglist = null; | |
1826 | 291 | if (parms != null) | 291 | int argsProvided = 0; |
1827 | 292 | { | 292 | |
1828 | 293 | testMethod.arguments = parms.Arguments; | 293 | if (parms != null) |
1829 | 294 | testMethod.hasExpectedResult = parms.HasExpectedResult; | 294 | { |
1830 | 295 | if (testMethod.hasExpectedResult) | 295 | testMethod.arguments = parms.Arguments; |
1831 | 296 | testMethod.expectedResult = parms.Result; | 296 | testMethod.hasExpectedResult = parms.HasExpectedResult; |
1832 | 297 | testMethod.RunState = parms.RunState; | 297 | if (testMethod.hasExpectedResult) |
1833 | 298 | testMethod.IgnoreReason = parms.IgnoreReason; | 298 | testMethod.expectedResult = parms.Result; |
1834 | 299 | testMethod.BuilderException = parms.ProviderException; | 299 | testMethod.RunState = parms.RunState; |
1835 | 300 | 300 | testMethod.IgnoreReason = parms.IgnoreReason; | |
1836 | 301 | arglist = parms.Arguments; | 301 | testMethod.BuilderException = parms.ProviderException; |
1837 | 302 | 302 | ||
1838 | 303 | if (arglist != null) | 303 | arglist = parms.Arguments; |
1839 | 304 | argsProvided = arglist.Length; | 304 | |
1840 | 305 | 305 | if (arglist != null) | |
1841 | 306 | if (testMethod.RunState != RunState.Runnable) | 306 | argsProvided = arglist.Length; |
1842 | 307 | return false; | 307 | |
1843 | 308 | } | 308 | if (testMethod.RunState != RunState.Runnable) |
1844 | 309 | 309 | return false; | |
1845 | 310 | if (!testMethod.Method.ReturnType.Equals(typeof(void)) && | 310 | } |
1846 | 311 | (parms == null || !parms.HasExpectedResult && parms.ExpectedExceptionName == null)) | 311 | |
1847 | 312 | { | 312 | bool isAsyncMethod = Reflect.IsAsyncMethod(testMethod.Method); |
1848 | 313 | testMethod.RunState = RunState.NotRunnable; | 313 | |
1849 | 314 | testMethod.IgnoreReason = "Method has non-void return value"; | 314 | if (!testMethod.Method.ReturnType.Equals(typeof(void)) && !isAsyncMethod && |
1850 | 315 | return false; | 315 | (parms == null || !parms.HasExpectedResult && parms.ExpectedExceptionName == null)) |
1851 | 316 | } | 316 | { |
1852 | 317 | 317 | testMethod.RunState = RunState.NotRunnable; | |
1853 | 318 | if (argsProvided > 0 && argsNeeded == 0) | 318 | testMethod.IgnoreReason = "Method has non-void return value"; |
1854 | 319 | { | 319 | return false; |
1855 | 320 | testMethod.RunState = RunState.NotRunnable; | 320 | } |
1856 | 321 | testMethod.IgnoreReason = "Arguments provided for method not taking any"; | 321 | |
1857 | 322 | return false; | 322 | if(isAsyncMethod && !testMethod.Method.ReturnType.IsGenericType && parms != null && parms.HasExpectedResult) |
1858 | 323 | } | 323 | { |
1859 | 324 | 324 | testMethod.RunState = RunState.NotRunnable; | |
1860 | 325 | if (argsProvided == 0 && argsNeeded > 0) | 325 | testMethod.IgnoreReason = "Async method has void or Task return type when a result was expected"; |
1861 | 326 | { | 326 | return false; |
1862 | 327 | testMethod.RunState = RunState.NotRunnable; | 327 | } |
1863 | 328 | testMethod.IgnoreReason = "No arguments were provided"; | 328 | |
1864 | 329 | return false; | 329 | if (argsProvided > 0 && argsNeeded == 0) |
1865 | 330 | } | 330 | { |
1866 | 331 | 331 | testMethod.RunState = RunState.NotRunnable; | |
1867 | 332 | //if (argsProvided > argsNeeded) | 332 | testMethod.IgnoreReason = "Arguments provided for method not taking any"; |
1868 | 333 | //{ | 333 | return false; |
1869 | 334 | // ParameterInfo lastParameter = parameters[argsNeeded - 1]; | 334 | } |
1870 | 335 | // Type lastParameterType = lastParameter.ParameterType; | 335 | |
1871 | 336 | 336 | if (argsProvided == 0 && argsNeeded > 0) | |
1872 | 337 | // if (lastParameterType.IsArray && lastParameter.IsDefined(typeof(ParamArrayAttribute), false)) | 337 | { |
1873 | 338 | // { | 338 | testMethod.RunState = RunState.NotRunnable; |
1874 | 339 | // object[] newArglist = new object[argsNeeded]; | 339 | testMethod.IgnoreReason = "No arguments were provided"; |
1875 | 340 | // for (int i = 0; i < argsNeeded; i++) | 340 | return false; |
1876 | 341 | // newArglist[i] = arglist[i]; | 341 | } |
1877 | 342 | 342 | ||
1878 | 343 | // int length = argsProvided - argsNeeded + 1; | 343 | //if (argsProvided > argsNeeded) |
1879 | 344 | // Array array = Array.CreateInstance(lastParameterType.GetElementType(), length); | 344 | //{ |
1880 | 345 | // for (int i = 0; i < length; i++) | 345 | // ParameterInfo lastParameter = parameters[argsNeeded - 1]; |
1881 | 346 | // array.SetValue(arglist[argsNeeded + i - 1], i); | 346 | // Type lastParameterType = lastParameter.ParameterType; |
1882 | 347 | 347 | ||
1883 | 348 | // newArglist[argsNeeded - 1] = array; | 348 | // if (lastParameterType.IsArray && lastParameter.IsDefined(typeof(ParamArrayAttribute), false)) |
1884 | 349 | // testMethod.arguments = arglist = newArglist; | 349 | // { |
1885 | 350 | // argsProvided = argsNeeded; | 350 | // object[] newArglist = new object[argsNeeded]; |
1886 | 351 | // } | 351 | // for (int i = 0; i < argsNeeded; i++) |
1887 | 352 | //} | 352 | // newArglist[i] = arglist[i]; |
1888 | 353 | 353 | ||
1889 | 354 | if (argsProvided != argsNeeded ) | 354 | // int length = argsProvided - argsNeeded + 1; |
1890 | 355 | { | 355 | // Array array = Array.CreateInstance(lastParameterType.GetElementType(), length); |
1891 | 356 | testMethod.RunState = RunState.NotRunnable; | 356 | // for (int i = 0; i < length; i++) |
1892 | 357 | testMethod.IgnoreReason = "Wrong number of arguments provided"; | 357 | // array.SetValue(arglist[argsNeeded + i - 1], i); |
1893 | 358 | return false; | 358 | |
1894 | 359 | } | 359 | // newArglist[argsNeeded - 1] = array; |
1895 | 360 | 360 | // testMethod.arguments = arglist = newArglist; | |
1896 | 361 | #if CLR_2_0 || CLR_4_0 | 361 | // argsProvided = argsNeeded; |
1897 | 362 | if (testMethod.Method.IsGenericMethodDefinition) | 362 | // } |
1898 | 363 | { | 363 | //} |
1899 | 364 | Type[] typeArguments = GetTypeArgumentsForMethod(testMethod.Method, arglist); | 364 | |
1900 | 365 | foreach (object o in typeArguments) | 365 | if (argsProvided != argsNeeded ) |
1901 | 366 | if (o == null) | 366 | { |
1902 | 367 | { | 367 | testMethod.RunState = RunState.NotRunnable; |
1903 | 368 | testMethod.RunState = RunState.NotRunnable; | 368 | testMethod.IgnoreReason = "Wrong number of arguments provided"; |
1904 | 369 | testMethod.IgnoreReason = "Unable to determine type arguments for fixture"; | 369 | return false; |
1905 | 370 | return false; | 370 | } |
1906 | 371 | } | 371 | |
1907 | 372 | 372 | #if CLR_2_0 || CLR_4_0 | |
1908 | 373 | testMethod.method = testMethod.Method.MakeGenericMethod(typeArguments); | 373 | if (testMethod.Method.IsGenericMethodDefinition) |
1909 | 374 | parameters = testMethod.Method.GetParameters(); | 374 | { |
1910 | 375 | 375 | Type[] typeArguments = GetTypeArgumentsForMethod(testMethod.Method, arglist); | |
1911 | 376 | for (int i = 0; i < parameters.Length; i++) | 376 | foreach (object o in typeArguments) |
1912 | 377 | { | 377 | if (o == null) |
1913 | 378 | if (arglist[i].GetType() != parameters[i].ParameterType && arglist[i] is IConvertible) | 378 | { |
1914 | 379 | { | 379 | testMethod.RunState = RunState.NotRunnable; |
1915 | 380 | try | 380 | testMethod.IgnoreReason = "Unable to determine type arguments for fixture"; |
1916 | 381 | { | 381 | return false; |
1917 | 382 | arglist[i] = Convert.ChangeType(arglist[i], parameters[i].ParameterType); | 382 | } |
1918 | 383 | } | 383 | |
1919 | 384 | catch (Exception) | 384 | testMethod.method = testMethod.Method.MakeGenericMethod(typeArguments); |
1920 | 385 | { | 385 | parameters = testMethod.Method.GetParameters(); |
1921 | 386 | // Do nothing - the incompatible argument will be reported below | 386 | |
1922 | 387 | } | 387 | for (int i = 0; i < parameters.Length; i++) |
1923 | 388 | } | 388 | { |
1924 | 389 | } | 389 | if (arglist[i].GetType() != parameters[i].ParameterType && arglist[i] is IConvertible) |
1925 | 390 | } | 390 | { |
1926 | 391 | #endif | 391 | try |
1927 | 392 | 392 | { | |
1928 | 393 | return true; | 393 | arglist[i] = Convert.ChangeType(arglist[i], parameters[i].ParameterType); |
1929 | 394 | } | 394 | } |
1930 | 395 | 395 | catch (Exception) | |
1931 | 396 | #if CLR_2_0 || CLR_4_0 | 396 | { |
1932 | 397 | private static Type[] GetTypeArgumentsForMethod(MethodInfo method, object[] arglist) | 397 | // Do nothing - the incompatible argument will be reported below |
1933 | 398 | { | 398 | } |
1934 | 399 | Type[] typeParameters = method.GetGenericArguments(); | 399 | } |
1935 | 400 | Type[] typeArguments = new Type[typeParameters.Length]; | 400 | } |
1936 | 401 | ParameterInfo[] parameters = method.GetParameters(); | 401 | } |
1937 | 402 | 402 | #endif | |
1938 | 403 | for (int typeIndex = 0; typeIndex < typeArguments.Length; typeIndex++) | 403 | |
1939 | 404 | { | 404 | return true; |
1940 | 405 | Type typeParameter = typeParameters[typeIndex]; | 405 | } |
1941 | 406 | 406 | ||
1942 | 407 | for (int argIndex = 0; argIndex < parameters.Length; argIndex++) | 407 | #if CLR_2_0 || CLR_4_0 |
1943 | 408 | { | 408 | private static Type[] GetTypeArgumentsForMethod(MethodInfo method, object[] arglist) |
1944 | 409 | if (parameters[argIndex].ParameterType.Equals(typeParameter)) | 409 | { |
1945 | 410 | typeArguments[typeIndex] = TypeHelper.BestCommonType( | 410 | Type[] typeParameters = method.GetGenericArguments(); |
1946 | 411 | typeArguments[typeIndex], | 411 | Type[] typeArguments = new Type[typeParameters.Length]; |
1947 | 412 | arglist[argIndex].GetType()); | 412 | ParameterInfo[] parameters = method.GetParameters(); |
1948 | 413 | } | 413 | |
1949 | 414 | } | 414 | for (int typeIndex = 0; typeIndex < typeArguments.Length; typeIndex++) |
1950 | 415 | 415 | { | |
1951 | 416 | return typeArguments; | 416 | Type typeParameter = typeParameters[typeIndex]; |
1952 | 417 | } | 417 | |
1953 | 418 | #endif | 418 | for (int argIndex = 0; argIndex < parameters.Length; argIndex++) |
1954 | 419 | #endregion | 419 | { |
1955 | 420 | } | 420 | if (parameters[argIndex].ParameterType.Equals(typeParameter)) |
1956 | 421 | } | 421 | typeArguments[typeIndex] = TypeHelper.BestCommonType( |
1957 | 422 | typeArguments[typeIndex], | ||
1958 | 423 | arglist[argIndex].GetType()); | ||
1959 | 424 | } | ||
1960 | 425 | } | ||
1961 | 426 | |||
1962 | 427 | return typeArguments; | ||
1963 | 428 | } | ||
1964 | 429 | #endif | ||
1965 | 430 | #endregion | ||
1966 | 431 | } | ||
1967 | 432 | } | ||
1968 | 422 | 433 | ||
1969 | === added file 'src/NUnitCore/core/NUnitAsyncTestMethod.cs' | |||
1970 | --- src/NUnitCore/core/NUnitAsyncTestMethod.cs 1970-01-01 00:00:00 +0000 | |||
1971 | +++ src/NUnitCore/core/NUnitAsyncTestMethod.cs 2012-10-03 23:32:21 +0000 | |||
1972 | @@ -0,0 +1,79 @@ | |||
1973 | 1 | using System; | ||
1974 | 2 | using System.Collections.Generic; | ||
1975 | 3 | using System.Reflection; | ||
1976 | 4 | using System.Threading; | ||
1977 | 5 | |||
1978 | 6 | namespace NUnit.Core | ||
1979 | 7 | { | ||
1980 | 8 | public class NUnitAsyncTestMethod : NUnitTestMethod | ||
1981 | 9 | { | ||
1982 | 10 | private const string TaskWaitMethod = "Wait"; | ||
1983 | 11 | private const string TaskResultProperty = "Result"; | ||
1984 | 12 | private const string SystemAggregateException = "System.AggregateException"; | ||
1985 | 13 | private const string InnerExceptionsProperty = "InnerExceptions"; | ||
1986 | 14 | private const BindingFlags TaskResultPropertyBindingFlags = BindingFlags.GetProperty | BindingFlags.Instance | BindingFlags.Public; | ||
1987 | 15 | |||
1988 | 16 | public NUnitAsyncTestMethod(MethodInfo method) : base(method) | ||
1989 | 17 | { | ||
1990 | 18 | } | ||
1991 | 19 | |||
1992 | 20 | protected override object RunTestMethod(TestResult testResult) | ||
1993 | 21 | { | ||
1994 | 22 | if (method.ReturnType == typeof (void)) | ||
1995 | 23 | { | ||
1996 | 24 | return RunVoidAsyncMethod(testResult); | ||
1997 | 25 | } | ||
1998 | 26 | |||
1999 | 27 | return RunTaskAsyncMethod(testResult); | ||
2000 | 28 | } | ||
2001 | 29 | |||
2002 | 30 | private object RunVoidAsyncMethod(TestResult testResult) | ||
2003 | 31 | { | ||
2004 | 32 | var previousContext = SynchronizationContext.Current; | ||
2005 | 33 | var currentContext = new AsyncSynchronizationContext(); | ||
2006 | 34 | SynchronizationContext.SetSynchronizationContext(currentContext); | ||
2007 | 35 | |||
2008 | 36 | try | ||
2009 | 37 | { | ||
2010 | 38 | object result = base.RunTestMethod(testResult); | ||
2011 | 39 | |||
2012 | 40 | currentContext.WaitForOperationCompleted(); | ||
2013 | 41 | |||
2014 | 42 | if (currentContext.Exceptions.Count > 0) | ||
2015 | 43 | throw new NUnitException("Rethrown", currentContext.Exceptions[0]); | ||
2016 | 44 | |||
2017 | 45 | return result; | ||
2018 | 46 | } | ||
2019 | 47 | finally | ||
2020 | 48 | { | ||
2021 | 49 | SynchronizationContext.SetSynchronizationContext(previousContext); | ||
2022 | 50 | } | ||
2023 | 51 | } | ||
2024 | 52 | |||
2025 | 53 | private object RunTaskAsyncMethod(TestResult testResult) | ||
2026 | 54 | { | ||
2027 | 55 | try | ||
2028 | 56 | { | ||
2029 | 57 | object task = base.RunTestMethod(testResult); | ||
2030 | 58 | |||
2031 | 59 | Reflect.InvokeMethod(method.ReturnType.GetMethod(TaskWaitMethod, new Type[0]), task); | ||
2032 | 60 | PropertyInfo resultProperty = Reflect.GetNamedProperty(method.ReturnType, TaskResultProperty, TaskResultPropertyBindingFlags); | ||
2033 | 61 | |||
2034 | 62 | return resultProperty != null ? resultProperty.GetValue(task, null) : task; | ||
2035 | 63 | } | ||
2036 | 64 | catch (NUnitException e) | ||
2037 | 65 | { | ||
2038 | 66 | if (e.InnerException != null && | ||
2039 | 67 | e.InnerException.GetType().FullName.Equals(SystemAggregateException)) | ||
2040 | 68 | { | ||
2041 | 69 | IList<Exception> inner = (IList<Exception>)e.InnerException.GetType() | ||
2042 | 70 | .GetProperty(InnerExceptionsProperty).GetValue(e.InnerException, null); | ||
2043 | 71 | |||
2044 | 72 | throw new NUnitException("Rethrown", inner[0]); | ||
2045 | 73 | } | ||
2046 | 74 | |||
2047 | 75 | throw; | ||
2048 | 76 | } | ||
2049 | 77 | } | ||
2050 | 78 | } | ||
2051 | 79 | } | ||
2052 | 0 | \ No newline at end of file | 80 | \ No newline at end of file |
2053 | 1 | 81 | ||
2054 | === modified file 'src/NUnitCore/core/NUnitTestMethod.cs' | |||
2055 | --- src/NUnitCore/core/NUnitTestMethod.cs 2010-09-19 22:47:12 +0000 | |||
2056 | +++ src/NUnitCore/core/NUnitTestMethod.cs 2012-10-03 23:32:21 +0000 | |||
2057 | @@ -2,10 +2,10 @@ | |||
2058 | 2 | // Copyright 2007, Charlie Poole | 2 | // Copyright 2007, Charlie Poole |
2059 | 3 | // This is free software licensed under the NUnit license. You may | 3 | // This is free software licensed under the NUnit license. You may |
2060 | 4 | // obtain a copy of the license at http://nunit.org. | 4 | // obtain a copy of the license at http://nunit.org. |
2065 | 5 | // **************************************************************** | 5 | // **************************************************************** |
2066 | 6 | using System; | 6 | |
2067 | 7 | using System.Reflection; | 7 | using System.Reflection; |
2068 | 8 | 8 | ||
2069 | 9 | namespace NUnit.Core | 9 | namespace NUnit.Core |
2070 | 10 | { | 10 | { |
2071 | 11 | /// <summary> | 11 | /// <summary> |
2072 | @@ -35,5 +35,5 @@ | |||
2073 | 35 | return testResult; | 35 | return testResult; |
2074 | 36 | } | 36 | } |
2075 | 37 | #endregion | 37 | #endregion |
2077 | 38 | } | 38 | } |
2078 | 39 | } | 39 | } |
2079 | 40 | 40 | ||
2080 | === modified file 'src/NUnitCore/core/Reflect.cs' | |||
2081 | --- src/NUnitCore/core/Reflect.cs 2010-07-20 17:21:45 +0000 | |||
2082 | +++ src/NUnitCore/core/Reflect.cs 2012-10-03 23:32:21 +0000 | |||
2083 | @@ -438,6 +438,15 @@ | |||
2084 | 438 | 438 | ||
2085 | 439 | private Reflect() { } | 439 | private Reflect() { } |
2086 | 440 | 440 | ||
2088 | 441 | #endregion | 441 | #endregion |
2089 | 442 | |||
2090 | 443 | public static bool IsAsyncMethod(MethodInfo method) | ||
2091 | 444 | { | ||
2092 | 445 | foreach (object attribute in method.GetCustomAttributes(false)) | ||
2093 | 446 | if (attribute.GetType().FullName.Equals("System.Runtime.CompilerServices.AsyncStateMachineAttribute")) | ||
2094 | 447 | return true; | ||
2095 | 448 | |||
2096 | 449 | return false; | ||
2097 | 450 | } | ||
2098 | 442 | } | 451 | } |
2099 | 443 | } | 452 | } |
2100 | 444 | 453 | ||
2101 | === modified file 'src/NUnitCore/core/TestMethod.cs' | |||
2102 | --- src/NUnitCore/core/TestMethod.cs 2012-09-25 16:39:42 +0000 | |||
2103 | +++ src/NUnitCore/core/TestMethod.cs 2012-10-03 23:32:21 +0000 | |||
2104 | @@ -3,8 +3,10 @@ | |||
2105 | 3 | // may obtain a copy of the license as well as information regarding | 3 | // may obtain a copy of the license as well as information regarding |
2106 | 4 | // copyright ownership at http://nunit.org. | 4 | // copyright ownership at http://nunit.org. |
2107 | 5 | // **************************************************************** | 5 | // **************************************************************** |
2110 | 6 | //#define DEFAULT_APPLIES_TO_TESTCASE | 6 | //#define DEFAULT_APPLIES_TO_TESTCASE |
2111 | 7 | 7 | ||
2112 | 8 | using System.Diagnostics; | ||
2113 | 9 | |||
2114 | 8 | namespace NUnit.Core | 10 | namespace NUnit.Core |
2115 | 9 | { | 11 | { |
2116 | 10 | using System; | 12 | using System; |
2117 | @@ -451,35 +453,36 @@ | |||
2118 | 451 | { | 453 | { |
2119 | 452 | try | 454 | try |
2120 | 453 | { | 455 | { |
2122 | 454 | RunTestMethod(testResult); | 456 | object result = RunTestMethod(testResult); |
2123 | 457 | |||
2124 | 458 | if (this.hasExpectedResult) | ||
2125 | 459 | NUnitFramework.Assert.AreEqual(expectedResult, result); | ||
2126 | 460 | |||
2127 | 461 | testResult.Success(); | ||
2128 | 462 | |||
2129 | 455 | if (testResult.IsSuccess && exceptionProcessor != null) | 463 | if (testResult.IsSuccess && exceptionProcessor != null) |
2130 | 456 | exceptionProcessor.ProcessNoException(testResult); | 464 | exceptionProcessor.ProcessNoException(testResult); |
2131 | 457 | } | 465 | } |
2157 | 458 | catch (Exception ex) | 466 | catch (Exception ex) |
2158 | 459 | { | 467 | { |
2159 | 460 | if (ex is ThreadAbortException) | 468 | if (ex is ThreadAbortException) |
2160 | 461 | Thread.ResetAbort(); | 469 | Thread.ResetAbort(); |
2161 | 462 | 470 | ||
2162 | 463 | if (exceptionProcessor == null) | 471 | if (exceptionProcessor == null) |
2163 | 464 | RecordException(ex, testResult, FailureSite.Test); | 472 | RecordException(ex, testResult, FailureSite.Test); |
2164 | 465 | else | 473 | else |
2165 | 466 | exceptionProcessor.ProcessException(ex, testResult); | 474 | exceptionProcessor.ProcessException(ex, testResult); |
2166 | 467 | } | 475 | } |
2167 | 468 | } | 476 | } |
2168 | 469 | 477 | ||
2169 | 470 | private void RunTestMethod(TestResult testResult) | 478 | protected virtual object RunTestMethod(TestResult testResult) |
2170 | 471 | { | 479 | { |
2171 | 472 | object fixture = this.method.IsStatic ? null : this.Fixture; | 480 | object fixture = this.method.IsStatic ? null : this.Fixture; |
2172 | 473 | 481 | ||
2173 | 474 | object result = Reflect.InvokeMethod( this.method, fixture, this.arguments ); | 482 | return Reflect.InvokeMethod(this.method, fixture, this.arguments); |
2174 | 475 | 483 | } | |
2175 | 476 | if (this.hasExpectedResult) | 484 | |
2176 | 477 | NUnitFramework.Assert.AreEqual(expectedResult, result); | 485 | #endregion |
2152 | 478 | |||
2153 | 479 | testResult.Success(); | ||
2154 | 480 | } | ||
2155 | 481 | |||
2156 | 482 | #endregion | ||
2177 | 483 | 486 | ||
2178 | 484 | #region Record Info About An Exception | 487 | #region Record Info About An Exception |
2179 | 485 | protected virtual void RecordException( Exception exception, TestResult testResult, FailureSite failureSite ) | 488 | protected virtual void RecordException( Exception exception, TestResult testResult, FailureSite failureSite ) |
2180 | @@ -495,5 +498,5 @@ | |||
2181 | 495 | testResult.SetResult(finalResultState, exception, failureSite); | 498 | testResult.SetResult(finalResultState, exception, failureSite); |
2182 | 496 | } | 499 | } |
2183 | 497 | #endregion | 500 | #endregion |
2186 | 498 | } | 501 | } |
2187 | 499 | } | 502 | } |
2188 | 500 | \ No newline at end of file | 503 | \ No newline at end of file |
2189 | 501 | 504 | ||
2190 | === modified file 'src/NUnitCore/core/TestSuite.cs' | |||
2191 | --- src/NUnitCore/core/TestSuite.cs 2012-09-25 16:39:42 +0000 | |||
2192 | +++ src/NUnitCore/core/TestSuite.cs 2012-10-03 23:32:21 +0000 | |||
2193 | @@ -523,8 +523,7 @@ | |||
2194 | 523 | return type.IsAbstract && type.IsSealed; | 523 | return type.IsAbstract && type.IsSealed; |
2195 | 524 | } | 524 | } |
2196 | 525 | 525 | ||
2199 | 526 | private void RunAllTests( | 526 | private void RunAllTests(TestResult suiteResult, EventListener listener, ITestFilter filter ) |
2198 | 527 | TestResult suiteResult, EventListener listener, ITestFilter filter ) | ||
2200 | 528 | { | 527 | { |
2201 | 529 | if (Properties.Contains("Timeout")) | 528 | if (Properties.Contains("Timeout")) |
2202 | 530 | TestExecutionContext.CurrentContext.TestCaseTimeout = (int)Properties["Timeout"]; | 529 | TestExecutionContext.CurrentContext.TestCaseTimeout = (int)Properties["Timeout"]; |
2203 | 531 | 530 | ||
2204 | === modified file 'src/NUnitCore/core/nunit.core.build' | |||
2205 | --- src/NUnitCore/core/nunit.core.build 2012-02-04 19:14:14 +0000 | |||
2206 | +++ src/NUnitCore/core/nunit.core.build 2012-10-03 23:32:21 +0000 | |||
2207 | @@ -3,6 +3,7 @@ | |||
2208 | 3 | 3 | ||
2209 | 4 | <patternset id="source-files"> | 4 | <patternset id="source-files"> |
2210 | 5 | <include name="AbstractTestCaseDecoration.cs"/> | 5 | <include name="AbstractTestCaseDecoration.cs"/> |
2211 | 6 | <include name="AsyncSynchronizationContext.cs"/> | ||
2212 | 6 | <include name="ActionsHelper.cs" /> | 7 | <include name="ActionsHelper.cs" /> |
2213 | 7 | <include name="AssemblyInfo.cs"/> | 8 | <include name="AssemblyInfo.cs"/> |
2214 | 8 | <include name="AssemblyHelper.cs"/> | 9 | <include name="AssemblyHelper.cs"/> |
2215 | @@ -32,6 +33,7 @@ | |||
2216 | 32 | <include name="NamespaceTreeBuilder.cs"/> | 33 | <include name="NamespaceTreeBuilder.cs"/> |
2217 | 33 | <include name="NoTestFixturesException.cs"/> | 34 | <include name="NoTestFixturesException.cs"/> |
2218 | 34 | <include name="NullListener.cs"/> | 35 | <include name="NullListener.cs"/> |
2219 | 36 | <include name="NUnitAsyncTestMethod.cs"/> | ||
2220 | 35 | <include name="NUnitConfiguration.cs"/> | 37 | <include name="NUnitConfiguration.cs"/> |
2221 | 36 | <include name="NUnitException.cs"/> | 38 | <include name="NUnitException.cs"/> |
2222 | 37 | <include name="NUnitFramework.cs"/> | 39 | <include name="NUnitFramework.cs"/> |
2223 | 38 | 40 | ||
2224 | === modified file 'src/NUnitCore/core/nunit.core.dll.csproj' | |||
2225 | --- src/NUnitCore/core/nunit.core.dll.csproj 2012-08-08 03:34:12 +0000 | |||
2226 | +++ src/NUnitCore/core/nunit.core.dll.csproj 2012-10-03 23:32:21 +0000 | |||
2227 | @@ -1,226 +1,228 @@ | |||
2453 | 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2454 | 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"> |
2455 | 3 | <PropertyGroup> | 3 | <PropertyGroup> |
2456 | 4 | <ProjectType>Local</ProjectType> | 4 | <ProjectType>Local</ProjectType> |
2457 | 5 | <ProductVersion>9.0.30729</ProductVersion> | 5 | <ProductVersion>9.0.30729</ProductVersion> |
2458 | 6 | <SchemaVersion>2.0</SchemaVersion> | 6 | <SchemaVersion>2.0</SchemaVersion> |
2459 | 7 | <ProjectGuid>{EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}</ProjectGuid> | 7 | <ProjectGuid>{EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}</ProjectGuid> |
2460 | 8 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 8 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
2461 | 9 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 9 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
2462 | 10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
2463 | 11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
2464 | 12 | <AssemblyName>nunit.core</AssemblyName> | 12 | <AssemblyName>nunit.core</AssemblyName> |
2465 | 13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
2466 | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
2467 | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
2468 | 16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
2469 | 17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
2470 | 18 | <RootNamespace>NUnit.Core</RootNamespace> | 18 | <RootNamespace>NUnit.Core</RootNamespace> |
2471 | 19 | <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent> | 19 | <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent> |
2472 | 20 | <FileUpgradeFlags> | 20 | <FileUpgradeFlags> |
2473 | 21 | </FileUpgradeFlags> | 21 | </FileUpgradeFlags> |
2474 | 22 | <UpgradeBackupLocation> | 22 | <UpgradeBackupLocation> |
2475 | 23 | </UpgradeBackupLocation> | 23 | </UpgradeBackupLocation> |
2476 | 24 | <OldToolsVersion>3.5</OldToolsVersion> | 24 | <OldToolsVersion>3.5</OldToolsVersion> |
2477 | 25 | <IsWebBootstrapper>true</IsWebBootstrapper> | 25 | <IsWebBootstrapper>true</IsWebBootstrapper> |
2478 | 26 | <TargetFrameworkVersion>v2.0</TargetFrameworkVersion> | 26 | <TargetFrameworkVersion>v2.0</TargetFrameworkVersion> |
2479 | 27 | <PublishUrl>http://localhost/nunit.core/</PublishUrl> | 27 | <PublishUrl>http://localhost/nunit.core/</PublishUrl> |
2480 | 28 | <Install>true</Install> | 28 | <Install>true</Install> |
2481 | 29 | <InstallFrom>Web</InstallFrom> | 29 | <InstallFrom>Web</InstallFrom> |
2482 | 30 | <UpdateEnabled>true</UpdateEnabled> | 30 | <UpdateEnabled>true</UpdateEnabled> |
2483 | 31 | <UpdateMode>Foreground</UpdateMode> | 31 | <UpdateMode>Foreground</UpdateMode> |
2484 | 32 | <UpdateInterval>7</UpdateInterval> | 32 | <UpdateInterval>7</UpdateInterval> |
2485 | 33 | <UpdateIntervalUnits>Days</UpdateIntervalUnits> | 33 | <UpdateIntervalUnits>Days</UpdateIntervalUnits> |
2486 | 34 | <UpdatePeriodically>false</UpdatePeriodically> | 34 | <UpdatePeriodically>false</UpdatePeriodically> |
2487 | 35 | <UpdateRequired>false</UpdateRequired> | 35 | <UpdateRequired>false</UpdateRequired> |
2488 | 36 | <MapFileExtensions>true</MapFileExtensions> | 36 | <MapFileExtensions>true</MapFileExtensions> |
2489 | 37 | <ApplicationRevision>0</ApplicationRevision> | 37 | <ApplicationRevision>0</ApplicationRevision> |
2490 | 38 | <ApplicationVersion>1.0.0.%2a</ApplicationVersion> | 38 | <ApplicationVersion>1.0.0.%2a</ApplicationVersion> |
2491 | 39 | <UseApplicationTrust>false</UseApplicationTrust> | 39 | <UseApplicationTrust>false</UseApplicationTrust> |
2492 | 40 | <BootstrapperEnabled>true</BootstrapperEnabled> | 40 | <BootstrapperEnabled>true</BootstrapperEnabled> |
2493 | 41 | </PropertyGroup> | 41 | </PropertyGroup> |
2494 | 42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | 42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
2495 | 43 | <OutputPath>..\..\..\bin\Debug\lib\</OutputPath> | 43 | <OutputPath>..\..\..\bin\Debug\lib\</OutputPath> |
2496 | 44 | <BaseAddress>285212672</BaseAddress> | 44 | <BaseAddress>285212672</BaseAddress> |
2497 | 45 | <ConfigurationOverrideFile> | 45 | <ConfigurationOverrideFile> |
2498 | 46 | </ConfigurationOverrideFile> | 46 | </ConfigurationOverrideFile> |
2499 | 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> |
2500 | 48 | <DocumentationFile> | 48 | <DocumentationFile> |
2501 | 49 | </DocumentationFile> | 49 | </DocumentationFile> |
2502 | 50 | <DebugSymbols>true</DebugSymbols> | 50 | <DebugSymbols>true</DebugSymbols> |
2503 | 51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
2504 | 52 | <NoWarn>1699</NoWarn> | 52 | <NoWarn>1699</NoWarn> |
2505 | 53 | <Optimize>false</Optimize> | 53 | <Optimize>false</Optimize> |
2506 | 54 | <RegisterForComInterop>false</RegisterForComInterop> | 54 | <RegisterForComInterop>false</RegisterForComInterop> |
2507 | 55 | <RemoveIntegerChecks>false</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>false</RemoveIntegerChecks> |
2508 | 56 | <WarningLevel>4</WarningLevel> | 56 | <WarningLevel>4</WarningLevel> |
2509 | 57 | <DebugType>full</DebugType> | 57 | <DebugType>full</DebugType> |
2510 | 58 | <ErrorReport>prompt</ErrorReport> | 58 | <ErrorReport>prompt</ErrorReport> |
2511 | 59 | <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> | 59 | <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> |
2512 | 60 | </PropertyGroup> | 60 | </PropertyGroup> |
2513 | 61 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | 61 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
2514 | 62 | <OutputPath>..\..\..\bin\Release\lib\</OutputPath> | 62 | <OutputPath>..\..\..\bin\Release\lib\</OutputPath> |
2515 | 63 | <BaseAddress>285212672</BaseAddress> | 63 | <BaseAddress>285212672</BaseAddress> |
2516 | 64 | <ConfigurationOverrideFile> | 64 | <ConfigurationOverrideFile> |
2517 | 65 | </ConfigurationOverrideFile> | 65 | </ConfigurationOverrideFile> |
2518 | 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> |
2519 | 67 | <DocumentationFile> | 67 | <DocumentationFile> |
2520 | 68 | </DocumentationFile> | 68 | </DocumentationFile> |
2521 | 69 | <FileAlignment>4096</FileAlignment> | 69 | <FileAlignment>4096</FileAlignment> |
2522 | 70 | <NoWarn>1699</NoWarn> | 70 | <NoWarn>1699</NoWarn> |
2523 | 71 | <Optimize>true</Optimize> | 71 | <Optimize>true</Optimize> |
2524 | 72 | <RegisterForComInterop>false</RegisterForComInterop> | 72 | <RegisterForComInterop>false</RegisterForComInterop> |
2525 | 73 | <RemoveIntegerChecks>false</RemoveIntegerChecks> | 73 | <RemoveIntegerChecks>false</RemoveIntegerChecks> |
2526 | 74 | <WarningLevel>4</WarningLevel> | 74 | <WarningLevel>4</WarningLevel> |
2527 | 75 | <DebugType>none</DebugType> | 75 | <DebugType>none</DebugType> |
2528 | 76 | <ErrorReport>prompt</ErrorReport> | 76 | <ErrorReport>prompt</ErrorReport> |
2529 | 77 | <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> | 77 | <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> |
2530 | 78 | </PropertyGroup> | 78 | </PropertyGroup> |
2531 | 79 | <ItemGroup> | 79 | <ItemGroup> |
2532 | 80 | <Reference Include="System"> | 80 | <Reference Include="System"> |
2533 | 81 | <Name>System</Name> | 81 | <Name>System</Name> |
2534 | 82 | </Reference> | 82 | </Reference> |
2535 | 83 | <Reference Include="System.Data"> | 83 | <Reference Include="System.Data"> |
2536 | 84 | <Name>System.Data</Name> | 84 | <Name>System.Data</Name> |
2537 | 85 | </Reference> | 85 | </Reference> |
2538 | 86 | <Reference Include="System.Xml"> | 86 | <Reference Include="System.Xml"> |
2539 | 87 | <Name>System.XML</Name> | 87 | <Name>System.XML</Name> |
2540 | 88 | </Reference> | 88 | </Reference> |
2541 | 89 | <ProjectReference Include="..\interfaces\nunit.core.interfaces.dll.csproj"> | 89 | <ProjectReference Include="..\interfaces\nunit.core.interfaces.dll.csproj"> |
2542 | 90 | <Name>nunit.core.interfaces.dll</Name> | 90 | <Name>nunit.core.interfaces.dll</Name> |
2543 | 91 | <Project>{435428F8-5995-4CE4-8022-93D595A8CC0F}</Project> | 91 | <Project>{435428F8-5995-4CE4-8022-93D595A8CC0F}</Project> |
2544 | 92 | <Private>False</Private> | 92 | <Private>False</Private> |
2545 | 93 | </ProjectReference> | 93 | </ProjectReference> |
2546 | 94 | <Reference Include="System.Configuration" /> | 94 | <Reference Include="System.Configuration" /> |
2547 | 95 | </ItemGroup> | 95 | </ItemGroup> |
2548 | 96 | <ItemGroup> | 96 | <ItemGroup> |
2549 | 97 | <BootstrapperPackage Include="Microsoft.Net.Client.3.5"> | 97 | <BootstrapperPackage Include="Microsoft.Net.Client.3.5"> |
2550 | 98 | <Visible>False</Visible> | 98 | <Visible>False</Visible> |
2551 | 99 | <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName> | 99 | <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName> |
2552 | 100 | <Install>false</Install> | 100 | <Install>false</Install> |
2553 | 101 | </BootstrapperPackage> | 101 | </BootstrapperPackage> |
2554 | 102 | <BootstrapperPackage Include="Microsoft.Net.Framework.2.0"> | 102 | <BootstrapperPackage Include="Microsoft.Net.Framework.2.0"> |
2555 | 103 | <Visible>False</Visible> | 103 | <Visible>False</Visible> |
2556 | 104 | <ProductName>.NET Framework 2.0 %28x86%29</ProductName> | 104 | <ProductName>.NET Framework 2.0 %28x86%29</ProductName> |
2557 | 105 | <Install>true</Install> | 105 | <Install>true</Install> |
2558 | 106 | </BootstrapperPackage> | 106 | </BootstrapperPackage> |
2559 | 107 | <BootstrapperPackage Include="Microsoft.Net.Framework.3.0"> | 107 | <BootstrapperPackage Include="Microsoft.Net.Framework.3.0"> |
2560 | 108 | <Visible>False</Visible> | 108 | <Visible>False</Visible> |
2561 | 109 | <ProductName>.NET Framework 3.0 %28x86%29</ProductName> | 109 | <ProductName>.NET Framework 3.0 %28x86%29</ProductName> |
2562 | 110 | <Install>false</Install> | 110 | <Install>false</Install> |
2563 | 111 | </BootstrapperPackage> | 111 | </BootstrapperPackage> |
2564 | 112 | <BootstrapperPackage Include="Microsoft.Net.Framework.3.5"> | 112 | <BootstrapperPackage Include="Microsoft.Net.Framework.3.5"> |
2565 | 113 | <Visible>False</Visible> | 113 | <Visible>False</Visible> |
2566 | 114 | <ProductName>.NET Framework 3.5</ProductName> | 114 | <ProductName>.NET Framework 3.5</ProductName> |
2567 | 115 | <Install>false</Install> | 115 | <Install>false</Install> |
2568 | 116 | </BootstrapperPackage> | 116 | </BootstrapperPackage> |
2569 | 117 | <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> | 117 | <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> |
2570 | 118 | <Visible>False</Visible> | 118 | <Visible>False</Visible> |
2571 | 119 | <ProductName>.NET Framework 3.5 SP1</ProductName> | 119 | <ProductName>.NET Framework 3.5 SP1</ProductName> |
2572 | 120 | <Install>false</Install> | 120 | <Install>false</Install> |
2573 | 121 | </BootstrapperPackage> | 121 | </BootstrapperPackage> |
2574 | 122 | </ItemGroup> | 122 | </ItemGroup> |
2575 | 123 | <ItemGroup> | 123 | <ItemGroup> |
2576 | 124 | <Compile Include="..\..\CommonAssemblyInfo.cs"> | 124 | <Compile Include="..\..\CommonAssemblyInfo.cs"> |
2577 | 125 | <Link>CommonAssemblyInfo.cs</Link> | 125 | <Link>CommonAssemblyInfo.cs</Link> |
2578 | 126 | </Compile> | 126 | </Compile> |
2579 | 127 | <Compile Include="AbstractTestCaseDecoration.cs" /> | 127 | <Compile Include="AbstractTestCaseDecoration.cs" /> |
2580 | 128 | <Compile Include="AssemblyHelper.cs" /> | 128 | <Compile Include="AssemblyHelper.cs" /> |
2581 | 129 | <Compile Include="AssemblyInfo.cs" /> | 129 | <Compile Include="AssemblyInfo.cs" /> |
2582 | 130 | <Compile Include="AssemblyReader.cs" /> | 130 | <Compile Include="AssemblyReader.cs" /> |
2583 | 131 | <Compile Include="AssemblyResolver.cs" /> | 131 | <Compile Include="AssemblyResolver.cs" /> |
2584 | 132 | <Compile Include="ActionsHelper.cs" /> | 132 | <Compile Include="ActionsHelper.cs" /> |
2585 | 133 | <Compile Include="Builders\CombinatorialStrategy.cs" /> | 133 | <Compile Include="AsyncSynchronizationContext.cs" /> |
2586 | 134 | <Compile Include="Builders\CombinatorialTestCaseProvider.cs" /> | 134 | <Compile Include="Builders\CombinatorialStrategy.cs" /> |
2587 | 135 | <Compile Include="Builders\CombiningStrategy.cs" /> | 135 | <Compile Include="Builders\CombinatorialTestCaseProvider.cs" /> |
2588 | 136 | <Compile Include="Builders\DatapointProvider.cs" /> | 136 | <Compile Include="Builders\CombiningStrategy.cs" /> |
2589 | 137 | <Compile Include="Builders\InlineDataPointProvider.cs" /> | 137 | <Compile Include="Builders\DatapointProvider.cs" /> |
2590 | 138 | <Compile Include="Builders\LegacySuiteBuilder.cs" /> | 138 | <Compile Include="Builders\InlineDataPointProvider.cs" /> |
2591 | 139 | <Compile Include="Builders\NUnitTestCaseBuilder.cs" /> | 139 | <Compile Include="Builders\LegacySuiteBuilder.cs" /> |
2592 | 140 | <Compile Include="Builders\NUnitTestFixtureBuilder.cs" /> | 140 | <Compile Include="Builders\NUnitTestCaseBuilder.cs" /> |
2593 | 141 | <Compile Include="Builders\PairwiseStrategy.cs" /> | 141 | <Compile Include="Builders\NUnitTestFixtureBuilder.cs" /> |
2594 | 142 | <Compile Include="Builders\ProviderCache.cs" /> | 142 | <Compile Include="Builders\PairwiseStrategy.cs" /> |
2595 | 143 | <Compile Include="Builders\ProviderInfo.cs" /> | 143 | <Compile Include="Builders\ProviderCache.cs" /> |
2596 | 144 | <Compile Include="Builders\SequentialStrategy.cs" /> | 144 | <Compile Include="Builders\ProviderInfo.cs" /> |
2597 | 145 | <Compile Include="Builders\SetUpFixtureBuilder.cs" /> | 145 | <Compile Include="Builders\SequentialStrategy.cs" /> |
2598 | 146 | <Compile Include="Builders\TestAssemblyBuilder.cs" /> | 146 | <Compile Include="Builders\SetUpFixtureBuilder.cs" /> |
2599 | 147 | <Compile Include="Builders\TestCaseParameterProvider.cs" /> | 147 | <Compile Include="Builders\TestAssemblyBuilder.cs" /> |
2600 | 148 | <Compile Include="Builders\TestCaseSourceProvider.cs" /> | 148 | <Compile Include="Builders\TestCaseParameterProvider.cs" /> |
2601 | 149 | <Compile Include="Builders\ValueSourceProvider.cs" /> | 149 | <Compile Include="Builders\TestCaseSourceProvider.cs" /> |
2602 | 150 | <Compile Include="ContextDictionary.cs" /> | 150 | <Compile Include="Builders\ValueSourceProvider.cs" /> |
2603 | 151 | <Compile Include="CoreExtensions.cs" /> | 151 | <Compile Include="ContextDictionary.cs" /> |
2604 | 152 | <Compile Include="CultureDetector.cs" /> | 152 | <Compile Include="CoreExtensions.cs" /> |
2605 | 153 | <Compile Include="DirectorySwapper.cs" /> | 153 | <Compile Include="CultureDetector.cs" /> |
2606 | 154 | <Compile Include="DomainAgent.cs" /> | 154 | <Compile Include="DirectorySwapper.cs" /> |
2607 | 155 | <Compile Include="EventListenerTextWriter.cs" /> | 155 | <Compile Include="DomainAgent.cs" /> |
2608 | 156 | <Compile Include="EventPump.cs" /> | 156 | <Compile Include="EventListenerTextWriter.cs" /> |
2609 | 157 | <Compile Include="EventQueue.cs" /> | 157 | <Compile Include="EventPump.cs" /> |
2610 | 158 | <Compile Include="ExpectedExceptionProcessor.cs" /> | 158 | <Compile Include="EventQueue.cs" /> |
2611 | 159 | <Compile Include="Extensibility\DataPointProviders.cs" /> | 159 | <Compile Include="ExpectedExceptionProcessor.cs" /> |
2612 | 160 | <Compile Include="Extensibility\EventListenerCollection.cs" /> | 160 | <Compile Include="Extensibility\DataPointProviders.cs" /> |
2613 | 161 | <Compile Include="Extensibility\FrameworkRegistry.cs" /> | 161 | <Compile Include="Extensibility\EventListenerCollection.cs" /> |
2614 | 162 | <Compile Include="Extensibility\SuiteBuilderCollection.cs" /> | 162 | <Compile Include="Extensibility\FrameworkRegistry.cs" /> |
2615 | 163 | <Compile Include="Extensibility\TestCaseBuilderCollection.cs" /> | 163 | <Compile Include="Extensibility\SuiteBuilderCollection.cs" /> |
2616 | 164 | <Compile Include="Extensibility\TestCaseProviders.cs" /> | 164 | <Compile Include="Extensibility\TestCaseBuilderCollection.cs" /> |
2617 | 165 | <Compile Include="Extensibility\TestDecoratorCollection.cs" /> | 165 | <Compile Include="Extensibility\TestCaseProviders.cs" /> |
2618 | 166 | <Compile Include="ExtensionHost.cs" /> | 166 | <Compile Include="Extensibility\TestDecoratorCollection.cs" /> |
2619 | 167 | <Compile Include="ExtensionPoint.cs" /> | 167 | <Compile Include="ExtensionHost.cs" /> |
2620 | 168 | <Compile Include="IgnoreDecorator.cs" /> | 168 | <Compile Include="ExtensionPoint.cs" /> |
2621 | 169 | <Compile Include="InternalTrace.cs" /> | 169 | <Compile Include="IgnoreDecorator.cs" /> |
2622 | 170 | <Compile Include="InternalTraceWriter.cs" /> | 170 | <Compile Include="InternalTrace.cs" /> |
2623 | 171 | <Compile Include="InvalidSuiteException.cs" /> | 171 | <Compile Include="InternalTraceWriter.cs" /> |
2624 | 172 | <Compile Include="InvalidTestFixtureException.cs" /> | 172 | <Compile Include="InvalidSuiteException.cs" /> |
2625 | 173 | <Compile Include="LegacySuite.cs" /> | 173 | <Compile Include="InvalidTestFixtureException.cs" /> |
2626 | 174 | <Compile Include="Log4NetCapture.cs" /> | 174 | <Compile Include="LegacySuite.cs" /> |
2627 | 175 | <Compile Include="Logger.cs" /> | 175 | <Compile Include="Log4NetCapture.cs" /> |
2628 | 176 | <Compile Include="MethodHelper.cs" /> | 176 | <Compile Include="Logger.cs" /> |
2629 | 177 | <Compile Include="NamespaceSuite.cs" /> | 177 | <Compile Include="MethodHelper.cs" /> |
2630 | 178 | <Compile Include="NamespaceTreeBuilder.cs" /> | 178 | <Compile Include="NamespaceSuite.cs" /> |
2631 | 179 | <Compile Include="NoTestFixturesException.cs" /> | 179 | <Compile Include="NamespaceTreeBuilder.cs" /> |
2632 | 180 | <Compile Include="NullListener.cs" /> | 180 | <Compile Include="NoTestFixturesException.cs" /> |
2633 | 181 | <Compile Include="NUnitConfiguration.cs" /> | 181 | <Compile Include="NullListener.cs" /> |
2634 | 182 | <Compile Include="NUnitException.cs" /> | 182 | <Compile Include="NUnitAsyncTestMethod.cs" /> |
2635 | 183 | <Compile Include="NUnitFramework.cs" /> | 183 | <Compile Include="NUnitConfiguration.cs" /> |
2636 | 184 | <Compile Include="NUnitTestFixture.cs" /> | 184 | <Compile Include="NUnitException.cs" /> |
2637 | 185 | <Compile Include="NUnitTestMethod.cs" /> | 185 | <Compile Include="NUnitFramework.cs" /> |
2638 | 186 | <Compile Include="ParameterizedFixtureSuite.cs" /> | 186 | <Compile Include="NUnitTestFixture.cs" /> |
2639 | 187 | <Compile Include="ParameterizedTestMethodSuite.cs" /> | 187 | <Compile Include="NUnitTestMethod.cs" /> |
2640 | 188 | <Compile Include="PlatformHelper.cs" /> | 188 | <Compile Include="ParameterizedFixtureSuite.cs" /> |
2641 | 189 | <Compile Include="ProjectRootSuite.cs" /> | 189 | <Compile Include="ParameterizedTestMethodSuite.cs" /> |
2642 | 190 | <Compile Include="ProxyTestRunner.cs" /> | 190 | <Compile Include="PlatformHelper.cs" /> |
2643 | 191 | <Compile Include="QueuingEventListener.cs" /> | 191 | <Compile Include="ProjectRootSuite.cs" /> |
2644 | 192 | <Compile Include="Reflect.cs" /> | 192 | <Compile Include="ProxyTestRunner.cs" /> |
2645 | 193 | <Compile Include="RemoteTestRunner.cs" /> | 193 | <Compile Include="QueuingEventListener.cs" /> |
2646 | 194 | <Compile Include="SetUpFixture.cs" /> | 194 | <Compile Include="Reflect.cs" /> |
2647 | 195 | <Compile Include="SimpleTestRunner.cs" /> | 195 | <Compile Include="RemoteTestRunner.cs" /> |
2648 | 196 | <Compile Include="StringTextWriter.cs" /> | 196 | <Compile Include="SetUpFixture.cs" /> |
2649 | 197 | <Compile Include="SuiteBuilderAttribute.cs" /> | 197 | <Compile Include="SimpleTestRunner.cs" /> |
2650 | 198 | <Compile Include="TestAction.cs" /> | 198 | <Compile Include="StringTextWriter.cs" /> |
2651 | 199 | <Compile Include="TestAssembly.cs" /> | 199 | <Compile Include="SuiteBuilderAttribute.cs" /> |
2652 | 200 | <Compile Include="TestBuilderAttribute.cs" /> | 200 | <Compile Include="TestAction.cs" /> |
2653 | 201 | <Compile Include="TestCaseBuilderAttribute.cs" /> | 201 | <Compile Include="TestAssembly.cs" /> |
2654 | 202 | <Compile Include="TestDecoratorAttribute.cs" /> | 202 | <Compile Include="TestBuilderAttribute.cs" /> |
2655 | 203 | <Compile Include="TestExecutionContext.cs" /> | 203 | <Compile Include="TestCaseBuilderAttribute.cs" /> |
2656 | 204 | <Compile Include="TestFixture.cs" /> | 204 | <Compile Include="TestDecoratorAttribute.cs" /> |
2657 | 205 | <Compile Include="TestFixtureBuilder.cs" /> | 205 | <Compile Include="TestExecutionContext.cs" /> |
2658 | 206 | <Compile Include="TestMethod.cs" /> | 206 | <Compile Include="TestFixture.cs" /> |
2659 | 207 | <Compile Include="TestRunnerThread.cs" /> | 207 | <Compile Include="TestFixtureBuilder.cs" /> |
2660 | 208 | <Compile Include="TestSuite.cs" /> | 208 | <Compile Include="TestMethod.cs" /> |
2661 | 209 | <Compile Include="TestSuiteBuilder.cs" /> | 209 | <Compile Include="TestRunnerThread.cs" /> |
2662 | 210 | <Compile Include="TestThread.cs" /> | 210 | <Compile Include="TestSuite.cs" /> |
2663 | 211 | <Compile Include="TextCapture.cs" /> | 211 | <Compile Include="TestSuiteBuilder.cs" /> |
2664 | 212 | <Compile Include="ThreadedTestRunner.cs" /> | 212 | <Compile Include="TestThread.cs" /> |
2665 | 213 | <Compile Include="ThreadUtility.cs" /> | 213 | <Compile Include="TextCapture.cs" /> |
2666 | 214 | <Compile Include="TypeHelper.cs" /> | 214 | <Compile Include="ThreadedTestRunner.cs" /> |
2667 | 215 | </ItemGroup> | 215 | <Compile Include="ThreadUtility.cs" /> |
2668 | 216 | <ItemGroup> | 216 | <Compile Include="TypeHelper.cs" /> |
2669 | 217 | <None Include="nunit.core.build" /> | 217 | </ItemGroup> |
2670 | 218 | </ItemGroup> | 218 | <ItemGroup> |
2671 | 219 | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | 219 | <None Include="nunit.core.build" /> |
2672 | 220 | <PropertyGroup> | 220 | </ItemGroup> |
2673 | 221 | <PreBuildEvent> | 221 | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> |
2674 | 222 | </PreBuildEvent> | 222 | <PropertyGroup> |
2675 | 223 | <PostBuildEvent> | 223 | <PreBuildEvent> |
2676 | 224 | </PostBuildEvent> | 224 | </PreBuildEvent> |
2677 | 225 | </PropertyGroup> | 225 | <PostBuildEvent> |
2678 | 226 | </PostBuildEvent> | ||
2679 | 227 | </PropertyGroup> | ||
2680 | 226 | </Project> | 228 | </Project> |
2681 | 227 | \ No newline at end of file | 229 | \ No newline at end of file |
2682 | 228 | 230 | ||
2683 | === modified file 'src/NUnitCore/interfaces/RuntimeFramework.cs' | |||
2684 | --- src/NUnitCore/interfaces/RuntimeFramework.cs 2011-11-26 18:03:03 +0000 | |||
2685 | +++ src/NUnitCore/interfaces/RuntimeFramework.cs 2012-10-03 23:32:21 +0000 | |||
2686 | @@ -79,6 +79,8 @@ | |||
2687 | 79 | 79 | ||
2688 | 80 | if (version.Major == 3) | 80 | if (version.Major == 3) |
2689 | 81 | this.clrVersion = new Version(2, 0, 50727); | 81 | this.clrVersion = new Version(2, 0, 50727); |
2690 | 82 | if(version.Major == 4) | ||
2691 | 83 | this.clrVersion = new Version(4, 0, 30319); | ||
2692 | 82 | //else if (runtime == RuntimeType.Mono && version.Major == 1) | 84 | //else if (runtime == RuntimeType.Mono && version.Major == 1) |
2693 | 83 | //{ | 85 | //{ |
2694 | 84 | // if (version.Minor == 0) | 86 | // if (version.Minor == 0) |
2695 | 85 | 87 | ||
2696 | === added directory 'src/NUnitCore/tests-net45' | |||
2697 | === added file 'src/NUnitCore/tests-net45/NUnitAsyncTestMethodTests.cs' | |||
2698 | --- src/NUnitCore/tests-net45/NUnitAsyncTestMethodTests.cs 1970-01-01 00:00:00 +0000 | |||
2699 | +++ src/NUnitCore/tests-net45/NUnitAsyncTestMethodTests.cs 2012-10-03 23:32:21 +0000 | |||
2700 | @@ -0,0 +1,109 @@ | |||
2701 | 1 | #if NET_3_5 || NET_4_0 || NET_4_5 | ||
2702 | 2 | using System; | ||
2703 | 3 | using System.Collections; | ||
2704 | 4 | using System.Linq.Expressions; | ||
2705 | 5 | using System.Reflection; | ||
2706 | 6 | using System.Threading; | ||
2707 | 7 | using NUnit.Core; | ||
2708 | 8 | using NUnit.Core.Builders; | ||
2709 | 9 | using NUnit.Framework; | ||
2710 | 10 | using test_assembly_net45; | ||
2711 | 11 | |||
2712 | 12 | namespace nunit.core.tests.net45 | ||
2713 | 13 | { | ||
2714 | 14 | [TestFixture] | ||
2715 | 15 | public class NUnitAsyncTestMethodTests | ||
2716 | 16 | { | ||
2717 | 17 | private NUnitTestCaseBuilder _builder; | ||
2718 | 18 | |||
2719 | 19 | [SetUp] | ||
2720 | 20 | public void Setup() | ||
2721 | 21 | { | ||
2722 | 22 | _builder = new NUnitTestCaseBuilder(); | ||
2723 | 23 | } | ||
2724 | 24 | |||
2725 | 25 | public IEnumerable TestCases | ||
2726 | 26 | { | ||
2727 | 27 | get | ||
2728 | 28 | { | ||
2729 | 29 | yield return new object[] { Method("AsyncVoidSuccess"), ResultState.Success, 1 }; | ||
2730 | 30 | yield return new object[] { Method("AsyncVoidFailure"), ResultState.Failure, 1 }; | ||
2731 | 31 | yield return new object[] { Method("AsyncVoidError"), ResultState.Error, 0 }; | ||
2732 | 32 | |||
2733 | 33 | yield return new object[] { Method("AsyncTaskSuccess"), ResultState.Success, 1 }; | ||
2734 | 34 | yield return new object[] { Method("AsyncTaskFailure"), ResultState.Failure, 1 }; | ||
2735 | 35 | yield return new object[] { Method("AsyncTaskError"), ResultState.Error, 0 }; | ||
2736 | 36 | |||
2737 | 37 | yield return new object[] { Method("AsyncTaskResultSuccess"), ResultState.Success, 1 }; | ||
2738 | 38 | yield return new object[] { Method("AsyncTaskResultFailure"), ResultState.Failure, 1 }; | ||
2739 | 39 | yield return new object[] { Method("AsyncTaskResultError"), ResultState.Error, 0 }; | ||
2740 | 40 | |||
2741 | 41 | yield return new object[] { Method("AsyncTaskResultCheckSuccess"), ResultState.Success, 0 }; | ||
2742 | 42 | //yield return new object[] { Method("AsyncVoidTestCaseWithParametersSuccess(0, 0)), ResultState.Success, 1 }; | ||
2743 | 43 | yield return new object[] { Method("AsyncTaskResultCheckSuccessReturningNull"), ResultState.Success, 0 }; | ||
2744 | 44 | yield return new object[] { Method("AsyncTaskResultCheckFailure"), ResultState.Failure, 0 }; | ||
2745 | 45 | yield return new object[] { Method("AsyncTaskResultCheckError"), ResultState.Failure, 0 }; | ||
2746 | 46 | |||
2747 | 47 | yield return new object[] { Method("AsyncVoidExpectedException"), ResultState.Success, 0 }; | ||
2748 | 48 | yield return new object[] { Method("AsyncTaskExpectedException"), ResultState.Success, 0 }; | ||
2749 | 49 | yield return new object[] { Method("AsyncTaskResultExpectedException"), ResultState.Success, 0 }; | ||
2750 | 50 | |||
2751 | 51 | yield return new object[] { Method("NestedAsyncVoidSuccess"), ResultState.Success, 1 }; | ||
2752 | 52 | yield return new object[] { Method("NestedAsyncVoidFailure"), ResultState.Failure, 1 }; | ||
2753 | 53 | yield return new object[] { Method("NestedAsyncVoidError"), ResultState.Error, 0 }; | ||
2754 | 54 | |||
2755 | 55 | yield return new object[] { Method("NestedAsyncTaskSuccess"), ResultState.Success, 1 }; | ||
2756 | 56 | yield return new object[] { Method("NestedAsyncTaskFailure"), ResultState.Failure, 1 }; | ||
2757 | 57 | yield return new object[] { Method("NestedAsyncTaskError"), ResultState.Error, 0 }; | ||
2758 | 58 | |||
2759 | 59 | yield return new object[] { Method("AsyncVoidMultipleSuccess"), ResultState.Success, 1 }; | ||
2760 | 60 | yield return new object[] { Method("AsyncVoidMultipleFailure"), ResultState.Failure, 1 }; | ||
2761 | 61 | yield return new object[] { Method("AsyncVoidMultipleError"), ResultState.Error, 0 }; | ||
2762 | 62 | |||
2763 | 63 | yield return new object[] { Method("AsyncTaskMultipleSuccess"), ResultState.Success, 1 }; | ||
2764 | 64 | yield return new object[] { Method("AsyncTaskMultipleFailure"), ResultState.Failure, 1 }; | ||
2765 | 65 | yield return new object[] { Method("AsyncTaskMultipleError"), ResultState.Error, 0 }; | ||
2766 | 66 | } | ||
2767 | 67 | } | ||
2768 | 68 | |||
2769 | 69 | [Test] | ||
2770 | 70 | [TestCaseSource("TestCases")] | ||
2771 | 71 | public void RunTests(MethodInfo testMethod, ResultState resultState, int assertionCount) | ||
2772 | 72 | { | ||
2773 | 73 | var method = _builder.BuildFrom(testMethod); | ||
2774 | 74 | |||
2775 | 75 | var result = method.Run(new NullListener(), TestFilter.Empty); | ||
2776 | 76 | |||
2777 | 77 | Assert.That(result.Executed, Is.True, "Was not executed"); | ||
2778 | 78 | Assert.That(result.ResultState, Is.EqualTo(resultState), "Wrong result state"); | ||
2779 | 79 | Assert.That(result.AssertCount, Is.EqualTo(assertionCount), "Wrong assertion count"); | ||
2780 | 80 | } | ||
2781 | 81 | |||
2782 | 82 | [Test] | ||
2783 | 83 | public void SynchronizationContextSwitching() | ||
2784 | 84 | { | ||
2785 | 85 | var context = new CustomSynchronizationContext(); | ||
2786 | 86 | |||
2787 | 87 | SynchronizationContext.SetSynchronizationContext(context); | ||
2788 | 88 | |||
2789 | 89 | var method = _builder.BuildFrom(Method("AsyncVoidAssertSynchrnoizationContext")); | ||
2790 | 90 | |||
2791 | 91 | var result = method.Run(new NullListener(), TestFilter.Empty); | ||
2792 | 92 | |||
2793 | 93 | Assert.AreSame(context, SynchronizationContext.Current); | ||
2794 | 94 | Assert.That(result.Executed, Is.True, "Was not executed"); | ||
2795 | 95 | Assert.That(result.ResultState, Is.EqualTo(ResultState.Success), "Wrong result state"); | ||
2796 | 96 | Assert.That(result.AssertCount, Is.EqualTo(1), "Wrong assertion count"); | ||
2797 | 97 | } | ||
2798 | 98 | |||
2799 | 99 | private static MethodInfo Method(string name) | ||
2800 | 100 | { | ||
2801 | 101 | return typeof (AsyncRealFixture).GetMethod(name); | ||
2802 | 102 | } | ||
2803 | 103 | |||
2804 | 104 | public class CustomSynchronizationContext : SynchronizationContext | ||
2805 | 105 | { | ||
2806 | 106 | } | ||
2807 | 107 | } | ||
2808 | 108 | } | ||
2809 | 109 | #endif | ||
2810 | 0 | \ No newline at end of file | 110 | \ No newline at end of file |
2811 | 1 | 111 | ||
2812 | === added file 'src/NUnitCore/tests-net45/NUnitTestCaseBuilderTests.cs' | |||
2813 | --- src/NUnitCore/tests-net45/NUnitTestCaseBuilderTests.cs 1970-01-01 00:00:00 +0000 | |||
2814 | +++ src/NUnitCore/tests-net45/NUnitTestCaseBuilderTests.cs 2012-10-03 23:32:21 +0000 | |||
2815 | @@ -0,0 +1,108 @@ | |||
2816 | 1 | #if NET_3_5 || NET_4_0 || NET_4_5 | ||
2817 | 2 | using System.Reflection; | ||
2818 | 3 | using NUnit.Core; | ||
2819 | 4 | using NUnit.Core.Builders; | ||
2820 | 5 | using NUnit.Framework; | ||
2821 | 6 | using test_assembly_net45; | ||
2822 | 7 | |||
2823 | 8 | namespace nunit.core.tests.net45 | ||
2824 | 9 | { | ||
2825 | 10 | [TestFixture] | ||
2826 | 11 | public class NUnitTestCaseBuilderTests | ||
2827 | 12 | { | ||
2828 | 13 | private NUnitTestCaseBuilder _sut; | ||
2829 | 14 | |||
2830 | 15 | [SetUp] | ||
2831 | 16 | public void Setup() | ||
2832 | 17 | { | ||
2833 | 18 | _sut = new NUnitTestCaseBuilder(); | ||
2834 | 19 | } | ||
2835 | 20 | |||
2836 | 21 | [Test] | ||
2837 | 22 | public void Async_void() | ||
2838 | 23 | { | ||
2839 | 24 | var built = _sut.BuildFrom(Method("Void")); | ||
2840 | 25 | |||
2841 | 26 | Assert.That(built, Is.InstanceOf<NUnitAsyncTestMethod>()); | ||
2842 | 27 | Assert.That(built.RunState, Is.EqualTo(RunState.Runnable)); | ||
2843 | 28 | } | ||
2844 | 29 | |||
2845 | 30 | [Test] | ||
2846 | 31 | public void Async_task() | ||
2847 | 32 | { | ||
2848 | 33 | var built = _sut.BuildFrom(Method("PlainTask")); | ||
2849 | 34 | |||
2850 | 35 | Assert.That(built, Is.InstanceOf<NUnitAsyncTestMethod>()); | ||
2851 | 36 | Assert.That(built.RunState, Is.EqualTo(RunState.Runnable)); | ||
2852 | 37 | } | ||
2853 | 38 | |||
2854 | 39 | [Test] | ||
2855 | 40 | public void Async_task_testcase_result_check() | ||
2856 | 41 | { | ||
2857 | 42 | var built = _sut.BuildFrom(Method("AsyncTaskTestCase")); | ||
2858 | 43 | |||
2859 | 44 | var testMethod = built.Tests[0] as NUnitAsyncTestMethod; | ||
2860 | 45 | |||
2861 | 46 | Assert.IsNotNull(testMethod); | ||
2862 | 47 | |||
2863 | 48 | Assert.That(testMethod.RunState, Is.EqualTo(RunState.NotRunnable)); | ||
2864 | 49 | } | ||
2865 | 50 | |||
2866 | 51 | [Test] | ||
2867 | 52 | public void Async_void_testcase_result_check() | ||
2868 | 53 | { | ||
2869 | 54 | var built = _sut.BuildFrom(Method("AsyncTaskTestCase")); | ||
2870 | 55 | |||
2871 | 56 | var testMethod = built.Tests[0] as NUnitAsyncTestMethod; | ||
2872 | 57 | |||
2873 | 58 | Assert.IsNotNull(testMethod); | ||
2874 | 59 | |||
2875 | 60 | Assert.That(testMethod.RunState, Is.EqualTo(RunState.NotRunnable)); | ||
2876 | 61 | } | ||
2877 | 62 | |||
2878 | 63 | [Test] | ||
2879 | 64 | public void Async_task_with_result_testcase_result_check() | ||
2880 | 65 | { | ||
2881 | 66 | var built = _sut.BuildFrom(Method("AsyncTaskWithResultTestCase")); | ||
2882 | 67 | |||
2883 | 68 | var testMethod = built.Tests[0] as NUnitAsyncTestMethod; | ||
2884 | 69 | |||
2885 | 70 | Assert.IsNotNull(testMethod); | ||
2886 | 71 | |||
2887 | 72 | Assert.That(testMethod.RunState, Is.EqualTo(RunState.Runnable)); | ||
2888 | 73 | } | ||
2889 | 74 | |||
2890 | 75 | [Test] | ||
2891 | 76 | public void Async_task_with_result() | ||
2892 | 77 | { | ||
2893 | 78 | var built = _sut.BuildFrom(Method("TaskWithResult")); | ||
2894 | 79 | |||
2895 | 80 | Assert.That(built, Is.InstanceOf<NUnitAsyncTestMethod>()); | ||
2896 | 81 | Assert.That(built.RunState, Is.EqualTo(RunState.Runnable)); | ||
2897 | 82 | } | ||
2898 | 83 | |||
2899 | 84 | [Test] | ||
2900 | 85 | public void Non_async_task() | ||
2901 | 86 | { | ||
2902 | 87 | var built = _sut.BuildFrom(Method("NonAsyncTask")); | ||
2903 | 88 | |||
2904 | 89 | Assert.That(built, Is.Not.InstanceOf<NUnitAsyncTestMethod>()); | ||
2905 | 90 | Assert.That(built.RunState, Is.EqualTo(RunState.NotRunnable)); | ||
2906 | 91 | } | ||
2907 | 92 | |||
2908 | 93 | [Test] | ||
2909 | 94 | public void Non_async_task_with_result() | ||
2910 | 95 | { | ||
2911 | 96 | var built = _sut.BuildFrom(Method("NonAsyncTaskWithResult")); | ||
2912 | 97 | |||
2913 | 98 | Assert.That(built, Is.Not.InstanceOf<NUnitAsyncTestMethod>()); | ||
2914 | 99 | Assert.That(built.RunState, Is.EqualTo(RunState.NotRunnable)); | ||
2915 | 100 | } | ||
2916 | 101 | |||
2917 | 102 | public MethodInfo Method(string name) | ||
2918 | 103 | { | ||
2919 | 104 | return typeof (AsyncDummyFixture).GetMethod(name); | ||
2920 | 105 | } | ||
2921 | 106 | } | ||
2922 | 107 | } | ||
2923 | 108 | #endif | ||
2924 | 0 | \ No newline at end of file | 109 | \ No newline at end of file |
2925 | 1 | 110 | ||
2926 | === added directory 'src/NUnitCore/tests-net45/Properties' | |||
2927 | === added file 'src/NUnitCore/tests-net45/nunit.core.tests.net45.build' | |||
2928 | --- src/NUnitCore/tests-net45/nunit.core.tests.net45.build 1970-01-01 00:00:00 +0000 | |||
2929 | +++ src/NUnitCore/tests-net45/nunit.core.tests.net45.build 2012-10-03 23:32:21 +0000 | |||
2930 | @@ -0,0 +1,48 @@ | |||
2931 | 1 | <?xml version="1.0"?> | ||
2932 | 2 | <project name="NUnitCoreTestsNet45" default="build" basedir="."> | ||
2933 | 3 | |||
2934 | 4 | <patternset id="source-files"> | ||
2935 | 5 | <include name="NUnitTestCaseBuilderTests.cs"/> | ||
2936 | 6 | <include name="NUnitAsyncTestMethodTests.cs"/> | ||
2937 | 7 | </patternset> | ||
2938 | 8 | |||
2939 | 9 | <target name="build"> | ||
2940 | 10 | <property name="previousFramework" value="${nant.settings.currentframework}"/> | ||
2941 | 11 | <property name="nant.settings.currentframework" value="net-4.5"/> | ||
2942 | 12 | <csc target="library" | ||
2943 | 13 | output="${current.test.dir}/nunit.core.tests.net45.dll" | ||
2944 | 14 | debug="${build.debug}" | ||
2945 | 15 | define="${build.defines}"> | ||
2946 | 16 | <nowarn> | ||
2947 | 17 | <warning number="618,672"/> | ||
2948 | 18 | </nowarn> | ||
2949 | 19 | <sources> | ||
2950 | 20 | <patternset refid="source-files"/> | ||
2951 | 21 | <include name="../../GeneratedAssemblyInfo.cs"/> | ||
2952 | 22 | </sources> | ||
2953 | 23 | <resources prefix="NUnit.Core.Tests.45"> | ||
2954 | 24 | <include name="Results.xsd"/> | ||
2955 | 25 | </resources> | ||
2956 | 26 | <references> | ||
2957 | 27 | <include name="${current.framework.dir}/nunit.framework.dll"/> | ||
2958 | 28 | <include name="${current.lib.dir}/nunit.core.interfaces.dll"/> | ||
2959 | 29 | <include name="${current.lib.dir}/nunit.core.dll"/> | ||
2960 | 30 | <include name="${current.lib.dir}/nunit.util.dll"/> | ||
2961 | 31 | <include name="${current.test.dir}/test-assembly-net45.dll"/> | ||
2962 | 32 | </references> | ||
2963 | 33 | </csc> | ||
2964 | 34 | <property name="nant.settings.currentframework" value="${previousFramework}"/> | ||
2965 | 35 | </target> | ||
2966 | 36 | |||
2967 | 37 | <target name="package"> | ||
2968 | 38 | <copy todir="${package.src.dir}/NUnitCore/tests-net45"> | ||
2969 | 39 | <fileset> | ||
2970 | 40 | <patternset refid="source-files"/> | ||
2971 | 41 | <include name="Results.xsd"/> | ||
2972 | 42 | <include name="nunit.core.tests.net45.csproj"/> | ||
2973 | 43 | <include name="nunit.core.tests.net45.build"/> | ||
2974 | 44 | </fileset> | ||
2975 | 45 | </copy> | ||
2976 | 46 | </target> | ||
2977 | 47 | |||
2978 | 48 | </project> | ||
2979 | 0 | \ No newline at end of file | 49 | \ No newline at end of file |
2980 | 1 | 50 | ||
2981 | === added file 'src/NUnitCore/tests-net45/nunit.core.tests.net45.csproj' | |||
2982 | --- src/NUnitCore/tests-net45/nunit.core.tests.net45.csproj 1970-01-01 00:00:00 +0000 | |||
2983 | +++ src/NUnitCore/tests-net45/nunit.core.tests.net45.csproj 2012-10-03 23:32:21 +0000 | |||
2984 | @@ -0,0 +1,84 @@ | |||
2985 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
2986 | 2 | <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
2987 | 3 | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
2988 | 4 | <PropertyGroup> | ||
2989 | 5 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
2990 | 6 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
2991 | 7 | <ProjectGuid>{689A54F0-2B54-4D15-96A7-D8B6E6FE32B1}</ProjectGuid> | ||
2992 | 8 | <OutputType>Library</OutputType> | ||
2993 | 9 | <AppDesignerFolder>Properties</AppDesignerFolder> | ||
2994 | 10 | <RootNamespace>nunit.core.tests.net45</RootNamespace> | ||
2995 | 11 | <AssemblyName>nunit.core.tests.45</AssemblyName> | ||
2996 | 12 | <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
2997 | 13 | <FileAlignment>512</FileAlignment> | ||
2998 | 14 | <TargetFrameworkProfile /> | ||
2999 | 15 | </PropertyGroup> | ||
3000 | 16 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
3001 | 17 | <DebugSymbols>true</DebugSymbols> | ||
3002 | 18 | <DebugType>full</DebugType> | ||
3003 | 19 | <Optimize>false</Optimize> | ||
3004 | 20 | <OutputPath>..\..\..\bin\Debug\tests\</OutputPath> | ||
3005 | 21 | <DefineConstants>TRACE;DEBUG;CLR_2_0,NET_3_5,CS_3_0,CLR_4_0,NET_4_0,NET_4_5</DefineConstants> | ||
3006 | 22 | <ErrorReport>prompt</ErrorReport> | ||
3007 | 23 | <WarningLevel>4</WarningLevel> | ||
3008 | 24 | <Prefer32Bit>false</Prefer32Bit> | ||
3009 | 25 | </PropertyGroup> | ||
3010 | 26 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
3011 | 27 | <DebugType>pdbonly</DebugType> | ||
3012 | 28 | <Optimize>true</Optimize> | ||
3013 | 29 | <OutputPath>bin\Release\</OutputPath> | ||
3014 | 30 | <DefineConstants>TRACE</DefineConstants> | ||
3015 | 31 | <ErrorReport>prompt</ErrorReport> | ||
3016 | 32 | <WarningLevel>4</WarningLevel> | ||
3017 | 33 | <Prefer32Bit>false</Prefer32Bit> | ||
3018 | 34 | </PropertyGroup> | ||
3019 | 35 | <ItemGroup> | ||
3020 | 36 | <Reference Include="System" /> | ||
3021 | 37 | <Reference Include="System.Core" /> | ||
3022 | 38 | <Reference Include="System.Xml.Linq" /> | ||
3023 | 39 | <Reference Include="System.Xml" /> | ||
3024 | 40 | </ItemGroup> | ||
3025 | 41 | <ItemGroup> | ||
3026 | 42 | <Compile Include="..\..\CommonAssemblyInfo.cs"> | ||
3027 | 43 | <Link>CommonAssemblyInfo.cs</Link> | ||
3028 | 44 | </Compile> | ||
3029 | 45 | <Compile Include="NUnitAsyncTestMethodTests.cs" /> | ||
3030 | 46 | <Compile Include="NUnitTestCaseBuilderTests.cs" /> | ||
3031 | 47 | </ItemGroup> | ||
3032 | 48 | <ItemGroup> | ||
3033 | 49 | <None Include="nunit.core.tests.net45.build" /> | ||
3034 | 50 | </ItemGroup> | ||
3035 | 51 | <ItemGroup> | ||
3036 | 52 | <Folder Include="Properties\" /> | ||
3037 | 53 | </ItemGroup> | ||
3038 | 54 | <ItemGroup> | ||
3039 | 55 | <ProjectReference Include="..\..\NUnitFramework\framework\nunit.framework.dll.csproj"> | ||
3040 | 56 | <Project>{83dd7e12-a705-4dba-9d71-09c8973d9382}</Project> | ||
3041 | 57 | <Name>nunit.framework.dll</Name> | ||
3042 | 58 | </ProjectReference> | ||
3043 | 59 | <ProjectReference Include="..\..\tests\test-assembly-net45\test-assembly-net45.csproj"> | ||
3044 | 60 | <Project>{74CCEAEA-CDBF-4FE0-BF0D-914C3C44ECE9}</Project> | ||
3045 | 61 | <Name>test-assembly-net45</Name> | ||
3046 | 62 | </ProjectReference> | ||
3047 | 63 | <ProjectReference Include="..\..\tests\test-assembly\test-assembly.csproj"> | ||
3048 | 64 | <Project>{1960CAC4-9A82-47C5-A9B3-55BC37572C3C}</Project> | ||
3049 | 65 | <Name>test-assembly</Name> | ||
3050 | 66 | </ProjectReference> | ||
3051 | 67 | <ProjectReference Include="..\core\nunit.core.dll.csproj"> | ||
3052 | 68 | <Project>{ebd43a7f-afca-4281-bb53-5cdd91f966a3}</Project> | ||
3053 | 69 | <Name>nunit.core.dll</Name> | ||
3054 | 70 | </ProjectReference> | ||
3055 | 71 | <ProjectReference Include="..\interfaces\nunit.core.interfaces.dll.csproj"> | ||
3056 | 72 | <Project>{435428f8-5995-4ce4-8022-93d595a8cc0f}</Project> | ||
3057 | 73 | <Name>nunit.core.interfaces.dll</Name> | ||
3058 | 74 | </ProjectReference> | ||
3059 | 75 | </ItemGroup> | ||
3060 | 76 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
3061 | 77 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
3062 | 78 | Other similar extension points exist, see Microsoft.Common.targets. | ||
3063 | 79 | <Target Name="BeforeBuild"> | ||
3064 | 80 | </Target> | ||
3065 | 81 | <Target Name="AfterBuild"> | ||
3066 | 82 | </Target> | ||
3067 | 83 | --> | ||
3068 | 84 | </Project> | ||
3069 | 0 | \ No newline at end of file | 85 | \ No newline at end of file |
3070 | 1 | 86 | ||
3071 | === modified file 'src/NUnitCore/tests/CoreExtensionsTests.cs' | |||
3072 | --- src/NUnitCore/tests/CoreExtensionsTests.cs 2011-03-30 20:37:44 +0000 | |||
3073 | +++ src/NUnitCore/tests/CoreExtensionsTests.cs 2012-10-03 23:32:21 +0000 | |||
3074 | @@ -6,7 +6,7 @@ | |||
3075 | 6 | using System; | 6 | using System; |
3076 | 7 | using System.Text; | 7 | using System.Text; |
3077 | 8 | using System.Reflection; | 8 | using System.Reflection; |
3079 | 9 | #if NET_3_5 || NET_4_0 | 9 | #if NET_3_5 || NET_4_0 || NET_4_5 |
3080 | 10 | using NSubstitute; | 10 | using NSubstitute; |
3081 | 11 | #endif | 11 | #endif |
3082 | 12 | using NUnit.Framework; | 12 | using NUnit.Framework; |
3083 | @@ -123,7 +123,7 @@ | |||
3084 | 123 | Assert.AreEqual("mock0mock1mock3cmock3bmock3amock5bmock5amock8mock9", sb.ToString()); | 123 | Assert.AreEqual("mock0mock1mock3cmock3bmock3amock5bmock5amock8mock9", sb.ToString()); |
3085 | 124 | } | 124 | } |
3086 | 125 | 125 | ||
3088 | 126 | #if NET_3_5 || NET_4_0 | 126 | #if NET_3_5 || NET_4_0 || NET_4_5 |
3089 | 127 | [Test, Platform("Net-3.5,Mono-3.5,Net-4.0")] | 127 | [Test, Platform("Net-3.5,Mono-3.5,Net-4.0")] |
3090 | 128 | public void CanAddDecorator() | 128 | public void CanAddDecorator() |
3091 | 129 | { | 129 | { |
3092 | 130 | 130 | ||
3093 | === modified file 'src/NUnitCore/tests/DatapointTests.cs' | |||
3094 | --- src/NUnitCore/tests/DatapointTests.cs 2012-02-21 03:31:35 +0000 | |||
3095 | +++ src/NUnitCore/tests/DatapointTests.cs 2012-10-03 23:32:21 +0000 | |||
3096 | @@ -50,7 +50,7 @@ | |||
3097 | 50 | } | 50 | } |
3098 | 51 | 51 | ||
3099 | 52 | #if CLR_2_0 || CLR_4_0 | 52 | #if CLR_2_0 || CLR_4_0 |
3101 | 53 | #if CS_3_0 || CS_4_0 | 53 | #if CS_3_0 || CS_4_0 || CS_5_0 |
3102 | 54 | [Test] | 54 | [Test] |
3103 | 55 | public void WorksOnIEnumerableOfT() | 55 | public void WorksOnIEnumerableOfT() |
3104 | 56 | { | 56 | { |
3105 | 57 | 57 | ||
3106 | === modified file 'src/NUnitCore/tests/PlatformDetectionTests.cs' | |||
3107 | --- src/NUnitCore/tests/PlatformDetectionTests.cs 2011-11-02 23:34:22 +0000 | |||
3108 | +++ src/NUnitCore/tests/PlatformDetectionTests.cs 2012-10-03 23:32:21 +0000 | |||
3109 | @@ -5,7 +5,8 @@ | |||
3110 | 5 | // **************************************************************** | 5 | // **************************************************************** |
3111 | 6 | 6 | ||
3112 | 7 | using System; | 7 | using System; |
3114 | 8 | using System.Collections; | 8 | using System.Collections; |
3115 | 9 | using System.Diagnostics; | ||
3116 | 9 | using NUnit.Framework; | 10 | using NUnit.Framework; |
3117 | 10 | 11 | ||
3118 | 11 | namespace NUnit.Core.Tests | 12 | namespace NUnit.Core.Tests |
3119 | @@ -39,7 +40,7 @@ | |||
3120 | 39 | CheckPlatforms( | 40 | CheckPlatforms( |
3121 | 40 | new PlatformHelper( OSPlatform.CurrentPlatform, runtimeFramework ), | 41 | new PlatformHelper( OSPlatform.CurrentPlatform, runtimeFramework ), |
3122 | 41 | expectedPlatforms, | 42 | expectedPlatforms, |
3124 | 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" ); |
3125 | 43 | } | 44 | } |
3126 | 44 | 45 | ||
3127 | 45 | private void CheckPlatforms( PlatformHelper helper, | 46 | private void CheckPlatforms( PlatformHelper helper, |
3128 | @@ -239,12 +240,20 @@ | |||
3129 | 239 | } | 240 | } |
3130 | 240 | 241 | ||
3131 | 241 | [Test] | 242 | [Test] |
3134 | 242 | public void DetectNet40() | 243 | public void DetectNet40() |
3135 | 243 | { | 244 | { |
3136 | 244 | CheckRuntimePlatforms( | 245 | CheckRuntimePlatforms( |
3137 | 245 | new RuntimeFramework(RuntimeType.Net, new Version(4, 0, 30319, 0)), | 246 | new RuntimeFramework(RuntimeType.Net, new Version(4, 0, 30319, 0)), |
3138 | 246 | "Net,Net-4.0"); | 247 | "Net,Net-4.0"); |
3140 | 247 | } | 248 | } |
3141 | 249 | |||
3142 | 250 | [Test] | ||
3143 | 251 | public void DetectNet45() | ||
3144 | 252 | { | ||
3145 | 253 | CheckRuntimePlatforms( | ||
3146 | 254 | new RuntimeFramework(RuntimeType.Net, new Version(4, 5)), | ||
3147 | 255 | "Net,Net-4.0,Net-4.5"); | ||
3148 | 256 | } | ||
3149 | 248 | 257 | ||
3150 | 249 | [Test] | 258 | [Test] |
3151 | 250 | public void DetectNetCF() | 259 | public void DetectNetCF() |
3152 | 251 | 260 | ||
3153 | === modified file 'src/NUnitCore/tests/RuntimeFrameworkTests.cs' | |||
3154 | --- src/NUnitCore/tests/RuntimeFrameworkTests.cs 2012-02-21 03:31:35 +0000 | |||
3155 | +++ src/NUnitCore/tests/RuntimeFrameworkTests.cs 2012-10-03 23:32:21 +0000 | |||
3156 | @@ -4,7 +4,8 @@ | |||
3157 | 4 | // obtain a copy of the license at http://nunit.org | 4 | // obtain a copy of the license at http://nunit.org |
3158 | 5 | // **************************************************************** | 5 | // **************************************************************** |
3159 | 6 | 6 | ||
3161 | 7 | using System; | 7 | using System; |
3162 | 8 | using System.Diagnostics; | ||
3163 | 8 | using NUnit.Framework; | 9 | using NUnit.Framework; |
3164 | 9 | 10 | ||
3165 | 10 | namespace NUnit.Core.Tests | 11 | namespace NUnit.Core.Tests |
3166 | @@ -18,9 +19,9 @@ | |||
3167 | 18 | [Test] | 19 | [Test] |
3168 | 19 | public void CanGetCurrentFramework() | 20 | public void CanGetCurrentFramework() |
3169 | 20 | { | 21 | { |
3171 | 21 | RuntimeFramework framework = RuntimeFramework.CurrentFramework; | 22 | RuntimeFramework framework = RuntimeFramework.CurrentFramework; |
3172 | 22 | 23 | ||
3174 | 23 | Assert.That(framework.Runtime, Is.EqualTo(currentRuntime)); | 24 | Assert.That(framework.Runtime, Is.EqualTo(currentRuntime)); |
3175 | 24 | Assert.That(framework.ClrVersion, Is.EqualTo(Environment.Version)); | 25 | Assert.That(framework.ClrVersion, Is.EqualTo(Environment.Version)); |
3176 | 25 | } | 26 | } |
3177 | 26 | 27 | ||
3178 | 27 | 28 | ||
3179 | === modified file 'src/NUnitCore/tests/TestRunnerThreadTests.cs' | |||
3180 | --- src/NUnitCore/tests/TestRunnerThreadTests.cs 2012-01-10 23:03:38 +0000 | |||
3181 | +++ src/NUnitCore/tests/TestRunnerThreadTests.cs 2012-10-03 23:32:21 +0000 | |||
3182 | @@ -4,7 +4,7 @@ | |||
3183 | 4 | // obtain a copy of the license at http://nunit.org | 4 | // obtain a copy of the license at http://nunit.org |
3184 | 5 | // **************************************************************** | 5 | // **************************************************************** |
3185 | 6 | 6 | ||
3187 | 7 | #if NET_3_5 || NET_4_0 | 7 | #if NET_3_5 || NET_4_0 || NET_4_5 |
3188 | 8 | using System; | 8 | using System; |
3189 | 9 | using System.Threading; | 9 | using System.Threading; |
3190 | 10 | using NSubstitute; | 10 | using NSubstitute; |
3191 | 11 | 11 | ||
3192 | === modified file 'src/NUnitCore/tests/nunit.core.tests.csproj' | |||
3193 | --- src/NUnitCore/tests/nunit.core.tests.csproj 2012-08-08 03:34:12 +0000 | |||
3194 | +++ src/NUnitCore/tests/nunit.core.tests.csproj 2012-10-03 23:32:21 +0000 | |||
3195 | @@ -1,254 +1,256 @@ | |||
3449 | 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
3450 | 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"> |
3451 | 3 | <PropertyGroup> | 3 | <PropertyGroup> |
3452 | 4 | <ProjectType>Local</ProjectType> | 4 | <ProjectType>Local</ProjectType> |
3453 | 5 | <ProductVersion>9.0.30729</ProductVersion> | 5 | <ProductVersion>9.0.30729</ProductVersion> |
3454 | 6 | <SchemaVersion>2.0</SchemaVersion> | 6 | <SchemaVersion>2.0</SchemaVersion> |
3455 | 7 | <ProjectGuid>{DD758D21-E5D5-4D40-9450-5F65A32F359C}</ProjectGuid> | 7 | <ProjectGuid>{DD758D21-E5D5-4D40-9450-5F65A32F359C}</ProjectGuid> |
3456 | 8 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 8 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
3457 | 9 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | 9 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
3458 | 10 | <AssemblyKeyContainerName> | 10 | <AssemblyKeyContainerName> |
3459 | 11 | </AssemblyKeyContainerName> | 11 | </AssemblyKeyContainerName> |
3460 | 12 | <AssemblyName>nunit.core.tests</AssemblyName> | 12 | <AssemblyName>nunit.core.tests</AssemblyName> |
3461 | 13 | <DefaultClientScript>JScript</DefaultClientScript> | 13 | <DefaultClientScript>JScript</DefaultClientScript> |
3462 | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | 14 | <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> |
3463 | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> | 15 | <DefaultTargetSchema>IE50</DefaultTargetSchema> |
3464 | 16 | <DelaySign>false</DelaySign> | 16 | <DelaySign>false</DelaySign> |
3465 | 17 | <OutputType>Library</OutputType> | 17 | <OutputType>Library</OutputType> |
3466 | 18 | <RootNamespace>NUnit.Core.Tests</RootNamespace> | 18 | <RootNamespace>NUnit.Core.Tests</RootNamespace> |
3467 | 19 | <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent> | 19 | <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent> |
3468 | 20 | <FileUpgradeFlags> | 20 | <FileUpgradeFlags> |
3469 | 21 | </FileUpgradeFlags> | 21 | </FileUpgradeFlags> |
3470 | 22 | <UpgradeBackupLocation> | 22 | <UpgradeBackupLocation> |
3471 | 23 | </UpgradeBackupLocation> | 23 | </UpgradeBackupLocation> |
3472 | 24 | <OldToolsVersion>3.5</OldToolsVersion> | 24 | <OldToolsVersion>3.5</OldToolsVersion> |
3473 | 25 | <IsWebBootstrapper>true</IsWebBootstrapper> | 25 | <IsWebBootstrapper>true</IsWebBootstrapper> |
3474 | 26 | <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> | 26 | <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> |
3475 | 27 | <PublishUrl>http://localhost/nunit.core.tests/</PublishUrl> | 27 | <PublishUrl>http://localhost/nunit.core.tests/</PublishUrl> |
3476 | 28 | <Install>true</Install> | 28 | <Install>true</Install> |
3477 | 29 | <InstallFrom>Web</InstallFrom> | 29 | <InstallFrom>Web</InstallFrom> |
3478 | 30 | <UpdateEnabled>true</UpdateEnabled> | 30 | <UpdateEnabled>true</UpdateEnabled> |
3479 | 31 | <UpdateMode>Foreground</UpdateMode> | 31 | <UpdateMode>Foreground</UpdateMode> |
3480 | 32 | <UpdateInterval>7</UpdateInterval> | 32 | <UpdateInterval>7</UpdateInterval> |
3481 | 33 | <UpdateIntervalUnits>Days</UpdateIntervalUnits> | 33 | <UpdateIntervalUnits>Days</UpdateIntervalUnits> |
3482 | 34 | <UpdatePeriodically>false</UpdatePeriodically> | 34 | <UpdatePeriodically>false</UpdatePeriodically> |
3483 | 35 | <UpdateRequired>false</UpdateRequired> | 35 | <UpdateRequired>false</UpdateRequired> |
3484 | 36 | <MapFileExtensions>true</MapFileExtensions> | 36 | <MapFileExtensions>true</MapFileExtensions> |
3485 | 37 | <ApplicationRevision>0</ApplicationRevision> | 37 | <ApplicationRevision>0</ApplicationRevision> |
3486 | 38 | <ApplicationVersion>1.0.0.%2a</ApplicationVersion> | 38 | <ApplicationVersion>1.0.0.%2a</ApplicationVersion> |
3487 | 39 | <UseApplicationTrust>false</UseApplicationTrust> | 39 | <UseApplicationTrust>false</UseApplicationTrust> |
3488 | 40 | <BootstrapperEnabled>true</BootstrapperEnabled> | 40 | <BootstrapperEnabled>true</BootstrapperEnabled> |
3489 | 41 | </PropertyGroup> | 41 | </PropertyGroup> |
3490 | 42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | 42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
3491 | 43 | <OutputPath>..\..\..\bin\Debug\tests\</OutputPath> | 43 | <OutputPath>..\..\..\bin\Debug\tests\</OutputPath> |
3492 | 44 | <BaseAddress>285212672</BaseAddress> | 44 | <BaseAddress>285212672</BaseAddress> |
3493 | 45 | <ConfigurationOverrideFile> | 45 | <ConfigurationOverrideFile> |
3494 | 46 | </ConfigurationOverrideFile> | 46 | </ConfigurationOverrideFile> |
3495 | 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> |
3496 | 48 | <DocumentationFile> | 48 | <DocumentationFile> |
3497 | 49 | </DocumentationFile> | 49 | </DocumentationFile> |
3498 | 50 | <DebugSymbols>true</DebugSymbols> | 50 | <DebugSymbols>true</DebugSymbols> |
3499 | 51 | <FileAlignment>4096</FileAlignment> | 51 | <FileAlignment>4096</FileAlignment> |
3500 | 52 | <NoWarn>618</NoWarn> | 52 | <NoWarn>618</NoWarn> |
3501 | 53 | <Optimize>false</Optimize> | 53 | <Optimize>false</Optimize> |
3502 | 54 | <RegisterForComInterop>false</RegisterForComInterop> | 54 | <RegisterForComInterop>false</RegisterForComInterop> |
3503 | 55 | <RemoveIntegerChecks>false</RemoveIntegerChecks> | 55 | <RemoveIntegerChecks>false</RemoveIntegerChecks> |
3504 | 56 | <WarningLevel>4</WarningLevel> | 56 | <WarningLevel>4</WarningLevel> |
3505 | 57 | <DebugType>full</DebugType> | 57 | <DebugType>full</DebugType> |
3506 | 58 | <ErrorReport>prompt</ErrorReport> | 58 | <ErrorReport>prompt</ErrorReport> |
3507 | 59 | <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> | 59 | <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> |
3508 | 60 | </PropertyGroup> | 60 | </PropertyGroup> |
3509 | 61 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | 61 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
3510 | 62 | <OutputPath>..\..\..\bin\Release\tests\</OutputPath> | 62 | <OutputPath>..\..\..\bin\Release\tests\</OutputPath> |
3511 | 63 | <BaseAddress>285212672</BaseAddress> | 63 | <BaseAddress>285212672</BaseAddress> |
3512 | 64 | <ConfigurationOverrideFile> | 64 | <ConfigurationOverrideFile> |
3513 | 65 | </ConfigurationOverrideFile> | 65 | </ConfigurationOverrideFile> |
3514 | 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> |
3515 | 67 | <DocumentationFile> | 67 | <DocumentationFile> |
3516 | 68 | </DocumentationFile> | 68 | </DocumentationFile> |
3517 | 69 | <FileAlignment>4096</FileAlignment> | 69 | <FileAlignment>4096</FileAlignment> |
3518 | 70 | <NoWarn>618</NoWarn> | 70 | <NoWarn>618</NoWarn> |
3519 | 71 | <Optimize>true</Optimize> | 71 | <Optimize>true</Optimize> |
3520 | 72 | <RegisterForComInterop>false</RegisterForComInterop> | 72 | <RegisterForComInterop>false</RegisterForComInterop> |
3521 | 73 | <RemoveIntegerChecks>false</RemoveIntegerChecks> | 73 | <RemoveIntegerChecks>false</RemoveIntegerChecks> |
3522 | 74 | <WarningLevel>4</WarningLevel> | 74 | <WarningLevel>4</WarningLevel> |
3523 | 75 | <DebugType>none</DebugType> | 75 | <DebugType>none</DebugType> |
3524 | 76 | <ErrorReport>prompt</ErrorReport> | 76 | <ErrorReport>prompt</ErrorReport> |
3525 | 77 | <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> | 77 | <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> |
3526 | 78 | </PropertyGroup> | 78 | </PropertyGroup> |
3527 | 79 | <ItemGroup> | 79 | <ItemGroup> |
3528 | 80 | <Reference Include="System"> | 80 | <Reference Include="System"> |
3529 | 81 | <Name>System</Name> | 81 | <Name>System</Name> |
3530 | 82 | </Reference> | 82 | </Reference> |
3531 | 83 | <Reference Include="System.Core"> | 83 | <Reference Include="System.Core"> |
3532 | 84 | <RequiredTargetFramework>3.5</RequiredTargetFramework> | 84 | <RequiredTargetFramework>3.5</RequiredTargetFramework> |
3533 | 85 | </Reference> | 85 | </Reference> |
3534 | 86 | <Reference Include="System.Data"> | 86 | <Reference Include="System.Data"> |
3535 | 87 | <Name>System.Data</Name> | 87 | <Name>System.Data</Name> |
3536 | 88 | </Reference> | 88 | </Reference> |
3537 | 89 | <Reference Include="System.Xml"> | 89 | <Reference Include="System.Xml"> |
3538 | 90 | <Name>System.XML</Name> | 90 | <Name>System.XML</Name> |
3539 | 91 | </Reference> | 91 | </Reference> |
3540 | 92 | <ProjectReference Include="..\..\ClientUtilities\util\nunit.util.dll.csproj"> | 92 | <ProjectReference Include="..\..\ClientUtilities\util\nunit.util.dll.csproj"> |
3541 | 93 | <Name>nunit.util.dll</Name> | 93 | <Name>nunit.util.dll</Name> |
3542 | 94 | <Project>{61CE9CE5-943E-44D4-A381-814DC1406767}</Project> | 94 | <Project>{61CE9CE5-943E-44D4-A381-814DC1406767}</Project> |
3543 | 95 | <Private>False</Private> | 95 | <Private>False</Private> |
3544 | 96 | </ProjectReference> | 96 | </ProjectReference> |
3545 | 97 | <ProjectReference Include="..\..\NUnitFramework\framework\nunit.framework.dll.csproj"> | 97 | <ProjectReference Include="..\..\NUnitFramework\framework\nunit.framework.dll.csproj"> |
3546 | 98 | <Name>nunit.framework.dll</Name> | 98 | <Name>nunit.framework.dll</Name> |
3547 | 99 | <Project>{83DD7E12-A705-4DBA-9D71-09C8973D9382}</Project> | 99 | <Project>{83DD7E12-A705-4DBA-9D71-09C8973D9382}</Project> |
3548 | 100 | </ProjectReference> | 100 | </ProjectReference> |
3549 | 101 | <ProjectReference Include="..\..\tests\mock-assembly\mock-assembly.csproj"> | 101 | <ProjectReference Include="..\..\tests\mock-assembly\mock-assembly.csproj"> |
3550 | 102 | <Name>mock-assembly</Name> | 102 | <Name>mock-assembly</Name> |
3551 | 103 | <Project>{2E368281-3BA8-4050-B05E-0E0E43F8F446}</Project> | 103 | <Project>{2E368281-3BA8-4050-B05E-0E0E43F8F446}</Project> |
3552 | 104 | <Private>False</Private> | 104 | <Private>False</Private> |
3553 | 105 | </ProjectReference> | 105 | </ProjectReference> |
3554 | 106 | <ProjectReference Include="..\..\tests\nonamespace-assembly\nonamespace-assembly.csproj"> | 106 | <ProjectReference Include="..\..\tests\nonamespace-assembly\nonamespace-assembly.csproj"> |
3555 | 107 | <Name>nonamespace-assembly</Name> | 107 | <Name>nonamespace-assembly</Name> |
3556 | 108 | <Project>{5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}</Project> | 108 | <Project>{5110F0D2-8E50-46F8-9E17-7C8EBFECCA9D}</Project> |
3557 | 109 | <Private>False</Private> | 109 | <Private>False</Private> |
3558 | 110 | </ProjectReference> | 110 | </ProjectReference> |
3559 | 111 | <ProjectReference Include="..\..\tests\test-assembly\test-assembly.csproj"> | 111 | <ProjectReference Include="..\..\tests\test-assembly\test-assembly.csproj"> |
3560 | 112 | <Name>test-assembly</Name> | 112 | <Name>test-assembly</Name> |
3561 | 113 | <Project>{1960CAC4-9A82-47C5-A9B3-55BC37572C3C}</Project> | 113 | <Project>{1960CAC4-9A82-47C5-A9B3-55BC37572C3C}</Project> |
3562 | 114 | </ProjectReference> | 114 | </ProjectReference> |
3563 | 115 | <ProjectReference Include="..\..\tests\test-utilities\test-utilities.csproj"> | 115 | <ProjectReference Include="..\..\tests\test-utilities\test-utilities.csproj"> |
3564 | 116 | <Name>test-utilities</Name> | 116 | <Name>test-utilities</Name> |
3565 | 117 | <Project>{3E63AD0F-24D4-46BE-BEE4-5A3299847D86}</Project> | 117 | <Project>{3E63AD0F-24D4-46BE-BEE4-5A3299847D86}</Project> |
3566 | 118 | </ProjectReference> | 118 | </ProjectReference> |
3567 | 119 | <ProjectReference Include="..\core\nunit.core.dll.csproj"> | 119 | <ProjectReference Include="..\core\nunit.core.dll.csproj"> |
3568 | 120 | <Name>nunit.core.dll</Name> | 120 | <Name>nunit.core.dll</Name> |
3569 | 121 | <Project>{EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}</Project> | 121 | <Project>{EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}</Project> |
3570 | 122 | <Private>False</Private> | 122 | <Private>False</Private> |
3571 | 123 | </ProjectReference> | 123 | </ProjectReference> |
3572 | 124 | <ProjectReference Include="..\interfaces\nunit.core.interfaces.dll.csproj"> | 124 | <ProjectReference Include="..\interfaces\nunit.core.interfaces.dll.csproj"> |
3573 | 125 | <Name>nunit.core.interfaces.dll</Name> | 125 | <Name>nunit.core.interfaces.dll</Name> |
3574 | 126 | <Project>{435428F8-5995-4CE4-8022-93D595A8CC0F}</Project> | 126 | <Project>{435428F8-5995-4CE4-8022-93D595A8CC0F}</Project> |
3575 | 127 | <Private>False</Private> | 127 | <Private>False</Private> |
3576 | 128 | </ProjectReference> | 128 | </ProjectReference> |
3577 | 129 | <Reference Include="NSubstitute"> | 129 | <Reference Include="NSubstitute"> |
3578 | 130 | <HintPath>..\..\..\lib\3.5\NSubstitute.dll</HintPath> | 130 | <HintPath>..\..\..\lib\3.5\NSubstitute.dll</HintPath> |
3579 | 131 | </Reference> | 131 | </Reference> |
3580 | 132 | </ItemGroup> | 132 | </ItemGroup> |
3581 | 133 | <ItemGroup> | 133 | <ItemGroup> |
3582 | 134 | <Compile Include="..\..\CommonAssemblyInfo.cs"> | 134 | <Compile Include="..\..\CommonAssemblyInfo.cs"> |
3583 | 135 | <Link>CommonAssemblyInfo.cs</Link> | 135 | <Link>CommonAssemblyInfo.cs</Link> |
3584 | 136 | </Compile> | 136 | </Compile> |
3585 | 137 | <Compile Include="ActionAttributeExceptionTests.cs" /> | 137 | <Compile Include="ActionAttributeExceptionTests.cs" /> |
3586 | 138 | <Compile Include="ActionAttributeTests.cs" /> | 138 | <Compile Include="ActionAttributeTests.cs" /> |
3587 | 139 | <Compile Include="AllTests.cs" /> | 139 | <Compile Include="AllTests.cs" /> |
3588 | 140 | <Compile Include="AssemblyHelperTests.cs" /> | 140 | <Compile Include="AssemblyHelperTests.cs" /> |
3589 | 141 | <Compile Include="AssemblyReaderTests.cs" /> | 141 | <Compile Include="AssemblyReaderTests.cs" /> |
3590 | 142 | <Compile Include="AssemblyResolverTests.cs" /> | 142 | <Compile Include="AssemblyResolverTests.cs" /> |
3591 | 143 | <Compile Include="AssemblyTests.cs" /> | 143 | <Compile Include="AssemblyTests.cs" /> |
3592 | 144 | <Compile Include="AssemblyVersionFixture.cs" /> | 144 | <Compile Include="AssemblyVersionFixture.cs" /> |
3593 | 145 | <Compile Include="AssertPassFixture.cs" /> | 145 | <Compile Include="AssertPassFixture.cs" /> |
3594 | 146 | <Compile Include="AttributeDescriptionFixture.cs" /> | 146 | <Compile Include="AttributeDescriptionFixture.cs" /> |
3595 | 147 | <Compile Include="AttributeInheritance.cs" /> | 147 | <Compile Include="AttributeInheritance.cs" /> |
3596 | 148 | <Compile Include="BasicRunnerTests.cs" /> | 148 | <Compile Include="BasicRunnerTests.cs" /> |
3597 | 149 | <Compile Include="CallContextTests.cs" /> | 149 | <Compile Include="CallContextTests.cs" /> |
3598 | 150 | <Compile Include="CategoryAttributeTests.cs" /> | 150 | <Compile Include="CategoryAttributeTests.cs" /> |
3599 | 151 | <Compile Include="CombinatorialTests.cs" /> | 151 | <Compile Include="CombinatorialTests.cs" /> |
3600 | 152 | <Compile Include="CoreExtensionsTests.cs" /> | 152 | <Compile Include="CoreExtensionsTests.cs" /> |
3601 | 153 | <Compile Include="CultureSettingAndDetectionTests.cs" /> | 153 | <Compile Include="CultureSettingAndDetectionTests.cs" /> |
3602 | 154 | <Compile Include="DatapointTests.cs" /> | 154 | <Compile Include="DatapointTests.cs" /> |
3603 | 155 | <Compile Include="DirectorySwapperTests.cs" /> | 155 | <Compile Include="DirectorySwapperTests.cs" /> |
3604 | 156 | <Compile Include="EventQueueTests.cs" /> | 156 | <Compile Include="EventQueueTests.cs" /> |
3605 | 157 | <Compile Include="EventTestFixture.cs" /> | 157 | <Compile Include="EventTestFixture.cs" /> |
3606 | 158 | <Compile Include="ExpectExceptionTest.cs" /> | 158 | <Compile Include="ExpectExceptionTest.cs" /> |
3607 | 159 | <Compile Include="FailFixture.cs" /> | 159 | <Compile Include="FailFixture.cs" /> |
3608 | 160 | <Compile Include="FixtureSetUpTearDownTest.cs" /> | 160 | <Compile Include="FixtureSetUpTearDownTest.cs" /> |
3609 | 161 | <Compile Include="Generic\DeduceTypeArgsFromArgs.cs" /> | 161 | <Compile Include="Generic\DeduceTypeArgsFromArgs.cs" /> |
3610 | 162 | <Compile Include="Generic\SimpleGenericFixture.cs" /> | 162 | <Compile Include="Generic\SimpleGenericFixture.cs" /> |
3611 | 163 | <Compile Include="Generic\SimpleGenericMethods.cs" /> | 163 | <Compile Include="Generic\SimpleGenericMethods.cs" /> |
3612 | 164 | <Compile Include="Generic\TypeParameterUsedWithTestMethod.cs" /> | 164 | <Compile Include="Generic\TypeParameterUsedWithTestMethod.cs" /> |
3613 | 165 | <Compile Include="IgnoreFixture.cs" /> | 165 | <Compile Include="IgnoreFixture.cs" /> |
3614 | 166 | <Compile Include="LegacySuiteTests.cs" /> | 166 | <Compile Include="LegacySuiteTests.cs" /> |
3615 | 167 | <Compile Include="MaxTimeTests.cs" /> | 167 | <Compile Include="MaxTimeTests.cs" /> |
3616 | 168 | <Compile Include="NameFilterTest.cs" /> | 168 | <Compile Include="NameFilterTest.cs" /> |
3617 | 169 | <Compile Include="NamespaceAssemblyTests.cs" /> | 169 | <Compile Include="NamespaceAssemblyTests.cs" /> |
3618 | 170 | <Compile Include="PairwiseTests.cs" /> | 170 | <Compile Include="PairwiseTests.cs" /> |
3619 | 171 | <Compile Include="ParameterizedTestFixtureTests.cs" /> | 171 | <Compile Include="ParameterizedTestFixtureTests.cs" /> |
3620 | 172 | <Compile Include="PlatformDetectionTests.cs" /> | 172 | <Compile Include="PlatformDetectionTests.cs" /> |
3621 | 173 | <Compile Include="PropertyAttributeTests.cs" /> | 173 | <Compile Include="PropertyAttributeTests.cs" /> |
3622 | 174 | <Compile Include="ReflectTests.cs" /> | 174 | <Compile Include="ReflectTests.cs" /> |
3623 | 175 | <Compile Include="RemoteRunnerTests.cs" /> | 175 | <Compile Include="RemoteRunnerTests.cs" /> |
3624 | 176 | <Compile Include="RepeatedTestFixture.cs" /> | 176 | <Compile Include="RepeatedTestFixture.cs" /> |
3625 | 177 | <Compile Include="RuntimeFrameworkTests.cs" /> | 177 | <Compile Include="RuntimeFrameworkTests.cs" /> |
3626 | 178 | <Compile Include="SerializationBug.cs" /> | 178 | <Compile Include="SerializationBug.cs" /> |
3627 | 179 | <Compile Include="SetCultureAttributeTests.cs" /> | 179 | <Compile Include="SetCultureAttributeTests.cs" /> |
3628 | 180 | <Compile Include="SetUpFixtureTests.cs" /> | 180 | <Compile Include="SetUpFixtureTests.cs" /> |
3629 | 181 | <Compile Include="SetUpTest.cs" /> | 181 | <Compile Include="SetUpTest.cs" /> |
3630 | 182 | <Compile Include="SimpleNameFilterTests.cs" /> | 182 | <Compile Include="SimpleNameFilterTests.cs" /> |
3631 | 183 | <Compile Include="SimpleTestRunnerTests.cs" /> | 183 | <Compile Include="SimpleTestRunnerTests.cs" /> |
3632 | 184 | <Compile Include="StackOverflowTestFixture.cs" /> | 184 | <Compile Include="StackOverflowTestFixture.cs" /> |
3633 | 185 | <Compile Include="SuiteBuilderTests.cs" /> | 185 | <Compile Include="SuiteBuilderTests.cs" /> |
3634 | 186 | <Compile Include="SuiteBuilderTests_Multiple.cs" /> | 186 | <Compile Include="SuiteBuilderTests_Multiple.cs" /> |
3635 | 187 | <Compile Include="TestAssemblyBuilderTests.cs" /> | 187 | <Compile Include="TestAssemblyBuilderTests.cs" /> |
3636 | 188 | <Compile Include="TestCaseAttributeTests.cs" /> | 188 | <Compile Include="TestCaseAttributeTests.cs" /> |
3637 | 189 | <Compile Include="TestCaseResultFixture.cs" /> | 189 | <Compile Include="TestCaseResultFixture.cs" /> |
3638 | 190 | <Compile Include="TestCaseSourceTests.cs" /> | 190 | <Compile Include="TestCaseSourceTests.cs" /> |
3639 | 191 | <Compile Include="TestCaseTest.cs" /> | 191 | <Compile Include="TestCaseTest.cs" /> |
3640 | 192 | <Compile Include="TestConsole.cs" /> | 192 | <Compile Include="TestConsole.cs" /> |
3641 | 193 | <Compile Include="TestContextTests.cs" /> | 193 | <Compile Include="TestContextTests.cs" /> |
3642 | 194 | <Compile Include="TestDelegateFixture.cs" /> | 194 | <Compile Include="TestDelegateFixture.cs" /> |
3643 | 195 | <Compile Include="TestExecutionContextTests.cs" /> | 195 | <Compile Include="TestExecutionContextTests.cs" /> |
3644 | 196 | <Compile Include="TestFixtureBuilderTests.cs" /> | 196 | <Compile Include="TestFixtureBuilderTests.cs" /> |
3645 | 197 | <Compile Include="TestFixtureExtension.cs" /> | 197 | <Compile Include="TestFixtureExtension.cs" /> |
3646 | 198 | <Compile Include="TestFixtureTests.cs" /> | 198 | <Compile Include="TestFixtureTests.cs" /> |
3647 | 199 | <Compile Include="TestFrameworkTests.cs" /> | 199 | <Compile Include="TestFrameworkTests.cs" /> |
3648 | 200 | <Compile Include="TestIDTests.cs" /> | 200 | <Compile Include="TestIDTests.cs" /> |
3649 | 201 | <Compile Include="TestInfoTests.cs" /> | 201 | <Compile Include="TestInfoTests.cs" /> |
3650 | 202 | <Compile Include="TestMethodSignatureTests.cs" /> | 202 | <Compile Include="TestMethodSignatureTests.cs" /> |
3651 | 203 | <Compile Include="TestNameTests.cs" /> | 203 | <Compile Include="TestNameTests.cs" /> |
3652 | 204 | <Compile Include="TestNodeTests.cs" /> | 204 | <Compile Include="TestNodeTests.cs" /> |
3653 | 205 | <Compile Include="TestRunnerThreadTests.cs" /> | 205 | <Compile Include="TestRunnerThreadTests.cs" /> |
3654 | 206 | <Compile Include="TestSuiteTest.cs" /> | 206 | <Compile Include="TestSuiteTest.cs" /> |
3655 | 207 | <Compile Include="TheoryTests.cs" /> | 207 | <Compile Include="TheoryTests.cs" /> |
3656 | 208 | <Compile Include="ThreadedTestRunnerTests.cs" /> | 208 | <Compile Include="ThreadedTestRunnerTests.cs" /> |
3657 | 209 | <Compile Include="ThreadingTests.cs" /> | 209 | <Compile Include="ThreadingTests.cs" /> |
3658 | 210 | <Compile Include="TypeHelperTests.cs" /> | 210 | <Compile Include="TypeHelperTests.cs" /> |
3659 | 211 | <Compile Include="UnhandledExceptionTests.cs" /> | 211 | <Compile Include="UnhandledExceptionTests.cs" /> |
3660 | 212 | <Compile Include="ValueSourceTests.cs" /> | 212 | <Compile Include="ValueSourceTests.cs" /> |
3661 | 213 | <Compile Include="XmlTest.cs" /> | 213 | <Compile Include="XmlTest.cs" /> |
3662 | 214 | <Compile Include="DirectoryChangeTests.cs" /> | 214 | <Compile Include="DirectoryChangeTests.cs" /> |
3663 | 215 | </ItemGroup> | 215 | </ItemGroup> |
3664 | 216 | <ItemGroup> | 216 | <ItemGroup> |
3665 | 217 | <BootstrapperPackage Include="Microsoft.Net.Client.3.5"> | 217 | <BootstrapperPackage Include="Microsoft.Net.Client.3.5"> |
3666 | 218 | <Visible>False</Visible> | 218 | <Visible>False</Visible> |
3667 | 219 | <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName> | 219 | <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName> |
3668 | 220 | <Install>false</Install> | 220 | <Install>false</Install> |
3669 | 221 | </BootstrapperPackage> | 221 | </BootstrapperPackage> |
3670 | 222 | <BootstrapperPackage Include="Microsoft.Net.Framework.2.0"> | 222 | <BootstrapperPackage Include="Microsoft.Net.Framework.2.0"> |
3671 | 223 | <Visible>False</Visible> | 223 | <Visible>False</Visible> |
3672 | 224 | <ProductName>.NET Framework 2.0 %28x86%29</ProductName> | 224 | <ProductName>.NET Framework 2.0 %28x86%29</ProductName> |
3673 | 225 | <Install>true</Install> | 225 | <Install>true</Install> |
3674 | 226 | </BootstrapperPackage> | 226 | </BootstrapperPackage> |
3675 | 227 | <BootstrapperPackage Include="Microsoft.Net.Framework.3.0"> | 227 | <BootstrapperPackage Include="Microsoft.Net.Framework.3.0"> |
3676 | 228 | <Visible>False</Visible> | 228 | <Visible>False</Visible> |
3677 | 229 | <ProductName>.NET Framework 3.0 %28x86%29</ProductName> | 229 | <ProductName>.NET Framework 3.0 %28x86%29</ProductName> |
3678 | 230 | <Install>false</Install> | 230 | <Install>false</Install> |
3679 | 231 | </BootstrapperPackage> | 231 | </BootstrapperPackage> |
3680 | 232 | <BootstrapperPackage Include="Microsoft.Net.Framework.3.5"> | 232 | <BootstrapperPackage Include="Microsoft.Net.Framework.3.5"> |
3681 | 233 | <Visible>False</Visible> | 233 | <Visible>False</Visible> |
3682 | 234 | <ProductName>.NET Framework 3.5</ProductName> | 234 | <ProductName>.NET Framework 3.5</ProductName> |
3683 | 235 | <Install>false</Install> | 235 | <Install>false</Install> |
3684 | 236 | </BootstrapperPackage> | 236 | </BootstrapperPackage> |
3685 | 237 | <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> | 237 | <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> |
3686 | 238 | <Visible>False</Visible> | 238 | <Visible>False</Visible> |
3687 | 239 | <ProductName>.NET Framework 3.5 SP1</ProductName> | 239 | <ProductName>.NET Framework 3.5 SP1</ProductName> |
3688 | 240 | <Install>false</Install> | 240 | <Install>false</Install> |
3689 | 241 | </BootstrapperPackage> | 241 | </BootstrapperPackage> |
3690 | 242 | </ItemGroup> | 242 | </ItemGroup> |
3691 | 243 | <ItemGroup> | 243 | <ItemGroup> |
3692 | 244 | <None Include="nunit.core.tests.build" /> | 244 | <None Include="nunit.core.tests.build"> |
3693 | 245 | <EmbeddedResource Include="Results.xsd" /> | 245 | <SubType>Designer</SubType> |
3694 | 246 | </ItemGroup> | 246 | </None> |
3695 | 247 | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | 247 | <EmbeddedResource Include="Results.xsd" /> |
3696 | 248 | <PropertyGroup> | 248 | </ItemGroup> |
3697 | 249 | <PreBuildEvent> | 249 | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> |
3698 | 250 | </PreBuildEvent> | 250 | <PropertyGroup> |
3699 | 251 | <PostBuildEvent> | 251 | <PreBuildEvent> |
3700 | 252 | </PostBuildEvent> | 252 | </PreBuildEvent> |
3701 | 253 | </PropertyGroup> | 253 | <PostBuildEvent> |
3702 | 254 | </PostBuildEvent> | ||
3703 | 255 | </PropertyGroup> | ||
3704 | 254 | </Project> | 256 | </Project> |
3705 | 255 | \ No newline at end of file | 257 | \ No newline at end of file |
3706 | 256 | 258 | ||
3707 | === modified file 'src/NUnitFramework/tests/CollectionAssertTest.cs' | |||
3708 | --- src/NUnitFramework/tests/CollectionAssertTest.cs 2011-11-02 22:40:46 +0000 | |||
3709 | +++ src/NUnitFramework/tests/CollectionAssertTest.cs 2012-10-03 23:32:21 +0000 | |||
3710 | @@ -6,7 +6,7 @@ | |||
3711 | 6 | 6 | ||
3712 | 7 | using System; | 7 | using System; |
3713 | 8 | using System.Collections; | 8 | using System.Collections; |
3715 | 9 | #if NET_3_5 || NET_4_0 | 9 | #if NET_3_5 || NET_4_0 || NET_4_5 |
3716 | 10 | using System.Linq; | 10 | using System.Linq; |
3717 | 11 | #endif | 11 | #endif |
3718 | 12 | 12 | ||
3719 | 13 | 13 | ||
3720 | === modified file 'src/NUnitFramework/tests/Constraints/CollectionConstraintTests.cs' | |||
3721 | --- src/NUnitFramework/tests/Constraints/CollectionConstraintTests.cs 2011-11-02 22:40:46 +0000 | |||
3722 | +++ src/NUnitFramework/tests/Constraints/CollectionConstraintTests.cs 2012-10-03 23:32:21 +0000 | |||
3723 | @@ -307,7 +307,7 @@ | |||
3724 | 307 | } | 307 | } |
3725 | 308 | } | 308 | } |
3726 | 309 | 309 | ||
3728 | 310 | #if CS_3_0 || CS_4_0 | 310 | #if CS_3_0 || CS_4_0 || CS_5_0 |
3729 | 311 | [Test] | 311 | [Test] |
3730 | 312 | public void UsesProvidedLambdaExpression() | 312 | public void UsesProvidedLambdaExpression() |
3731 | 313 | { | 313 | { |
3732 | @@ -394,7 +394,7 @@ | |||
3733 | 394 | Assert.That(new CollectionEquivalentConstraint(set1).IgnoreCase.Matches(set2)); | 394 | Assert.That(new CollectionEquivalentConstraint(set1).IgnoreCase.Matches(set2)); |
3734 | 395 | } | 395 | } |
3735 | 396 | 396 | ||
3737 | 397 | #if CS_3_0 || CS_4_0 | 397 | #if CS_3_0 || CS_4_0 || CS_5_0 |
3738 | 398 | [Test] | 398 | [Test] |
3739 | 399 | public void EquivalentHonorsUsing() | 399 | public void EquivalentHonorsUsing() |
3740 | 400 | { | 400 | { |
3741 | @@ -632,7 +632,7 @@ | |||
3742 | 632 | } | 632 | } |
3743 | 633 | } | 633 | } |
3744 | 634 | 634 | ||
3746 | 635 | #if CS_3_0 || CS_4_0 | 635 | #if CS_3_0 || CS_4_0 || CS_5_0 |
3747 | 636 | [Test] | 636 | [Test] |
3748 | 637 | public void UsesProvidedLambda() | 637 | public void UsesProvidedLambda() |
3749 | 638 | { | 638 | { |
3750 | 639 | 639 | ||
3751 | === modified file 'src/NUnitFramework/tests/Constraints/ComparisonConstraintTests.cs' | |||
3752 | --- src/NUnitFramework/tests/Constraints/ComparisonConstraintTests.cs 2011-04-12 00:17:39 +0000 | |||
3753 | +++ src/NUnitFramework/tests/Constraints/ComparisonConstraintTests.cs 2012-10-03 23:32:21 +0000 | |||
3754 | @@ -75,7 +75,7 @@ | |||
3755 | 75 | } | 75 | } |
3756 | 76 | } | 76 | } |
3757 | 77 | 77 | ||
3759 | 78 | #if CS_3_0 || CS_4_0 | 78 | #if CS_3_0 || CS_4_0 || CS_5_0 |
3760 | 79 | [Test] | 79 | [Test] |
3761 | 80 | public void UsesProvidedLambda() | 80 | public void UsesProvidedLambda() |
3762 | 81 | { | 81 | { |
3763 | @@ -335,7 +335,7 @@ | |||
3764 | 335 | } | 335 | } |
3765 | 336 | } | 336 | } |
3766 | 337 | 337 | ||
3768 | 338 | #if CS_3_0 || CS_4_0 | 338 | #if CS_3_0 || CS_4_0 || CS_5_0 |
3769 | 339 | [Test] | 339 | [Test] |
3770 | 340 | public void UsesProvidedLambda() | 340 | public void UsesProvidedLambda() |
3771 | 341 | { | 341 | { |
3772 | 342 | 342 | ||
3773 | === modified file 'src/NUnitFramework/tests/Constraints/EqualConstraintTests.cs' | |||
3774 | --- src/NUnitFramework/tests/Constraints/EqualConstraintTests.cs 2011-12-15 23:02:34 +0000 | |||
3775 | +++ src/NUnitFramework/tests/Constraints/EqualConstraintTests.cs 2012-10-03 23:32:21 +0000 | |||
3776 | @@ -118,7 +118,7 @@ | |||
3777 | 118 | 118 | ||
3778 | 119 | #region Dictionary Tests | 119 | #region Dictionary Tests |
3779 | 120 | // TODO: Move these to a separate fixture | 120 | // TODO: Move these to a separate fixture |
3781 | 121 | #if CS_3_0 || CS_4_0 | 121 | #if CS_3_0 || CS_4_0 || CS_5_0 |
3782 | 122 | [Test] | 122 | [Test] |
3783 | 123 | public void CanMatchHashtables_SameOrder() | 123 | public void CanMatchHashtables_SameOrder() |
3784 | 124 | { | 124 | { |
3785 | @@ -418,7 +418,7 @@ | |||
3786 | 418 | } | 418 | } |
3787 | 419 | } | 419 | } |
3788 | 420 | 420 | ||
3790 | 421 | #if CS_3_0 || CS_4_0 | 421 | #if CS_3_0 || CS_4_0 || CS_5_0 |
3791 | 422 | [Test] | 422 | [Test] |
3792 | 423 | public void UsesProvidedLambda_IntArgs() | 423 | public void UsesProvidedLambda_IntArgs() |
3793 | 424 | { | 424 | { |
3794 | 425 | 425 | ||
3795 | === modified file 'src/NUnitFramework/tests/Syntax/ArbitraryConstraintMatching.cs' | |||
3796 | --- src/NUnitFramework/tests/Syntax/ArbitraryConstraintMatching.cs 2012-02-21 03:31:35 +0000 | |||
3797 | +++ src/NUnitFramework/tests/Syntax/ArbitraryConstraintMatching.cs 2012-10-03 23:32:21 +0000 | |||
3798 | @@ -50,7 +50,7 @@ | |||
3799 | 50 | return (num & 1) == 0; | 50 | return (num & 1) == 0; |
3800 | 51 | } | 51 | } |
3801 | 52 | 52 | ||
3803 | 53 | #if CS_3_0 || CS_4_0 | 53 | #if CS_3_0 || CS_4_0 || CS_5_0 |
3804 | 54 | [Test] | 54 | [Test] |
3805 | 55 | public void CanMatchLambda() | 55 | public void CanMatchLambda() |
3806 | 56 | { | 56 | { |
3807 | 57 | 57 | ||
3808 | === modified file 'src/NUnitFramework/tests/Syntax/ThrowsTests.cs' | |||
3809 | --- src/NUnitFramework/tests/Syntax/ThrowsTests.cs 2012-07-09 19:20:41 +0000 | |||
3810 | +++ src/NUnitFramework/tests/Syntax/ThrowsTests.cs 2012-10-03 23:32:21 +0000 | |||
3811 | @@ -160,7 +160,7 @@ | |||
3812 | 160 | 160 | ||
3813 | 161 | // TODO: Move these to AssertThat tests | 161 | // TODO: Move these to AssertThat tests |
3814 | 162 | #if CLR_2_0 || CLR_4_0 | 162 | #if CLR_2_0 || CLR_4_0 |
3816 | 163 | #if CS_3_0 || CS_4_0 | 163 | #if CS_3_0 || CS_4_0 || CS_5_0 |
3817 | 164 | [Test] | 164 | [Test] |
3818 | 165 | public void DelegateThrowsException() | 165 | public void DelegateThrowsException() |
3819 | 166 | { | 166 | { |
3820 | 167 | 167 | ||
3821 | === modified file 'src/ProjectEditor/tests/Presenters/AddConfigurationPresenterTests.cs' | |||
3822 | --- src/ProjectEditor/tests/Presenters/AddConfigurationPresenterTests.cs 2011-03-30 20:37:44 +0000 | |||
3823 | +++ src/ProjectEditor/tests/Presenters/AddConfigurationPresenterTests.cs 2012-10-03 23:32:21 +0000 | |||
3824 | @@ -4,7 +4,7 @@ | |||
3825 | 4 | // obtain a copy of the license at http://nunit.org | 4 | // obtain a copy of the license at http://nunit.org |
3826 | 5 | // **************************************************************** | 5 | // **************************************************************** |
3827 | 6 | 6 | ||
3829 | 7 | #if NET_3_5 || NET_4_0 | 7 | #if NET_3_5 || NET_4_0 || NET_4_5 |
3830 | 8 | using System; | 8 | using System; |
3831 | 9 | using System.IO; | 9 | using System.IO; |
3832 | 10 | using NSubstitute; | 10 | using NSubstitute; |
3833 | 11 | 11 | ||
3834 | === modified file 'src/ProjectEditor/tests/Presenters/ConfigurationEditorTests.cs' | |||
3835 | --- src/ProjectEditor/tests/Presenters/ConfigurationEditorTests.cs 2011-03-30 20:37:44 +0000 | |||
3836 | +++ src/ProjectEditor/tests/Presenters/ConfigurationEditorTests.cs 2012-10-03 23:32:21 +0000 | |||
3837 | @@ -4,7 +4,7 @@ | |||
3838 | 4 | // obtain a copy of the license at http://nunit.org | 4 | // obtain a copy of the license at http://nunit.org |
3839 | 5 | // **************************************************************** | 5 | // **************************************************************** |
3840 | 6 | 6 | ||
3842 | 7 | #if NET_3_5 || NET_4_0 | 7 | #if NET_3_5 || NET_4_0 || NET_4_5 |
3843 | 8 | using System; | 8 | using System; |
3844 | 9 | using System.Windows.Forms; | 9 | using System.Windows.Forms; |
3845 | 10 | using NUnit.Framework; | 10 | using NUnit.Framework; |
3846 | 11 | 11 | ||
3847 | === modified file 'src/ProjectEditor/tests/Presenters/MainPresenterTests.cs' | |||
3848 | --- src/ProjectEditor/tests/Presenters/MainPresenterTests.cs 2012-07-09 19:20:41 +0000 | |||
3849 | +++ src/ProjectEditor/tests/Presenters/MainPresenterTests.cs 2012-10-03 23:32:21 +0000 | |||
3850 | @@ -4,7 +4,7 @@ | |||
3851 | 4 | // obtain a copy of the license at http://nunit.org | 4 | // obtain a copy of the license at http://nunit.org |
3852 | 5 | // **************************************************************** | 5 | // **************************************************************** |
3853 | 6 | 6 | ||
3855 | 7 | #if NET_3_5 || NET_4_0 | 7 | #if NET_3_5 || NET_4_0 || NET_4_5 |
3856 | 8 | using System; | 8 | using System; |
3857 | 9 | using NSubstitute; | 9 | using NSubstitute; |
3858 | 10 | using NUnit.Framework; | 10 | using NUnit.Framework; |
3859 | 11 | 11 | ||
3860 | === modified file 'src/ProjectEditor/tests/Presenters/PropertyPresenterTests.cs' | |||
3861 | --- src/ProjectEditor/tests/Presenters/PropertyPresenterTests.cs 2011-03-30 20:37:44 +0000 | |||
3862 | +++ src/ProjectEditor/tests/Presenters/PropertyPresenterTests.cs 2012-10-03 23:32:21 +0000 | |||
3863 | @@ -4,7 +4,7 @@ | |||
3864 | 4 | // obtain a copy of the license at http://nunit.org | 4 | // obtain a copy of the license at http://nunit.org |
3865 | 5 | // **************************************************************** | 5 | // **************************************************************** |
3866 | 6 | 6 | ||
3868 | 7 | #if NET_3_5 || NET_4_0 | 7 | #if NET_3_5 || NET_4_0 || NET_4_5 |
3869 | 8 | using System; | 8 | using System; |
3870 | 9 | using System.IO; | 9 | using System.IO; |
3871 | 10 | using System.Reflection; | 10 | using System.Reflection; |
3872 | 11 | 11 | ||
3873 | === modified file 'src/ProjectEditor/tests/Presenters/RenameConfigurationPresenterTests.cs' | |||
3874 | --- src/ProjectEditor/tests/Presenters/RenameConfigurationPresenterTests.cs 2011-03-30 20:37:44 +0000 | |||
3875 | +++ src/ProjectEditor/tests/Presenters/RenameConfigurationPresenterTests.cs 2012-10-03 23:32:21 +0000 | |||
3876 | @@ -4,7 +4,7 @@ | |||
3877 | 4 | // obtain a copy of the license at http://nunit.org | 4 | // obtain a copy of the license at http://nunit.org |
3878 | 5 | // **************************************************************** | 5 | // **************************************************************** |
3879 | 6 | 6 | ||
3881 | 7 | #if NET_3_5 || NET_4_0 | 7 | #if NET_3_5 || NET_4_0 || NET_4_5 |
3882 | 8 | using System; | 8 | using System; |
3883 | 9 | using System.Collections.Generic; | 9 | using System.Collections.Generic; |
3884 | 10 | using NSubstitute; | 10 | using NSubstitute; |
3885 | 11 | 11 | ||
3886 | === modified file 'src/ProjectEditor/tests/Presenters/SelectionStub.cs' | |||
3887 | --- src/ProjectEditor/tests/Presenters/SelectionStub.cs 2011-03-30 20:37:44 +0000 | |||
3888 | +++ src/ProjectEditor/tests/Presenters/SelectionStub.cs 2012-10-03 23:32:21 +0000 | |||
3889 | @@ -4,7 +4,7 @@ | |||
3890 | 4 | // obtain a copy of the license at http://nunit.org | 4 | // obtain a copy of the license at http://nunit.org |
3891 | 5 | // **************************************************************** | 5 | // **************************************************************** |
3892 | 6 | 6 | ||
3894 | 7 | #if NET_3_5 || NET_4_0 | 7 | #if NET_3_5 || NET_4_0 || NET_4_5 |
3895 | 8 | using System; | 8 | using System; |
3896 | 9 | using System.Collections.Generic; | 9 | using System.Collections.Generic; |
3897 | 10 | using NUnit.ProjectEditor.ViewElements; | 10 | using NUnit.ProjectEditor.ViewElements; |
3898 | 11 | 11 | ||
3899 | === modified file 'src/ProjectEditor/tests/Presenters/XmlPresenterTests.cs' | |||
3900 | --- src/ProjectEditor/tests/Presenters/XmlPresenterTests.cs 2011-03-30 20:37:44 +0000 | |||
3901 | +++ src/ProjectEditor/tests/Presenters/XmlPresenterTests.cs 2012-10-03 23:32:21 +0000 | |||
3902 | @@ -4,7 +4,7 @@ | |||
3903 | 4 | // obtain a copy of the license at http://nunit.org | 4 | // obtain a copy of the license at http://nunit.org |
3904 | 5 | // **************************************************************** | 5 | // **************************************************************** |
3905 | 6 | 6 | ||
3907 | 7 | #if NET_3_5 || NET_4_0 | 7 | #if NET_3_5 || NET_4_0 || NET_4_5 |
3908 | 8 | using System; | 8 | using System; |
3909 | 9 | using System.Xml; | 9 | using System.Xml; |
3910 | 10 | using NUnit.Framework; | 10 | using NUnit.Framework; |
3911 | 11 | 11 | ||
3912 | === added directory 'src/tests/test-assembly-net45' | |||
3913 | === added file 'src/tests/test-assembly-net45/AsyncDummyFixture.cs' | |||
3914 | --- src/tests/test-assembly-net45/AsyncDummyFixture.cs 1970-01-01 00:00:00 +0000 | |||
3915 | +++ src/tests/test-assembly-net45/AsyncDummyFixture.cs 2012-10-03 23:32:21 +0000 | |||
3916 | @@ -0,0 +1,56 @@ | |||
3917 | 1 | using System.Threading.Tasks; | ||
3918 | 2 | using NUnit.Framework; | ||
3919 | 3 | |||
3920 | 4 | namespace test_assembly_net45 | ||
3921 | 5 | { | ||
3922 | 6 | public class AsyncDummyFixture | ||
3923 | 7 | { | ||
3924 | 8 | [Test] | ||
3925 | 9 | public async void Void() | ||
3926 | 10 | { | ||
3927 | 11 | |||
3928 | 12 | } | ||
3929 | 13 | |||
3930 | 14 | [Test] | ||
3931 | 15 | public async Task PlainTask() | ||
3932 | 16 | { | ||
3933 | 17 | await Task.Yield(); | ||
3934 | 18 | } | ||
3935 | 19 | |||
3936 | 20 | [Test] | ||
3937 | 21 | public async Task<int> TaskWithResult() | ||
3938 | 22 | { | ||
3939 | 23 | return await Task.FromResult(1); | ||
3940 | 24 | } | ||
3941 | 25 | |||
3942 | 26 | [Test] | ||
3943 | 27 | public Task<int> NonAsyncTaskWithResult() | ||
3944 | 28 | { | ||
3945 | 29 | return Task.FromResult(1); | ||
3946 | 30 | } | ||
3947 | 31 | |||
3948 | 32 | [Test] | ||
3949 | 33 | public Task NonAsyncTask() | ||
3950 | 34 | { | ||
3951 | 35 | return Task.Delay(0); | ||
3952 | 36 | } | ||
3953 | 37 | |||
3954 | 38 | [TestCase(Result = 1)] | ||
3955 | 39 | public async Task AsyncTaskTestCase() | ||
3956 | 40 | { | ||
3957 | 41 | await Task.Run(() => 1); | ||
3958 | 42 | } | ||
3959 | 43 | |||
3960 | 44 | [TestCase(Result = 1)] | ||
3961 | 45 | public async void AsyncVoidTestCase() | ||
3962 | 46 | { | ||
3963 | 47 | await Task.Run(() => 1); | ||
3964 | 48 | } | ||
3965 | 49 | |||
3966 | 50 | [TestCase(Result = 1)] | ||
3967 | 51 | public async Task<int> AsyncTaskWithResultTestCase() | ||
3968 | 52 | { | ||
3969 | 53 | return await Task.Run(() => 1); | ||
3970 | 54 | } | ||
3971 | 55 | } | ||
3972 | 56 | } | ||
3973 | 0 | \ No newline at end of file | 57 | \ No newline at end of file |
3974 | 1 | 58 | ||
3975 | === added file 'src/tests/test-assembly-net45/AsyncRealFixture.cs' | |||
3976 | --- src/tests/test-assembly-net45/AsyncRealFixture.cs 1970-01-01 00:00:00 +0000 | |||
3977 | +++ src/tests/test-assembly-net45/AsyncRealFixture.cs 2012-10-03 23:32:21 +0000 | |||
3978 | @@ -0,0 +1,289 @@ | |||
3979 | 1 | using System; | ||
3980 | 2 | using System.Threading; | ||
3981 | 3 | using System.Threading.Tasks; | ||
3982 | 4 | using NUnit.Core; | ||
3983 | 5 | using NUnit.Framework; | ||
3984 | 6 | |||
3985 | 7 | namespace test_assembly_net45 | ||
3986 | 8 | { | ||
3987 | 9 | public class AsyncRealFixture | ||
3988 | 10 | { | ||
3989 | 11 | [Test] | ||
3990 | 12 | public async void AsyncVoidSuccess() | ||
3991 | 13 | { | ||
3992 | 14 | var result = await ReturnOne(); | ||
3993 | 15 | |||
3994 | 16 | Assert.AreEqual(1, result); | ||
3995 | 17 | } | ||
3996 | 18 | |||
3997 | 19 | [Test] | ||
3998 | 20 | public async void AsyncVoidFailure() | ||
3999 | 21 | { | ||
4000 | 22 | var result = await ReturnOne(); | ||
4001 | 23 | |||
4002 | 24 | Assert.AreEqual(2, result); | ||
4003 | 25 | } | ||
4004 | 26 | |||
4005 | 27 | [Test] | ||
4006 | 28 | public async void AsyncVoidError() | ||
4007 | 29 | { | ||
4008 | 30 | await ThrowException(); | ||
4009 | 31 | |||
4010 | 32 | Assert.Fail("Should never get here"); | ||
4011 | 33 | } | ||
4012 | 34 | |||
4013 | 35 | [Test] | ||
4014 | 36 | public async Task AsyncTaskSuccess() | ||
4015 | 37 | { | ||
4016 | 38 | var result = await ReturnOne(); | ||
4017 | 39 | |||
4018 | 40 | Assert.AreEqual(1, result); | ||
4019 | 41 | } | ||
4020 | 42 | |||
4021 | 43 | [Test] | ||
4022 | 44 | public async Task AsyncTaskFailure() | ||
4023 | 45 | { | ||
4024 | 46 | var result = await ReturnOne(); | ||
4025 | 47 | |||
4026 | 48 | Assert.AreEqual(2, result); | ||
4027 | 49 | } | ||
4028 | 50 | |||
4029 | 51 | [Test] | ||
4030 | 52 | public async Task AsyncTaskError() | ||
4031 | 53 | { | ||
4032 | 54 | await ThrowException(); | ||
4033 | 55 | |||
4034 | 56 | Assert.Fail("Should never get here"); | ||
4035 | 57 | } | ||
4036 | 58 | |||
4037 | 59 | [Test] | ||
4038 | 60 | public async Task<int> AsyncTaskResultSuccess() | ||
4039 | 61 | { | ||
4040 | 62 | var result = await ReturnOne(); | ||
4041 | 63 | |||
4042 | 64 | Assert.AreEqual(1, result); | ||
4043 | 65 | |||
4044 | 66 | return result; | ||
4045 | 67 | } | ||
4046 | 68 | |||
4047 | 69 | [Test] | ||
4048 | 70 | public async Task<int> AsyncTaskResultFailure() | ||
4049 | 71 | { | ||
4050 | 72 | var result = await ReturnOne(); | ||
4051 | 73 | |||
4052 | 74 | Assert.AreEqual(2, result); | ||
4053 | 75 | |||
4054 | 76 | return result; | ||
4055 | 77 | } | ||
4056 | 78 | |||
4057 | 79 | [Test] | ||
4058 | 80 | public async Task<int> AsyncTaskResultError() | ||
4059 | 81 | { | ||
4060 | 82 | await ThrowException(); | ||
4061 | 83 | |||
4062 | 84 | Assert.Fail("Should never get here"); | ||
4063 | 85 | |||
4064 | 86 | return 0; | ||
4065 | 87 | } | ||
4066 | 88 | |||
4067 | 89 | [TestCase(Result = 1)] | ||
4068 | 90 | public async Task<int> AsyncTaskResultCheckSuccess() | ||
4069 | 91 | { | ||
4070 | 92 | return await ReturnOne(); | ||
4071 | 93 | } | ||
4072 | 94 | |||
4073 | 95 | [TestCase(Result = 2)] | ||
4074 | 96 | public async Task<int> AsyncTaskResultCheckFailure() | ||
4075 | 97 | { | ||
4076 | 98 | return await ReturnOne(); | ||
4077 | 99 | } | ||
4078 | 100 | |||
4079 | 101 | [TestCase(Result = 0)] | ||
4080 | 102 | public async Task<int> AsyncTaskResultCheckError() | ||
4081 | 103 | { | ||
4082 | 104 | return await ThrowException(); | ||
4083 | 105 | } | ||
4084 | 106 | |||
4085 | 107 | [TestCase(Result = null)] | ||
4086 | 108 | public async Task<object> AsyncTaskResultCheckSuccessReturningNull() | ||
4087 | 109 | { | ||
4088 | 110 | return await Task.Run(() => (object)null); | ||
4089 | 111 | } | ||
4090 | 112 | |||
4091 | 113 | [Test] | ||
4092 | 114 | [ExpectedException(typeof(InvalidOperationException))] | ||
4093 | 115 | public async void AsyncVoidExpectedException() | ||
4094 | 116 | { | ||
4095 | 117 | await ThrowException(); | ||
4096 | 118 | } | ||
4097 | 119 | |||
4098 | 120 | [Test] | ||
4099 | 121 | [ExpectedException(typeof(InvalidOperationException))] | ||
4100 | 122 | public async Task AsyncTaskExpectedException() | ||
4101 | 123 | { | ||
4102 | 124 | await ThrowException(); | ||
4103 | 125 | } | ||
4104 | 126 | |||
4105 | 127 | [Test] | ||
4106 | 128 | [ExpectedException(typeof(InvalidOperationException))] | ||
4107 | 129 | public async Task<int> AsyncTaskResultExpectedException() | ||
4108 | 130 | { | ||
4109 | 131 | return await ThrowException(); | ||
4110 | 132 | } | ||
4111 | 133 | |||
4112 | 134 | [Test] | ||
4113 | 135 | public async void AsyncVoidAssertSynchrnoizationContext() | ||
4114 | 136 | { | ||
4115 | 137 | Assert.That(SynchronizationContext.Current, Is.InstanceOf<AsyncSynchronizationContext>()); | ||
4116 | 138 | await Task.Yield(); | ||
4117 | 139 | } | ||
4118 | 140 | |||
4119 | 141 | [Test] | ||
4120 | 142 | public async void NestedAsyncVoidSuccess() | ||
4121 | 143 | { | ||
4122 | 144 | var result = await Task.Run(async () => await ReturnOne()); | ||
4123 | 145 | |||
4124 | 146 | Assert.AreEqual(1, result); | ||
4125 | 147 | } | ||
4126 | 148 | |||
4127 | 149 | [Test] | ||
4128 | 150 | public async void NestedAsyncVoidFailure() | ||
4129 | 151 | { | ||
4130 | 152 | var result = await Task.Run(async () => await ReturnOne()); | ||
4131 | 153 | |||
4132 | 154 | Assert.AreEqual(2, result); | ||
4133 | 155 | } | ||
4134 | 156 | |||
4135 | 157 | [Test] | ||
4136 | 158 | public async void NestedAsyncVoidError() | ||
4137 | 159 | { | ||
4138 | 160 | await Task.Run(async () => await ThrowException()); | ||
4139 | 161 | |||
4140 | 162 | Assert.Fail("Should not get here"); | ||
4141 | 163 | } | ||
4142 | 164 | |||
4143 | 165 | [Test] | ||
4144 | 166 | public async Task NestedAsyncTaskSuccess() | ||
4145 | 167 | { | ||
4146 | 168 | var result = await Task.Run(async () => await ReturnOne()); | ||
4147 | 169 | |||
4148 | 170 | Assert.AreEqual(1, result); | ||
4149 | 171 | } | ||
4150 | 172 | |||
4151 | 173 | [Test] | ||
4152 | 174 | public async Task NestedAsyncTaskFailure() | ||
4153 | 175 | { | ||
4154 | 176 | var result = await Task.Run(async () => await ReturnOne()); | ||
4155 | 177 | |||
4156 | 178 | Assert.AreEqual(2, result); | ||
4157 | 179 | } | ||
4158 | 180 | |||
4159 | 181 | [Test] | ||
4160 | 182 | public async Task NestedAsyncTaskError() | ||
4161 | 183 | { | ||
4162 | 184 | await Task.Run(async () => await ThrowException()); | ||
4163 | 185 | |||
4164 | 186 | Assert.Fail("Should never get here"); | ||
4165 | 187 | } | ||
4166 | 188 | |||
4167 | 189 | [Test] | ||
4168 | 190 | public async Task<int> NestedAsyncTaskResultSuccess() | ||
4169 | 191 | { | ||
4170 | 192 | var result = await Task.Run(async () => await ReturnOne()); | ||
4171 | 193 | |||
4172 | 194 | Assert.AreEqual(1, result); | ||
4173 | 195 | |||
4174 | 196 | return result; | ||
4175 | 197 | } | ||
4176 | 198 | |||
4177 | 199 | [Test] | ||
4178 | 200 | public async Task<int> NestedAsyncTaskResultFailure() | ||
4179 | 201 | { | ||
4180 | 202 | var result = await Task.Run(async () => await ReturnOne()); | ||
4181 | 203 | |||
4182 | 204 | Assert.AreEqual(2, result); | ||
4183 | 205 | |||
4184 | 206 | return result; | ||
4185 | 207 | } | ||
4186 | 208 | |||
4187 | 209 | [Test] | ||
4188 | 210 | public async Task<int> NestedAsyncTaskResultError() | ||
4189 | 211 | { | ||
4190 | 212 | var result = await Task.Run(async () => await ThrowException()); | ||
4191 | 213 | |||
4192 | 214 | Assert.Fail("Should never get here"); | ||
4193 | 215 | |||
4194 | 216 | return result; | ||
4195 | 217 | } | ||
4196 | 218 | |||
4197 | 219 | [Test] | ||
4198 | 220 | public async void AsyncVoidMultipleSuccess() | ||
4199 | 221 | { | ||
4200 | 222 | var result = await ReturnOne(); | ||
4201 | 223 | |||
4202 | 224 | Assert.AreEqual(await ReturnOne(), result); | ||
4203 | 225 | } | ||
4204 | 226 | |||
4205 | 227 | [Test] | ||
4206 | 228 | public async void AsyncVoidMultipleFailure() | ||
4207 | 229 | { | ||
4208 | 230 | var result = await ReturnOne(); | ||
4209 | 231 | |||
4210 | 232 | Assert.AreEqual(await ReturnOne() + 1, result); | ||
4211 | 233 | } | ||
4212 | 234 | |||
4213 | 235 | [Test] | ||
4214 | 236 | public async void AsyncVoidMultipleError() | ||
4215 | 237 | { | ||
4216 | 238 | var result = await ReturnOne(); | ||
4217 | 239 | await ThrowException(); | ||
4218 | 240 | |||
4219 | 241 | Assert.Fail("Should never get here"); | ||
4220 | 242 | } | ||
4221 | 243 | |||
4222 | 244 | [Test] | ||
4223 | 245 | public async void AsyncTaskMultipleSuccess() | ||
4224 | 246 | { | ||
4225 | 247 | var result = await ReturnOne(); | ||
4226 | 248 | |||
4227 | 249 | Assert.AreEqual(await ReturnOne(), result); | ||
4228 | 250 | } | ||
4229 | 251 | |||
4230 | 252 | [Test] | ||
4231 | 253 | public async void AsyncTaskMultipleFailure() | ||
4232 | 254 | { | ||
4233 | 255 | var result = await ReturnOne(); | ||
4234 | 256 | |||
4235 | 257 | Assert.AreEqual(await ReturnOne() + 1, result); | ||
4236 | 258 | } | ||
4237 | 259 | |||
4238 | 260 | [Test] | ||
4239 | 261 | public async void AsyncTaskMultipleError() | ||
4240 | 262 | { | ||
4241 | 263 | var result = await ReturnOne(); | ||
4242 | 264 | await ThrowException(); | ||
4243 | 265 | |||
4244 | 266 | Assert.Fail("Should never get here"); | ||
4245 | 267 | } | ||
4246 | 268 | |||
4247 | 269 | [TestCase(1, 2)] | ||
4248 | 270 | public async void AsyncVoidTestCaseWithParametersSuccess(int a, int b) | ||
4249 | 271 | { | ||
4250 | 272 | Assert.AreEqual(await ReturnOne(), b - a); | ||
4251 | 273 | } | ||
4252 | 274 | |||
4253 | 275 | private static Task<int> ReturnOne() | ||
4254 | 276 | { | ||
4255 | 277 | return Task.Run(() => 1); | ||
4256 | 278 | } | ||
4257 | 279 | |||
4258 | 280 | private static Task<int> ThrowException() | ||
4259 | 281 | { | ||
4260 | 282 | return Task.Run(() => | ||
4261 | 283 | { | ||
4262 | 284 | throw new InvalidOperationException(); | ||
4263 | 285 | return 1; | ||
4264 | 286 | }); | ||
4265 | 287 | } | ||
4266 | 288 | } | ||
4267 | 289 | } | ||
4268 | 0 | \ No newline at end of file | 290 | \ No newline at end of file |
4269 | 1 | 291 | ||
4270 | === added directory 'src/tests/test-assembly-net45/Properties' | |||
4271 | === added file 'src/tests/test-assembly-net45/test-assembly-net45.build' | |||
4272 | --- src/tests/test-assembly-net45/test-assembly-net45.build 1970-01-01 00:00:00 +0000 | |||
4273 | +++ src/tests/test-assembly-net45/test-assembly-net45.build 2012-10-03 23:32:21 +0000 | |||
4274 | @@ -0,0 +1,42 @@ | |||
4275 | 1 | <?xml version="1.0"?> | ||
4276 | 2 | <project name="TestAssembly" default="build" basedir="."> | ||
4277 | 3 | |||
4278 | 4 | <patternset id="source-files"> | ||
4279 | 5 | <include name="AsyncDummyFixture.cs"/> | ||
4280 | 6 | <include name="AsyncRealFixture.cs"/> | ||
4281 | 7 | </patternset> | ||
4282 | 8 | |||
4283 | 9 | <target name="build"> | ||
4284 | 10 | <property name="previousFramework" value="${nant.settings.currentframework}"/> | ||
4285 | 11 | <property name="nant.settings.currentframework" value="net-4.5"/> | ||
4286 | 12 | <csc target="library" | ||
4287 | 13 | output="${current.test.dir}/test-assembly-net45.dll" | ||
4288 | 14 | debug="${build.debug}" define="${build.defines}"> | ||
4289 | 15 | <sources> | ||
4290 | 16 | <patternset refid="source-files"/> | ||
4291 | 17 | <include name="../../GeneratedAssemblyInfo.cs"/> | ||
4292 | 18 | </sources> | ||
4293 | 19 | <nowarn> | ||
4294 | 20 | <warning number="618,672"/> | ||
4295 | 21 | </nowarn> | ||
4296 | 22 | <references> | ||
4297 | 23 | <include name="${current.framework.dir}/nunit.framework.dll"/> | ||
4298 | 24 | <include name="${current.framework.dir}/nunit.framework.extensions.dll"/> | ||
4299 | 25 | <include name="${current.lib.dir}/nunit.core.interfaces.dll"/> | ||
4300 | 26 | <include name="${current.lib.dir}/nunit.core.dll"/> | ||
4301 | 27 | </references> | ||
4302 | 28 | </csc> | ||
4303 | 29 | <property name="nant.settings.currentframework" value="${previousFramework}"/> | ||
4304 | 30 | </target> | ||
4305 | 31 | |||
4306 | 32 | <target name="package"> | ||
4307 | 33 | <copy todir="${package.src.dir}/tests/test-assembly-net45"> | ||
4308 | 34 | <fileset> | ||
4309 | 35 | <patternset refid="source-files" /> | ||
4310 | 36 | <include name="test-assembly.csproj"/> | ||
4311 | 37 | <include name="test-assembly.build"/> | ||
4312 | 38 | </fileset> | ||
4313 | 39 | </copy> | ||
4314 | 40 | </target> | ||
4315 | 41 | |||
4316 | 42 | </project> | ||
4317 | 0 | \ No newline at end of file | 43 | \ No newline at end of file |
4318 | 1 | 44 | ||
4319 | === added file 'src/tests/test-assembly-net45/test-assembly-net45.csproj' | |||
4320 | --- src/tests/test-assembly-net45/test-assembly-net45.csproj 1970-01-01 00:00:00 +0000 | |||
4321 | +++ src/tests/test-assembly-net45/test-assembly-net45.csproj 2012-10-03 23:32:21 +0000 | |||
4322 | @@ -0,0 +1,72 @@ | |||
4323 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
4324 | 2 | <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
4325 | 3 | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
4326 | 4 | <PropertyGroup> | ||
4327 | 5 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
4328 | 6 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
4329 | 7 | <ProjectGuid>{74CCEAEA-CDBF-4FE0-BF0D-914C3C44ECE9}</ProjectGuid> | ||
4330 | 8 | <OutputType>Library</OutputType> | ||
4331 | 9 | <AppDesignerFolder>Properties</AppDesignerFolder> | ||
4332 | 10 | <RootNamespace>test_assembly_net45</RootNamespace> | ||
4333 | 11 | <AssemblyName>test-assembly-net45</AssemblyName> | ||
4334 | 12 | <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
4335 | 13 | <FileAlignment>512</FileAlignment> | ||
4336 | 14 | </PropertyGroup> | ||
4337 | 15 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
4338 | 16 | <DebugSymbols>true</DebugSymbols> | ||
4339 | 17 | <DebugType>full</DebugType> | ||
4340 | 18 | <Optimize>false</Optimize> | ||
4341 | 19 | <OutputPath>bin\Debug\</OutputPath> | ||
4342 | 20 | <DefineConstants>DEBUG;TRACE</DefineConstants> | ||
4343 | 21 | <ErrorReport>prompt</ErrorReport> | ||
4344 | 22 | <WarningLevel>4</WarningLevel> | ||
4345 | 23 | </PropertyGroup> | ||
4346 | 24 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
4347 | 25 | <DebugType>pdbonly</DebugType> | ||
4348 | 26 | <Optimize>true</Optimize> | ||
4349 | 27 | <OutputPath>bin\Release\</OutputPath> | ||
4350 | 28 | <DefineConstants>TRACE</DefineConstants> | ||
4351 | 29 | <ErrorReport>prompt</ErrorReport> | ||
4352 | 30 | <WarningLevel>4</WarningLevel> | ||
4353 | 31 | </PropertyGroup> | ||
4354 | 32 | <ItemGroup> | ||
4355 | 33 | <Reference Include="System" /> | ||
4356 | 34 | <Reference Include="System.Core" /> | ||
4357 | 35 | <Reference Include="System.Xml.Linq" /> | ||
4358 | 36 | <Reference Include="Microsoft.CSharp" /> | ||
4359 | 37 | <Reference Include="System.Xml" /> | ||
4360 | 38 | </ItemGroup> | ||
4361 | 39 | <ItemGroup> | ||
4362 | 40 | <Compile Include="..\..\CommonAssemblyInfo.cs"> | ||
4363 | 41 | <Link>CommonAssemblyInfo.cs</Link> | ||
4364 | 42 | </Compile> | ||
4365 | 43 | <Compile Include="AsyncDummyFixture.cs" /> | ||
4366 | 44 | <Compile Include="AsyncRealFixture.cs" /> | ||
4367 | 45 | </ItemGroup> | ||
4368 | 46 | <ItemGroup> | ||
4369 | 47 | <None Include="test-assembly-net45.build"> | ||
4370 | 48 | <SubType>Designer</SubType> | ||
4371 | 49 | </None> | ||
4372 | 50 | </ItemGroup> | ||
4373 | 51 | <ItemGroup> | ||
4374 | 52 | <ProjectReference Include="..\..\NUnitCore\core\nunit.core.dll.csproj"> | ||
4375 | 53 | <Project>{EBD43A7F-AFCA-4281-BB53-5CDD91F966A3}</Project> | ||
4376 | 54 | <Name>nunit.core.dll</Name> | ||
4377 | 55 | </ProjectReference> | ||
4378 | 56 | <ProjectReference Include="..\..\NUnitFramework\framework\nunit.framework.dll.csproj"> | ||
4379 | 57 | <Project>{83DD7E12-A705-4DBA-9D71-09C8973D9382}</Project> | ||
4380 | 58 | <Name>nunit.framework.dll</Name> | ||
4381 | 59 | </ProjectReference> | ||
4382 | 60 | </ItemGroup> | ||
4383 | 61 | <ItemGroup> | ||
4384 | 62 | <Folder Include="Properties\" /> | ||
4385 | 63 | </ItemGroup> | ||
4386 | 64 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
4387 | 65 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
4388 | 66 | Other similar extension points exist, see Microsoft.Common.targets. | ||
4389 | 67 | <Target Name="BeforeBuild"> | ||
4390 | 68 | </Target> | ||
4391 | 69 | <Target Name="AfterBuild"> | ||
4392 | 70 | </Target> | ||
4393 | 71 | --> | ||
4394 | 72 | </Project> | ||
4395 | 0 | \ No newline at end of file | 73 | \ No newline at end of file |
4396 | 1 | 74 | ||
4397 | === modified file 'src/tests/test-assembly/DatapointFixture.cs' | |||
4398 | --- src/tests/test-assembly/DatapointFixture.cs 2012-02-21 03:31:35 +0000 | |||
4399 | +++ src/tests/test-assembly/DatapointFixture.cs 2012-10-03 23:32:21 +0000 | |||
4400 | @@ -50,7 +50,7 @@ | |||
4401 | 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 }; |
4402 | 51 | } | 51 | } |
4403 | 52 | 52 | ||
4405 | 53 | #if CS_3_0 || CS_4_0 | 53 | #if CS_3_0 || CS_4_0 || CS_5_0 |
4406 | 54 | public class SquareRootTest_Field_IEnumerableOfDouble : SquareRootTest | 54 | public class SquareRootTest_Field_IEnumerableOfDouble : SquareRootTest |
4407 | 55 | { | 55 | { |
4408 | 56 | [Datapoints] | 56 | [Datapoints] |
4409 | 57 | 57 | ||
4410 | === modified file 'tools/nant/bin/NAnt.exe.config' | |||
4411 | --- tools/nant/bin/NAnt.exe.config 2012-09-25 20:55:15 +0000 | |||
4412 | +++ tools/nant/bin/NAnt.exe.config 2012-10-03 23:32:21 +0000 | |||
4413 | @@ -886,7 +886,341 @@ | |||
4414 | 886 | </task> | 886 | </task> |
4415 | 887 | </tasks> | 887 | </tasks> |
4416 | 888 | </framework> | 888 | </framework> |
4418 | 889 | <framework | 889 | <framework |
4419 | 890 | name="net-4.5" | ||
4420 | 891 | family="net" | ||
4421 | 892 | version="4.5" | ||
4422 | 893 | description="Microsoft .NET Framework 4.5" | ||
4423 | 894 | sdkdirectory="${sdkInstallRoot}" | ||
4424 | 895 | frameworkdirectory="${path::combine(installRoot, 'v4.0.30319')}" | ||
4425 | 896 | frameworkassemblydirectory="${path::combine(installRoot, 'v4.0.30319')}" | ||
4426 | 897 | clrversion="4.0.30319" | ||
4427 | 898 | clrtype="Desktop" | ||
4428 | 899 | vendor="Microsoft" | ||
4429 | 900 | > | ||
4430 | 901 | <runtime> | ||
4431 | 902 | <probing-paths> | ||
4432 | 903 | <directory name="lib/common/2.0" /> | ||
4433 | 904 | <directory name="lib/common/neutral" /> | ||
4434 | 905 | </probing-paths> | ||
4435 | 906 | <modes> | ||
4436 | 907 | <strict> | ||
4437 | 908 | <environment> | ||
4438 | 909 | <variable name="COMPLUS_VERSION" value="v4.0.30319" /> | ||
4439 | 910 | </environment> | ||
4440 | 911 | </strict> | ||
4441 | 912 | </modes> | ||
4442 | 913 | </runtime> | ||
4443 | 914 | <reference-assemblies basedir="${path::combine(installRoot, 'v4.0.30319')}"> | ||
4444 | 915 | <include name="Accessibility.dll" /> | ||
4445 | 916 | <include name="Microsoft.Build.Conversion.v4.0.dll" /> | ||
4446 | 917 | <include name="Microsoft.Build.dll" /> | ||
4447 | 918 | <include name="Microsoft.Build.Engine.dll" /> | ||
4448 | 919 | <include name="Microsoft.Build.Framework.dll" /> | ||
4449 | 920 | <include name="Microsoft.Build.Tasks.v4.0.dll" /> | ||
4450 | 921 | <include name="Microsoft.Build.Utilities.v4.0.dll" /> | ||
4451 | 922 | <include name="Microsoft.CSharp.dll" /> | ||
4452 | 923 | <include name="Microsoft.Data.Entity.Build.Tasks.dll" /> | ||
4453 | 924 | <include name="Microsoft.JScript.dll" /> | ||
4454 | 925 | <include name="Microsoft.Transactions.Bridge.dll" /> | ||
4455 | 926 | <include name="Microsoft.Transactions.Bridge.Dtc.dll" /> | ||
4456 | 927 | <include name="Microsoft.VisualBasic.Activities.Compiler.dll" /> | ||
4457 | 928 | <include name="Microsoft.VisualBasic.Compatibility.Data.dll" /> | ||
4458 | 929 | <include name="Microsoft.VisualBasic.Compatibility.dll" /> | ||
4459 | 930 | <include name="Microsoft.VisualBasic.dll" /> | ||
4460 | 931 | <include name="Microsoft.VisualC.dll" /> | ||
4461 | 932 | <include name="Microsoft.VisualC.STLCLR.dll" /> | ||
4462 | 933 | <include name="mscorlib.dll" /> | ||
4463 | 934 | <include name="System.Activities.Core.Presentation.dll" /> | ||
4464 | 935 | <include name="System.Activities.dll" /> | ||
4465 | 936 | <include name="System.Activities.DurableInstancing.dll" /> | ||
4466 | 937 | <include name="System.Activities.Presentation.dll" /> | ||
4467 | 938 | <include name="System.AddIn.Contract" /> | ||
4468 | 939 | <include name="System.AddIn.dll" /> | ||
4469 | 940 | <include name="System.ComponentModel.Composition.dll" /> | ||
4470 | 941 | <include name="System.ComponentModel.DataAnnotations.dll" /> | ||
4471 | 942 | <include name="System.Configuration.dll" /> | ||
4472 | 943 | <include name="System.Configuration.Install.dll" /> | ||
4473 | 944 | <include name="System.Core.dll" /> | ||
4474 | 945 | <include name="System.Data.DataSetExtensions.dll" /> | ||
4475 | 946 | <include name="System.Data.dll" /> | ||
4476 | 947 | <include name="System.Data.Entity.Design.dll" /> | ||
4477 | 948 | <include name="System.Data.Entity.dll" /> | ||
4478 | 949 | <include name="System.Data.Linq.dll" /> | ||
4479 | 950 | <include name="System.Data.OracleClient.dll" /> | ||
4480 | 951 | <include name="System.Data.Services.Client.dll" /> | ||
4481 | 952 | <include name="System.Data.Services.Design.dll" /> | ||
4482 | 953 | <include name="System.Data.Services.dll" /> | ||
4483 | 954 | <include name="System.Data.SqlXml.dll" /> | ||
4484 | 955 | <include name="System.Deployment.dll" /> | ||
4485 | 956 | <include name="System.Design.dll" /> | ||
4486 | 957 | <include name="System.Device.dll" /> | ||
4487 | 958 | <include name="System.DirectoryServices.dll" /> | ||
4488 | 959 | <include name="System.DirectoryServices.Protocols.dll" /> | ||
4489 | 960 | <include name="System.dll" /> | ||
4490 | 961 | <include name="System.Drawing.Design.dll" /> | ||
4491 | 962 | <include name="System.Drawing.dll" /> | ||
4492 | 963 | <include name="System.Dynamic.dll" /> | ||
4493 | 964 | <include name="System.EnterpriseServices.dll" /> | ||
4494 | 965 | <include name="System.EnterpriseServices.Thunk.dll" /> | ||
4495 | 966 | <include name="System.EnterpriseServices.Wrapper.dll" /> | ||
4496 | 967 | <include name="System.IdentityModel.dll" /> | ||
4497 | 968 | <include name="System.IdentityModel.Selectors.dll" /> | ||
4498 | 969 | <include name="System.IO.Log.dll" /> | ||
4499 | 970 | <include name="System.Management.dll" /> | ||
4500 | 971 | <include name="System.Management.Instrumentation.dll" /> | ||
4501 | 972 | <include name="System.Messaging.dll" /> | ||
4502 | 973 | <include name="System.Net.dll" /> | ||
4503 | 974 | <include name="System.Numerics.dll" /> | ||
4504 | 975 | <include name="System.Runtime.Caching.dll" /> | ||
4505 | 976 | <include name="System.Runtime.DurableInstancing.dll" /> | ||
4506 | 977 | <include name="System.Runtime.Remoting.dll" /> | ||
4507 | 978 | <include name="System.Runtime.Serialization.dll" /> | ||
4508 | 979 | <include name="System.Runtime.Serialization.Formatters.Soap.dll" /> | ||
4509 | 980 | <include name="System.Security.dll" /> | ||
4510 | 981 | <include name="System.ServiceModel.Activation.dll" /> | ||
4511 | 982 | <include name="System.ServiceModel.Activities.dll" /> | ||
4512 | 983 | <include name="System.ServiceModel.Channels.dll" /> | ||
4513 | 984 | <include name="System.ServiceModel.Discovery.dll" /> | ||
4514 | 985 | <include name="System.ServiceModel.dll" /> | ||
4515 | 986 | <include name="System.ServiceModel.Routing.dll" /> | ||
4516 | 987 | <include name="System.ServiceModel.ServiceMoniker40.dll" /> | ||
4517 | 988 | <include name="System.ServiceModel.WasHosting.dll" /> | ||
4518 | 989 | <include name="System.ServiceModel.Web.dll" /> | ||
4519 | 990 | <include name="System.ServiceProcess.dll" /> | ||
4520 | 991 | <include name="System.Transactions.dll" /> | ||
4521 | 992 | <include name="System.Web.Abstractions.dll" /> | ||
4522 | 993 | <include name="System.Web.ApplicationServices.dll" /> | ||
4523 | 994 | <include name="System.Web.DataVisualization.Design.dll" /> | ||
4524 | 995 | <include name="System.Web.DataVisualization.dll" /> | ||
4525 | 996 | <include name="System.Web.dll" /> | ||
4526 | 997 | <include name="System.Web.DynamicData.Design.dll" /> | ||
4527 | 998 | <include name="System.Web.DynamicData.dll" /> | ||
4528 | 999 | <include name="System.Web.Entity.Design.dll" /> | ||
4529 | 1000 | <include name="System.Web.Entity.dll" /> | ||
4530 | 1001 | <include name="System.Web.Extensions.Design.dll" /> | ||
4531 | 1002 | <include name="System.Web.Extensions.dll" /> | ||
4532 | 1003 | <include name="System.Web.Mobile.dll" /> | ||
4533 | 1004 | <include name="System.Web.RegularExpressions.dll" /> | ||
4534 | 1005 | <include name="System.Web.Routing.dll" /> | ||
4535 | 1006 | <include name="System.Web.Services.dll" /> | ||
4536 | 1007 | <include name="System.Windows.Forms.DataVisualization.Design.dll" /> | ||
4537 | 1008 | <include name="System.Windows.Forms.DataVisualization.dll" /> | ||
4538 | 1009 | <include name="System.Windows.Forms.dll" /> | ||
4539 | 1010 | <include name="System.Workflow.Activities.dll" /> | ||
4540 | 1011 | <include name="System.Workflow.ComponentModel.dll" /> | ||
4541 | 1012 | <include name="System.Workflow.Runtime.dll" /> | ||
4542 | 1013 | <include name="System.WorkflowServices.dll" /> | ||
4543 | 1014 | <include name="System.Xaml.dll" /> | ||
4544 | 1015 | <include name="System.Xaml.Hosting.dll" /> | ||
4545 | 1016 | <include name="System.Xml.dll" /> | ||
4546 | 1017 | <include name="System.Xml.Linq.dll" /> | ||
4547 | 1018 | </reference-assemblies> | ||
4548 | 1019 | <!-- WPF Assemblies --> | ||
4549 | 1020 | <reference-assemblies basedir="${path::combine(installRoot, 'v4.0.30319')}/WPF"> | ||
4550 | 1021 | <include name="NaturalLanguage6.dll" /> | ||
4551 | 1022 | <include name="NlsData0009.dll" /> | ||
4552 | 1023 | <include name="NlsLexicons0009.dll" /> | ||
4553 | 1024 | <include name="PenIMC.dll" /> | ||
4554 | 1025 | <include name="PresentationCore.dll" /> | ||
4555 | 1026 | <include name="PresentationFramework.Aero.dll" /> | ||
4556 | 1027 | <include name="PresentationFramework.Classic.dll" /> | ||
4557 | 1028 | <include name="PresentationFramework.dll" /> | ||
4558 | 1029 | <include name="PresentationFramework.Luna.dll" /> | ||
4559 | 1030 | <include name="PresentationFramework.Royale.dll" /> | ||
4560 | 1031 | <include name="PresentationHost_v0400.dll" /> | ||
4561 | 1032 | <include name="PresentationNative_v0400.dll" /> | ||
4562 | 1033 | <include name="PresentationUI.dll" /> | ||
4563 | 1034 | <include name="ReachFramework.dll" /> | ||
4564 | 1035 | <include name="System.Printing.dll" /> | ||
4565 | 1036 | <include name="System.Speech.dll" /> | ||
4566 | 1037 | <include name="System.Windows.Input.Manipulations.dll" /> | ||
4567 | 1038 | <include name="System.Windows.Presentation.dll" /> | ||
4568 | 1039 | <include name="UIAutomationClient.dll" /> | ||
4569 | 1040 | <include name="UIAutomationClientsideProviders.dll" /> | ||
4570 | 1041 | <include name="UIAutomationProvider.dll" /> | ||
4571 | 1042 | <include name="UIAutomationTypes.dll" /> | ||
4572 | 1043 | <include name="WindowsBase.dll" /> | ||
4573 | 1044 | <include name="WindowsFormsIntegration.dll" /> | ||
4574 | 1045 | <include name="wpfgfx_v0400.dll" /> | ||
4575 | 1046 | <include name="wpftxt_v0400.dll" /> | ||
4576 | 1047 | </reference-assemblies> | ||
4577 | 1048 | <reference-assemblies basedir="${environment::get-folder-path('ProgramFiles')}/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.5"> | ||
4578 | 1049 | <include name="Microsoft.Build.Conversion.v4.0.dll" /> | ||
4579 | 1050 | <include name="Microsoft.Build.dll" /> | ||
4580 | 1051 | <include name="Microsoft.Build.Engine.dll" /> | ||
4581 | 1052 | <include name="Microsoft.Build.Framework.dll" /> | ||
4582 | 1053 | <include name="Microsoft.Build.Tasks.v4.0.dll" /> | ||
4583 | 1054 | <include name="Microsoft.Build.Utilities.v4.0.dll" /> | ||
4584 | 1055 | <include name="Microsoft.CSharp.dll" /> | ||
4585 | 1056 | <include name="Microsoft.JScript.dll" /> | ||
4586 | 1057 | <include name="Microsoft.VisualBasic.Compatibility.Data.dll" /> | ||
4587 | 1058 | <include name="Microsoft.VisualBasic.Comptatibility.dll" /> | ||
4588 | 1059 | <include name="Microsoft.VisualBasic.dll" /> | ||
4589 | 1060 | <include name="Microsoft.VisualC.dll" /> | ||
4590 | 1061 | <include name="Microsoft.VisualC.STLCLR.dll" /> | ||
4591 | 1062 | <include name="mscorlib.dll" /> | ||
4592 | 1063 | <include name="PresentationBuildTasks.dll" /> | ||
4593 | 1064 | <include name="PresentationCore.dll" /> | ||
4594 | 1065 | <include name="WindowsBase.dll" /> | ||
4595 | 1066 | <include name="PresentationFramework.dll" /> | ||
4596 | 1067 | <include name="PresentationFramework.Aero.dll" /> | ||
4597 | 1068 | <include name="PresentationFramework.Classic.dll" /> | ||
4598 | 1069 | <include name="PresentationFramework.Luna.dll" /> | ||
4599 | 1070 | <include name="PresentationFramework.Royale.dll" /> | ||
4600 | 1071 | <include name="ReachFramework.dll" /> | ||
4601 | 1072 | <include name="System.Activities.Core.Presentation.dll" /> | ||
4602 | 1073 | <include name="System.Activities.dll" /> | ||
4603 | 1074 | <include name="System.Activities.DurableInstancing.dll" /> | ||
4604 | 1075 | <include name="System.Activities.Presentation.dll" /> | ||
4605 | 1076 | <include name="System.AddIn.Contract.dll" /> | ||
4606 | 1077 | <include name="System.AddIn.dll" /> | ||
4607 | 1078 | <include name="System.ComponentModel.Composition.dll" /> | ||
4608 | 1079 | <include name="System.ComponentModel.DataAnnotations.dll" /> | ||
4609 | 1080 | <include name="System.Configuration.dll" /> | ||
4610 | 1081 | <include name="System.Core.dll" /> | ||
4611 | 1082 | <include name="System.Data.DataSetExtension.dll" /> | ||
4612 | 1083 | <include name="System.Data.dll" /> | ||
4613 | 1084 | <include name="System.Data.Entity.Design.dll" /> | ||
4614 | 1085 | <include name="System.Data.Entity.dll" /> | ||
4615 | 1086 | <include name="System.Data.Linq.dll" /> | ||
4616 | 1087 | <include name="System.Data.OracleClient.dll" /> | ||
4617 | 1088 | <include name="System.Data.Services.Client.dll" /> | ||
4618 | 1089 | <include name="System.Data.Services.Design.dll" /> | ||
4619 | 1090 | <include name="System.Data.Services.dll" /> | ||
4620 | 1091 | <include name="System.Data.SqlXml.dll" /> | ||
4621 | 1092 | <include name="System.Deployment.dll" /> | ||
4622 | 1093 | <include name="System.Design.dll" /> | ||
4623 | 1094 | <include name="System.Device.dll" /> | ||
4624 | 1095 | <include name="System.DirectoryServices.AccountManagement.dll" /> | ||
4625 | 1096 | <include name="System.DirectoryServices.dll" /> | ||
4626 | 1097 | <include name="System.DirectoryServices.Protocols.dll" /> | ||
4627 | 1098 | <include name="System.dll" /> | ||
4628 | 1099 | <include name="System.Drawing.Design.dll" /> | ||
4629 | 1100 | <include name="System.Drawing.dll" /> | ||
4630 | 1101 | <include name="System.EnterpriseServices.dll" /> | ||
4631 | 1102 | <include name="System.EnterpriseServices.Thunk.dll" /> | ||
4632 | 1103 | <include name="System.EnterpriseServices.Wrapper.dll" /> | ||
4633 | 1104 | <include name="System.IdentityModel.dll" /> | ||
4634 | 1105 | <include name="System.IdentityModel.Selectors.dll" /> | ||
4635 | 1106 | <include name="System.IO.Log.dll" /> | ||
4636 | 1107 | <include name="System.Management.dll" /> | ||
4637 | 1108 | <include name="System.Management.Instrumentation.dll" /> | ||
4638 | 1109 | <include name="System.Messaging.dll" /> | ||
4639 | 1110 | <include name="System.Net.dll" /> | ||
4640 | 1111 | <include name="System.Numerics.dll" /> | ||
4641 | 1112 | <include name="System.Printing.dll" /> | ||
4642 | 1113 | <include name="System.Runtime.Caching.dll" /> | ||
4643 | 1114 | <include name="System.Runtime.DurableInstancing.dll" /> | ||
4644 | 1115 | <include name="System.Runtime.Remoting.dll" /> | ||
4645 | 1116 | <include name="System.Runtime.Serialization.dll" /> | ||
4646 | 1117 | <include name="System.Runtime.Serialization.Formatters.Soap.dll" /> | ||
4647 | 1118 | <include name="System.Security.dll" /> | ||
4648 | 1119 | <include name="System.ServiceModel.Activation.dll" /> | ||
4649 | 1120 | <include name="System.ServiceModel.Activities.dll" /> | ||
4650 | 1121 | <include name="System.ServiceModel.Channels.dll" /> | ||
4651 | 1122 | <include name="System.ServiceModel.Discovery.dll" /> | ||
4652 | 1123 | <include name="System.ServiceModel.dll" /> | ||
4653 | 1124 | <include name="System.ServiceModel.Routing.dll" /> | ||
4654 | 1125 | <include name="System.ServiceModel.Web.dll" /> | ||
4655 | 1126 | <include name="System.ServiceProcess.dll" /> | ||
4656 | 1127 | <include name="System.Speech.dll" /> | ||
4657 | 1128 | <include name="System.Transactions.dll" /> | ||
4658 | 1129 | <include name="System.Web.Abstractions.dll" /> | ||
4659 | 1130 | <include name="System.Web.ApplicationServices.dll" /> | ||
4660 | 1131 | <include name="System.Web.DataVisualization.Design.dll" /> | ||
4661 | 1132 | <include name="System.Web.DataVisualization.dll" /> | ||
4662 | 1133 | <include name="System.Web.dll" /> | ||
4663 | 1134 | <include name="System.Web.DynamicData.Design.dll" /> | ||
4664 | 1135 | <include name="System.Web.DynamicData.dll" /> | ||
4665 | 1136 | <include name="System.Web.Entity.Design.dll" /> | ||
4666 | 1137 | <include name="System.Web.Entity.dll" /> | ||
4667 | 1138 | <include name="System.Web.Extensions.Design.dll" /> | ||
4668 | 1139 | <include name="System.Web.Extensions.dll" /> | ||
4669 | 1140 | <include name="System.Web.Mobile.dll" /> | ||
4670 | 1141 | <include name="System.Web.RegularExpressions.dll" /> | ||
4671 | 1142 | <include name="System.Web.Routing.dll" /> | ||
4672 | 1143 | <include name="System.Web.Services.dll" /> | ||
4673 | 1144 | <include name="System.Windows.Forms.DataVisualization.Design.dll" /> | ||
4674 | 1145 | <include name="System.Windows.Forms.DataVisualization.dll" /> | ||
4675 | 1146 | <include name="System.Windows.Forms.dll" /> | ||
4676 | 1147 | <include name="System.Windows.Input.Manipulations.dll" /> | ||
4677 | 1148 | <include name="System.Windows.Presentation.dll" /> | ||
4678 | 1149 | <include name="System.Workflow.Activities.dll" /> | ||
4679 | 1150 | <include name="System.Workflow.ComponentModel.dll" /> | ||
4680 | 1151 | <include name="System.Workflow.Runtime.dll" /> | ||
4681 | 1152 | <include name="System.WorkflowServices.dll" /> | ||
4682 | 1153 | <include name="System.Xaml.dll" /> | ||
4683 | 1154 | <include name="System.Xml.dll" /> | ||
4684 | 1155 | <include name="System.Xml.Linq.dll" /> | ||
4685 | 1156 | </reference-assemblies> | ||
4686 | 1157 | <task-assemblies> | ||
4687 | 1158 | <!-- include MS.NET version-neutral assemblies --> | ||
4688 | 1159 | <include name="extensions/net/neutral/**/*.dll" /> | ||
4689 | 1160 | <!-- include MS.NET 4.0 specific assemblies --> | ||
4690 | 1161 | <include name="extensions/net/4.0/**/*.dll" /> | ||
4691 | 1162 | <!-- include MS.NET specific task assembly --> | ||
4692 | 1163 | <include name="NAnt.MSNetTasks.dll" /> | ||
4693 | 1164 | <!-- include MS.NET specific test assembly --> | ||
4694 | 1165 | <include name="NAnt.MSNet.Tests.dll" /> | ||
4695 | 1166 | <!-- include .NET 4.0 specific assemblies --> | ||
4696 | 1167 | <include name="extensions/common/4.0/**/*.dll" /> | ||
4697 | 1168 | </task-assemblies> | ||
4698 | 1169 | <tool-paths> | ||
4699 | 1170 | <directory name="${sdkInstallRoot}" | ||
4700 | 1171 | if="${property::exists('sdkInstallRoot')}" /> | ||
4701 | 1172 | <directory name="${path::combine(installRoot, 'v4.0.30319')}" /> | ||
4702 | 1173 | </tool-paths> | ||
4703 | 1174 | <project> | ||
4704 | 1175 | <readregistry | ||
4705 | 1176 | property="installRoot" | ||
4706 | 1177 | key="SOFTWARE\Microsoft\.NETFramework\InstallRoot" | ||
4707 | 1178 | hive="LocalMachine" /> | ||
4708 | 1179 | <locatesdk property="sdkInstallRoot" minwinsdkver="v7.0A" minnetfxver="4.0" maxnetfxver="4.0.99999" failonerror="false" /> | ||
4709 | 1180 | </project> | ||
4710 | 1181 | <tasks> | ||
4711 | 1182 | <task name="csc"> | ||
4712 | 1183 | <attribute name="supportsnowarnlist">true</attribute> | ||
4713 | 1184 | <attribute name="supportswarnaserrorlist">true</attribute> | ||
4714 | 1185 | <attribute name="supportskeycontainer">true</attribute> | ||
4715 | 1186 | <attribute name="supportskeyfile">true</attribute> | ||
4716 | 1187 | <attribute name="supportsdelaysign">true</attribute> | ||
4717 | 1188 | <attribute name="supportsplatform">true</attribute> | ||
4718 | 1189 | <attribute name="supportslangversion">true</attribute> | ||
4719 | 1190 | </task> | ||
4720 | 1191 | <task name="vbc"> | ||
4721 | 1192 | <attribute name="supportsdocgeneration">true</attribute> | ||
4722 | 1193 | <attribute name="supportsnostdlib">true</attribute> | ||
4723 | 1194 | <attribute name="supportsnowarnlist">true</attribute> | ||
4724 | 1195 | <attribute name="supportskeycontainer">true</attribute> | ||
4725 | 1196 | <attribute name="supportskeyfile">true</attribute> | ||
4726 | 1197 | <attribute name="supportsdelaysign">true</attribute> | ||
4727 | 1198 | <attribute name="supportsplatform">true</attribute> | ||
4728 | 1199 | <attribute name="supportswarnaserrorlist">true</attribute> | ||
4729 | 1200 | </task> | ||
4730 | 1201 | <task name="jsc"> | ||
4731 | 1202 | <attribute name="supportsplatform">true</attribute> | ||
4732 | 1203 | </task> | ||
4733 | 1204 | <task name="vjc"> | ||
4734 | 1205 | <attribute name="supportsnowarnlist">true</attribute> | ||
4735 | 1206 | <attribute name="supportskeycontainer">true</attribute> | ||
4736 | 1207 | <attribute name="supportskeyfile">true</attribute> | ||
4737 | 1208 | <attribute name="supportsdelaysign">true</attribute> | ||
4738 | 1209 | </task> | ||
4739 | 1210 | <task name="resgen"> | ||
4740 | 1211 | <attribute name="supportsassemblyreferences">true</attribute> | ||
4741 | 1212 | <attribute name="supportsexternalfilereferences">true</attribute> | ||
4742 | 1213 | </task> | ||
4743 | 1214 | <task name="delay-sign"> | ||
4744 | 1215 | <attribute name="exename">sn</attribute> | ||
4745 | 1216 | </task> | ||
4746 | 1217 | <task name="license"> | ||
4747 | 1218 | <attribute name="exename">lc</attribute> | ||
4748 | 1219 | <attribute name="supportsassemblyreferences">true</attribute> | ||
4749 | 1220 | </task> | ||
4750 | 1221 | </tasks> | ||
4751 | 1222 | </framework> | ||
4752 | 1223 | <framework | ||
4753 | 890 | name="netcf-1.0" | 1224 | name="netcf-1.0" |
4754 | 891 | family="netcf" | 1225 | family="netcf" |
4755 | 892 | version="1.0" | 1226 | version="1.0" |
4756 | @@ -2921,9 +3255,11 @@ | |||
4757 | 2921 | <NetFx40_LegacySecurityPolicy enabled="true"/> | 3255 | <NetFx40_LegacySecurityPolicy enabled="true"/> |
4758 | 2922 | </runtime> | 3256 | </runtime> |
4759 | 2923 | <startup> | 3257 | <startup> |
4765 | 2924 | <!-- .NET Framework 4.0 --> | 3258 | <!-- .NET Framework 4.5 --> |
4766 | 2925 | <supportedRuntime version="v4.0.30319" /> | 3259 | <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/> |
4767 | 2926 | <!-- .NET Framework 2.0 --> | 3260 | <!-- .NET Framework 4.0 --> |
4768 | 2927 | <supportedRuntime version="v2.0.50727" /> | 3261 | <supportedRuntime version="v4.0.30319" /> |
4769 | 2928 | </startup> | 3262 | <!-- .NET Framework 2.0 --> |
4770 | 3263 | <supportedRuntime version="v2.0.50727" /> | ||
4771 | 3264 | </startup> | ||
4772 | 2929 | </configuration> | 3265 | </configuration> |
This looks very good and I have started the merge...