nunit 2.4.8.0 → 2.5.0.9122

Sign up to get free protection for your applications and to get access to all the features.
Files changed (276) hide show
  1. data/docs/addinsDialog.html +36 -6
  2. data/docs/assertions.html +31 -12
  3. data/docs/attributes.html +59 -36
  4. data/docs/category.html +32 -9
  5. data/docs/collectionAssert.html +30 -12
  6. data/docs/collectionConstraints.html +242 -44
  7. data/docs/combinatorial.html +130 -0
  8. data/docs/comparisonAsserts.html +12 -9
  9. data/docs/comparisonConstraints.html +159 -25
  10. data/docs/compoundConstraints.html +12 -9
  11. data/docs/conditionAsserts.html +36 -12
  12. data/docs/conditionConstraints.html +131 -25
  13. data/docs/configEditor.html +10 -5
  14. data/docs/configFiles.html +5 -6
  15. data/docs/consoleCommandLine.html +51 -24
  16. data/docs/constraintModel.html +56 -19
  17. data/docs/contextMenu.html +10 -5
  18. data/docs/culture.html +32 -9
  19. data/docs/customConstraints.html +53 -37
  20. data/docs/datapoint.html +124 -0
  21. data/docs/datapointProviders.html +105 -0
  22. data/docs/delayedConstraint.html +98 -0
  23. data/docs/description.html +32 -9
  24. data/docs/directoryAssert.html +151 -0
  25. data/docs/equalConstraint.html +167 -47
  26. data/docs/equalityAsserts.html +12 -9
  27. data/docs/eventListeners.html +110 -0
  28. data/docs/exception.html +61 -36
  29. data/docs/exceptionAsserts.html +210 -0
  30. data/docs/explicit.html +32 -9
  31. data/docs/extensibility.html +8 -8
  32. data/docs/extensionTips.html +100 -0
  33. data/docs/fileAssert.html +12 -9
  34. data/docs/files/TestResult.xml +99 -67
  35. data/docs/fixtureSetup.html +60 -18
  36. data/docs/fixtureTeardown.html +56 -17
  37. data/docs/getStarted.html +9 -4
  38. data/docs/guiCommandLine.html +10 -5
  39. data/docs/identityAsserts.html +12 -9
  40. data/docs/ignore.html +32 -9
  41. data/docs/img/addinsDialog.JPG +0 -0
  42. data/docs/img/advancedSettings.jpg +0 -0
  43. data/docs/img/assembliesTab.jpg +0 -0
  44. data/docs/img/assemblyReloadSettings.JPG +0 -0
  45. data/docs/img/configEditor.jpg +0 -0
  46. data/docs/img/console-mock.jpg +0 -0
  47. data/docs/img/generalSettings.jpg +0 -0
  48. data/docs/img/generalTab.jpg +0 -0
  49. data/docs/img/gui-screenshot.jpg +0 -0
  50. data/docs/img/gui-verify.jpg +0 -0
  51. data/docs/img/miniGui.jpg +0 -0
  52. data/docs/img/testLoadSettings.jpg +0 -0
  53. data/docs/img/testOutputSettings.jpg +0 -0
  54. data/docs/img/testProperties.jpg +0 -0
  55. data/docs/img/testResultSettings.JPG +0 -0
  56. data/docs/img/textOutputSettings.jpg +0 -0
  57. data/docs/img/treeDisplaySettings.jpg +0 -0
  58. data/docs/img/visualStudioSettings.jpg +0 -0
  59. data/docs/index.html +15 -8
  60. data/docs/installation.html +33 -75
  61. data/docs/license.html +9 -4
  62. data/docs/listMapper.html +12 -9
  63. data/docs/mainMenu.html +18 -8
  64. data/docs/maxtime.html +109 -0
  65. data/docs/multiAssembly.html +5 -6
  66. data/docs/nunit-console.html +9 -4
  67. data/docs/nunit-gui.html +32 -15
  68. data/docs/nunit.css +3 -3
  69. data/docs/nunitAddins.html +41 -144
  70. data/docs/pairwise.html +114 -0
  71. data/docs/parameterizedTests.html +141 -0
  72. data/docs/pathConstraints.html +162 -0
  73. data/docs/platform.html +37 -9
  74. data/docs/pnunit.html +93 -0
  75. data/docs/projectEditor.html +82 -11
  76. data/docs/property.html +39 -10
  77. data/docs/propertyConstraint.html +12 -9
  78. data/docs/quickStart.html +9 -4
  79. data/docs/random.html +138 -0
  80. data/docs/range.html +149 -0
  81. data/docs/releaseDetail.html +861 -0
  82. data/docs/releaseNotes.html +457 -1133
  83. data/docs/repeat.html +104 -0
  84. data/docs/requiredAddin.html +153 -0
  85. data/docs/requiresMTA.html +152 -0
  86. data/docs/requiresSTA.html +153 -0
  87. data/docs/requiresThread.html +153 -0
  88. data/docs/sameasConstraint.html +23 -17
  89. data/docs/samples.html +12 -9
  90. data/docs/sequential.html +132 -0
  91. data/docs/setCulture.html +32 -9
  92. data/docs/{optionsDialog.html → settingsDialog.html} +89 -53
  93. data/docs/setup.html +61 -16
  94. data/docs/setupFixture.html +32 -9
  95. data/docs/stringAssert.html +15 -12
  96. data/docs/stringConstraints.html +12 -9
  97. data/docs/suite.html +32 -11
  98. data/docs/suiteBuilders.html +106 -0
  99. data/docs/teardown.html +56 -16
  100. data/docs/test.html +67 -18
  101. data/docs/testCase.html +168 -0
  102. data/docs/testCaseSource.html +284 -0
  103. data/docs/testDecorators.html +117 -0
  104. data/docs/testFixture.html +228 -16
  105. data/docs/testProperties.html +10 -5
  106. data/docs/testcaseBuilders.html +117 -0
  107. data/docs/testcaseProviders.html +122 -0
  108. data/docs/theory.html +208 -0
  109. data/docs/throwsConstraint.html +112 -0
  110. data/docs/timeout.html +109 -0
  111. data/docs/typeAsserts.html +47 -14
  112. data/docs/typeConstraints.html +12 -9
  113. data/docs/upgrade.html +23 -17
  114. data/docs/utilityAsserts.html +38 -16
  115. data/docs/valueSource.html +137 -0
  116. data/docs/values.html +136 -0
  117. data/docs/vsSupport.html +5 -6
  118. data/lib/net-1.1/NUnitTests.config +2 -2
  119. data/lib/net-1.1/NUnitTests.nunit +8 -11
  120. data/lib/net-1.1/agent.conf +4 -0
  121. data/lib/net-1.1/agent.log.conf +18 -0
  122. data/lib/net-1.1/framework/nunit.framework.dll +0 -0
  123. data/lib/net-1.1/framework/nunit.framework.xml +9321 -0
  124. data/lib/net-1.1/framework/nunit.mocks.dll +0 -0
  125. data/lib/net-1.1/framework/pnunit.framework.dll +0 -0
  126. data/lib/net-1.1/launcher.log.conf +18 -0
  127. data/lib/net-1.1/{fit.dll → lib/fit.dll} +0 -0
  128. data/lib/net-1.1/lib/log4net.dll +0 -0
  129. data/lib/net-1.1/lib/nunit-console-runner.dll +0 -0
  130. data/lib/net-1.1/lib/nunit.core.dll +0 -0
  131. data/lib/net-1.1/lib/nunit.core.interfaces.dll +0 -0
  132. data/lib/net-1.1/lib/nunit.fixtures.dll +0 -0
  133. data/lib/net-1.1/lib/nunit.util.dll +0 -0
  134. data/lib/net-1.1/nunit-agent.exe +0 -0
  135. data/lib/net-1.1/{nunit.exe.config → nunit-agent.exe.config} +21 -55
  136. data/lib/net-1.1/nunit-console.exe +0 -0
  137. data/lib/net-1.1/nunit-console.exe.config +19 -49
  138. data/lib/net-1.1/nunit.framework.dll +0 -0
  139. data/lib/net-1.1/pnunit-agent.exe +0 -0
  140. data/lib/net-1.1/pnunit-agent.exe.config +87 -0
  141. data/lib/net-1.1/pnunit-launcher.exe +0 -0
  142. data/lib/net-1.1/pnunit-launcher.exe.config +87 -0
  143. data/lib/net-1.1/pnunit.framework.dll +0 -0
  144. data/lib/net-1.1/pnunit.tests.dll +0 -0
  145. data/lib/net-1.1/runpnunit.bat +2 -0
  146. data/lib/net-1.1/test.conf +24 -0
  147. data/lib/net-1.1/{loadtest-assembly.dll → tests/loadtest-assembly.dll} +0 -0
  148. data/lib/net-1.1/tests/mock-assembly.dll +0 -0
  149. data/lib/net-1.1/tests/nonamespace-assembly.dll +0 -0
  150. data/lib/net-1.1/tests/nunit-console.tests.dll +0 -0
  151. data/lib/net-1.1/tests/nunit.core.tests.dll +0 -0
  152. data/lib/net-1.1/tests/nunit.fixtures.tests.dll +0 -0
  153. data/lib/net-1.1/tests/nunit.framework.dll +0 -0
  154. data/lib/net-1.1/tests/nunit.framework.tests.dll +0 -0
  155. data/lib/net-1.1/tests/nunit.mocks.tests.dll +0 -0
  156. data/lib/net-1.1/{nunit.util.tests.dll → tests/nunit.util.tests.dll} +0 -0
  157. data/lib/net-1.1/tests/test-assembly.dll +0 -0
  158. data/lib/net-1.1/tests/test-utilities.dll +0 -0
  159. data/lib/net-1.1/tests/timing-tests.dll +0 -0
  160. data/lib/net-2.0/NUnitTests.config +2 -2
  161. data/lib/net-2.0/NUnitTests.nunit +11 -11
  162. data/lib/net-2.0/agent.conf +4 -0
  163. data/lib/net-2.0/agent.log.conf +18 -0
  164. data/lib/net-2.0/framework/nunit.framework.dll +0 -0
  165. data/lib/net-2.0/framework/nunit.framework.xml +9803 -0
  166. data/lib/net-2.0/framework/nunit.mocks.dll +0 -0
  167. data/lib/net-2.0/framework/pnunit.framework.dll +0 -0
  168. data/lib/net-2.0/launcher.log.conf +18 -0
  169. data/lib/{net-1.1 → net-2.0/lib}/Failure.jpg +0 -0
  170. data/lib/net-2.0/{Success.jpg → lib/Gray.jpg} +0 -0
  171. data/lib/{net-1.1 → net-2.0/lib}/Ignored.jpg +0 -0
  172. data/lib/{net-1.1 → net-2.0/lib}/Success.jpg +0 -0
  173. data/lib/net-2.0/{fit.dll → lib/fit.dll} +0 -0
  174. data/lib/net-2.0/lib/log4net.dll +0 -0
  175. data/lib/net-2.0/lib/nunit-console-runner.dll +0 -0
  176. data/lib/net-2.0/lib/nunit-gui-runner.dll +0 -0
  177. data/lib/net-2.0/lib/nunit.core.dll +0 -0
  178. data/lib/net-2.0/lib/nunit.core.interfaces.dll +0 -0
  179. data/lib/net-2.0/lib/nunit.fixtures.dll +0 -0
  180. data/lib/net-2.0/lib/nunit.uiexception.dll +0 -0
  181. data/lib/net-2.0/lib/nunit.uikit.dll +0 -0
  182. data/lib/net-2.0/lib/nunit.util.dll +0 -0
  183. data/lib/net-2.0/nunit-agent.exe +0 -0
  184. data/lib/net-2.0/nunit-agent.exe.config +87 -0
  185. data/lib/net-2.0/nunit-console-x86.exe +0 -0
  186. data/lib/net-2.0/nunit-console-x86.exe.config +19 -49
  187. data/lib/net-2.0/nunit-console.exe +0 -0
  188. data/lib/net-2.0/nunit-console.exe.config +19 -49
  189. data/lib/net-2.0/nunit-x86.exe +0 -0
  190. data/lib/net-2.0/nunit-x86.exe.config +48 -74
  191. data/lib/net-2.0/nunit.exe +0 -0
  192. data/lib/net-2.0/nunit.exe.config +48 -74
  193. data/lib/net-2.0/nunit.framework.dll +0 -0
  194. data/lib/net-2.0/pnunit-agent.exe +0 -0
  195. data/lib/net-2.0/pnunit-agent.exe.config +87 -0
  196. data/lib/net-2.0/pnunit-launcher.exe +0 -0
  197. data/lib/net-2.0/pnunit-launcher.exe.config +87 -0
  198. data/lib/net-2.0/pnunit.framework.dll +0 -0
  199. data/lib/net-2.0/pnunit.tests.dll +0 -0
  200. data/lib/net-2.0/runpnunit.bat +2 -0
  201. data/lib/net-2.0/test.conf +24 -0
  202. data/lib/net-2.0/{loadtest-assembly.dll → tests/loadtest-assembly.dll} +0 -0
  203. data/lib/net-2.0/tests/mock-assembly.dll +0 -0
  204. data/lib/net-2.0/tests/nonamespace-assembly.dll +0 -0
  205. data/lib/net-2.0/tests/nunit-console.tests.dll +0 -0
  206. data/lib/net-2.0/tests/nunit-gui.tests.dll +0 -0
  207. data/lib/net-2.0/tests/nunit.core.tests.dll +0 -0
  208. data/lib/net-2.0/tests/nunit.fixtures.tests.dll +0 -0
  209. data/lib/net-2.0/tests/nunit.framework.dll +0 -0
  210. data/lib/net-2.0/tests/nunit.framework.tests.dll +0 -0
  211. data/lib/net-2.0/tests/nunit.mocks.tests.dll +0 -0
  212. data/lib/net-2.0/tests/nunit.uiexception.tests.dll +0 -0
  213. data/lib/net-2.0/tests/nunit.uikit.tests.dll +0 -0
  214. data/lib/net-2.0/{nunit.util.tests.dll → tests/nunit.util.tests.dll} +0 -0
  215. data/lib/net-2.0/tests/test-assembly.dll +0 -0
  216. data/lib/net-2.0/tests/test-utilities.dll +0 -0
  217. data/lib/net-2.0/tests/timing-tests.dll +0 -0
  218. metadata +131 -74
  219. data/docs/classicModel.html +0 -92
  220. data/docs/customAsserts.html +0 -115
  221. data/docs/features.html +0 -75
  222. data/docs/files/Thumbs.db +0 -0
  223. data/docs/platformSupport.html +0 -99
  224. data/lib/net-1.1/mock-assembly.dll +0 -0
  225. data/lib/net-1.1/nonamespace-assembly.dll +0 -0
  226. data/lib/net-1.1/notestfixtures-assembly.dll +0 -0
  227. data/lib/net-1.1/nunit-console-runner.dll +0 -0
  228. data/lib/net-1.1/nunit-console.tests.dll +0 -0
  229. data/lib/net-1.1/nunit-gui-runner.dll +0 -0
  230. data/lib/net-1.1/nunit-gui.tests.dll +0 -0
  231. data/lib/net-1.1/nunit.core.dll +0 -0
  232. data/lib/net-1.1/nunit.core.extensions.dll +0 -0
  233. data/lib/net-1.1/nunit.core.interfaces.dll +0 -0
  234. data/lib/net-1.1/nunit.core.tests.dll +0 -0
  235. data/lib/net-1.1/nunit.exe +0 -0
  236. data/lib/net-1.1/nunit.extensions.tests.dll +0 -0
  237. data/lib/net-1.1/nunit.fixtures.dll +0 -0
  238. data/lib/net-1.1/nunit.fixtures.tests.dll +0 -0
  239. data/lib/net-1.1/nunit.framework.extensions.dll +0 -0
  240. data/lib/net-1.1/nunit.framework.tests.dll +0 -0
  241. data/lib/net-1.1/nunit.framework.xml +0 -5622
  242. data/lib/net-1.1/nunit.mocks.dll +0 -0
  243. data/lib/net-1.1/nunit.mocks.tests.dll +0 -0
  244. data/lib/net-1.1/nunit.uikit.dll +0 -0
  245. data/lib/net-1.1/nunit.uikit.tests.dll +0 -0
  246. data/lib/net-1.1/nunit.util.dll +0 -0
  247. data/lib/net-1.1/test-assembly.dll +0 -0
  248. data/lib/net-1.1/test-utilities.dll +0 -0
  249. data/lib/net-1.1/timing-tests.dll +0 -0
  250. data/lib/net-2.0/Failure.jpg +0 -0
  251. data/lib/net-2.0/Ignored.jpg +0 -0
  252. data/lib/net-2.0/mock-assembly.dll +0 -0
  253. data/lib/net-2.0/nonamespace-assembly.dll +0 -0
  254. data/lib/net-2.0/notestfixtures-assembly.dll +0 -0
  255. data/lib/net-2.0/nunit-console-runner.dll +0 -0
  256. data/lib/net-2.0/nunit-console.tests.dll +0 -0
  257. data/lib/net-2.0/nunit-gui-runner.dll +0 -0
  258. data/lib/net-2.0/nunit-gui.tests.dll +0 -0
  259. data/lib/net-2.0/nunit.core.dll +0 -0
  260. data/lib/net-2.0/nunit.core.extensions.dll +0 -0
  261. data/lib/net-2.0/nunit.core.interfaces.dll +0 -0
  262. data/lib/net-2.0/nunit.core.tests.dll +0 -0
  263. data/lib/net-2.0/nunit.extensions.tests.dll +0 -0
  264. data/lib/net-2.0/nunit.fixtures.dll +0 -0
  265. data/lib/net-2.0/nunit.fixtures.tests.dll +0 -0
  266. data/lib/net-2.0/nunit.framework.extensions.dll +0 -0
  267. data/lib/net-2.0/nunit.framework.tests.dll +0 -0
  268. data/lib/net-2.0/nunit.framework.xml +0 -5622
  269. data/lib/net-2.0/nunit.mocks.dll +0 -0
  270. data/lib/net-2.0/nunit.mocks.tests.dll +0 -0
  271. data/lib/net-2.0/nunit.uikit.dll +0 -0
  272. data/lib/net-2.0/nunit.uikit.tests.dll +0 -0
  273. data/lib/net-2.0/nunit.util.dll +0 -0
  274. data/lib/net-2.0/test-assembly.dll +0 -0
  275. data/lib/net-2.0/test-utilities.dll +0 -0
  276. data/lib/net-2.0/timing-tests.dll +0 -0
