~nunit-core/nunitv2/2.5

« back to all changes in this revision

Viewing changes to NUnitTests.config

  • Committer: charliepoole
  • Date: 2008-02-23 03:26:05 UTC
  • Revision ID: vcs-imports@canonical.com-20080223032605-y413yp2ckipdsd1s
Move non-source files like scripts to the root directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
<!--
 
9
         The <NUnit> section is only needed if you want to use a non-default value
 
10
         for any of the settings. It is commented out below. If you are going to use
 
11
   it, you must deifne the NUnit section group and the sections you need.
 
12
 
 
13
   The syntax shown here works for most runtimes. If NUnit fails at startup, you
 
14
   can try specifying the name of the assembly containing the NameValueSectionHandler:
 
15
   
 
16
      <section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler, System" />
 
17
      
 
18
   If that fails, try the fully qualified name of the assembly:
 
19
   
 
20
      <section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler, System, 
 
21
             Version=2.0.50727.832, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
 
22
             
 
23
   Unfortunately, this last approach makes your config file non-portable across runtimes.
 
24
   -->
 
25
 
 
26
<!--
 
27
  <configSections>
 
28
                <sectionGroup name="NUnit">
 
29
                        <section name="TestCaseBuilder" type="System.Configuration.NameValueSectionHandler"/>
 
30
                        <section name="TestRunner" type="System.Configuration.NameValueSectionHandler"/>
 
31
                </sectionGroup>
 
32
        </configSections>
 
33
 -->
 
34
 
 
35
  <appSettings>
 
36
                <!--   User application and configured property settings go here.-->
 
37
                <!--   Example: <add key="settingName" value="settingValue"/> -->
 
38
                <add key="test.setting" value="54321" />
 
39
        </appSettings>
 
40
 
 
41
<!-- Sample NUnit section group showing all default values -->
 
42
<!--
 
43
        <NUnit>
 
44
                <TestCaseBuilder>
 
45
                        <add key="OldStyleTestCases" value="false" />
 
46
                </TestCaseBuilder>
 
47
                <TestRunner>
 
48
                        <add key="ApartmentState" value="MTA" />
 
49
                        <add key="ThreadPriority" value="Normal" />
 
50
                </TestRunner>
 
51
        </NUnit>
 
52
-->
 
53
  
 
54
   <!--
 
55
    The following <runtime> section allows running nunit tests under 
 
56
    .NET 1.0 by redirecting assemblies. The appliesTo attribute
 
57
    causes the section to be ignored except under .NET 1.0.
 
58
   --> 
 
59
        <runtime>
 
60
                <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
 
61
                                appliesTo="v1.0.3705">
 
62
                        <dependentAssembly>
 
63
                                <assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture="" />
 
64
                                <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
 
65
                        </dependentAssembly>
 
66
                        <dependentAssembly>
 
67
                                <assemblyIdentity name="System.Data" publicKeyToken="b77a5c561934e089" culture="" />
 
68
                                <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
 
69
                        </dependentAssembly>
 
70
                        <dependentAssembly>
 
71
                                <assemblyIdentity name="System.Drawing" publicKeyToken="b03f5f7f11d50a3a" culture="" />
 
72
                                <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
 
73
                        </dependentAssembly>
 
74
                        <dependentAssembly>
 
75
                                <assemblyIdentity name="System.Windows.Forms" publicKeyToken="b77a5c561934e089" culture="" />
 
76
                                <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
 
77
                        </dependentAssembly>
 
78
                        <dependentAssembly>
 
79
                                <assemblyIdentity name="System.Xml" publicKeyToken="b77a5c561934e089" culture="" />
 
80
                                <bindingRedirect oldVersion="1.0.5000.0" newVersion="1.0.3300.0" />
 
81
                        </dependentAssembly>
 
82
                </assemblyBinding>
 
83
        </runtime>
 
84
</configuration>