PageRenderTime 49ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/nunit/runner/NUnitTests.config

#
ASP.NET | 85 lines | 31 code | 5 blank | 49 comment | 0 complexity | b7ef8995363c02311a6db3ec2cd233e2 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3. <!--
  4. This is the configuration file for the NUnitTests.nunit test project. You may
  5. need to create a similar configuration file for your own test project.
  6. -->
  7. <!--
  8. The <NUnit> section is only needed if you want to use a non-default value
  9. for any of the settings. It is commented out below. If you are going to use
  10. it, you must deifne the NUnit section group and the sections you need.
  11. The syntax shown here works for most runtimes. If NUnit fails at startup, you
  12. can try specifying the name of the assembly containing the NameValueSectionHandler:
  13. <section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler, System" />
  14. If that fails, try the fully qualified name of the assembly:
  15. <section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler, System,
  16. Version=2.0.50727.832, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  17. Unfortunately, this last approach makes your config file non-portable across runtimes.
  18. -->
  19. <!--
  20. <configSections>
  21. <sectionGroup name="NUnit">
  22. <section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler"/>
  23. <section name="TestRunner" type="System.Configuration.NameValueSectionHandler"/>
  24. </sectionGroup>
  25. </configSections>
  26. -->
  27. <appSettings>
  28. <!-- User application and configured property settings go here.-->
  29. <!-- Example: <add key="settingName" value="settingValue"/> -->
  30. <add key="test.setting" value="54321" />
  31. </appSettings>
  32. <!-- Sample NUnit section group showing all default values -->
  33. <!--
  34. <NUnit>
  35. <TestCaseBuilder>
  36. <add key="OldStyleTestCases" value="false" />
  37. </TestCaseBuilder>
  38. <TestRunner>
  39. <add key="ApartmentState" value="MTA" />
  40. <add key="ThreadPriority" value="Normal" />
  41. <add key="DefaultLogThreshold" value="Info" />
  42. </TestRunner>
  43. </NUnit>
  44. -->
  45. <!--
  46. The following <runtime> section allows running nunit tests under
  47. .NET 1.0 by redirecting assemblies. The appliesTo attribute
  48. causes the section to be ignored except under .NET 1.0.
  49. -->
  50. <runtime>
  51. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
  52. appliesTo="v1.0.3705">
  53. <dependentAssembly>
  54. <assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture="" />
  55. <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
  56. </dependentAssembly>
  57. <dependentAssembly>
  58. <assemblyIdentity name="System.Data" publicKeyToken="b77a5c561934e089" culture="" />
  59. <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
  60. </dependentAssembly>
  61. <dependentAssembly>
  62. <assemblyIdentity name="System.Drawing" publicKeyToken="b03f5f7f11d50a3a" culture="" />
  63. <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
  64. </dependentAssembly>
  65. <dependentAssembly>
  66. <assemblyIdentity name="System.Windows.Forms" publicKeyToken="b77a5c561934e089" culture="" />
  67. <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
  68. </dependentAssembly>
  69. <dependentAssembly>
  70. <assemblyIdentity name="System.Xml" publicKeyToken="b77a5c561934e089" culture="" />
  71. <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
  72. </dependentAssembly>
  73. </assemblyBinding>
  74. </runtime>
  75. </configuration>