@@ -0,0 +1,18 @@
1
+ <log4net>
2
+ <!-- A1 is set to be a ConsoleAppender -->
3
+ <appender name="A1" type="log4net.Appender.ConsoleAppender">
4
+
5
+ <!-- A1 uses PatternLayout -->
6
+ <layout type="log4net.Layout.PatternLayout">
7
+ <!-- Print the date in ISO 8601 format -->
8
+ <conversionPattern value="%-5level %logger - %message%newline" />
9
+ </layout>
10
+ </appender>
11
+
12
+ <!-- Set root logger level to DEBUG and its only appender to A1 -->
13
+ <root>
14
+ <level value="DEBUG" />
15
+ <appender-ref ref="A1" />
16
+ </root>
17
+
18
+ </log4net>
File without changes
@@ -1,77 +1,43 @@
1
1
  <?xml version="1.0" encoding="Windows-1252"?>
2
2
  <configuration>
3
-
4
- <!-- Do not remove. Sets up configsectionhandler section for log4net -->
5
- <configSections>
6
- <section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
7
- </configSections>
8
-
9
3
  <!--
10
- Application settings for NUnit-gui.exe. Do NOT put settings
4
+ Application settings for nunit-agent.exe. Do NOT put settings
11
5
  for use by your tests here.
