main
  1<?xml version="1.0" encoding="utf-8" ?>
  2<configuration>
  3  <gallio>
  4    <runtime>
  5      <components>
  6        <component id="Core.Loader"
  7                   service="Gallio.Runtime.Loader.ILoader, Gallio"
  8                   type="Gallio.Runtime.Loader.DefaultLoader, Gallio" />
  9        
 10        <component id="Core.RegisteredComponentResolver"
 11                   service="Gallio.Runtime.IRegisteredComponentResolver`1, Gallio"
 12                   type="Gallio.Runtime.RuntimeRegisteredComponentResolver`1, Gallio" />
 13
 14        <component id="Core.TestPackageExplorerFactory"
 15                   service="Gallio.Model.ITestPackageExplorerFactory, Gallio"
 16                   type="Gallio.Model.DefaultTestPackageExplorerFactory, Gallio" />
 17        
 18        <component id="Core.TestRunnerManager"
 19                   service="Gallio.Runner.ITestRunnerManager, Gallio"
 20                   type="Gallio.Runner.DefaultTestRunnerManager, Gallio" />
 21
 22        <component id="Core.TestHarnessFactory"
 23                   service="Gallio.Runner.Harness.ITestHarnessFactory, Gallio"
 24                   type="Gallio.Runner.Harness.DefaultTestHarnessFactory, Gallio" />
 25
 26        <component id="Core.ConsoleTestEnvironment"
 27             service="Gallio.Runner.Harness.ITestEnvironment, Gallio"
 28             type="Gallio.Runner.Harness.ConsoleTestEnvironment, Gallio" />
 29
 30        <component id="Core.TraceTestEnvironment"
 31                   service="Gallio.Runner.Harness.ITestEnvironment, Gallio"
 32                   type="Gallio.Runner.Harness.TraceTestEnvironment, Gallio" />
 33
 34        <component id="Core.UnhandledExceptionTestEnvironment"
 35                   service="Gallio.Runner.Harness.ITestEnvironment, Gallio"
 36                   type="Gallio.Runner.Harness.UnhandledExceptionTestEnvironment, Gallio" />
 37        
 38        <component id="Core.ReportManager"
 39                   service="Gallio.Runner.Reports.IReportManager, Gallio"
 40                   type="Gallio.Runner.Reports.DefaultReportManager, Gallio" />
 41
 42        <component id="Core.TestContextTracker"
 43                   service="Gallio.Model.Execution.ITestContextTracker, Gallio"
 44                   type="Gallio.Model.Execution.DefaultTestContextTracker, Gallio" />
 45        
 46        <component id="Core.PatternTestFramework"
 47                   service="Gallio.Model.ITestFramework, Gallio"
 48                   type="Gallio.Framework.Pattern.PatternTestFramework, Gallio" />
 49
 50        <component id="Core.PatternTestController"
 51                   service="Gallio.Framework.Pattern.PatternTestController, Gallio"
 52                   type="Gallio.Framework.Pattern.PatternTestController, Gallio" />
 53
 54        <component id="Core.LocalHostFactory"
 55                   service="Gallio.Runtime.Hosting.IHostFactory, Gallio"
 56                   type="Gallio.Runtime.Hosting.LocalHostFactory, Gallio" />
 57        
 58        <component id="Core.IsolatedAppDomainHostFactory"
 59                   service="Gallio.Runtime.Hosting.IHostFactory, Gallio"
 60                   type="Gallio.Runtime.Hosting.IsolatedAppDomainHostFactory, Gallio" />
 61        
 62        <component id="Core.IsolatedProcessHostFactory"
 63                   service="Gallio.Runtime.Hosting.IHostFactory, Gallio"
 64                   type="Gallio.Runtime.Hosting.IsolatedProcessHostFactory, Gallio" />
 65        
 66        <component id="Core.LocalTestRunnerFactory"
 67                   service="Gallio.Runner.ITestRunnerFactory, Gallio"
 68                   type="Gallio.Runner.HostedTestRunnerFactory, Gallio">
 69          <parameters>
 70            <hostFactory>${Core.LocalHostFactory}</hostFactory>
 71            <name>Local</name>
 72            <description>Runs tests locally within the same process as the test runner application.</description>
 73          </parameters>
 74        </component>
 75
 76        <component id="Core.IsolatedAppDomainTestRunnerFactory"
 77                   service="Gallio.Runner.ITestRunnerFactory, Gallio"
 78                   type="Gallio.Runner.HostedTestRunnerFactory, Gallio">
 79          <parameters>
 80            <hostFactory>${Core.IsolatedAppDomainHostFactory}</hostFactory>
 81            <name>IsolatedAppDomain</name>
 82            <description>Runs tests within an isolated AppDomain of the same process as the test runner application.  The additional isolation provided is not generally required since tests typically run in their own isolated AppDomain nested within the test runner.</description>
 83          </parameters>
 84        </component>
 85        
 86        <component id="Core.ProcessTestRunnerFactory"
 87                   service="Gallio.Runner.ITestRunnerFactory, Gallio"
 88                   type="Gallio.Runner.HostedTestRunnerFactory, Gallio">
 89          <parameters>
 90            <hostFactory>${Core.IsolatedProcessHostFactory}</hostFactory>
 91            <name>IsolatedProcess</name>
 92            <description>Runs tests within an isolated process external to the test runner.  This mode protects the test runner application from faults that may occur during test execution.</description>
 93          </parameters>
 94        </component>
 95
 96        <!-- Converters -->
 97        <component id="Core.Converter"
 98                   service="Gallio.Framework.Conversions.IConverter, Gallio"
 99                   type="Gallio.Framework.Conversions.RuleBasedConverter, Gallio" />
100        
101        <component id="Core.ArrayToArrayConversionRule"
102                   service="Gallio.Framework.Conversions.IConversionRule, Gallio"
103                   type="Gallio.Framework.Conversions.ArrayToArrayConversionRule, Gallio" />      
104        
105        <component id="Core.ConvertibleToConvertibleConversionRule"
106                   service="Gallio.Framework.Conversions.IConversionRule, Gallio"
107                   type="Gallio.Framework.Conversions.ConvertibleToConvertibleConversionRule, Gallio" />      
108
109        <component id="Core.ObjectToStringConversionRule"
110                   service="Gallio.Framework.Conversions.IConversionRule, Gallio"
111                   type="Gallio.Framework.Conversions.ObjectToStringConversionRule, Gallio" />      
112
113        <component id="Core.StringToXmlDocumentConversionRule"
114                   service="Gallio.Framework.Conversions.IConversionRule, Gallio"
115                   type="Gallio.Framework.Conversions.StringToXmlDocumentConversionRule, Gallio" />      
116        
117        <component id="Core.XPathNavigableToXPathNavigatorConversionRule"
118                   service="Gallio.Framework.Conversions.IConversionRule, Gallio"
119                   type="Gallio.Framework.Conversions.XPathNavigableToXPathNavigatorConversionRule, Gallio" />
120
121        <component id="Core.XPathNavigatorToStringConversionRule"
122                   service="Gallio.Framework.Conversions.IConversionRule, Gallio"
123                   type="Gallio.Framework.Conversions.XPathNavigatorToStringConversionRule, Gallio" />
124
125        <component id="Core.XPathNavigatorToXmlSerializableTypeConversionRule"
126                   service="Gallio.Framework.Conversions.IConversionRule, Gallio"
127                   type="Gallio.Framework.Conversions.XPathNavigatorToXmlSerializableTypeConversionRule, Gallio" />
128        
129        <!-- Formatters -->
130        <component id="Core.Formatter"
131                   service="Gallio.Framework.Formatting.IFormatter, Gallio"
132                   type="Gallio.Framework.Formatting.RuleBasedFormatter, Gallio" />
133
134        <component id="Core.BooleanFormattingRule"
135                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
136                   type="Gallio.Framework.Formatting.BooleanFormattingRule, Gallio" />
137        
138        <component id="Core.ByteFormattingRule"
139                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
140                   type="Gallio.Framework.Formatting.ByteFormattingRule, Gallio" />
141        
142        <component id="Core.CharFormattingRule"
143                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
144                   type="Gallio.Framework.Formatting.CharFormattingRule, Gallio" />
145        
146        <component id="Core.ConvertToStringFormattingRule"
147                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
148                   type="Gallio.Framework.Formatting.ConvertToStringFormattingRule, Gallio" />
149        
150        <component id="Core.DateTimeFormattingRule"
151                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
152                   type="Gallio.Framework.Formatting.DateTimeFormattingRule, Gallio" />
153        
154        <component id="Core.DBNullFormattingRule"
155                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
156                   type="Gallio.Framework.Formatting.DBNullFormattingRule, Gallio" />
157        
158        <component id="Core.DecimalFormattingRule"
159                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
160                   type="Gallio.Framework.Formatting.DecimalFormattingRule, Gallio" />
161        
162        <component id="Core.DictionaryEntryFormattingRule"
163                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
164                   type="Gallio.Framework.Formatting.DictionaryEntryFormattingRule, Gallio" />
165        
166        <component id="Core.DoubleFormattingRule"
167                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
168                   type="Gallio.Framework.Formatting.DoubleFormattingRule, Gallio" />
169        
170        <component id="Core.EnumerableFormattingRule"
171                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
172                   type="Gallio.Framework.Formatting.EnumerableFormattingRule, Gallio" />
173        
174        <component id="Core.IntegerFormattingRule"
175                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
176                   type="Gallio.Framework.Formatting.IntegerFormattingRule, Gallio" />
177        
178        <component id="Core.KeyValuePairFormattingRule"
179                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
180                   type="Gallio.Framework.Formatting.KeyValuePairFormattingRule, Gallio" />
181        
182        <component id="Core.SByteFormattingRule"
183                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
184                   type="Gallio.Framework.Formatting.SByteFormattingRule, Gallio" />
185        
186        <component id="Core.SingleFormattingRule"
187                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
188                   type="Gallio.Framework.Formatting.SingleFormattingRule, Gallio" />
189        
190        <component id="Core.StringFormattingRule"
191                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
192                   type="Gallio.Framework.Formatting.StringFormattingRule, Gallio" />
193        
194        <component id="Core.TypeFormattingRule"
195                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
196                   type="Gallio.Framework.Formatting.TypeFormattingRule, Gallio" />
197        
198        <component id="Core.XPathNavigableFormattingRule"
199                   service="Gallio.Framework.Formatting.IFormattingRule, Gallio"
200                   type="Gallio.Framework.Formatting.XPathNavigableFormattingRule, Gallio" />
201      </components>
202    </runtime>
203  </gallio>
204</configuration>