12
6
  -->
13
7
  <appSettings>
14
-
15
8
  <!--
16
9
  Specify the location to be used by .NET for the cache
17
10
  -->
18
11
  <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
19
-
20
- <!--
21
- Uncomment to specify the url to be used for help. If not used, the
22
- default value is something like
23
- file://localhost/C:/Program Files/NUnit 2.2/doc/index.html
24
- This setting is provided in case your default browser doesn't
25
- support this format.
26
- -->
27
- <!-- <add key="helpUrl" value="http://www.nunit.org" /> -->
28
-
29
12
  </appSettings>
30
-
31
13
 
32
- <!--
33
- The startup section may be used to specify the runtime versions
34
- supported in the order that they will be used if more than one
35
- is present. As supplied, this section is commented out, which
36
- causes nunit-console to use the version of the framework with
37
- which it was built.
38
-
39
- Since .NET 1.0 does not recognize the <supportedRuntime> elements,
40
- a <requiredRuntime> element is used in case it is the only version
41
- of the framework that is installed.
42
- -->
43
- <!--
44
- <startup>
45
- <supportedRuntime version="v2.0.50727" />
46
- <supportedRuntime version="v2.0.50215" />
47
- <supportedRuntime version="v2.0.40607" />
48
- <supportedRuntime version="v1.1.4322" />
49
- <supportedRuntime version="v1.0.3705" />
50
-
51
- <requiredRuntime version="v1.0.3705" />
14
+ <!-- Set the level for tracing NUnit itself -->
15
+ <!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
16
+ <system.diagnostics>
17
+ <switches>
18
+ <add name="NTrace" value="0" />
19
+ </switches>
20
+ </system.diagnostics>
21
+
22
+ <runtime>
23
+ <!-- We need this so test exceptions don't crash NUnit -->
24
+ <legacyUnhandledExceptionPolicy enabled="1" />
52
25
 
53
- </startup>
54
- -->
26
+ <!-- Look for addins in the addins directory for now -->
27
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
28
+ <probing privatePath="lib;addins"/>
29
+ </assemblyBinding>
55
30
 
56
- <!--
57
- The following <runtime> section allows running nunit under
31
+ <!--
32
+ The following <assemblyBinding> section allows running nunit under
58
33
  .NET 1.0 by redirecting assemblies. The appliesTo attribute
59
34
  causes the section to be ignored except under .NET 1.0
60
35
  on a machine with only the .NET version 1.0 runtime installed.
61
36
  If application and its tests were built for .NET 1.1 you will
62
- also need to redirect system assemblies in the test config file
63
- just as we do for nunit.tests.dll.
37
+ also need to redirect system assemblies in the test config file,
38
+ which controls loading of the tests.
64
39
  -->
65
-
66
- <runtime>
67
-
68
- <legacyUnhandledExceptionPolicy enabled="1" />
69
-
70
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
71
- <probing privatePath="addins"/>
72
- </assemblyBinding>
73
-
74
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
40
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
75
41
  appliesTo="v1.0.3705">
76
42
 
77
43
  <dependentAssembly>
@@ -1,72 +1,42 @@
1
1
  <?xml version="1.0" encoding="Windows-1252"?>
2
2
  <configuration>
3
-
4
- <!-- Do not remove. Sets up configsectionhandler section for log4net -->
5
- <configSections>
6
- <section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
7
- </configSections>
8
-
9
3
  <!--
10
4
  Application settings for NUnit-console.exe. Do NOT put settings
11
5
  for use by your tests here.
12
6
  -->
13
7
  <appSettings>
14
-
15
8
  <!--
16
9
  Specify the location to be used by .NET for the cache
17
10
  -->
18
- <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
19
-
11
+ <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
20
12
  </appSettings>
21
-
22
- <system.diagnostics>
13
+
14
+ <!-- Set the level for tracing NUnit itself -->
15
+ <!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
16
+ <system.diagnostics>
23
17
  <switches>
24
- <add name="NTrace" value="4" />
18
+ <add name="NTrace" value="0" />
25
19
  </switches>
26
- <trace autoflush="true" indentsize="4">
27
- <listeners>
28
- <add name="NUnitInternalTrace" type="System.Diagnostics.TextWriterTraceListener"
29
- initializeData="C:\NUnitPrimaryTrace.txt"/>
30
- </listeners>
31
- </trace>
32
20
  </system.diagnostics>
33
-
34
- <!--
35
- The startup section may be used to specify the runtime versions
36
- supported in the order that they will be used if more than one
37
- is present. As supplied, this section is commented out, which
38
- causes nunit-console to use the version of the framework with
39
- which it was built.
40
-
41
- Since .NET 1.0 does not recognize the <supportedRuntime> elements,
42
- a <requiredRuntime> element is used in case it is the only version
43
- of the framework that is installed.
44
- -->
45
- <!--
46
- <startup>
47
- <supportedRuntime version="v2.0.50727" />
48
- <supportedRuntime version="v2.0.50215" />
49
- <supportedRuntime version="v2.0.40607" />
50
- <supportedRuntime version="v1.1.4322" />
51
- <supportedRuntime version="v1.0.3705" />
52
-
53
- <requiredRuntime version="v1.0.3705" />
54
- </startup>
55
- -->
21
+
22
+ <runtime>
23
+ <!-- We need this so test exceptions don't crash NUnit -->
24
+ <legacyUnhandledExceptionPolicy enabled="1" />
25
+
26
+ <!-- Look for addins in the addins directory for now -->
27
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
28
+ <probing privatePath="lib;addins"/>
29
+ </assemblyBinding>
56
30
 
57
31
  <!--
58
- The following <runtime> section allows running nunit under
32
+ The following <assemblyBinding> section allows running nunit under
59
33
  .NET 1.0 by redirecting assemblies. The appliesTo attribute
60
- causes the section to be ignored except under .NET 1.0version 1
34
+ causes the section to be ignored except under .NET 1.0
61
35
  on a machine with only the .NET version 1.0 runtime installed.
62
36
  If application and its tests were built for .NET 1.1 you will
63
- also need to redirect system assemblies in the test config file.
37
+ also need to redirect system assemblies in the test config file,
38
+ which controls loading of the tests.
64
39
  -->
65
-
66
- <runtime>
67
-
68
- <legacyUnhandledExceptionPolicy enabled="1" />
69
-
70
40
  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
71
41
  appliesTo="v1.0.3705">
72
42
 
@@ -0,0 +1,87 @@
1
+ <?xml version="1.0" encoding="Windows-1252"?>
2
+ <configuration>
3
+ <!--
4
+ Application settings for pnunit-agent.exe. Do NOT put settings
5
+ for use by your tests here.
6
+ -->
7
+ <appSettings>
8
+ <!--
9
+ Specify the location to be used by .NET for the cache
10
+ -->
11
+ <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
12
+ </appSettings>
13
+
14
+ <!-- Set the level for tracing NUnit itself -->
15
+ <!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
16
+ <system.diagnostics>
17
+ <switches>
18
+ <add name="NTrace" value="0" />
19
+ </switches>
20
+ </system.diagnostics>
21
+
22
+ <runtime>
23
+ <!-- We need this so test exceptions don't crash NUnit -->
24
+ <legacyUnhandledExceptionPolicy enabled="1" />
25
+
26
+ <!-- Look for addins in the addins directory for now -->
27
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
28
+ <probing privatePath="framework;lib;addins"/>
29
+ </assemblyBinding>
30
+
31
+ <!--
32
+ The following <assemblyBinding> section allows running nunit under
33
+ .NET 1.0 by redirecting assemblies. The appliesTo attribute
34
+ causes the section to be ignored except under .NET 1.0
35
+ on a machine with only the .NET version 1.0 runtime installed.
36
+ If application and its tests were built for .NET 1.1 you will
37
+ also need to redirect system assemblies in the test config file,
38
+ which controls loading of the tests.
39
+ -->
40
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
41
+ appliesTo="v1.0.3705">
42
+
43
+ <dependentAssembly>
44
+ <assemblyIdentity name="System"
45
+ publicKeyToken="b77a5c561934e089"
46
+ culture="neutral"/>
47
+ <bindingRedirect oldVersion="1.0.5000.0"
48
+ newVersion="1.0.3300.0"/>
49
+ </dependentAssembly>
50
+
51
+ <dependentAssembly>
52
+ <assemblyIdentity name="System.Data"
53
+ publicKeyToken="b77a5c561934e089"
54
+ culture="neutral"/>
55
+ <bindingRedirect oldVersion="1.0.5000.0"
56
+ newVersion="1.0.3300.0"/>
57
+ </dependentAssembly>
58
+
59
+ <dependentAssembly>
60
+ <assemblyIdentity name="System.Drawing"
61
+ publicKeyToken="b03f5f7f11d50a3a"
62
+ culture="neutral"/>
63
+ <bindingRedirect oldVersion="1.0.5000.0"
64
+ newVersion="1.0.3300.0"/>
65
+ </dependentAssembly>
66
+
67
+ <dependentAssembly>
68
+ <assemblyIdentity name="System.Windows.Forms"
69
+ publicKeyToken="b77a5c561934e089"
70
+ culture="neutral"/>
71
+ <bindingRedirect oldVersion="1.0.5000.0"
72
+ newVersion="1.0.3300.0"/>
73
+ </dependentAssembly>
74
+
75
+ <dependentAssembly>
76
+ <assemblyIdentity name="System.Xml"
77
+ publicKeyToken="b77a5c561934e089"
78
+ culture="neutral"/>
79
+ <bindingRedirect oldVersion="1.0.5000.0"
80
+ newVersion="1.0.3300.0"/>
81
+ </dependentAssembly>
82
+
83
+ </assemblyBinding>
84
+
85
+ </runtime>
86
+
87
+ </configuration>
@@ -0,0 +1,87 @@
1
+ <?xml version="1.0" encoding="Windows-1252"?>
2
+ <configuration>
3
+ <!--
4
+ Application settings for pnunit-launch.exe. Do NOT put settings
5
+ for use by your tests here.
6
+ -->
7
+ <appSettings>
8
+ <!--
9
+ Specify the location to be used by .NET for the cache
10
+ -->
11
+ <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
12
+ </appSettings>
13
+
14
+ <!-- Set the level for tracing NUnit itself -->
15
+ <!-- 0=Off 1=Error 2=Warning 3=Info 4=Debug -->
16
+ <system.diagnostics>
17
+ <switches>
18
+ <add name="NTrace" value="0" />
19
+ </switches>
20
+ </system.diagnostics>
21
+
22
+ <runtime>
23
+ <!-- We need this so test exceptions don't crash NUnit -->
24
+ <legacyUnhandledExceptionPolicy enabled="1" />
25
+
26
+ <!-- Look for addins in the addins directory for now -->
27
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
28
+ <probing privatePath="framework;lib;addins"/>
29
+ </assemblyBinding>
30
+
31
+ <!--
32
+ The following <assemblyBinding> section allows running nunit under
33
+ .NET 1.0 by redirecting assemblies. The appliesTo attribute
34
+ causes the section to be ignored except under .NET 1.0
35
+ on a machine with only the .NET version 1.0 runtime installed.
36
+ If application and its tests were built for .NET 1.1 you will
37
+ also need to redirect system assemblies in the test config file,
38
+ which controls loading of the tests.
39
+ -->
40
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
41
+ appliesTo="v1.0.3705">
42
+
43
+ <dependentAssembly>
44
+ <assemblyIdentity name="System"
45
+ publicKeyToken="b77a5c561934e089"
46
+ culture="neutral"/>
47
+ <bindingRedirect oldVersion="1.0.5000.0"
48
+ newVersion="1.0.3300.0"/>
49
+ </dependentAssembly>
50
+
51
+ <dependentAssembly>
52
+ <assemblyIdentity name="System.Data"
53
+ publicKeyToken="b77a5c561934e089"
54
+ culture="neutral"/>
55
+ <bindingRedirect oldVersion="1.0.5000.0"
56
+ newVersion="1.0.3300.0"/>
57
+ </dependentAssembly>
58
+
59
+ <dependentAssembly>
60
+ <assemblyIdentity name="System.Drawing"
61
+ publicKeyToken="b03f5f7f11d50a3a"
62
+ culture="neutral"/>
63
+ <bindingRedirect oldVersion="1.0.5000.0"
64
+ newVersion="1.0.3300.0"/>
65
+ </dependentAssembly>
66
+
67
+ <dependentAssembly>
68
+ <assemblyIdentity name="System.Windows.Forms"
69
+ publicKeyToken="b77a5c561934e089"
70
+ culture="neutral"/>
71
+ <bindingRedirect oldVersion="1.0.5000.0"
72
+ newVersion="1.0.3300.0"/>
73
+ </dependentAssembly>
74
+
75
+ <dependentAssembly>
76
+ <assemblyIdentity name="System.Xml"
77
+ publicKeyToken="b77a5c561934e089"
78
+ culture="neutral"/>
79
+ <bindingRedirect oldVersion="1.0.5000.0"
80
+ newVersion="1.0.3300.0"/>
81
+ </dependentAssembly>
82
+
83
+ </assemblyBinding>
84
+
85
+ </runtime>
86
+
87
+ </configuration>
@@ -0,0 +1,2 @@
1
+ start pnunit-agent agent.conf
2
+ pnunit-launcher test.conf
@@ -0,0 +1,24 @@
1
+ <TestGroup>
2
+ <ParallelTests>
3
+
4
+ <ParallelTest>
5
+ <Name>Testing</Name>
6
+ <Tests>
7
+ <TestConf>
8
+ <Name>Testing</Name>
9
+ <Assembly>pnunit.tests.dll</Assembly>
10
+ <TestToRun>TestLibraries.Testing.EqualTo19</TestToRun>
11
+ <Machine>localhost:8080</Machine>
12
+ <TestParams>
13
+ <string>..\server</string> <!-- server dir -->
14
+ <string></string> <!-- database server -->
15
+ <string></string><!-- conn string -->
16
+ </TestParams>
17
+ </TestConf>
18
+
19
+ </Tests>
20
+ </ParallelTest>
21
+
22
+
23
+ </ParallelTests>
24
+ </TestGroup>